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,51 @@
|
|
1
|
+
//
|
2
|
+
// Badges
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base classes
|
7
|
+
.badge {
|
8
|
+
display: inline-block;
|
9
|
+
min-width: 10px;
|
10
|
+
padding: 3px 7px;
|
11
|
+
font-size: @font-size-small;
|
12
|
+
font-weight: @badge-font-weight;
|
13
|
+
color: @badge-color;
|
14
|
+
line-height: @badge-line-height;
|
15
|
+
vertical-align: baseline;
|
16
|
+
white-space: nowrap;
|
17
|
+
text-align: center;
|
18
|
+
background-color: @badge-bg;
|
19
|
+
border-radius: @badge-border-radius;
|
20
|
+
|
21
|
+
// Empty badges collapse automatically (not available in IE8)
|
22
|
+
&:empty {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Quick fix for badges in buttons
|
27
|
+
.btn & {
|
28
|
+
position: relative;
|
29
|
+
top: -1px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Hover state, but only for links
|
34
|
+
a.badge {
|
35
|
+
&:hover,
|
36
|
+
&:focus {
|
37
|
+
color: @badge-link-hover-color;
|
38
|
+
text-decoration: none;
|
39
|
+
cursor: pointer;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
// Account for counters in navs
|
44
|
+
a.list-group-item.active > .badge,
|
45
|
+
.nav-pills > .active > a > .badge {
|
46
|
+
color: @badge-active-color;
|
47
|
+
background-color: @badge-active-bg;
|
48
|
+
}
|
49
|
+
.nav-pills > li > a > .badge {
|
50
|
+
margin-left: 3px;
|
51
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// Core variables and mixins
|
2
|
+
@import "variables.less";
|
3
|
+
@import "mixins.less";
|
4
|
+
|
5
|
+
// Reset
|
6
|
+
@import "normalize.less";
|
7
|
+
@import "print.less";
|
8
|
+
|
9
|
+
// Core CSS
|
10
|
+
@import "scaffolding.less";
|
11
|
+
@import "type.less";
|
12
|
+
@import "code.less";
|
13
|
+
@import "grid.less";
|
14
|
+
@import "tables.less";
|
15
|
+
@import "forms.less";
|
16
|
+
@import "buttons.less";
|
17
|
+
|
18
|
+
// Components
|
19
|
+
@import "component-animations.less";
|
20
|
+
@import "glyphicons.less";
|
21
|
+
@import "dropdowns.less";
|
22
|
+
@import "button-groups.less";
|
23
|
+
@import "input-groups.less";
|
24
|
+
@import "navs.less";
|
25
|
+
@import "navbar.less";
|
26
|
+
@import "breadcrumbs.less";
|
27
|
+
@import "pagination.less";
|
28
|
+
@import "pager.less";
|
29
|
+
@import "labels.less";
|
30
|
+
@import "badges.less";
|
31
|
+
@import "jumbotron.less";
|
32
|
+
@import "thumbnails.less";
|
33
|
+
@import "alerts.less";
|
34
|
+
@import "progress-bars.less";
|
35
|
+
@import "media.less";
|
36
|
+
@import "list-group.less";
|
37
|
+
@import "panels.less";
|
38
|
+
@import "wells.less";
|
39
|
+
@import "close.less";
|
40
|
+
|
41
|
+
// Components w/ JavaScript
|
42
|
+
@import "modals.less";
|
43
|
+
@import "tooltip.less";
|
44
|
+
@import "popovers.less";
|
45
|
+
@import "carousel.less";
|
46
|
+
|
47
|
+
// Utility classes
|
48
|
+
@import "utilities.less";
|
49
|
+
@import "responsive-utilities.less";
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// Breadcrumbs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.breadcrumb {
|
7
|
+
padding: 8px 15px;
|
8
|
+
margin-bottom: @line-height-computed;
|
9
|
+
list-style: none;
|
10
|
+
background-color: @breadcrumb-bg;
|
11
|
+
border-radius: @border-radius-base;
|
12
|
+
> li {
|
13
|
+
display: inline-block;
|
14
|
+
+ li:before {
|
15
|
+
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
16
|
+
padding: 0 5px;
|
17
|
+
color: @breadcrumb-color;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
> .active {
|
21
|
+
color: @breadcrumb-active-color;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,227 @@
|
|
1
|
+
//
|
2
|
+
// Button groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Make the div behave like a button
|
6
|
+
.btn-group,
|
7
|
+
.btn-group-vertical {
|
8
|
+
position: relative;
|
9
|
+
display: inline-block;
|
10
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
11
|
+
> .btn {
|
12
|
+
position: relative;
|
13
|
+
float: left;
|
14
|
+
// Bring the "active" button to the front
|
15
|
+
&:hover,
|
16
|
+
&:focus,
|
17
|
+
&:active,
|
18
|
+
&.active {
|
19
|
+
z-index: 2;
|
20
|
+
}
|
21
|
+
&:focus {
|
22
|
+
// Remove focus outline when dropdown JS adds it after closing the menu
|
23
|
+
outline: none;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Prevent double borders when buttons are next to each other
|
29
|
+
.btn-group {
|
30
|
+
.btn + .btn,
|
31
|
+
.btn + .btn-group,
|
32
|
+
.btn-group + .btn,
|
33
|
+
.btn-group + .btn-group {
|
34
|
+
margin-left: -1px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
// Optional: Group multiple button groups together for a toolbar
|
39
|
+
.btn-toolbar {
|
40
|
+
.clearfix();
|
41
|
+
|
42
|
+
.btn-group {
|
43
|
+
float: left;
|
44
|
+
}
|
45
|
+
// Space out series of button groups
|
46
|
+
> .btn,
|
47
|
+
> .btn-group {
|
48
|
+
+ .btn,
|
49
|
+
+ .btn-group {
|
50
|
+
margin-left: 5px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
56
|
+
border-radius: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
60
|
+
.btn-group > .btn:first-child {
|
61
|
+
margin-left: 0;
|
62
|
+
&:not(:last-child):not(.dropdown-toggle) {
|
63
|
+
.border-right-radius(0);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
67
|
+
.btn-group > .btn:last-child:not(:first-child),
|
68
|
+
.btn-group > .dropdown-toggle:not(:first-child) {
|
69
|
+
.border-left-radius(0);
|
70
|
+
}
|
71
|
+
|
72
|
+
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
73
|
+
.btn-group > .btn-group {
|
74
|
+
float: left;
|
75
|
+
}
|
76
|
+
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
77
|
+
border-radius: 0;
|
78
|
+
}
|
79
|
+
.btn-group > .btn-group:first-child {
|
80
|
+
> .btn:last-child,
|
81
|
+
> .dropdown-toggle {
|
82
|
+
.border-right-radius(0);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.btn-group > .btn-group:last-child > .btn:first-child {
|
86
|
+
.border-left-radius(0);
|
87
|
+
}
|
88
|
+
|
89
|
+
// On active and open, don't show outline
|
90
|
+
.btn-group .dropdown-toggle:active,
|
91
|
+
.btn-group.open .dropdown-toggle {
|
92
|
+
outline: 0;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Sizing
|
97
|
+
//
|
98
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
99
|
+
|
100
|
+
.btn-group-xs > .btn { .btn-xs(); }
|
101
|
+
.btn-group-sm > .btn { .btn-sm(); }
|
102
|
+
.btn-group-lg > .btn { .btn-lg(); }
|
103
|
+
|
104
|
+
|
105
|
+
// Split button dropdowns
|
106
|
+
// ----------------------
|
107
|
+
|
108
|
+
// Give the line between buttons some depth
|
109
|
+
.btn-group > .btn + .dropdown-toggle {
|
110
|
+
padding-left: 8px;
|
111
|
+
padding-right: 8px;
|
112
|
+
}
|
113
|
+
.btn-group > .btn-lg + .dropdown-toggle {
|
114
|
+
padding-left: 12px;
|
115
|
+
padding-right: 12px;
|
116
|
+
}
|
117
|
+
|
118
|
+
// The clickable button for toggling the menu
|
119
|
+
// Remove the gradient and set the same inset shadow as the :active state
|
120
|
+
.btn-group.open .dropdown-toggle {
|
121
|
+
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
122
|
+
|
123
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
124
|
+
&.btn-link {
|
125
|
+
.box-shadow(none);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
// Reposition the caret
|
131
|
+
.btn .caret {
|
132
|
+
margin-left: 0;
|
133
|
+
}
|
134
|
+
// Carets in other button sizes
|
135
|
+
.btn-lg .caret {
|
136
|
+
border-width: @caret-width-large @caret-width-large 0;
|
137
|
+
border-bottom-width: 0;
|
138
|
+
}
|
139
|
+
// Upside down carets for .dropup
|
140
|
+
.dropup .btn-lg .caret {
|
141
|
+
border-width: 0 @caret-width-large @caret-width-large;
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
// Vertical button groups
|
146
|
+
// ----------------------
|
147
|
+
|
148
|
+
.btn-group-vertical {
|
149
|
+
> .btn,
|
150
|
+
> .btn-group,
|
151
|
+
> .btn-group > .btn {
|
152
|
+
display: block;
|
153
|
+
float: none;
|
154
|
+
width: 100%;
|
155
|
+
max-width: 100%;
|
156
|
+
}
|
157
|
+
|
158
|
+
// Clear floats so dropdown menus can be properly placed
|
159
|
+
> .btn-group {
|
160
|
+
.clearfix();
|
161
|
+
> .btn {
|
162
|
+
float: none;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
> .btn + .btn,
|
167
|
+
> .btn + .btn-group,
|
168
|
+
> .btn-group + .btn,
|
169
|
+
> .btn-group + .btn-group {
|
170
|
+
margin-top: -1px;
|
171
|
+
margin-left: 0;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
.btn-group-vertical > .btn {
|
176
|
+
&:not(:first-child):not(:last-child) {
|
177
|
+
border-radius: 0;
|
178
|
+
}
|
179
|
+
&:first-child:not(:last-child) {
|
180
|
+
border-top-right-radius: @border-radius-base;
|
181
|
+
.border-bottom-radius(0);
|
182
|
+
}
|
183
|
+
&:last-child:not(:first-child) {
|
184
|
+
border-bottom-left-radius: @border-radius-base;
|
185
|
+
.border-top-radius(0);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
189
|
+
border-radius: 0;
|
190
|
+
}
|
191
|
+
.btn-group-vertical > .btn-group:first-child {
|
192
|
+
> .btn:last-child,
|
193
|
+
> .dropdown-toggle {
|
194
|
+
.border-bottom-radius(0);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
198
|
+
.border-top-radius(0);
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
// Justified button groups
|
204
|
+
// ----------------------
|
205
|
+
|
206
|
+
.btn-group-justified {
|
207
|
+
display: table;
|
208
|
+
width: 100%;
|
209
|
+
table-layout: fixed;
|
210
|
+
border-collapse: separate;
|
211
|
+
> .btn,
|
212
|
+
> .btn-group {
|
213
|
+
float: none;
|
214
|
+
display: table-cell;
|
215
|
+
width: 1%;
|
216
|
+
}
|
217
|
+
> .btn-group .btn {
|
218
|
+
width: 100%;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
|
223
|
+
// Checkbox and radio options
|
224
|
+
[data-toggle="buttons"] > .btn > input[type="radio"],
|
225
|
+
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
226
|
+
display: none;
|
227
|
+
}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
//
|
2
|
+
// Buttons
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
.btn {
|
10
|
+
display: inline-block;
|
11
|
+
margin-bottom: 0; // For input.btn
|
12
|
+
font-weight: @btn-font-weight;
|
13
|
+
text-align: center;
|
14
|
+
vertical-align: middle;
|
15
|
+
cursor: pointer;
|
16
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
17
|
+
border: 1px solid transparent;
|
18
|
+
white-space: nowrap;
|
19
|
+
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
20
|
+
.user-select(none);
|
21
|
+
|
22
|
+
&:focus {
|
23
|
+
.tab-focus();
|
24
|
+
}
|
25
|
+
|
26
|
+
&:hover,
|
27
|
+
&:focus {
|
28
|
+
color: @btn-default-color;
|
29
|
+
text-decoration: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
&:active,
|
33
|
+
&.active {
|
34
|
+
outline: 0;
|
35
|
+
background-image: none;
|
36
|
+
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
37
|
+
}
|
38
|
+
|
39
|
+
&.disabled,
|
40
|
+
&[disabled],
|
41
|
+
fieldset[disabled] & {
|
42
|
+
cursor: not-allowed;
|
43
|
+
pointer-events: none; // Future-proof disabling of clicks
|
44
|
+
.opacity(.65);
|
45
|
+
.box-shadow(none);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
// Alternate buttons
|
51
|
+
// --------------------------------------------------
|
52
|
+
|
53
|
+
.btn-default {
|
54
|
+
.button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
|
55
|
+
}
|
56
|
+
.btn-primary {
|
57
|
+
.button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
|
58
|
+
}
|
59
|
+
// Warning appears as orange
|
60
|
+
.btn-warning {
|
61
|
+
.button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
|
62
|
+
}
|
63
|
+
// Danger and error appear as red
|
64
|
+
.btn-danger {
|
65
|
+
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
|
66
|
+
}
|
67
|
+
// Success appears as green
|
68
|
+
.btn-success {
|
69
|
+
.button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
|
70
|
+
}
|
71
|
+
// Info appears as blue-green
|
72
|
+
.btn-info {
|
73
|
+
.button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
// Link buttons
|
78
|
+
// -------------------------
|
79
|
+
|
80
|
+
// Make a button look and behave like a link
|
81
|
+
.btn-link {
|
82
|
+
color: @link-color;
|
83
|
+
font-weight: normal;
|
84
|
+
cursor: pointer;
|
85
|
+
border-radius: 0;
|
86
|
+
|
87
|
+
&,
|
88
|
+
&:active,
|
89
|
+
&[disabled],
|
90
|
+
fieldset[disabled] & {
|
91
|
+
background-color: transparent;
|
92
|
+
.box-shadow(none);
|
93
|
+
}
|
94
|
+
&,
|
95
|
+
&:hover,
|
96
|
+
&:focus,
|
97
|
+
&:active {
|
98
|
+
border-color: transparent;
|
99
|
+
}
|
100
|
+
&:hover,
|
101
|
+
&:focus {
|
102
|
+
color: @link-hover-color;
|
103
|
+
text-decoration: underline;
|
104
|
+
background-color: transparent;
|
105
|
+
}
|
106
|
+
&[disabled],
|
107
|
+
fieldset[disabled] & {
|
108
|
+
&:hover,
|
109
|
+
&:focus {
|
110
|
+
color: @btn-link-disabled-color;
|
111
|
+
text-decoration: none;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
// Button Sizes
|
118
|
+
// --------------------------------------------------
|
119
|
+
|
120
|
+
.btn-lg {
|
121
|
+
// line-height: ensure even-numbered height of button next to large input
|
122
|
+
.button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
|
123
|
+
}
|
124
|
+
.btn-sm {
|
125
|
+
// line-height: ensure proper height of button next to small input
|
126
|
+
.button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
127
|
+
}
|
128
|
+
.btn-xs {
|
129
|
+
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
130
|
+
}
|
131
|
+
|
132
|
+
|
133
|
+
// Block button
|
134
|
+
// --------------------------------------------------
|
135
|
+
|
136
|
+
.btn-block {
|
137
|
+
display: block;
|
138
|
+
width: 100%;
|
139
|
+
padding-left: 0;
|
140
|
+
padding-right: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
// Vertically space out multiple block buttons
|
144
|
+
.btn-block + .btn-block {
|
145
|
+
margin-top: 5px;
|
146
|
+
}
|
147
|
+
|
148
|
+
// Specificity overrides
|
149
|
+
input[type="submit"],
|
150
|
+
input[type="reset"],
|
151
|
+
input[type="button"] {
|
152
|
+
&.btn-block {
|
153
|
+
width: 100%;
|
154
|
+
}
|
155
|
+
}
|