bastion 0.1.14 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/javascripts/bastion/bastion.module.js +7 -5
- data/app/assets/javascripts/bastion/components/bst-alert.directive.js +8 -37
- data/app/assets/javascripts/bastion/components/bst-alerts.directive.js +67 -0
- data/app/assets/javascripts/bastion/components/bst-container-scroll.directive.js +2 -7
- data/app/assets/javascripts/bastion/components/bst-table.directive.js +2 -2
- data/app/assets/javascripts/bastion/components/views/bst-alert.html +17 -5
- data/app/assets/javascripts/bastion/components/views/bst-alerts.html +6 -0
- data/app/assets/javascripts/bastion/components/views/bst-dropdown.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit-add-item.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit-add-remove-cancel.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit-multiselect.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit-save-cancel.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit.html +2 -2
- data/app/assets/javascripts/bastion/components/views/bst-menu.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-modal.html +1 -1
- data/app/assets/javascripts/bastion/components/views/bst-save-control.html +1 -1
- data/app/assets/javascripts/bastion/components/views/current-tasks.html +1 -1
- data/app/assets/javascripts/bastion/features/bst-feature-flag.directive.js +1 -1
- data/app/assets/javascripts/bastion/layouts/details-nutupane.html +4 -4
- data/app/assets/javascripts/bastion/layouts/nutupane.html +12 -8
- data/app/assets/stylesheets/bastion/bastion.less +6 -5
- data/app/assets/stylesheets/bastion/nutupane.less +14 -10
- data/app/assets/stylesheets/bastion/overrides.less +6 -2
- data/app/assets/stylesheets/bastion/variables.less +1 -0
- data/app/views/bastion/layouts/application.html.erb +5 -3
- data/bower.json +25 -20
- data/grunt/bower.js +2 -6
- data/lib/bastion/version.rb +1 -1
- data/test/components/bst-alert.directive.test.js +8 -40
- data/test/components/bst-alerts.directive.test.js +84 -0
- data/test/components/bst-container-scroll.directive.test.js +1 -14
- data/test/components/bst-edit.directive.test.js +1 -1
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +47 -47
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.svg +471 -366
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.svg +1831 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.svg +1835 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.svg +1831 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.svg +1830 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.svg +37 -0
- data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +20 -19
- data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +4 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +4 -1
- data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +13 -14
- data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +14 -10
- data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +3 -3
- data/vendor/assets/stylesheets/bastion/bootstrap/code.less +10 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +28 -2
- data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +104 -41
- data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +1 -5
- data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +30 -25
- data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +44 -18
- data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +3 -5
- data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +25 -3
- data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +147 -63
- data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +18 -8
- data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +24 -20
- data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +2 -2
- data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +139 -122
- data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +5 -5
- data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +6 -3
- data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +106 -47
- data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +11 -11
- data/vendor/assets/stylesheets/bastion/bootstrap/print.less +0 -4
- data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +15 -132
- data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +17 -2
- data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +3 -1
- data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +1 -1
- data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +1 -1
- data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +1 -1
- data/vendor/assets/stylesheets/bastion/bootstrap/type.less +79 -67
- data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +364 -177
- data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +1 -1
- data/vendor/assets/stylesheets/bastion/font-awesome/less/bordered-pulled.less +16 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +8 -126
- data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +2 -93
- data/vendor/assets/stylesheets/bastion/font-awesome/less/fixed-width.less +6 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +9 -25
- data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +549 -378
- data/vendor/assets/stylesheets/bastion/font-awesome/less/larger.less +13 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/list.less +19 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +16 -39
- data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +6 -6
- data/vendor/assets/stylesheets/bastion/font-awesome/less/rotated-flipped.less +20 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/spinning.less +29 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/stacked.less +20 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +557 -731
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bordered-pulled.scss +16 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +8 -126
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +9 -58
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_fixed-width.scss +6 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +550 -379
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_larger.scss +13 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_list.scss +19 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +16 -39
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +6 -6
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_rotated-flipped.scss +20 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_spinning.scss +29 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_stacked.scss +20 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +557 -730
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +9 -25
- data/vendor/assets/stylesheets/bastion/patternfly/alerts.less +29 -0
- data/vendor/assets/stylesheets/bastion/patternfly/badges.less +11 -0
- data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-combobox.less +27 -0
- data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-select.less +67 -0
- data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-treeview.less +37 -0
- data/vendor/assets/stylesheets/bastion/patternfly/breadcrumbs.less +20 -0
- data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/buttons.less +4 -0
- data/vendor/assets/stylesheets/bastion/patternfly/close.less +13 -0
- data/vendor/assets/stylesheets/bastion/patternfly/datatables.less +221 -0
- data/vendor/assets/stylesheets/bastion/patternfly/dropdowns.less +145 -0
- data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/fonts.less +4 -2
- data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/forms.less +7 -4
- data/vendor/assets/stylesheets/bastion/patternfly/icons.less +130 -0
- data/vendor/assets/stylesheets/bastion/patternfly/infotip.less +149 -0
- data/vendor/assets/stylesheets/bastion/patternfly/labels.less +12 -0
- data/vendor/assets/stylesheets/bastion/patternfly/list-group.less +18 -0
- data/vendor/assets/stylesheets/bastion/patternfly/login.less +121 -0
- data/vendor/assets/stylesheets/bastion/patternfly/mixins.less +81 -0
- data/vendor/assets/stylesheets/bastion/patternfly/modals.less +38 -0
- data/vendor/assets/stylesheets/bastion/patternfly/navbar.less +501 -0
- data/vendor/assets/stylesheets/bastion/patternfly/pager.less +72 -0
- data/vendor/assets/stylesheets/bastion/patternfly/pagination.less +64 -0
- data/vendor/assets/stylesheets/bastion/patternfly/panels.less +57 -0
- data/vendor/assets/stylesheets/bastion/patternfly/patternfly.less +42 -0
- data/vendor/assets/stylesheets/bastion/patternfly/popovers.less +32 -0
- data/vendor/assets/stylesheets/bastion/patternfly/progress-bars.less +87 -0
- data/vendor/assets/stylesheets/bastion/patternfly/search.less +65 -0
- data/vendor/assets/stylesheets/bastion/patternfly/sidebar.less +174 -0
- data/vendor/assets/stylesheets/bastion/patternfly/spinner.less +62 -0
- data/vendor/assets/stylesheets/bastion/patternfly/tables.less +74 -0
- data/vendor/assets/stylesheets/bastion/patternfly/tabs.less +118 -0
- data/vendor/assets/stylesheets/bastion/patternfly/tooltip.less +16 -0
- data/vendor/assets/stylesheets/bastion/patternfly/type.less +24 -0
- data/vendor/assets/stylesheets/bastion/patternfly/variables.less +219 -0
- metadata +98 -57
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.svg +0 -146
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.svg +0 -454
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.svg +0 -454
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.woff +0 -0
- data/vendor/assets/stylesheets/bastion/rcue/mixins.less +0 -50
- data/vendor/assets/stylesheets/bastion/rcue/navbar.less +0 -481
- data/vendor/assets/stylesheets/bastion/rcue/rcue.less +0 -15
- data/vendor/assets/stylesheets/bastion/rcue/variables.less +0 -47
@@ -0,0 +1,13 @@
|
|
1
|
+
// Icon Sizes
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
/* makes the font 33% larger relative to the icon container */
|
5
|
+
.@{fa-css-prefix}-lg {
|
6
|
+
font-size: (4em / 3);
|
7
|
+
line-height: (3em / 4);
|
8
|
+
vertical-align: -15%;
|
9
|
+
}
|
10
|
+
.@{fa-css-prefix}-2x { font-size: 2em; }
|
11
|
+
.@{fa-css-prefix}-3x { font-size: 3em; }
|
12
|
+
.@{fa-css-prefix}-4x { font-size: 4em; }
|
13
|
+
.@{fa-css-prefix}-5x { font-size: 5em; }
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// List Icons
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.@{fa-css-prefix}-ul {
|
5
|
+
padding-left: 0;
|
6
|
+
margin-left: @fa-li-width;
|
7
|
+
list-style-type: none;
|
8
|
+
> li { position: relative; }
|
9
|
+
}
|
10
|
+
.@{fa-css-prefix}-li {
|
11
|
+
position: absolute;
|
12
|
+
left: -@fa-li-width;
|
13
|
+
width: @fa-li-width;
|
14
|
+
top: (2em / 14);
|
15
|
+
text-align: center;
|
16
|
+
&.@{fa-css-prefix}-lg {
|
17
|
+
left: (-@fa-li-width + (4em / 14));
|
18
|
+
}
|
19
|
+
}
|
@@ -1,48 +1,25 @@
|
|
1
1
|
// Mixins
|
2
2
|
// --------------------------
|
3
3
|
|
4
|
-
.icon(
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
.icon-FontAwesome() {
|
10
|
-
font-family: FontAwesome;
|
11
|
-
font-weight: normal;
|
12
|
-
font-style: normal;
|
13
|
-
text-decoration: inherit;
|
4
|
+
.fa-icon() {
|
5
|
+
display: inline-block;
|
6
|
+
font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
|
7
|
+
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
8
|
+
text-rendering: auto; // optimizelegibility throws things off #1094
|
14
9
|
-webkit-font-smoothing: antialiased;
|
15
|
-
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
16
11
|
}
|
17
12
|
|
18
|
-
.
|
19
|
-
|
20
|
-
-
|
21
|
-
|
13
|
+
.fa-icon-rotate(@degrees, @rotation) {
|
14
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
|
15
|
+
-webkit-transform: rotate(@degrees);
|
16
|
+
-ms-transform: rotate(@degrees);
|
17
|
+
transform: rotate(@degrees);
|
22
18
|
}
|
23
19
|
|
24
|
-
.icon-
|
25
|
-
.
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
height: @height;
|
30
|
-
line-height: @width;
|
31
|
-
vertical-align: -35%;
|
32
|
-
[class^="icon-"],
|
33
|
-
[class*=" icon-"] {
|
34
|
-
display: block;
|
35
|
-
text-align: center;
|
36
|
-
position: absolute;
|
37
|
-
width: 100%;
|
38
|
-
height: 100%;
|
39
|
-
font-size: @top-font-size;
|
40
|
-
line-height: inherit;
|
41
|
-
*line-height: @height;
|
42
|
-
}
|
43
|
-
.icon-stack-base {
|
44
|
-
font-size: @base-font-size;
|
45
|
-
*line-height: @height / @base-font-size;
|
46
|
-
}
|
47
|
-
}
|
20
|
+
.fa-icon-flip(@horiz, @vert, @rotation) {
|
21
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
|
22
|
+
-webkit-transform: scale(@horiz, @vert);
|
23
|
+
-ms-transform: scale(@horiz, @vert);
|
24
|
+
transform: scale(@horiz, @vert);
|
48
25
|
}
|
@@ -3,12 +3,12 @@
|
|
3
3
|
|
4
4
|
@font-face {
|
5
5
|
font-family: 'FontAwesome';
|
6
|
-
src: url('@{
|
7
|
-
src: url('@{
|
8
|
-
url('@{
|
9
|
-
url('@{
|
10
|
-
url('@{
|
11
|
-
// src: url('@{
|
6
|
+
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
7
|
+
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
8
|
+
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
9
|
+
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
10
|
+
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
11
|
+
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
12
12
|
font-weight: normal;
|
13
13
|
font-style: normal;
|
14
14
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// Rotated & Flipped Icons
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
|
5
|
+
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
|
6
|
+
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
|
7
|
+
|
8
|
+
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
|
9
|
+
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
|
10
|
+
|
11
|
+
// Hook for IE8-9
|
12
|
+
// -------------------------
|
13
|
+
|
14
|
+
:root .@{fa-css-prefix}-rotate-90,
|
15
|
+
:root .@{fa-css-prefix}-rotate-180,
|
16
|
+
:root .@{fa-css-prefix}-rotate-270,
|
17
|
+
:root .@{fa-css-prefix}-flip-horizontal,
|
18
|
+
:root .@{fa-css-prefix}-flip-vertical {
|
19
|
+
filter: none;
|
20
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Spinning Icons
|
2
|
+
// --------------------------
|
3
|
+
|
4
|
+
.@{fa-css-prefix}-spin {
|
5
|
+
-webkit-animation: fa-spin 2s infinite linear;
|
6
|
+
animation: fa-spin 2s infinite linear;
|
7
|
+
}
|
8
|
+
|
9
|
+
@-webkit-keyframes fa-spin {
|
10
|
+
0% {
|
11
|
+
-webkit-transform: rotate(0deg);
|
12
|
+
transform: rotate(0deg);
|
13
|
+
}
|
14
|
+
100% {
|
15
|
+
-webkit-transform: rotate(359deg);
|
16
|
+
transform: rotate(359deg);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@keyframes fa-spin {
|
21
|
+
0% {
|
22
|
+
-webkit-transform: rotate(0deg);
|
23
|
+
transform: rotate(0deg);
|
24
|
+
}
|
25
|
+
100% {
|
26
|
+
-webkit-transform: rotate(359deg);
|
27
|
+
transform: rotate(359deg);
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// Stacked Icons
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.@{fa-css-prefix}-stack {
|
5
|
+
position: relative;
|
6
|
+
display: inline-block;
|
7
|
+
width: 2em;
|
8
|
+
height: 2em;
|
9
|
+
line-height: 2em;
|
10
|
+
vertical-align: middle;
|
11
|
+
}
|
12
|
+
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
|
13
|
+
position: absolute;
|
14
|
+
left: 0;
|
15
|
+
width: 100%;
|
16
|
+
text-align: center;
|
17
|
+
}
|
18
|
+
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
|
19
|
+
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
|
20
|
+
.@{fa-css-prefix}-inverse { color: @fa-inverse; }
|