bootstrap_it 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.rubocop.yml +5 -0
- data/Gemfile +9 -0
- data/README.md +582 -0
- data/Rakefile +6 -0
- data/bootstrap_it.gemspec +33 -0
- data/config.ru +7 -0
- data/lib/bootstrap_it.rb +9 -0
- data/lib/bootstrap_it/assets.rb +67 -0
- data/lib/bootstrap_it/config.rb +50 -0
- data/lib/bootstrap_it/engine.rb +25 -0
- data/lib/bootstrap_it/locales/en.yml +4 -0
- data/lib/bootstrap_it/locales/ru.yml +4 -0
- data/lib/bootstrap_it/version.rb +6 -0
- data/lib/bootstrap_it/view_helpers.rb +55 -0
- data/lib/bootstrap_it/view_helpers/breadcrumb.rb +19 -0
- data/lib/bootstrap_it/view_helpers/button.rb +116 -0
- data/lib/bootstrap_it/view_helpers/button_group.rb +32 -0
- data/lib/bootstrap_it/view_helpers/button_toolbar.rb +21 -0
- data/lib/bootstrap_it/view_helpers/dropdown_menu.rb +30 -0
- data/lib/bootstrap_it/view_helpers/form.rb +127 -0
- data/lib/bootstrap_it/view_helpers/grid.rb +75 -0
- data/lib/bootstrap_it/view_helpers/icon.rb +24 -0
- data/lib/bootstrap_it/view_helpers/list.rb +47 -0
- data/lib/bootstrap_it/view_helpers/misc.rb +144 -0
- data/lib/bootstrap_it/view_helpers/mixin.rb +279 -0
- data/lib/bootstrap_it/view_helpers/nav.rb +96 -0
- data/lib/bootstrap_it/view_helpers/pagination.rb +34 -0
- data/lib/bootstrap_it/view_helpers/table.rb +72 -0
- data/lib/bootstrap_it/view_helpers/text.rb +46 -0
- data/spec/assets/assets_spec.rb +51 -0
- data/spec/internal/app/assets/javascript/application.js +7 -0
- data/spec/internal/app/assets/javascript/user.js +1 -0
- data/spec/internal/app/assets/javascript/userfont.eot +0 -0
- data/spec/internal/app/assets/stylesheets/application.css +6 -0
- data/spec/internal/app/assets/stylesheets/user.css +1 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/db/schema.rb +3 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/lib/config_spec.rb +10 -0
- data/spec/lib/view_helpers_spec.rb +12 -0
- data/spec/spec_helper.rb +37 -0
- data/spec/support/example_groups/assets_example_group.rb +84 -0
- data/spec/support/example_groups/view_helpers_example_group.rb +124 -0
- data/spec/view_helpers/breadcrumb_spec.rb +12 -0
- data/spec/view_helpers/button_group_spec.rb +40 -0
- data/spec/view_helpers/button_spec.rb +169 -0
- data/spec/view_helpers/button_toolbar_spec.rb +14 -0
- data/spec/view_helpers/dropdown_menu_spec.rb +41 -0
- data/spec/view_helpers/form_spec.rb +27 -0
- data/spec/view_helpers/grid_spec.rb +47 -0
- data/spec/view_helpers/icon_spec.rb +6 -0
- data/spec/view_helpers/list_spec.rb +50 -0
- data/spec/view_helpers/misc_spec.rb +117 -0
- data/spec/view_helpers/mixin_spec.rb +177 -0
- data/spec/view_helpers/nav_spec.rb +63 -0
- data/spec/view_helpers/pagination_spec.rb +36 -0
- data/spec/view_helpers/table_spec.rb +59 -0
- data/spec/view_helpers/text_spec.rb +13 -0
- data/spec/views/examples_spec.rb +250 -0
- data/upstream/bootstrap-3.0.3-dist.zip +0 -0
- data/upstream/bootstrap/3.0.3/fonts/glyphicons-halflings-regular.eot +0 -0
- data/upstream/bootstrap/3.0.3/fonts/glyphicons-halflings-regular.svg +229 -0
- data/upstream/bootstrap/3.0.3/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/upstream/bootstrap/3.0.3/fonts/glyphicons-halflings-regular.woff +0 -0
- data/upstream/bootstrap/3.0.3/javascript/bootstrap.js +2006 -0
- data/upstream/bootstrap/3.0.3/javascript/bootstrap.min.js +7 -0
- data/upstream/bootstrap/3.0.3/src/.editorconfig +11 -0
- data/upstream/bootstrap/3.0.3/src/.gitattributes +8 -0
- data/upstream/bootstrap/3.0.3/src/.gitignore +42 -0
- data/upstream/bootstrap/3.0.3/src/.travis.yml +10 -0
- data/upstream/bootstrap/3.0.3/src/CNAME +1 -0
- data/upstream/bootstrap/3.0.3/src/CONTRIBUTING.md +79 -0
- data/upstream/bootstrap/3.0.3/src/DOCS-LICENSE +319 -0
- data/upstream/bootstrap/3.0.3/src/Gruntfile.js +337 -0
- data/upstream/bootstrap/3.0.3/src/LICENSE +176 -0
- data/upstream/bootstrap/3.0.3/src/LICENSE-MIT +21 -0
- data/upstream/bootstrap/3.0.3/src/README.md +166 -0
- data/upstream/bootstrap/3.0.3/src/_config.yml +25 -0
- data/upstream/bootstrap/3.0.3/src/_includes/ads.html +1 -0
- data/upstream/bootstrap/3.0.3/src/_includes/footer.html +48 -0
- data/upstream/bootstrap/3.0.3/src/_includes/header.html +42 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-about.html +12 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-components.html +137 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-css.html +99 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-customize.html +40 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-getting-started.html +48 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-javascript.html +88 -0
- data/upstream/bootstrap/3.0.3/src/_includes/nav-main.html +37 -0
- data/upstream/bootstrap/3.0.3/src/_includes/old-bs-docs.html +8 -0
- data/upstream/bootstrap/3.0.3/src/_includes/social-buttons.html +16 -0
- data/upstream/bootstrap/3.0.3/src/_layouts/default.html +79 -0
- data/upstream/bootstrap/3.0.3/src/_layouts/home.html +47 -0
- data/upstream/bootstrap/3.0.3/src/about.html +94 -0
- data/upstream/bootstrap/3.0.3/src/bower.json +30 -0
- data/upstream/bootstrap/3.0.3/src/components.html +3714 -0
- data/upstream/bootstrap/3.0.3/src/composer.json +25 -0
- data/upstream/bootstrap/3.0.3/src/css.html +2673 -0
- data/upstream/bootstrap/3.0.3/src/customize.html +1715 -0
- data/upstream/bootstrap/3.0.3/src/dist/css/bootstrap-theme.css +397 -0
- data/upstream/bootstrap/3.0.3/src/dist/css/bootstrap-theme.min.css +7 -0
- data/upstream/bootstrap/3.0.3/src/dist/css/bootstrap.css +7118 -0
- data/upstream/bootstrap/3.0.3/src/dist/css/bootstrap.min.css +7 -0
- data/upstream/bootstrap/3.0.3/src/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/upstream/bootstrap/3.0.3/src/dist/fonts/glyphicons-halflings-regular.svg +229 -0
- data/upstream/bootstrap/3.0.3/src/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/upstream/bootstrap/3.0.3/src/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/upstream/bootstrap/3.0.3/src/dist/js/bootstrap.js +2006 -0
- data/upstream/bootstrap/3.0.3/src/dist/js/bootstrap.min.js +7 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/css/docs.css +1196 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/css/pygments-manni.css +66 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/ico/favicon.png +0 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/application.js +103 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/customizer.js +332 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/filesaver.js +399 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/holder.js +500 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/ie8-responsive-file-warning.js +12 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/jszip.js +1474 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/less.js +9 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/raw-files.js +3 -0
- data/upstream/bootstrap/3.0.3/src/docs-assets/js/uglify.js +14 -0
- data/upstream/bootstrap/3.0.3/src/examples/carousel/carousel.css +148 -0
- data/upstream/bootstrap/3.0.3/src/examples/carousel/index.html +206 -0
- data/upstream/bootstrap/3.0.3/src/examples/grid/grid.css +28 -0
- data/upstream/bootstrap/3.0.3/src/examples/grid/index.html +148 -0
- data/upstream/bootstrap/3.0.3/src/examples/jumbotron-narrow/index.html +82 -0
- data/upstream/bootstrap/3.0.3/src/examples/jumbotron-narrow/jumbotron-narrow.css +79 -0
- data/upstream/bootstrap/3.0.3/src/examples/jumbotron/index.html +99 -0
- data/upstream/bootstrap/3.0.3/src/examples/jumbotron/jumbotron.css +5 -0
- data/upstream/bootstrap/3.0.3/src/examples/justified-nav/index.html +84 -0
- data/upstream/bootstrap/3.0.3/src/examples/justified-nav/justified-nav.css +88 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar-fixed-top/index.html +91 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar-fixed-top/navbar-fixed-top.css +4 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar-static-top/index.html +92 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar-static-top/navbar-static-top.css +7 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar/index.html +88 -0
- data/upstream/bootstrap/3.0.3/src/examples/navbar/navbar.css +8 -0
- data/upstream/bootstrap/3.0.3/src/examples/non-responsive/index.html +101 -0
- data/upstream/bootstrap/3.0.3/src/examples/non-responsive/non-responsive.css +120 -0
- data/upstream/bootstrap/3.0.3/src/examples/offcanvas/index.html +130 -0
- data/upstream/bootstrap/3.0.3/src/examples/offcanvas/offcanvas.css +51 -0
- data/upstream/bootstrap/3.0.3/src/examples/offcanvas/offcanvas.js +5 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/carousel.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/grid.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/jumbotron-narrow.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/jumbotron.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/justified-nav.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/navbar-fixed.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/navbar-static.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/navbar.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/non-responsive.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/offcanvas.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/sign-in.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/starter-template.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/sticky-footer-navbar.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/sticky-footer.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/screenshots/theme.jpg +0 -0
- data/upstream/bootstrap/3.0.3/src/examples/signin/index.html +50 -0
- data/upstream/bootstrap/3.0.3/src/examples/signin/signin.css +40 -0
- data/upstream/bootstrap/3.0.3/src/examples/starter-template/index.html +68 -0
- data/upstream/bootstrap/3.0.3/src/examples/starter-template/starter-template.css +7 -0
- data/upstream/bootstrap/3.0.3/src/examples/sticky-footer-navbar/index.html +91 -0
- data/upstream/bootstrap/3.0.3/src/examples/sticky-footer-navbar/sticky-footer-navbar.css +45 -0
- data/upstream/bootstrap/3.0.3/src/examples/sticky-footer/index.html +55 -0
- data/upstream/bootstrap/3.0.3/src/examples/sticky-footer/sticky-footer.css +38 -0
- data/upstream/bootstrap/3.0.3/src/examples/theme/index.html +384 -0
- data/upstream/bootstrap/3.0.3/src/examples/theme/theme.css +14 -0
- data/upstream/bootstrap/3.0.3/src/fonts/glyphicons-halflings-regular.eot +0 -0
- data/upstream/bootstrap/3.0.3/src/fonts/glyphicons-halflings-regular.svg +229 -0
- data/upstream/bootstrap/3.0.3/src/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/upstream/bootstrap/3.0.3/src/fonts/glyphicons-halflings-regular.woff +0 -0
- data/upstream/bootstrap/3.0.3/src/getting-started.html +1057 -0
- data/upstream/bootstrap/3.0.3/src/index.html +16 -0
- data/upstream/bootstrap/3.0.3/src/javascript.html +1995 -0
- data/upstream/bootstrap/3.0.3/src/js/.jshintrc +14 -0
- data/upstream/bootstrap/3.0.3/src/js/affix.js +126 -0
- data/upstream/bootstrap/3.0.3/src/js/alert.js +98 -0
- data/upstream/bootstrap/3.0.3/src/js/button.js +115 -0
- data/upstream/bootstrap/3.0.3/src/js/carousel.js +217 -0
- data/upstream/bootstrap/3.0.3/src/js/collapse.js +179 -0
- data/upstream/bootstrap/3.0.3/src/js/dropdown.js +154 -0
- data/upstream/bootstrap/3.0.3/src/js/modal.js +246 -0
- data/upstream/bootstrap/3.0.3/src/js/popover.js +117 -0
- data/upstream/bootstrap/3.0.3/src/js/scrollspy.js +158 -0
- data/upstream/bootstrap/3.0.3/src/js/tab.js +135 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/index.html +52 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/affix.js +25 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/alert.js +62 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/button.js +122 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/carousel.js +87 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/collapse.js +164 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/dropdown.js +219 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/modal.js +196 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/phantom.js +69 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/popover.js +133 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/scrollspy.js +37 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/tab.js +86 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/tooltip.js +437 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/unit/transition.js +13 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/vendor/jquery.js +6 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/vendor/qunit.css +232 -0
- data/upstream/bootstrap/3.0.3/src/js/tests/vendor/qunit.js +1510 -0
- data/upstream/bootstrap/3.0.3/src/js/tooltip.js +386 -0
- data/upstream/bootstrap/3.0.3/src/js/transition.js +56 -0
- data/upstream/bootstrap/3.0.3/src/less/alerts.less +67 -0
- data/upstream/bootstrap/3.0.3/src/less/badges.less +51 -0
- data/upstream/bootstrap/3.0.3/src/less/bootstrap.less +49 -0
- data/upstream/bootstrap/3.0.3/src/less/breadcrumbs.less +23 -0
- data/upstream/bootstrap/3.0.3/src/less/button-groups.less +227 -0
- data/upstream/bootstrap/3.0.3/src/less/buttons.less +155 -0
- data/upstream/bootstrap/3.0.3/src/less/carousel.less +232 -0
- data/upstream/bootstrap/3.0.3/src/less/close.less +33 -0
- data/upstream/bootstrap/3.0.3/src/less/code.less +53 -0
- data/upstream/bootstrap/3.0.3/src/less/component-animations.less +29 -0
- data/upstream/bootstrap/3.0.3/src/less/dropdowns.less +187 -0
- data/upstream/bootstrap/3.0.3/src/less/forms.less +375 -0
- data/upstream/bootstrap/3.0.3/src/less/glyphicons.less +237 -0
- data/upstream/bootstrap/3.0.3/src/less/grid.less +79 -0
- data/upstream/bootstrap/3.0.3/src/less/input-groups.less +136 -0
- data/upstream/bootstrap/3.0.3/src/less/jumbotron.less +46 -0
- data/upstream/bootstrap/3.0.3/src/less/labels.less +64 -0
- data/upstream/bootstrap/3.0.3/src/less/list-group.less +88 -0
- data/upstream/bootstrap/3.0.3/src/less/media.less +56 -0
- data/upstream/bootstrap/3.0.3/src/less/mixins.less +845 -0
- data/upstream/bootstrap/3.0.3/src/less/modals.less +129 -0
- data/upstream/bootstrap/3.0.3/src/less/navbar.less +612 -0
- data/upstream/bootstrap/3.0.3/src/less/navs.less +242 -0
- data/upstream/bootstrap/3.0.3/src/less/normalize.less +406 -0
- data/upstream/bootstrap/3.0.3/src/less/pager.less +55 -0
- data/upstream/bootstrap/3.0.3/src/less/pagination.less +85 -0
- data/upstream/bootstrap/3.0.3/src/less/panels.less +182 -0
- data/upstream/bootstrap/3.0.3/src/less/popovers.less +133 -0
- data/upstream/bootstrap/3.0.3/src/less/print.less +105 -0
- data/upstream/bootstrap/3.0.3/src/less/progress-bars.less +80 -0
- data/upstream/bootstrap/3.0.3/src/less/responsive-utilities.less +209 -0
- data/upstream/bootstrap/3.0.3/src/less/scaffolding.less +119 -0
- data/upstream/bootstrap/3.0.3/src/less/tables.less +231 -0
- data/upstream/bootstrap/3.0.3/src/less/theme.less +247 -0
- data/upstream/bootstrap/3.0.3/src/less/thumbnails.less +36 -0
- data/upstream/bootstrap/3.0.3/src/less/tooltip.less +95 -0
- data/upstream/bootstrap/3.0.3/src/less/type.less +281 -0
- data/upstream/bootstrap/3.0.3/src/less/utilities.less +56 -0
- data/upstream/bootstrap/3.0.3/src/less/variables.less +642 -0
- data/upstream/bootstrap/3.0.3/src/less/wells.less +29 -0
- data/upstream/bootstrap/3.0.3/src/package.json +51 -0
- data/upstream/bootstrap/3.0.3/stylesheets/bootstrap-theme.css +397 -0
- data/upstream/bootstrap/3.0.3/stylesheets/bootstrap-theme.min.css +7 -0
- data/upstream/bootstrap/3.0.3/stylesheets/bootstrap.css +7118 -0
- data/upstream/bootstrap/3.0.3/stylesheets/bootstrap.min.css +7 -0
- data/upstream/font-awesome-4.0.3.zip +0 -0
- data/upstream/font-awesome/4.0.3/fonts/FontAwesome.otf +0 -0
- data/upstream/font-awesome/4.0.3/fonts/fontawesome-webfont.eot +0 -0
- data/upstream/font-awesome/4.0.3/fonts/fontawesome-webfont.svg +414 -0
- data/upstream/font-awesome/4.0.3/fonts/fontawesome-webfont.ttf +0 -0
- data/upstream/font-awesome/4.0.3/fonts/fontawesome-webfont.woff +0 -0
- data/upstream/font-awesome/4.0.3/stylesheets/font-awesome.css +1338 -0
- data/upstream/font-awesome/4.0.3/stylesheets/font-awesome.min.css +4 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/bordered-pulled.less +16 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/core.less +12 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/fixed-width.less +6 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/font-awesome.less +17 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/icons.less +412 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/larger.less +13 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/list.less +19 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/mixins.less +20 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/path.less +14 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/rotated-flipped.less +9 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/spinning.less +30 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/stacked.less +20 -0
- data/upstream/font-awesome/4.0.3/stylesheets/less/variables.less +381 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_bordered-pulled.scss +16 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_core.scss +12 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_fixed-width.scss +6 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_icons.scss +412 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_larger.scss +13 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_list.scss +19 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_mixins.scss +20 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_path.scss +14 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_rotated-flipped.scss +9 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_spinning.scss +30 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_stacked.scss +20 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/_variables.scss +381 -0
- data/upstream/font-awesome/4.0.3/stylesheets/scss/font-awesome.scss +17 -0
- metadata +505 -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
|
+
}
|