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,129 @@
|
|
1
|
+
//
|
2
|
+
// Modals
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// .modal-open - body class for killing the scroll
|
6
|
+
// .modal - container to scroll within
|
7
|
+
// .modal-dialog - positioning shell for the actual modal
|
8
|
+
// .modal-content - actual modal w/ bg and corners and shit
|
9
|
+
|
10
|
+
// Kill the scroll on the body
|
11
|
+
.modal-open {
|
12
|
+
overflow: hidden;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Container that the modal scrolls within
|
16
|
+
.modal {
|
17
|
+
display: none;
|
18
|
+
overflow: auto;
|
19
|
+
overflow-y: scroll;
|
20
|
+
position: fixed;
|
21
|
+
top: 0;
|
22
|
+
right: 0;
|
23
|
+
bottom: 0;
|
24
|
+
left: 0;
|
25
|
+
z-index: @zindex-modal-background;
|
26
|
+
|
27
|
+
// When fading in the modal, animate it to slide down
|
28
|
+
&.fade .modal-dialog {
|
29
|
+
.translate(0, -25%);
|
30
|
+
.transition-transform(~"0.3s ease-out");
|
31
|
+
}
|
32
|
+
&.in .modal-dialog { .translate(0, 0)}
|
33
|
+
}
|
34
|
+
|
35
|
+
// Shell div to position the modal with bottom padding
|
36
|
+
.modal-dialog {
|
37
|
+
position: relative;
|
38
|
+
width: auto;
|
39
|
+
margin: 10px;
|
40
|
+
z-index: (@zindex-modal-background + 10);
|
41
|
+
}
|
42
|
+
|
43
|
+
// Actual modal
|
44
|
+
.modal-content {
|
45
|
+
position: relative;
|
46
|
+
background-color: @modal-content-bg;
|
47
|
+
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
48
|
+
border: 1px solid @modal-content-border-color;
|
49
|
+
border-radius: @border-radius-large;
|
50
|
+
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
51
|
+
background-clip: padding-box;
|
52
|
+
// Remove focus outline from opened modal
|
53
|
+
outline: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Modal background
|
57
|
+
.modal-backdrop {
|
58
|
+
position: fixed;
|
59
|
+
top: 0;
|
60
|
+
right: 0;
|
61
|
+
bottom: 0;
|
62
|
+
left: 0;
|
63
|
+
z-index: (@zindex-modal-background - 10);
|
64
|
+
background-color: @modal-backdrop-bg;
|
65
|
+
// Fade for backdrop
|
66
|
+
&.fade { .opacity(0); }
|
67
|
+
&.in { .opacity(.5); }
|
68
|
+
}
|
69
|
+
|
70
|
+
// Modal header
|
71
|
+
// Top section of the modal w/ title and dismiss
|
72
|
+
.modal-header {
|
73
|
+
padding: @modal-title-padding;
|
74
|
+
border-bottom: 1px solid @modal-header-border-color;
|
75
|
+
min-height: (@modal-title-padding + @modal-title-line-height);
|
76
|
+
}
|
77
|
+
// Close icon
|
78
|
+
.modal-header .close {
|
79
|
+
margin-top: -2px;
|
80
|
+
}
|
81
|
+
|
82
|
+
// Title text within header
|
83
|
+
.modal-title {
|
84
|
+
margin: 0;
|
85
|
+
line-height: @modal-title-line-height;
|
86
|
+
}
|
87
|
+
|
88
|
+
// Modal body
|
89
|
+
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
90
|
+
.modal-body {
|
91
|
+
position: relative;
|
92
|
+
padding: @modal-inner-padding;
|
93
|
+
}
|
94
|
+
|
95
|
+
// Footer (for actions)
|
96
|
+
.modal-footer {
|
97
|
+
margin-top: 15px;
|
98
|
+
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
|
99
|
+
text-align: right; // right align buttons
|
100
|
+
border-top: 1px solid @modal-footer-border-color;
|
101
|
+
.clearfix(); // clear it in case folks use .pull-* classes on buttons
|
102
|
+
|
103
|
+
// Properly space out buttons
|
104
|
+
.btn + .btn {
|
105
|
+
margin-left: 5px;
|
106
|
+
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
107
|
+
}
|
108
|
+
// but override that for button groups
|
109
|
+
.btn-group .btn + .btn {
|
110
|
+
margin-left: -1px;
|
111
|
+
}
|
112
|
+
// and override it for block buttons as well
|
113
|
+
.btn-block + .btn-block {
|
114
|
+
margin-left: 0;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
// Scale up the modal
|
119
|
+
@media screen and (min-width: @screen-sm-min) {
|
120
|
+
|
121
|
+
.modal-dialog {
|
122
|
+
width: 600px;
|
123
|
+
margin: 30px auto;
|
124
|
+
}
|
125
|
+
.modal-content {
|
126
|
+
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
127
|
+
}
|
128
|
+
|
129
|
+
}
|
@@ -0,0 +1,612 @@
|
|
1
|
+
//
|
2
|
+
// Navbars
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Wrapper and base class
|
7
|
+
//
|
8
|
+
// Provide a static navbar from which we expand to create full-width, fixed, and
|
9
|
+
// other navbar variations.
|
10
|
+
|
11
|
+
.navbar {
|
12
|
+
position: relative;
|
13
|
+
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
14
|
+
margin-bottom: @navbar-margin-bottom;
|
15
|
+
border: 1px solid transparent;
|
16
|
+
|
17
|
+
// Prevent floats from breaking the navbar
|
18
|
+
.clearfix();
|
19
|
+
|
20
|
+
@media (min-width: @grid-float-breakpoint) {
|
21
|
+
border-radius: @navbar-border-radius;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
// Navbar heading
|
27
|
+
//
|
28
|
+
// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
|
29
|
+
// styling of responsive aspects.
|
30
|
+
|
31
|
+
.navbar-header {
|
32
|
+
.clearfix();
|
33
|
+
|
34
|
+
@media (min-width: @grid-float-breakpoint) {
|
35
|
+
float: left;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
// Navbar collapse (body)
|
41
|
+
//
|
42
|
+
// Group your navbar content into this for easy collapsing and expanding across
|
43
|
+
// various device sizes. By default, this content is collapsed when <768px, but
|
44
|
+
// will expand past that for a horizontal display.
|
45
|
+
//
|
46
|
+
// To start (on mobile devices) the navbar links, forms, and buttons are stacked
|
47
|
+
// vertically and include a `max-height` to overflow in case you have too much
|
48
|
+
// content for the user's viewport.
|
49
|
+
|
50
|
+
.navbar-collapse {
|
51
|
+
max-height: 340px;
|
52
|
+
overflow-x: visible;
|
53
|
+
padding-right: @navbar-padding-horizontal;
|
54
|
+
padding-left: @navbar-padding-horizontal;
|
55
|
+
border-top: 1px solid transparent;
|
56
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
|
57
|
+
.clearfix();
|
58
|
+
-webkit-overflow-scrolling: touch;
|
59
|
+
|
60
|
+
&.in {
|
61
|
+
overflow-y: auto;
|
62
|
+
}
|
63
|
+
|
64
|
+
@media (min-width: @grid-float-breakpoint) {
|
65
|
+
width: auto;
|
66
|
+
border-top: 0;
|
67
|
+
box-shadow: none;
|
68
|
+
|
69
|
+
&.collapse {
|
70
|
+
display: block !important;
|
71
|
+
height: auto !important;
|
72
|
+
padding-bottom: 0; // Override default setting
|
73
|
+
overflow: visible !important;
|
74
|
+
}
|
75
|
+
|
76
|
+
&.in {
|
77
|
+
overflow-y: visible;
|
78
|
+
}
|
79
|
+
|
80
|
+
// Undo the collapse side padding for navbars with containers to ensure
|
81
|
+
// alignment of right-aligned contents.
|
82
|
+
.navbar-fixed-top &,
|
83
|
+
.navbar-static-top &,
|
84
|
+
.navbar-fixed-bottom & {
|
85
|
+
padding-left: 0;
|
86
|
+
padding-right: 0;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Both navbar header and collapse
|
93
|
+
//
|
94
|
+
// When a container is present, change the behavior of the header and collapse.
|
95
|
+
|
96
|
+
.container > .navbar-header,
|
97
|
+
.container > .navbar-collapse {
|
98
|
+
margin-right: -@navbar-padding-horizontal;
|
99
|
+
margin-left: -@navbar-padding-horizontal;
|
100
|
+
|
101
|
+
@media (min-width: @grid-float-breakpoint) {
|
102
|
+
margin-right: 0;
|
103
|
+
margin-left: 0;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
//
|
109
|
+
// Navbar alignment options
|
110
|
+
//
|
111
|
+
// Display the navbar across the entirety of the page or fixed it to the top or
|
112
|
+
// bottom of the page.
|
113
|
+
|
114
|
+
// Static top (unfixed, but 100% wide) navbar
|
115
|
+
.navbar-static-top {
|
116
|
+
z-index: @zindex-navbar;
|
117
|
+
border-width: 0 0 1px;
|
118
|
+
|
119
|
+
@media (min-width: @grid-float-breakpoint) {
|
120
|
+
border-radius: 0;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
// Fix the top/bottom navbars when screen real estate supports it
|
125
|
+
.navbar-fixed-top,
|
126
|
+
.navbar-fixed-bottom {
|
127
|
+
position: fixed;
|
128
|
+
right: 0;
|
129
|
+
left: 0;
|
130
|
+
z-index: @zindex-navbar-fixed;
|
131
|
+
|
132
|
+
// Undo the rounded corners
|
133
|
+
@media (min-width: @grid-float-breakpoint) {
|
134
|
+
border-radius: 0;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
.navbar-fixed-top {
|
138
|
+
top: 0;
|
139
|
+
border-width: 0 0 1px;
|
140
|
+
}
|
141
|
+
.navbar-fixed-bottom {
|
142
|
+
bottom: 0;
|
143
|
+
margin-bottom: 0; // override .navbar defaults
|
144
|
+
border-width: 1px 0 0;
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
// Brand/project name
|
149
|
+
|
150
|
+
.navbar-brand {
|
151
|
+
float: left;
|
152
|
+
padding: @navbar-padding-vertical @navbar-padding-horizontal;
|
153
|
+
font-size: @font-size-large;
|
154
|
+
line-height: @line-height-computed;
|
155
|
+
|
156
|
+
&:hover,
|
157
|
+
&:focus {
|
158
|
+
text-decoration: none;
|
159
|
+
}
|
160
|
+
|
161
|
+
@media (min-width: @grid-float-breakpoint) {
|
162
|
+
.navbar > .container & {
|
163
|
+
margin-left: -@navbar-padding-horizontal;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
// Navbar toggle
|
170
|
+
//
|
171
|
+
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
172
|
+
// JavaScript plugin.
|
173
|
+
|
174
|
+
.navbar-toggle {
|
175
|
+
position: relative;
|
176
|
+
float: right;
|
177
|
+
margin-right: @navbar-padding-horizontal;
|
178
|
+
padding: 9px 10px;
|
179
|
+
.navbar-vertical-align(34px);
|
180
|
+
background-color: transparent;
|
181
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
182
|
+
border: 1px solid transparent;
|
183
|
+
border-radius: @border-radius-base;
|
184
|
+
|
185
|
+
// Bars
|
186
|
+
.icon-bar {
|
187
|
+
display: block;
|
188
|
+
width: 22px;
|
189
|
+
height: 2px;
|
190
|
+
border-radius: 1px;
|
191
|
+
}
|
192
|
+
.icon-bar + .icon-bar {
|
193
|
+
margin-top: 4px;
|
194
|
+
}
|
195
|
+
|
196
|
+
@media (min-width: @grid-float-breakpoint) {
|
197
|
+
display: none;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
// Navbar nav links
|
203
|
+
//
|
204
|
+
// Builds on top of the `.nav` components with it's own modifier class to make
|
205
|
+
// the nav the full height of the horizontal nav (above 768px).
|
206
|
+
|
207
|
+
.navbar-nav {
|
208
|
+
margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;
|
209
|
+
|
210
|
+
> li > a {
|
211
|
+
padding-top: 10px;
|
212
|
+
padding-bottom: 10px;
|
213
|
+
line-height: @line-height-computed;
|
214
|
+
}
|
215
|
+
|
216
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
217
|
+
// Dropdowns get custom display when collapsed
|
218
|
+
.open .dropdown-menu {
|
219
|
+
position: static;
|
220
|
+
float: none;
|
221
|
+
width: auto;
|
222
|
+
margin-top: 0;
|
223
|
+
background-color: transparent;
|
224
|
+
border: 0;
|
225
|
+
box-shadow: none;
|
226
|
+
> li > a,
|
227
|
+
.dropdown-header {
|
228
|
+
padding: 5px 15px 5px 25px;
|
229
|
+
}
|
230
|
+
> li > a {
|
231
|
+
line-height: @line-height-computed;
|
232
|
+
&:hover,
|
233
|
+
&:focus {
|
234
|
+
background-image: none;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
// Uncollapse the nav
|
241
|
+
@media (min-width: @grid-float-breakpoint) {
|
242
|
+
float: left;
|
243
|
+
margin: 0;
|
244
|
+
|
245
|
+
> li {
|
246
|
+
float: left;
|
247
|
+
> a {
|
248
|
+
padding-top: @navbar-padding-vertical;
|
249
|
+
padding-bottom: @navbar-padding-vertical;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
&.navbar-right:last-child {
|
254
|
+
margin-right: -@navbar-padding-horizontal;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
|
259
|
+
|
260
|
+
// Component alignment
|
261
|
+
//
|
262
|
+
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
263
|
+
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
264
|
+
// though so that navbar contents properly stack and align in mobile.
|
265
|
+
|
266
|
+
@media (min-width: @grid-float-breakpoint) {
|
267
|
+
.navbar-left { .pull-left(); }
|
268
|
+
.navbar-right { .pull-right(); }
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
// Navbar form
|
273
|
+
//
|
274
|
+
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
275
|
+
// our navbars.
|
276
|
+
|
277
|
+
.navbar-form {
|
278
|
+
margin-left: -@navbar-padding-horizontal;
|
279
|
+
margin-right: -@navbar-padding-horizontal;
|
280
|
+
padding: 10px @navbar-padding-horizontal;
|
281
|
+
border-top: 1px solid transparent;
|
282
|
+
border-bottom: 1px solid transparent;
|
283
|
+
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
|
284
|
+
.box-shadow(@shadow);
|
285
|
+
|
286
|
+
// Mixin behavior for optimum display
|
287
|
+
.form-inline();
|
288
|
+
|
289
|
+
.form-group {
|
290
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
291
|
+
margin-bottom: 5px;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
// Vertically center in expanded, horizontal navbar
|
296
|
+
.navbar-vertical-align(@input-height-base);
|
297
|
+
|
298
|
+
// Undo 100% width for pull classes
|
299
|
+
@media (min-width: @grid-float-breakpoint) {
|
300
|
+
width: auto;
|
301
|
+
border: 0;
|
302
|
+
margin-left: 0;
|
303
|
+
margin-right: 0;
|
304
|
+
padding-top: 0;
|
305
|
+
padding-bottom: 0;
|
306
|
+
.box-shadow(none);
|
307
|
+
|
308
|
+
// Outdent the form if last child to line up with content down the page
|
309
|
+
&.navbar-right:last-child {
|
310
|
+
margin-right: -@navbar-padding-horizontal;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
// Dropdown menus
|
317
|
+
|
318
|
+
// Menu position and menu carets
|
319
|
+
.navbar-nav > li > .dropdown-menu {
|
320
|
+
margin-top: 0;
|
321
|
+
.border-top-radius(0);
|
322
|
+
}
|
323
|
+
// Menu position and menu caret support for dropups via extra dropup class
|
324
|
+
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
325
|
+
.border-bottom-radius(0);
|
326
|
+
}
|
327
|
+
|
328
|
+
// Right aligned menus need alt position
|
329
|
+
.navbar-nav.pull-right > li > .dropdown-menu,
|
330
|
+
.navbar-nav > li > .dropdown-menu.pull-right {
|
331
|
+
left: auto;
|
332
|
+
right: 0;
|
333
|
+
}
|
334
|
+
|
335
|
+
|
336
|
+
// Buttons in navbars
|
337
|
+
//
|
338
|
+
// Vertically center a button within a navbar (when *not* in a form).
|
339
|
+
|
340
|
+
.navbar-btn {
|
341
|
+
.navbar-vertical-align(@input-height-base);
|
342
|
+
|
343
|
+
&.btn-sm {
|
344
|
+
.navbar-vertical-align(@input-height-small);
|
345
|
+
}
|
346
|
+
&.btn-xs {
|
347
|
+
.navbar-vertical-align(22);
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
|
352
|
+
// Text in navbars
|
353
|
+
//
|
354
|
+
// Add a class to make any element properly align itself vertically within the navbars.
|
355
|
+
|
356
|
+
.navbar-text {
|
357
|
+
.navbar-vertical-align(@line-height-computed);
|
358
|
+
|
359
|
+
@media (min-width: @grid-float-breakpoint) {
|
360
|
+
float: left;
|
361
|
+
margin-left: @navbar-padding-horizontal;
|
362
|
+
margin-right: @navbar-padding-horizontal;
|
363
|
+
|
364
|
+
// Outdent the form if last child to line up with content down the page
|
365
|
+
&.navbar-right:last-child {
|
366
|
+
margin-right: 0;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
// Alternate navbars
|
372
|
+
// --------------------------------------------------
|
373
|
+
|
374
|
+
// Default navbar
|
375
|
+
.navbar-default {
|
376
|
+
background-color: @navbar-default-bg;
|
377
|
+
border-color: @navbar-default-border;
|
378
|
+
|
379
|
+
.navbar-brand {
|
380
|
+
color: @navbar-default-brand-color;
|
381
|
+
&:hover,
|
382
|
+
&:focus {
|
383
|
+
color: @navbar-default-brand-hover-color;
|
384
|
+
background-color: @navbar-default-brand-hover-bg;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
.navbar-text {
|
389
|
+
color: @navbar-default-color;
|
390
|
+
}
|
391
|
+
|
392
|
+
.navbar-nav {
|
393
|
+
> li > a {
|
394
|
+
color: @navbar-default-link-color;
|
395
|
+
|
396
|
+
&:hover,
|
397
|
+
&:focus {
|
398
|
+
color: @navbar-default-link-hover-color;
|
399
|
+
background-color: @navbar-default-link-hover-bg;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
> .active > a {
|
403
|
+
&,
|
404
|
+
&:hover,
|
405
|
+
&:focus {
|
406
|
+
color: @navbar-default-link-active-color;
|
407
|
+
background-color: @navbar-default-link-active-bg;
|
408
|
+
}
|
409
|
+
}
|
410
|
+
> .disabled > a {
|
411
|
+
&,
|
412
|
+
&:hover,
|
413
|
+
&:focus {
|
414
|
+
color: @navbar-default-link-disabled-color;
|
415
|
+
background-color: @navbar-default-link-disabled-bg;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
.navbar-toggle {
|
421
|
+
border-color: @navbar-default-toggle-border-color;
|
422
|
+
&:hover,
|
423
|
+
&:focus {
|
424
|
+
background-color: @navbar-default-toggle-hover-bg;
|
425
|
+
}
|
426
|
+
.icon-bar {
|
427
|
+
background-color: @navbar-default-toggle-icon-bar-bg;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
431
|
+
.navbar-collapse,
|
432
|
+
.navbar-form {
|
433
|
+
border-color: @navbar-default-border;
|
434
|
+
}
|
435
|
+
|
436
|
+
// Dropdown menu items
|
437
|
+
.navbar-nav {
|
438
|
+
// Remove background color from open dropdown
|
439
|
+
> .open > a {
|
440
|
+
&,
|
441
|
+
&:hover,
|
442
|
+
&:focus {
|
443
|
+
background-color: @navbar-default-link-active-bg;
|
444
|
+
color: @navbar-default-link-active-color;
|
445
|
+
}
|
446
|
+
}
|
447
|
+
|
448
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
449
|
+
// Dropdowns get custom display when collapsed
|
450
|
+
.open .dropdown-menu {
|
451
|
+
> li > a {
|
452
|
+
color: @navbar-default-link-color;
|
453
|
+
&:hover,
|
454
|
+
&:focus {
|
455
|
+
color: @navbar-default-link-hover-color;
|
456
|
+
background-color: @navbar-default-link-hover-bg;
|
457
|
+
}
|
458
|
+
}
|
459
|
+
> .active > a {
|
460
|
+
&,
|
461
|
+
&:hover,
|
462
|
+
&:focus {
|
463
|
+
color: @navbar-default-link-active-color;
|
464
|
+
background-color: @navbar-default-link-active-bg;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
> .disabled > a {
|
468
|
+
&,
|
469
|
+
&:hover,
|
470
|
+
&:focus {
|
471
|
+
color: @navbar-default-link-disabled-color;
|
472
|
+
background-color: @navbar-default-link-disabled-bg;
|
473
|
+
}
|
474
|
+
}
|
475
|
+
}
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
|
480
|
+
// Links in navbars
|
481
|
+
//
|
482
|
+
// Add a class to ensure links outside the navbar nav are colored correctly.
|
483
|
+
|
484
|
+
.navbar-link {
|
485
|
+
color: @navbar-default-link-color;
|
486
|
+
&:hover {
|
487
|
+
color: @navbar-default-link-hover-color;
|
488
|
+
}
|
489
|
+
}
|
490
|
+
|
491
|
+
}
|
492
|
+
|
493
|
+
// Inverse navbar
|
494
|
+
|
495
|
+
.navbar-inverse {
|
496
|
+
background-color: @navbar-inverse-bg;
|
497
|
+
border-color: @navbar-inverse-border;
|
498
|
+
|
499
|
+
.navbar-brand {
|
500
|
+
color: @navbar-inverse-brand-color;
|
501
|
+
&:hover,
|
502
|
+
&:focus {
|
503
|
+
color: @navbar-inverse-brand-hover-color;
|
504
|
+
background-color: @navbar-inverse-brand-hover-bg;
|
505
|
+
}
|
506
|
+
}
|
507
|
+
|
508
|
+
.navbar-text {
|
509
|
+
color: @navbar-inverse-color;
|
510
|
+
}
|
511
|
+
|
512
|
+
.navbar-nav {
|
513
|
+
> li > a {
|
514
|
+
color: @navbar-inverse-link-color;
|
515
|
+
|
516
|
+
&:hover,
|
517
|
+
&:focus {
|
518
|
+
color: @navbar-inverse-link-hover-color;
|
519
|
+
background-color: @navbar-inverse-link-hover-bg;
|
520
|
+
}
|
521
|
+
}
|
522
|
+
> .active > a {
|
523
|
+
&,
|
524
|
+
&:hover,
|
525
|
+
&:focus {
|
526
|
+
color: @navbar-inverse-link-active-color;
|
527
|
+
background-color: @navbar-inverse-link-active-bg;
|
528
|
+
}
|
529
|
+
}
|
530
|
+
> .disabled > a {
|
531
|
+
&,
|
532
|
+
&:hover,
|
533
|
+
&:focus {
|
534
|
+
color: @navbar-inverse-link-disabled-color;
|
535
|
+
background-color: @navbar-inverse-link-disabled-bg;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
}
|
539
|
+
|
540
|
+
// Darken the responsive nav toggle
|
541
|
+
.navbar-toggle {
|
542
|
+
border-color: @navbar-inverse-toggle-border-color;
|
543
|
+
&:hover,
|
544
|
+
&:focus {
|
545
|
+
background-color: @navbar-inverse-toggle-hover-bg;
|
546
|
+
}
|
547
|
+
.icon-bar {
|
548
|
+
background-color: @navbar-inverse-toggle-icon-bar-bg;
|
549
|
+
}
|
550
|
+
}
|
551
|
+
|
552
|
+
.navbar-collapse,
|
553
|
+
.navbar-form {
|
554
|
+
border-color: darken(@navbar-inverse-bg, 7%);
|
555
|
+
}
|
556
|
+
|
557
|
+
// Dropdowns
|
558
|
+
.navbar-nav {
|
559
|
+
> .open > a {
|
560
|
+
&,
|
561
|
+
&:hover,
|
562
|
+
&:focus {
|
563
|
+
background-color: @navbar-inverse-link-active-bg;
|
564
|
+
color: @navbar-inverse-link-active-color;
|
565
|
+
}
|
566
|
+
}
|
567
|
+
|
568
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
569
|
+
// Dropdowns get custom display
|
570
|
+
.open .dropdown-menu {
|
571
|
+
> .dropdown-header {
|
572
|
+
border-color: @navbar-inverse-border;
|
573
|
+
}
|
574
|
+
.divider {
|
575
|
+
background-color: @navbar-inverse-border;
|
576
|
+
}
|
577
|
+
> li > a {
|
578
|
+
color: @navbar-inverse-link-color;
|
579
|
+
&:hover,
|
580
|
+
&:focus {
|
581
|
+
color: @navbar-inverse-link-hover-color;
|
582
|
+
background-color: @navbar-inverse-link-hover-bg;
|
583
|
+
}
|
584
|
+
}
|
585
|
+
> .active > a {
|
586
|
+
&,
|
587
|
+
&:hover,
|
588
|
+
&:focus {
|
589
|
+
color: @navbar-inverse-link-active-color;
|
590
|
+
background-color: @navbar-inverse-link-active-bg;
|
591
|
+
}
|
592
|
+
}
|
593
|
+
> .disabled > a {
|
594
|
+
&,
|
595
|
+
&:hover,
|
596
|
+
&:focus {
|
597
|
+
color: @navbar-inverse-link-disabled-color;
|
598
|
+
background-color: @navbar-inverse-link-disabled-bg;
|
599
|
+
}
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
.navbar-link {
|
606
|
+
color: @navbar-inverse-link-color;
|
607
|
+
&:hover {
|
608
|
+
color: @navbar-inverse-link-hover-color;
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
}
|