summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-01-27 18:15:50 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-02-11 18:02:39 +0100
commit457b0833e4b83de2ee499e7c4e7e76361e10866a (patch)
tree18a13c3979e7316823b6e664b37f2e2833f2d7ad
parent70bf84c09ba0827b7ef0fa0494b6c52017d8bda5 (diff)
downloadipsilon-457b0833e4b83de2ee499e7c4e7e76361e10866a.tar.gz
ipsilon-457b0833e4b83de2ee499e7c4e7e76361e10866a.tar.xz
ipsilon-457b0833e4b83de2ee499e7c4e7e76361e10866a.zip
Add own styles
Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r--less/admin.less86
-rw-r--r--less/font.less91
-rw-r--r--less/ipsilon.less55
3 files changed, 232 insertions, 0 deletions
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 <pvoborni@redhat.com>
+//
+// 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 <http://www.gnu.org/licenses/>.
+
+// 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 <pvoborni@redhat.com>
+//
+// 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 <http://www.gnu.org/licenses/>.
+
+// 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: ">";