From: Petr Vobornik Date: Mon, 27 Jan 2014 17:15:50 +0000 (+0100) Subject: Add own styles X-Git-Tag: v0.2.2~114 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=553ae99ac58ecf8a721e32df09866b316456eb61 Add own styles Signed-off-by: Petr Vobornik Reviewed-by: Simo Sorce --- diff --git a/less/admin.less b/less/admin.less new file mode 100644 index 0000000..f6514fc --- /dev/null +++ b/less/admin.less @@ -0,0 +1,86 @@ +// +// Copyright (C) 2014 Petr Vobornik +// +// see file 'COPYING' for use and warranty information +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// Styles are taken from PatternFly and Bootstrap project. + +// Core variables and mixins +@import "bootstrap/variables.less"; +@import "bootstrap/mixins.less"; + +// Reset +@import "bootstrap/normalize.less"; +@import "bootstrap/print.less"; + +// Core CSS +@import "bootstrap/scaffolding.less"; +@import "bootstrap/type.less"; +@import "bootstrap/code.less"; +@import "bootstrap/grid.less"; +@import "bootstrap/tables.less"; +@import "bootstrap/forms.less"; +@import "bootstrap/buttons.less"; + +// Components +@import "bootstrap/component-animations.less"; +//@import "glyphicons.less"; +@import "bootstrap/dropdowns.less"; +@import "bootstrap/button-groups.less"; +@import "bootstrap/input-groups.less"; +@import "bootstrap/navs.less"; +@import "bootstrap/navbar.less"; +@import "bootstrap/breadcrumbs.less"; +@import "bootstrap/pagination.less"; +@import "bootstrap/pager.less"; +@import "bootstrap/labels.less"; +@import "bootstrap/badges.less"; +@import "bootstrap/jumbotron.less"; +@import "bootstrap/thumbnails.less"; +@import "bootstrap/alerts.less"; +@import "bootstrap/progress-bars.less"; +@import "bootstrap/media.less"; +@import "bootstrap/list-group.less"; +@import "bootstrap/panels.less"; +@import "bootstrap/wells.less"; +@import "bootstrap/close.less"; + +// Components w/ JavaScript +@import "bootstrap/modals.less"; +@import "bootstrap/tooltip.less"; +@import "bootstrap/popovers.less"; +@import "bootstrap/carousel.less"; + +// Utility classes +@import "bootstrap/utilities.less"; +@import "bootstrap/responsive-utilities.less"; + + +// PatternFly imports +@import "patternfly/variables.less"; +@import "patternfly/forms.less"; +@import "patternfly/mixins.less"; +@import "patternfly/buttons.less"; +@import "patternfly/navbar.less"; +@import "patternfly/dropdowns.less"; + + +// Open Sans Fonts +@import "font.less"; + +// remove warnings +@fa-var-angle-right: ">"; +@fa-var-angle-down: "\f107"; diff --git a/less/font.less b/less/font.less new file mode 100644 index 0000000..9305392 --- /dev/null +++ b/less/font.less @@ -0,0 +1,91 @@ +// +// Font face definitions are different than original RCUE ones. +// Here we supply only ttf variants. Additionally local variant can be +// used so it can save some load time in some browsers. +// +// This approach has a disadvantage: +// - fonts do not work in IE8 and below +// +// Advantage is that it nicely fits into Fedora packaging guidelines +// + + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: normal; + src: local('Open Sans'), + url('../fonts/open-sans/OpenSans-Regular.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: normal; + src: local('Open Sans Italic'), + url('../fonts/open-sans/OpenSans-Italic.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + src: local('Open Sans Light'), + url('../fonts/open-sans/OpenSans-Light.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + src: local('Open Sans Light Italic'), + url('../fonts/open-sans/OpenSans-LightItalic.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + src: local('Open Sans Semibold'), + url('../fonts/open-sans/OpenSans-Semibold.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + src: local('Open Sans Semibold Italic'), + url('../fonts/open-sans/OpenSans-SemiboldItalic.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 700; + src: local('Open Sans Bold'), + url('../fonts/open-sans/OpenSans-Bold.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 700; + src: local('Open Sans Bold Italic'), + url('../fonts/open-sans/OpenSans-BoldItalic.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 900; + src: local('Open Sans Extrabold'), + url('../fonts/open-sans/OpenSans-ExtraBold.ttf') format('truetype'); +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 900; + src: local('Open Sans Extrabold Italic'), + url('../fonts/open-sans/OpenSans-ExtraBoldItalic.ttf') format('truetype'); +} \ No newline at end of file diff --git a/less/ipsilon.less b/less/ipsilon.less new file mode 100644 index 0000000..3f1263d --- /dev/null +++ b/less/ipsilon.less @@ -0,0 +1,55 @@ +// +// Copyright (C) 2014 Petr Vobornik +// +// see file 'COPYING' for use and warranty information +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// Styles are taken from PatternFly and Bootstrap project. + +// Bootstrap 3 Core variables and mixins +@import "bootstrap/variables.less"; +@import "bootstrap/mixins.less"; + +// Bootstrap 3 Reset +@import "bootstrap/normalize.less"; +@import "bootstrap/print.less"; + +// Bootstrap 3 Core CSS +@import "bootstrap/scaffolding.less"; +@import "bootstrap/type.less"; +@import "bootstrap/code.less"; +@import "bootstrap/grid.less"; +@import "bootstrap/tables.less"; +@import "bootstrap/forms.less"; +@import "bootstrap/buttons.less"; + +// Bootstrap 3 Components +@import "bootstrap/alerts.less"; + +// Bootstrap 3 Utilities +@import "bootstrap/utilities.less"; + +// PatternFly imports +@import "patternfly/variables.less"; +@import "patternfly/forms.less"; +@import "patternfly/mixins.less"; +@import "patternfly/buttons.less"; +@import "patternfly/login.less"; + +// Open Sans Fonts +@import "font.less"; + +// remove warnings +@fa-var-angle-right: ">";