bastion 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.jshintrc +35 -0
- data/Gruntfile.js +24 -0
- data/LICENSE +339 -0
- data/README.md +8 -0
- data/Rakefile +53 -0
- data/app/assets/javascripts/bastion/auth/auth.module.js +87 -0
- data/app/assets/javascripts/bastion/auth/authorization.service.js +48 -0
- data/app/assets/javascripts/bastion/bastion-bootstrap.js +32 -0
- data/app/assets/javascripts/bastion/bastion-resource.factory.js +39 -0
- data/app/assets/javascripts/bastion/bastion.js +52 -0
- data/app/assets/javascripts/bastion/bastion.module.js +213 -0
- data/app/assets/javascripts/bastion/i18n/README +9 -0
- data/app/assets/javascripts/bastion/i18n/i18n.module.js +24 -0
- data/app/assets/javascripts/bastion/i18n/katello.pot +968 -0
- data/app/assets/javascripts/bastion/i18n/locale/README +1 -0
- data/app/assets/javascripts/bastion/i18n/translate.service.js +14 -0
- data/app/assets/javascripts/bastion/i18n/translations.js +3 -0
- data/app/assets/javascripts/bastion/i18n/zanata.xml +28 -0
- data/app/assets/javascripts/bastion/incubator/alch-alert.directive.js +67 -0
- data/app/assets/javascripts/bastion/incubator/alch-container-scroll.directive.js +44 -0
- data/app/assets/javascripts/bastion/incubator/alch-dropdown.directive.js +28 -0
- data/app/assets/javascripts/bastion/incubator/alch-edit.directive.js +361 -0
- data/app/assets/javascripts/bastion/incubator/alch-flyout.directive.js +19 -0
- data/app/assets/javascripts/bastion/incubator/alch-form-buttons.directive.js +60 -0
- data/app/assets/javascripts/bastion/incubator/alch-form-group.directive.js +87 -0
- data/app/assets/javascripts/bastion/incubator/alch-infinite-scroll.directive.js +84 -0
- data/app/assets/javascripts/bastion/incubator/alch-menu.directive.js +56 -0
- data/app/assets/javascripts/bastion/incubator/alch-modal.directive.js +80 -0
- data/app/assets/javascripts/bastion/incubator/alch-save-control.directive.js +42 -0
- data/app/assets/javascripts/bastion/incubator/alch-table.directive.js +295 -0
- data/app/assets/javascripts/bastion/incubator/format/alch-format.module.js +21 -0
- data/app/assets/javascripts/bastion/incubator/format/array-to-string.filter.js +30 -0
- data/app/assets/javascripts/bastion/incubator/format/boolean-to-yes-no.filter.js +34 -0
- data/app/assets/javascripts/bastion/incubator/format/capitalize.filter.js +32 -0
- data/app/assets/javascripts/bastion/incubator/format/key-value-to-string.filter.js +40 -0
- data/app/assets/javascripts/bastion/incubator/format/unlimitedFilter.filter.js +35 -0
- data/app/assets/javascripts/bastion/incubator/stylesheets/alch-edit.scss +34 -0
- data/app/assets/javascripts/bastion/incubator/stylesheets/header.scss +207 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-alert.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-dropdown.html +19 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-item.html +21 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-remove-cancel.html +28 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-checkbox.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-custom.html +8 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-multiselect.html +17 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-save-cancel.html +20 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-select.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-text.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-textarea.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit.html +18 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-flyout.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-form-buttons.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-form-group.html +9 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-menu.html +18 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-modal-remove.html +13 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-save-control.html +18 -0
- data/app/assets/javascripts/bastion/layouts/details-nutupane.html +73 -0
- data/app/assets/javascripts/bastion/layouts/nutupane.html +63 -0
- data/app/assets/javascripts/bastion/layouts/select-all-results.html +9 -0
- data/app/assets/javascripts/bastion/menu/menu-expander.service.js +51 -0
- data/app/assets/javascripts/bastion/menu/menu.module.js +26 -0
- data/app/assets/javascripts/bastion/utils/as.filter.js +33 -0
- data/app/assets/javascripts/bastion/utils/form-utils.service.js +53 -0
- data/app/assets/javascripts/bastion/utils/utils.module.js +21 -0
- data/app/assets/javascripts/bastion/widgets/current-tasks.directive.js +67 -0
- data/app/assets/javascripts/bastion/widgets/nutupane-table.directive.js +59 -0
- data/app/assets/javascripts/bastion/widgets/nutupane.factory.js +316 -0
- data/app/assets/javascripts/bastion/widgets/page-title.directive.js +61 -0
- data/app/assets/javascripts/bastion/widgets/page-title.service.js +42 -0
- data/app/assets/javascripts/bastion/widgets/path-selector.directive.js +109 -0
- data/app/assets/javascripts/bastion/widgets/views/current-tasks.html +23 -0
- data/app/assets/javascripts/bastion/widgets/views/path-selector.html +11 -0
- data/app/assets/javascripts/bastion/widgets/widgets.module.js +24 -0
- data/app/assets/stylesheets/bastion/animations.less +15 -0
- data/app/assets/stylesheets/bastion/bastion.less +160 -0
- data/app/assets/stylesheets/bastion/forms.less +41 -0
- data/app/assets/stylesheets/bastion/gpg-keys.less +36 -0
- data/app/assets/stylesheets/bastion/helpers.less +6 -0
- data/app/assets/stylesheets/bastion/mixins.less +15 -0
- data/app/assets/stylesheets/bastion/nutupane.less +382 -0
- data/app/assets/stylesheets/bastion/overrides.less +54 -0
- data/app/assets/stylesheets/bastion/path-selector.less +123 -0
- data/app/assets/stylesheets/bastion/systems.less +35 -0
- data/app/assets/stylesheets/bastion/tasks.less +23 -0
- data/app/assets/stylesheets/bastion/typography.less +31 -0
- data/app/assets/stylesheets/bastion/variables.less +3 -0
- data/app/controllers/bastion/bastion_controller.rb +24 -0
- data/app/views/bastion/layouts/application.html.erb +32 -0
- data/app/views/bastion/layouts/application_ie.html.erb +5 -0
- data/bastion.js +26 -0
- data/bower.json +94 -0
- data/config/routes.rb +25 -0
- data/config/routes/mount_engine.rb +3 -0
- data/grunt/bower.js +20 -0
- data/grunt/htmlhint.js +15 -0
- data/grunt/jshint.js +9 -0
- data/grunt/karma.js +83 -0
- data/lib/bastion.rb +17 -0
- data/lib/bastion/engine.rb +37 -0
- data/lib/bastion/version.rb +3 -0
- data/package.json +29 -0
- data/test/auth/authorization.service.test.js +63 -0
- data/test/bastion/bastion-resource.factory.test.js +31 -0
- data/test/bastion/test-constants.js +30 -0
- data/test/i18n/translate.service.test.js +31 -0
- data/test/incubator/alch-alert.directive.test.js +84 -0
- data/test/incubator/alch-container-scroll.directive.test.js +68 -0
- data/test/incubator/alch-dropdown.directive.test.js +113 -0
- data/test/incubator/alch-edit.directive.test.js +320 -0
- data/test/incubator/alch-flyout.directive.test.js +73 -0
- data/test/incubator/alch-form-buttons.directive.test.js +55 -0
- data/test/incubator/alch-form-group.directive.test.js +76 -0
- data/test/incubator/alch-infinite-scroll.directive.test.js +123 -0
- data/test/incubator/alch-menu.directive.test.js +94 -0
- data/test/incubator/alch-modal.directive.test.js +81 -0
- data/test/incubator/alch-table.directive.test.js +270 -0
- data/test/incubator/format/array-to-string.filter.test.js +38 -0
- data/test/incubator/format/boolean-to-yes-no.filter.test.js +41 -0
- data/test/incubator/format/capitalize.filter.test.js +35 -0
- data/test/incubator/format/key-value-to-string.filter.test.js +60 -0
- data/test/incubator/format/unlimited-filter.filter.test.js +31 -0
- data/test/incubator/nutupane-table.directive.test.js +69 -0
- data/test/incubator/nutupane.factory.test.js +307 -0
- data/test/menu/menu-expander.service.test.js +74 -0
- data/test/test-mocks.module.js +268 -0
- data/test/utils/as.filter.test.js +33 -0
- data/test/utils/form-utils.service.test.js +52 -0
- data/test/widgets/page-title.directive.test.js +54 -0
- data/test/widgets/page-title.service.test.js +51 -0
- data/test/widgets/path-selector.directive.test.js +136 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +229 -0
- 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 +399 -0
- 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/rcue/OpenSans-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.svg +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +146 -0
- 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 +454 -0
- 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 +454 -0
- 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/javascripts/bastion/alchemy/alchemy.js +20 -0
- data/vendor/assets/javascripts/bastion/angular-animate/angular-animate.js +1226 -0
- data/vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js +79 -0
- data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js +3677 -0
- data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap.js +3427 -0
- data/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +345 -0
- data/vendor/assets/javascripts/bastion/angular-resource/angular-resource.js +594 -0
- data/vendor/assets/javascripts/bastion/angular-route/angular-route.js +920 -0
- data/vendor/assets/javascripts/bastion/angular-sanitize/angular-sanitize.js +622 -0
- data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/datepicker.js +447 -0
- data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js +232 -0
- data/vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js +3223 -0
- data/vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js +21 -0
- data/vendor/assets/javascripts/bastion/angular/angular.js +20560 -0
- data/vendor/assets/javascripts/bastion/es5-shim/es5-shim.js +1216 -0
- data/vendor/assets/javascripts/bastion/json3/json3.js +861 -0
- data/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +205 -0
- data/vendor/assets/javascripts/bastion/underscore/underscore.js +1276 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_colors.scss +99 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_media_object.scss +22 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_mixins.scss +24 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_vars.scss +31 -0
- data/vendor/assets/stylesheets/bastion/alchemy/alchemy.scss +8 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/alerts.less +67 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +51 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/bootstrap.less +49 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +23 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +227 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +155 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +232 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/close.less +33 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/code.less +53 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/component-animations.less +29 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +187 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +375 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +237 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +79 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +136 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +46 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/labels.less +64 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +88 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/media.less +56 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +845 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +129 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +612 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +242 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +406 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +55 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +85 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +182 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +133 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/print.less +105 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less +80 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +209 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +119 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +231 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +247 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +36 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +95 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/type.less +281 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/utilities.less +56 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +642 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +29 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/bootstrap.less +84 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +129 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +93 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome-ie7.less +1953 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +33 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +381 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +48 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +14 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +735 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bootstrap.scss +84 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +129 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +93 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +381 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +48 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +14 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +734 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome-ie7.scss +1953 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +33 -0
- data/vendor/assets/stylesheets/bastion/rcue/buttons.less +44 -0
- data/vendor/assets/stylesheets/bastion/rcue/fonts.less +52 -0
- data/vendor/assets/stylesheets/bastion/rcue/forms.less +19 -0
- data/vendor/assets/stylesheets/bastion/rcue/mixins.less +50 -0
- data/vendor/assets/stylesheets/bastion/rcue/navbar.less +481 -0
- data/vendor/assets/stylesheets/bastion/rcue/rcue.less +15 -0
- data/vendor/assets/stylesheets/bastion/rcue/variables.less +47 -0
- metadata +376 -0
@@ -0,0 +1,242 @@
|
|
1
|
+
//
|
2
|
+
// Navs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
.nav {
|
10
|
+
margin-bottom: 0;
|
11
|
+
padding-left: 0; // Override default ul/ol
|
12
|
+
list-style: none;
|
13
|
+
.clearfix();
|
14
|
+
|
15
|
+
> li {
|
16
|
+
position: relative;
|
17
|
+
display: block;
|
18
|
+
|
19
|
+
> a {
|
20
|
+
position: relative;
|
21
|
+
display: block;
|
22
|
+
padding: @nav-link-padding;
|
23
|
+
&:hover,
|
24
|
+
&:focus {
|
25
|
+
text-decoration: none;
|
26
|
+
background-color: @nav-link-hover-bg;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Disabled state sets text to gray and nukes hover/tab effects
|
31
|
+
&.disabled > a {
|
32
|
+
color: @nav-disabled-link-color;
|
33
|
+
|
34
|
+
&:hover,
|
35
|
+
&:focus {
|
36
|
+
color: @nav-disabled-link-hover-color;
|
37
|
+
text-decoration: none;
|
38
|
+
background-color: transparent;
|
39
|
+
cursor: not-allowed;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Open dropdowns
|
45
|
+
.open > a {
|
46
|
+
&,
|
47
|
+
&:hover,
|
48
|
+
&:focus {
|
49
|
+
background-color: @nav-link-hover-bg;
|
50
|
+
border-color: @link-color;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
// Nav dividers (deprecated with v3.0.1)
|
55
|
+
//
|
56
|
+
// This should have been removed in v3 with the dropping of `.nav-list`, but
|
57
|
+
// we missed it. We don't currently support this anywhere, but in the interest
|
58
|
+
// of maintaining backward compatibility in case you use it, it's deprecated.
|
59
|
+
.nav-divider {
|
60
|
+
.nav-divider();
|
61
|
+
}
|
62
|
+
|
63
|
+
// Prevent IE8 from misplacing imgs
|
64
|
+
//
|
65
|
+
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
66
|
+
> li > a > img {
|
67
|
+
max-width: none;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
// Tabs
|
73
|
+
// -------------------------
|
74
|
+
|
75
|
+
// Give the tabs something to sit on
|
76
|
+
.nav-tabs {
|
77
|
+
border-bottom: 1px solid @nav-tabs-border-color;
|
78
|
+
> li {
|
79
|
+
float: left;
|
80
|
+
// Make the list-items overlay the bottom border
|
81
|
+
margin-bottom: -1px;
|
82
|
+
|
83
|
+
// Actual tabs (as links)
|
84
|
+
> a {
|
85
|
+
margin-right: 2px;
|
86
|
+
line-height: @line-height-base;
|
87
|
+
border: 1px solid transparent;
|
88
|
+
border-radius: @border-radius-base @border-radius-base 0 0;
|
89
|
+
&:hover {
|
90
|
+
border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
// Active state, and it's :hover to override normal :hover
|
95
|
+
&.active > a {
|
96
|
+
&,
|
97
|
+
&:hover,
|
98
|
+
&:focus {
|
99
|
+
color: @nav-tabs-active-link-hover-color;
|
100
|
+
background-color: @nav-tabs-active-link-hover-bg;
|
101
|
+
border: 1px solid @nav-tabs-active-link-hover-border-color;
|
102
|
+
border-bottom-color: transparent;
|
103
|
+
cursor: default;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
// pulling this in mainly for less shorthand
|
108
|
+
&.nav-justified {
|
109
|
+
.nav-justified();
|
110
|
+
.nav-tabs-justified();
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
// Pills
|
116
|
+
// -------------------------
|
117
|
+
.nav-pills {
|
118
|
+
> li {
|
119
|
+
float: left;
|
120
|
+
|
121
|
+
// Links rendered as pills
|
122
|
+
> a {
|
123
|
+
border-radius: @nav-pills-border-radius;
|
124
|
+
}
|
125
|
+
+ li {
|
126
|
+
margin-left: 2px;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Active state
|
130
|
+
&.active > a {
|
131
|
+
&,
|
132
|
+
&:hover,
|
133
|
+
&:focus {
|
134
|
+
color: @nav-pills-active-link-hover-color;
|
135
|
+
background-color: @nav-pills-active-link-hover-bg;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
// Stacked pills
|
143
|
+
.nav-stacked {
|
144
|
+
> li {
|
145
|
+
float: none;
|
146
|
+
+ li {
|
147
|
+
margin-top: 2px;
|
148
|
+
margin-left: 0; // no need for this gap between nav items
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
// Nav variations
|
155
|
+
// --------------------------------------------------
|
156
|
+
|
157
|
+
// Justified nav links
|
158
|
+
// -------------------------
|
159
|
+
|
160
|
+
.nav-justified {
|
161
|
+
width: 100%;
|
162
|
+
|
163
|
+
> li {
|
164
|
+
float: none;
|
165
|
+
> a {
|
166
|
+
text-align: center;
|
167
|
+
margin-bottom: 5px;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
> .dropdown .dropdown-menu {
|
172
|
+
top: auto;
|
173
|
+
left: auto;
|
174
|
+
}
|
175
|
+
|
176
|
+
@media (min-width: @screen-sm-min) {
|
177
|
+
> li {
|
178
|
+
display: table-cell;
|
179
|
+
width: 1%;
|
180
|
+
> a {
|
181
|
+
margin-bottom: 0;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
// Move borders to anchors instead of bottom of list
|
188
|
+
//
|
189
|
+
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
190
|
+
.nav-tabs-justified {
|
191
|
+
border-bottom: 0;
|
192
|
+
|
193
|
+
> li > a {
|
194
|
+
// Override margin from .nav-tabs
|
195
|
+
margin-right: 0;
|
196
|
+
border-radius: @border-radius-base;
|
197
|
+
}
|
198
|
+
|
199
|
+
> .active > a,
|
200
|
+
> .active > a:hover,
|
201
|
+
> .active > a:focus {
|
202
|
+
border: 1px solid @nav-tabs-justified-link-border-color;
|
203
|
+
}
|
204
|
+
|
205
|
+
@media (min-width: @screen-sm-min) {
|
206
|
+
> li > a {
|
207
|
+
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
|
208
|
+
border-radius: @border-radius-base @border-radius-base 0 0;
|
209
|
+
}
|
210
|
+
> .active > a,
|
211
|
+
> .active > a:hover,
|
212
|
+
> .active > a:focus {
|
213
|
+
border-bottom-color: @nav-tabs-justified-active-link-border-color;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
|
219
|
+
// Tabbable tabs
|
220
|
+
// -------------------------
|
221
|
+
|
222
|
+
// Hide tabbable panes to start, show them when `.active`
|
223
|
+
.tab-content {
|
224
|
+
> .tab-pane {
|
225
|
+
display: none;
|
226
|
+
}
|
227
|
+
> .active {
|
228
|
+
display: block;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
|
233
|
+
// Dropdowns
|
234
|
+
// -------------------------
|
235
|
+
|
236
|
+
// Specific dropdowns
|
237
|
+
.nav-tabs .dropdown-menu {
|
238
|
+
// make dropdown border overlap tab border
|
239
|
+
margin-top: -1px;
|
240
|
+
// Remove the top rounded corners here since there is a hard edge above the menu
|
241
|
+
.border-top-radius(0);
|
242
|
+
}
|
@@ -0,0 +1,406 @@
|
|
1
|
+
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
// ==========================================================================
|
4
|
+
// HTML5 display definitions
|
5
|
+
// ==========================================================================
|
6
|
+
|
7
|
+
//
|
8
|
+
// Correct `block` display not defined in IE 8/9.
|
9
|
+
//
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
|
26
|
+
//
|
27
|
+
// Correct `inline-block` display not defined in IE 8/9.
|
28
|
+
//
|
29
|
+
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
//
|
37
|
+
// Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
// Remove excess height in iOS 5 devices.
|
39
|
+
//
|
40
|
+
|
41
|
+
audio:not([controls]) {
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
//
|
47
|
+
// Address `[hidden]` styling not present in IE 8/9.
|
48
|
+
// Hide the `template` element in IE, Safari, and Firefox < 22.
|
49
|
+
//
|
50
|
+
|
51
|
+
[hidden],
|
52
|
+
template {
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
// ==========================================================================
|
57
|
+
// Base
|
58
|
+
// ==========================================================================
|
59
|
+
|
60
|
+
//
|
61
|
+
// 1. Set default font family to sans-serif.
|
62
|
+
// 2. Prevent iOS text size adjust after orientation change, without disabling
|
63
|
+
// user zoom.
|
64
|
+
//
|
65
|
+
|
66
|
+
html {
|
67
|
+
font-family: sans-serif; // 1
|
68
|
+
-ms-text-size-adjust: 100%; // 2
|
69
|
+
-webkit-text-size-adjust: 100%; // 2
|
70
|
+
}
|
71
|
+
|
72
|
+
//
|
73
|
+
// Remove default margin.
|
74
|
+
//
|
75
|
+
|
76
|
+
body {
|
77
|
+
margin: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
// ==========================================================================
|
81
|
+
// Links
|
82
|
+
// ==========================================================================
|
83
|
+
|
84
|
+
//
|
85
|
+
// Remove the gray background color from active links in IE 10.
|
86
|
+
//
|
87
|
+
|
88
|
+
a {
|
89
|
+
background: transparent;
|
90
|
+
}
|
91
|
+
|
92
|
+
//
|
93
|
+
// Address `outline` inconsistency between Chrome and other browsers.
|
94
|
+
//
|
95
|
+
|
96
|
+
a:focus {
|
97
|
+
outline: thin dotted;
|
98
|
+
}
|
99
|
+
|
100
|
+
//
|
101
|
+
// Improve readability when focused and also mouse hovered in all browsers.
|
102
|
+
//
|
103
|
+
|
104
|
+
a:active,
|
105
|
+
a:hover {
|
106
|
+
outline: 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
// ==========================================================================
|
110
|
+
// Typography
|
111
|
+
// ==========================================================================
|
112
|
+
|
113
|
+
//
|
114
|
+
// Address variable `h1` font-size and margin within `section` and `article`
|
115
|
+
// contexts in Firefox 4+, Safari 5, and Chrome.
|
116
|
+
//
|
117
|
+
|
118
|
+
h1 {
|
119
|
+
font-size: 2em;
|
120
|
+
margin: 0.67em 0;
|
121
|
+
}
|
122
|
+
|
123
|
+
//
|
124
|
+
// Address styling not present in IE 8/9, Safari 5, and Chrome.
|
125
|
+
//
|
126
|
+
|
127
|
+
abbr[title] {
|
128
|
+
border-bottom: 1px dotted;
|
129
|
+
}
|
130
|
+
|
131
|
+
//
|
132
|
+
// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
133
|
+
//
|
134
|
+
|
135
|
+
b,
|
136
|
+
strong {
|
137
|
+
font-weight: bold;
|
138
|
+
}
|
139
|
+
|
140
|
+
//
|
141
|
+
// Address styling not present in Safari 5 and Chrome.
|
142
|
+
//
|
143
|
+
|
144
|
+
dfn {
|
145
|
+
font-style: italic;
|
146
|
+
}
|
147
|
+
|
148
|
+
//
|
149
|
+
// Address differences between Firefox and other browsers.
|
150
|
+
//
|
151
|
+
|
152
|
+
hr {
|
153
|
+
-moz-box-sizing: content-box;
|
154
|
+
box-sizing: content-box;
|
155
|
+
height: 0;
|
156
|
+
}
|
157
|
+
|
158
|
+
//
|
159
|
+
// Address styling not present in IE 8/9.
|
160
|
+
//
|
161
|
+
|
162
|
+
mark {
|
163
|
+
background: #ff0;
|
164
|
+
color: #000;
|
165
|
+
}
|
166
|
+
|
167
|
+
//
|
168
|
+
// Correct font family set oddly in Safari 5 and Chrome.
|
169
|
+
//
|
170
|
+
|
171
|
+
code,
|
172
|
+
kbd,
|
173
|
+
pre,
|
174
|
+
samp {
|
175
|
+
font-family: monospace, serif;
|
176
|
+
font-size: 1em;
|
177
|
+
}
|
178
|
+
|
179
|
+
//
|
180
|
+
// Improve readability of pre-formatted text in all browsers.
|
181
|
+
//
|
182
|
+
|
183
|
+
pre {
|
184
|
+
white-space: pre-wrap;
|
185
|
+
}
|
186
|
+
|
187
|
+
//
|
188
|
+
// Set consistent quote types.
|
189
|
+
//
|
190
|
+
|
191
|
+
q {
|
192
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
193
|
+
}
|
194
|
+
|
195
|
+
//
|
196
|
+
// Address inconsistent and variable font size in all browsers.
|
197
|
+
//
|
198
|
+
|
199
|
+
small {
|
200
|
+
font-size: 80%;
|
201
|
+
}
|
202
|
+
|
203
|
+
//
|
204
|
+
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
205
|
+
//
|
206
|
+
|
207
|
+
sub,
|
208
|
+
sup {
|
209
|
+
font-size: 75%;
|
210
|
+
line-height: 0;
|
211
|
+
position: relative;
|
212
|
+
vertical-align: baseline;
|
213
|
+
}
|
214
|
+
|
215
|
+
sup {
|
216
|
+
top: -0.5em;
|
217
|
+
}
|
218
|
+
|
219
|
+
sub {
|
220
|
+
bottom: -0.25em;
|
221
|
+
}
|
222
|
+
|
223
|
+
// ==========================================================================
|
224
|
+
// Embedded content
|
225
|
+
// ==========================================================================
|
226
|
+
|
227
|
+
//
|
228
|
+
// Remove border when inside `a` element in IE 8/9.
|
229
|
+
//
|
230
|
+
|
231
|
+
img {
|
232
|
+
border: 0;
|
233
|
+
}
|
234
|
+
|
235
|
+
//
|
236
|
+
// Correct overflow displayed oddly in IE 9.
|
237
|
+
//
|
238
|
+
|
239
|
+
svg:not(:root) {
|
240
|
+
overflow: hidden;
|
241
|
+
}
|
242
|
+
|
243
|
+
// ==========================================================================
|
244
|
+
// Figures
|
245
|
+
// ==========================================================================
|
246
|
+
|
247
|
+
//
|
248
|
+
// Address margin not present in IE 8/9 and Safari 5.
|
249
|
+
//
|
250
|
+
|
251
|
+
figure {
|
252
|
+
margin: 0;
|
253
|
+
}
|
254
|
+
|
255
|
+
// ==========================================================================
|
256
|
+
// Forms
|
257
|
+
// ==========================================================================
|
258
|
+
|
259
|
+
//
|
260
|
+
// Define consistent border, margin, and padding.
|
261
|
+
//
|
262
|
+
|
263
|
+
fieldset {
|
264
|
+
border: 1px solid #c0c0c0;
|
265
|
+
margin: 0 2px;
|
266
|
+
padding: 0.35em 0.625em 0.75em;
|
267
|
+
}
|
268
|
+
|
269
|
+
//
|
270
|
+
// 1. Correct `color` not being inherited in IE 8/9.
|
271
|
+
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
272
|
+
//
|
273
|
+
|
274
|
+
legend {
|
275
|
+
border: 0; // 1
|
276
|
+
padding: 0; // 2
|
277
|
+
}
|
278
|
+
|
279
|
+
//
|
280
|
+
// 1. Correct font family not being inherited in all browsers.
|
281
|
+
// 2. Correct font size not being inherited in all browsers.
|
282
|
+
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
283
|
+
//
|
284
|
+
|
285
|
+
button,
|
286
|
+
input,
|
287
|
+
select,
|
288
|
+
textarea {
|
289
|
+
font-family: inherit; // 1
|
290
|
+
font-size: 100%; // 2
|
291
|
+
margin: 0; // 3
|
292
|
+
}
|
293
|
+
|
294
|
+
//
|
295
|
+
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
296
|
+
// the UA stylesheet.
|
297
|
+
//
|
298
|
+
|
299
|
+
button,
|
300
|
+
input {
|
301
|
+
line-height: normal;
|
302
|
+
}
|
303
|
+
|
304
|
+
//
|
305
|
+
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
306
|
+
// All other form control elements do not inherit `text-transform` values.
|
307
|
+
// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
308
|
+
// Correct `select` style inheritance in Firefox 4+ and Opera.
|
309
|
+
//
|
310
|
+
|
311
|
+
button,
|
312
|
+
select {
|
313
|
+
text-transform: none;
|
314
|
+
}
|
315
|
+
|
316
|
+
//
|
317
|
+
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
318
|
+
// and `video` controls.
|
319
|
+
// 2. Correct inability to style clickable `input` types in iOS.
|
320
|
+
// 3. Improve usability and consistency of cursor style between image-type
|
321
|
+
// `input` and others.
|
322
|
+
//
|
323
|
+
|
324
|
+
button,
|
325
|
+
html input[type="button"], // 1
|
326
|
+
input[type="reset"],
|
327
|
+
input[type="submit"] {
|
328
|
+
-webkit-appearance: button; // 2
|
329
|
+
cursor: pointer; // 3
|
330
|
+
}
|
331
|
+
|
332
|
+
//
|
333
|
+
// Re-set default cursor for disabled elements.
|
334
|
+
//
|
335
|
+
|
336
|
+
button[disabled],
|
337
|
+
html input[disabled] {
|
338
|
+
cursor: default;
|
339
|
+
}
|
340
|
+
|
341
|
+
//
|
342
|
+
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
343
|
+
// 2. Remove excess padding in IE 8/9/10.
|
344
|
+
//
|
345
|
+
|
346
|
+
input[type="checkbox"],
|
347
|
+
input[type="radio"] {
|
348
|
+
box-sizing: border-box; // 1
|
349
|
+
padding: 0; // 2
|
350
|
+
}
|
351
|
+
|
352
|
+
//
|
353
|
+
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
354
|
+
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
355
|
+
// (include `-moz` to future-proof).
|
356
|
+
//
|
357
|
+
|
358
|
+
input[type="search"] {
|
359
|
+
-webkit-appearance: textfield; // 1
|
360
|
+
-moz-box-sizing: content-box;
|
361
|
+
-webkit-box-sizing: content-box; // 2
|
362
|
+
box-sizing: content-box;
|
363
|
+
}
|
364
|
+
|
365
|
+
//
|
366
|
+
// Remove inner padding and search cancel button in Safari 5 and Chrome
|
367
|
+
// on OS X.
|
368
|
+
//
|
369
|
+
|
370
|
+
input[type="search"]::-webkit-search-cancel-button,
|
371
|
+
input[type="search"]::-webkit-search-decoration {
|
372
|
+
-webkit-appearance: none;
|
373
|
+
}
|
374
|
+
|
375
|
+
//
|
376
|
+
// Remove inner padding and border in Firefox 4+.
|
377
|
+
//
|
378
|
+
|
379
|
+
button::-moz-focus-inner,
|
380
|
+
input::-moz-focus-inner {
|
381
|
+
border: 0;
|
382
|
+
padding: 0;
|
383
|
+
}
|
384
|
+
|
385
|
+
//
|
386
|
+
// 1. Remove default vertical scrollbar in IE 8/9.
|
387
|
+
// 2. Improve readability and alignment in all browsers.
|
388
|
+
//
|
389
|
+
|
390
|
+
textarea {
|
391
|
+
overflow: auto; // 1
|
392
|
+
vertical-align: top; // 2
|
393
|
+
}
|
394
|
+
|
395
|
+
// ==========================================================================
|
396
|
+
// Tables
|
397
|
+
// ==========================================================================
|
398
|
+
|
399
|
+
//
|
400
|
+
// Remove most spacing between table cells.
|
401
|
+
//
|
402
|
+
|
403
|
+
table {
|
404
|
+
border-collapse: collapse;
|
405
|
+
border-spacing: 0;
|
406
|
+
}
|