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,232 @@
|
|
1
|
+
//
|
2
|
+
// Carousel
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Wrapper for the slide container and indicators
|
7
|
+
.carousel {
|
8
|
+
position: relative;
|
9
|
+
}
|
10
|
+
|
11
|
+
.carousel-inner {
|
12
|
+
position: relative;
|
13
|
+
overflow: hidden;
|
14
|
+
width: 100%;
|
15
|
+
|
16
|
+
> .item {
|
17
|
+
display: none;
|
18
|
+
position: relative;
|
19
|
+
.transition(.6s ease-in-out left);
|
20
|
+
|
21
|
+
// Account for jankitude on images
|
22
|
+
> img,
|
23
|
+
> a > img {
|
24
|
+
.img-responsive();
|
25
|
+
line-height: 1;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
> .active,
|
30
|
+
> .next,
|
31
|
+
> .prev { display: block; }
|
32
|
+
|
33
|
+
> .active {
|
34
|
+
left: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
> .next,
|
38
|
+
> .prev {
|
39
|
+
position: absolute;
|
40
|
+
top: 0;
|
41
|
+
width: 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
> .next {
|
45
|
+
left: 100%;
|
46
|
+
}
|
47
|
+
> .prev {
|
48
|
+
left: -100%;
|
49
|
+
}
|
50
|
+
> .next.left,
|
51
|
+
> .prev.right {
|
52
|
+
left: 0;
|
53
|
+
}
|
54
|
+
|
55
|
+
> .active.left {
|
56
|
+
left: -100%;
|
57
|
+
}
|
58
|
+
> .active.right {
|
59
|
+
left: 100%;
|
60
|
+
}
|
61
|
+
|
62
|
+
}
|
63
|
+
|
64
|
+
// Left/right controls for nav
|
65
|
+
// ---------------------------
|
66
|
+
|
67
|
+
.carousel-control {
|
68
|
+
position: absolute;
|
69
|
+
top: 0;
|
70
|
+
left: 0;
|
71
|
+
bottom: 0;
|
72
|
+
width: @carousel-control-width;
|
73
|
+
.opacity(@carousel-control-opacity);
|
74
|
+
font-size: @carousel-control-font-size;
|
75
|
+
color: @carousel-control-color;
|
76
|
+
text-align: center;
|
77
|
+
text-shadow: @carousel-text-shadow;
|
78
|
+
// We can't have this transition here because WebKit cancels the carousel
|
79
|
+
// animation if you trip this while in the middle of another animation.
|
80
|
+
|
81
|
+
// Set gradients for backgrounds
|
82
|
+
&.left {
|
83
|
+
#gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
|
84
|
+
}
|
85
|
+
&.right {
|
86
|
+
left: auto;
|
87
|
+
right: 0;
|
88
|
+
#gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
|
89
|
+
}
|
90
|
+
|
91
|
+
// Hover/focus state
|
92
|
+
&:hover,
|
93
|
+
&:focus {
|
94
|
+
outline: none;
|
95
|
+
color: @carousel-control-color;
|
96
|
+
text-decoration: none;
|
97
|
+
.opacity(.9);
|
98
|
+
}
|
99
|
+
|
100
|
+
// Toggles
|
101
|
+
.icon-prev,
|
102
|
+
.icon-next,
|
103
|
+
.glyphicon-chevron-left,
|
104
|
+
.glyphicon-chevron-right {
|
105
|
+
position: absolute;
|
106
|
+
top: 50%;
|
107
|
+
z-index: 5;
|
108
|
+
display: inline-block;
|
109
|
+
}
|
110
|
+
.icon-prev,
|
111
|
+
.glyphicon-chevron-left {
|
112
|
+
left: 50%;
|
113
|
+
}
|
114
|
+
.icon-next,
|
115
|
+
.glyphicon-chevron-right {
|
116
|
+
right: 50%;
|
117
|
+
}
|
118
|
+
.icon-prev,
|
119
|
+
.icon-next {
|
120
|
+
width: 20px;
|
121
|
+
height: 20px;
|
122
|
+
margin-top: -10px;
|
123
|
+
margin-left: -10px;
|
124
|
+
font-family: serif;
|
125
|
+
}
|
126
|
+
|
127
|
+
.icon-prev {
|
128
|
+
&:before {
|
129
|
+
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
130
|
+
}
|
131
|
+
}
|
132
|
+
.icon-next {
|
133
|
+
&:before {
|
134
|
+
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
// Optional indicator pips
|
140
|
+
//
|
141
|
+
// Add an unordered list with the following class and add a list item for each
|
142
|
+
// slide your carousel holds.
|
143
|
+
|
144
|
+
.carousel-indicators {
|
145
|
+
position: absolute;
|
146
|
+
bottom: 10px;
|
147
|
+
left: 50%;
|
148
|
+
z-index: 15;
|
149
|
+
width: 60%;
|
150
|
+
margin-left: -30%;
|
151
|
+
padding-left: 0;
|
152
|
+
list-style: none;
|
153
|
+
text-align: center;
|
154
|
+
|
155
|
+
li {
|
156
|
+
display: inline-block;
|
157
|
+
width: 10px;
|
158
|
+
height: 10px;
|
159
|
+
margin: 1px;
|
160
|
+
text-indent: -999px;
|
161
|
+
border: 1px solid @carousel-indicator-border-color;
|
162
|
+
border-radius: 10px;
|
163
|
+
cursor: pointer;
|
164
|
+
|
165
|
+
// IE8-9 hack for event handling
|
166
|
+
//
|
167
|
+
// Internet Explorer 8-9 does not support clicks on elements without a set
|
168
|
+
// `background-color`. We cannot use `filter` since that's not viewed as a
|
169
|
+
// background color by the browser. Thus, a hack is needed.
|
170
|
+
//
|
171
|
+
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
172
|
+
// set alpha transparency for the best results possible.
|
173
|
+
background-color: #000 \9; // IE8
|
174
|
+
background-color: rgba(0,0,0,0); // IE9
|
175
|
+
}
|
176
|
+
.active {
|
177
|
+
margin: 0;
|
178
|
+
width: 12px;
|
179
|
+
height: 12px;
|
180
|
+
background-color: @carousel-indicator-active-bg;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// Optional captions
|
185
|
+
// -----------------------------
|
186
|
+
// Hidden by default for smaller viewports
|
187
|
+
.carousel-caption {
|
188
|
+
position: absolute;
|
189
|
+
left: 15%;
|
190
|
+
right: 15%;
|
191
|
+
bottom: 20px;
|
192
|
+
z-index: 10;
|
193
|
+
padding-top: 20px;
|
194
|
+
padding-bottom: 20px;
|
195
|
+
color: @carousel-caption-color;
|
196
|
+
text-align: center;
|
197
|
+
text-shadow: @carousel-text-shadow;
|
198
|
+
& .btn {
|
199
|
+
text-shadow: none; // No shadow for button elements in carousel-caption
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
|
204
|
+
// Scale up controls for tablets and up
|
205
|
+
@media screen and (min-width: @screen-sm-min) {
|
206
|
+
|
207
|
+
// Scale up the controls a smidge
|
208
|
+
.carousel-control {
|
209
|
+
.glyphicons-chevron-left,
|
210
|
+
.glyphicons-chevron-right,
|
211
|
+
.icon-prev,
|
212
|
+
.icon-next {
|
213
|
+
width: 30px;
|
214
|
+
height: 30px;
|
215
|
+
margin-top: -15px;
|
216
|
+
margin-left: -15px;
|
217
|
+
font-size: 30px;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
// Show and left align the captions
|
222
|
+
.carousel-caption {
|
223
|
+
left: 20%;
|
224
|
+
right: 20%;
|
225
|
+
padding-bottom: 30px;
|
226
|
+
}
|
227
|
+
|
228
|
+
// Move up the indicators
|
229
|
+
.carousel-indicators {
|
230
|
+
bottom: 20px;
|
231
|
+
}
|
232
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
//
|
2
|
+
// Close icons
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.close {
|
7
|
+
float: right;
|
8
|
+
font-size: (@font-size-base * 1.5);
|
9
|
+
font-weight: @close-font-weight;
|
10
|
+
line-height: 1;
|
11
|
+
color: @close-color;
|
12
|
+
text-shadow: @close-text-shadow;
|
13
|
+
.opacity(.2);
|
14
|
+
|
15
|
+
&:hover,
|
16
|
+
&:focus {
|
17
|
+
color: @close-color;
|
18
|
+
text-decoration: none;
|
19
|
+
cursor: pointer;
|
20
|
+
.opacity(.5);
|
21
|
+
}
|
22
|
+
|
23
|
+
// Additional properties for button version
|
24
|
+
// iOS requires the button element instead of an anchor tag.
|
25
|
+
// If you want the anchor version, it requires `href="#"`.
|
26
|
+
button& {
|
27
|
+
padding: 0;
|
28
|
+
cursor: pointer;
|
29
|
+
background: transparent;
|
30
|
+
border: 0;
|
31
|
+
-webkit-appearance: none;
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//
|
2
|
+
// Code (inline and block)
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Inline and block code styles
|
7
|
+
code,
|
8
|
+
kbd,
|
9
|
+
pre,
|
10
|
+
samp {
|
11
|
+
font-family: @font-family-monospace;
|
12
|
+
}
|
13
|
+
|
14
|
+
// Inline code
|
15
|
+
code {
|
16
|
+
padding: 2px 4px;
|
17
|
+
font-size: 90%;
|
18
|
+
color: @code-color;
|
19
|
+
background-color: @code-bg;
|
20
|
+
white-space: nowrap;
|
21
|
+
border-radius: @border-radius-base;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Blocks of code
|
25
|
+
pre {
|
26
|
+
display: block;
|
27
|
+
padding: ((@line-height-computed - 1) / 2);
|
28
|
+
margin: 0 0 (@line-height-computed / 2);
|
29
|
+
font-size: (@font-size-base - 1); // 14px to 13px
|
30
|
+
line-height: @line-height-base;
|
31
|
+
word-break: break-all;
|
32
|
+
word-wrap: break-word;
|
33
|
+
color: @pre-color;
|
34
|
+
background-color: @pre-bg;
|
35
|
+
border: 1px solid @pre-border-color;
|
36
|
+
border-radius: @border-radius-base;
|
37
|
+
|
38
|
+
// Account for some code outputs that place code tags in pre tags
|
39
|
+
code {
|
40
|
+
padding: 0;
|
41
|
+
font-size: inherit;
|
42
|
+
color: inherit;
|
43
|
+
white-space: pre-wrap;
|
44
|
+
background-color: transparent;
|
45
|
+
border-radius: 0;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
// Enable scrollable blocks of code
|
50
|
+
.pre-scrollable {
|
51
|
+
max-height: @pre-scrollable-max-height;
|
52
|
+
overflow-y: scroll;
|
53
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
//
|
2
|
+
// Component animations
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Heads up!
|
6
|
+
//
|
7
|
+
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
8
|
+
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
|
9
|
+
|
10
|
+
.fade {
|
11
|
+
opacity: 0;
|
12
|
+
.transition(opacity .15s linear);
|
13
|
+
&.in {
|
14
|
+
opacity: 1;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.collapse {
|
19
|
+
display: none;
|
20
|
+
&.in {
|
21
|
+
display: block;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
.collapsing {
|
25
|
+
position: relative;
|
26
|
+
height: 0;
|
27
|
+
overflow: hidden;
|
28
|
+
.transition(height .35s ease);
|
29
|
+
}
|
@@ -0,0 +1,187 @@
|
|
1
|
+
//
|
2
|
+
// Dropdown menus
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Dropdown arrow/caret
|
7
|
+
.caret {
|
8
|
+
display: inline-block;
|
9
|
+
width: 0;
|
10
|
+
height: 0;
|
11
|
+
margin-left: 2px;
|
12
|
+
vertical-align: middle;
|
13
|
+
border-top: @caret-width-base solid;
|
14
|
+
border-right: @caret-width-base solid transparent;
|
15
|
+
border-left: @caret-width-base solid transparent;
|
16
|
+
}
|
17
|
+
|
18
|
+
// The dropdown wrapper (div)
|
19
|
+
.dropdown {
|
20
|
+
position: relative;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Prevent the focus on the dropdown toggle when closing dropdowns
|
24
|
+
.dropdown-toggle:focus {
|
25
|
+
outline: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
// The dropdown menu (ul)
|
29
|
+
.dropdown-menu {
|
30
|
+
position: absolute;
|
31
|
+
top: 100%;
|
32
|
+
left: 0;
|
33
|
+
z-index: @zindex-dropdown;
|
34
|
+
display: none; // none by default, but block on "open" of the menu
|
35
|
+
float: left;
|
36
|
+
min-width: 160px;
|
37
|
+
padding: 5px 0;
|
38
|
+
margin: 2px 0 0; // override default ul
|
39
|
+
list-style: none;
|
40
|
+
font-size: @font-size-base;
|
41
|
+
background-color: @dropdown-bg;
|
42
|
+
border: 1px solid @dropdown-fallback-border; // IE8 fallback
|
43
|
+
border: 1px solid @dropdown-border;
|
44
|
+
border-radius: @border-radius-base;
|
45
|
+
.box-shadow(0 6px 12px rgba(0,0,0,.175));
|
46
|
+
background-clip: padding-box;
|
47
|
+
|
48
|
+
// Aligns the dropdown menu to right
|
49
|
+
&.pull-right {
|
50
|
+
right: 0;
|
51
|
+
left: auto;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Dividers (basically an hr) within the dropdown
|
55
|
+
.divider {
|
56
|
+
.nav-divider(@dropdown-divider-bg);
|
57
|
+
}
|
58
|
+
|
59
|
+
// Links within the dropdown menu
|
60
|
+
> li > a {
|
61
|
+
display: block;
|
62
|
+
padding: 3px 20px;
|
63
|
+
clear: both;
|
64
|
+
font-weight: normal;
|
65
|
+
line-height: @line-height-base;
|
66
|
+
color: @dropdown-link-color;
|
67
|
+
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
// Hover/Focus state
|
72
|
+
.dropdown-menu > li > a {
|
73
|
+
&:hover,
|
74
|
+
&:focus {
|
75
|
+
text-decoration: none;
|
76
|
+
color: @dropdown-link-hover-color;
|
77
|
+
background-color: @dropdown-link-hover-bg;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
// Active state
|
82
|
+
.dropdown-menu > .active > a {
|
83
|
+
&,
|
84
|
+
&:hover,
|
85
|
+
&:focus {
|
86
|
+
color: @dropdown-link-active-color;
|
87
|
+
text-decoration: none;
|
88
|
+
outline: 0;
|
89
|
+
background-color: @dropdown-link-active-bg;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// Disabled state
|
94
|
+
//
|
95
|
+
// Gray out text and ensure the hover/focus state remains gray
|
96
|
+
|
97
|
+
.dropdown-menu > .disabled > a {
|
98
|
+
&,
|
99
|
+
&:hover,
|
100
|
+
&:focus {
|
101
|
+
color: @dropdown-link-disabled-color;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
// Nuke hover/focus effects
|
105
|
+
.dropdown-menu > .disabled > a {
|
106
|
+
&:hover,
|
107
|
+
&:focus {
|
108
|
+
text-decoration: none;
|
109
|
+
background-color: transparent;
|
110
|
+
background-image: none; // Remove CSS gradient
|
111
|
+
.reset-filter();
|
112
|
+
cursor: not-allowed;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
// Open state for the dropdown
|
117
|
+
.open {
|
118
|
+
// Show the menu
|
119
|
+
> .dropdown-menu {
|
120
|
+
display: block;
|
121
|
+
}
|
122
|
+
|
123
|
+
// Remove the outline when :focus is triggered
|
124
|
+
> a {
|
125
|
+
outline: 0;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
// Dropdown section headers
|
130
|
+
.dropdown-header {
|
131
|
+
display: block;
|
132
|
+
padding: 3px 20px;
|
133
|
+
font-size: @font-size-small;
|
134
|
+
line-height: @line-height-base;
|
135
|
+
color: @dropdown-header-color;
|
136
|
+
}
|
137
|
+
|
138
|
+
// Backdrop to catch body clicks on mobile, etc.
|
139
|
+
.dropdown-backdrop {
|
140
|
+
position: fixed;
|
141
|
+
left: 0;
|
142
|
+
right: 0;
|
143
|
+
bottom: 0;
|
144
|
+
top: 0;
|
145
|
+
z-index: @zindex-dropdown - 10;
|
146
|
+
}
|
147
|
+
|
148
|
+
// Right aligned dropdowns
|
149
|
+
.pull-right > .dropdown-menu {
|
150
|
+
right: 0;
|
151
|
+
left: auto;
|
152
|
+
}
|
153
|
+
|
154
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
155
|
+
//
|
156
|
+
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
157
|
+
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
158
|
+
|
159
|
+
.dropup,
|
160
|
+
.navbar-fixed-bottom .dropdown {
|
161
|
+
// Reverse the caret
|
162
|
+
.caret {
|
163
|
+
border-top: 0;
|
164
|
+
border-bottom: @caret-width-base solid;
|
165
|
+
content: "";
|
166
|
+
}
|
167
|
+
// Different positioning for bottom up menu
|
168
|
+
.dropdown-menu {
|
169
|
+
top: auto;
|
170
|
+
bottom: 100%;
|
171
|
+
margin-bottom: 1px;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
// Component alignment
|
177
|
+
//
|
178
|
+
// Reiterate per navbar.less and the modified component alignment there.
|
179
|
+
|
180
|
+
@media (min-width: @grid-float-breakpoint) {
|
181
|
+
.navbar-right {
|
182
|
+
.dropdown-menu {
|
183
|
+
.pull-right > .dropdown-menu();
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|