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,105 @@
|
|
1
|
+
//
|
2
|
+
// Basic print styles
|
3
|
+
// --------------------------------------------------
|
4
|
+
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
5
|
+
|
6
|
+
@media print {
|
7
|
+
|
8
|
+
* {
|
9
|
+
text-shadow: none !important;
|
10
|
+
color: #000 !important; // Black prints faster: h5bp.com/s
|
11
|
+
background: transparent !important;
|
12
|
+
box-shadow: none !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
a,
|
16
|
+
a:visited {
|
17
|
+
text-decoration: underline;
|
18
|
+
}
|
19
|
+
|
20
|
+
a[href]:after {
|
21
|
+
content: " (" attr(href) ")";
|
22
|
+
}
|
23
|
+
|
24
|
+
abbr[title]:after {
|
25
|
+
content: " (" attr(title) ")";
|
26
|
+
}
|
27
|
+
|
28
|
+
// Don't show links for images, or javascript/internal links
|
29
|
+
a[href^="javascript:"]:after,
|
30
|
+
a[href^="#"]:after {
|
31
|
+
content: "";
|
32
|
+
}
|
33
|
+
|
34
|
+
pre,
|
35
|
+
blockquote {
|
36
|
+
border: 1px solid #999;
|
37
|
+
page-break-inside: avoid;
|
38
|
+
}
|
39
|
+
|
40
|
+
thead {
|
41
|
+
display: table-header-group; // h5bp.com/t
|
42
|
+
}
|
43
|
+
|
44
|
+
tr,
|
45
|
+
img {
|
46
|
+
page-break-inside: avoid;
|
47
|
+
}
|
48
|
+
|
49
|
+
img {
|
50
|
+
max-width: 100% !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
@page {
|
54
|
+
margin: 2cm .5cm;
|
55
|
+
}
|
56
|
+
|
57
|
+
p,
|
58
|
+
h2,
|
59
|
+
h3 {
|
60
|
+
orphans: 3;
|
61
|
+
widows: 3;
|
62
|
+
}
|
63
|
+
|
64
|
+
h2,
|
65
|
+
h3 {
|
66
|
+
page-break-after: avoid;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
70
|
+
// Once fixed, we can just straight up remove this.
|
71
|
+
select {
|
72
|
+
background: #fff !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Bootstrap components
|
76
|
+
.navbar {
|
77
|
+
display: none;
|
78
|
+
}
|
79
|
+
.table {
|
80
|
+
td,
|
81
|
+
th {
|
82
|
+
background-color: #fff !important;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.btn,
|
86
|
+
.dropup > .btn {
|
87
|
+
> .caret {
|
88
|
+
border-top-color: #000 !important;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
.label {
|
92
|
+
border: 1px solid #000;
|
93
|
+
}
|
94
|
+
|
95
|
+
.table {
|
96
|
+
border-collapse: collapse !important;
|
97
|
+
}
|
98
|
+
.table-bordered {
|
99
|
+
th,
|
100
|
+
td {
|
101
|
+
border: 1px solid #ddd !important;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
//
|
2
|
+
// Progress bars
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Bar animations
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
// WebKit
|
10
|
+
@-webkit-keyframes progress-bar-stripes {
|
11
|
+
from { background-position: 40px 0; }
|
12
|
+
to { background-position: 0 0; }
|
13
|
+
}
|
14
|
+
|
15
|
+
// Spec and IE10+
|
16
|
+
@keyframes progress-bar-stripes {
|
17
|
+
from { background-position: 40px 0; }
|
18
|
+
to { background-position: 0 0; }
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
// Bar itself
|
24
|
+
// -------------------------
|
25
|
+
|
26
|
+
// Outer container
|
27
|
+
.progress {
|
28
|
+
overflow: hidden;
|
29
|
+
height: @line-height-computed;
|
30
|
+
margin-bottom: @line-height-computed;
|
31
|
+
background-color: @progress-bg;
|
32
|
+
border-radius: @border-radius-base;
|
33
|
+
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
34
|
+
}
|
35
|
+
|
36
|
+
// Bar of progress
|
37
|
+
.progress-bar {
|
38
|
+
float: left;
|
39
|
+
width: 0%;
|
40
|
+
height: 100%;
|
41
|
+
font-size: @font-size-small;
|
42
|
+
line-height: @line-height-computed;
|
43
|
+
color: @progress-bar-color;
|
44
|
+
text-align: center;
|
45
|
+
background-color: @progress-bar-bg;
|
46
|
+
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
47
|
+
.transition(width .6s ease);
|
48
|
+
}
|
49
|
+
|
50
|
+
// Striped bars
|
51
|
+
.progress-striped .progress-bar {
|
52
|
+
#gradient > .striped();
|
53
|
+
background-size: 40px 40px;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Call animation for the active one
|
57
|
+
.progress.active .progress-bar {
|
58
|
+
.animation(progress-bar-stripes 2s linear infinite);
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
// Variations
|
64
|
+
// -------------------------
|
65
|
+
|
66
|
+
.progress-bar-success {
|
67
|
+
.progress-bar-variant(@progress-bar-success-bg);
|
68
|
+
}
|
69
|
+
|
70
|
+
.progress-bar-info {
|
71
|
+
.progress-bar-variant(@progress-bar-info-bg);
|
72
|
+
}
|
73
|
+
|
74
|
+
.progress-bar-warning {
|
75
|
+
.progress-bar-variant(@progress-bar-warning-bg);
|
76
|
+
}
|
77
|
+
|
78
|
+
.progress-bar-danger {
|
79
|
+
.progress-bar-variant(@progress-bar-danger-bg);
|
80
|
+
}
|
@@ -0,0 +1,209 @@
|
|
1
|
+
//
|
2
|
+
// Responsive: Utility classes
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// IE10 in Windows (Phone) 8
|
7
|
+
//
|
8
|
+
// Support for responsive views via media queries is kind of borked in IE10, for
|
9
|
+
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
10
|
+
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
11
|
+
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
12
|
+
// our Getting Started page for more information on this bug.
|
13
|
+
//
|
14
|
+
// For more information, see the following:
|
15
|
+
//
|
16
|
+
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
17
|
+
// Docs: http://getbootstrap.com/getting-started/#browsers
|
18
|
+
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
19
|
+
|
20
|
+
@-ms-viewport {
|
21
|
+
width: device-width;
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
// Visibility utilities
|
26
|
+
|
27
|
+
.visible-xs {
|
28
|
+
.responsive-invisibility();
|
29
|
+
@media (max-width: @screen-xs-max) {
|
30
|
+
.responsive-visibility();
|
31
|
+
}
|
32
|
+
&.visible-sm {
|
33
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
34
|
+
.responsive-visibility();
|
35
|
+
}
|
36
|
+
}
|
37
|
+
&.visible-md {
|
38
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
39
|
+
.responsive-visibility();
|
40
|
+
}
|
41
|
+
}
|
42
|
+
&.visible-lg {
|
43
|
+
@media (min-width: @screen-lg-min) {
|
44
|
+
.responsive-visibility();
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
.visible-sm {
|
49
|
+
.responsive-invisibility();
|
50
|
+
&.visible-xs {
|
51
|
+
@media (max-width: @screen-xs-max) {
|
52
|
+
.responsive-visibility();
|
53
|
+
}
|
54
|
+
}
|
55
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
56
|
+
.responsive-visibility();
|
57
|
+
}
|
58
|
+
&.visible-md {
|
59
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
60
|
+
.responsive-visibility();
|
61
|
+
}
|
62
|
+
}
|
63
|
+
&.visible-lg {
|
64
|
+
@media (min-width: @screen-lg-min) {
|
65
|
+
.responsive-visibility();
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.visible-md {
|
70
|
+
.responsive-invisibility();
|
71
|
+
&.visible-xs {
|
72
|
+
@media (max-width: @screen-xs-max) {
|
73
|
+
.responsive-visibility();
|
74
|
+
}
|
75
|
+
}
|
76
|
+
&.visible-sm {
|
77
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
78
|
+
.responsive-visibility();
|
79
|
+
}
|
80
|
+
}
|
81
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
82
|
+
.responsive-visibility();
|
83
|
+
}
|
84
|
+
&.visible-lg {
|
85
|
+
@media (min-width: @screen-lg-min) {
|
86
|
+
.responsive-visibility();
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
.visible-lg {
|
91
|
+
.responsive-invisibility();
|
92
|
+
&.visible-xs {
|
93
|
+
@media (max-width: @screen-xs-max) {
|
94
|
+
.responsive-visibility();
|
95
|
+
}
|
96
|
+
}
|
97
|
+
&.visible-sm {
|
98
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
99
|
+
.responsive-visibility();
|
100
|
+
}
|
101
|
+
}
|
102
|
+
&.visible-md {
|
103
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
104
|
+
.responsive-visibility();
|
105
|
+
}
|
106
|
+
}
|
107
|
+
@media (min-width: @screen-lg-min) {
|
108
|
+
.responsive-visibility();
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.hidden-xs {
|
113
|
+
.responsive-visibility();
|
114
|
+
@media (max-width: @screen-xs-max) {
|
115
|
+
.responsive-invisibility();
|
116
|
+
}
|
117
|
+
&.hidden-sm {
|
118
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
119
|
+
.responsive-invisibility();
|
120
|
+
}
|
121
|
+
}
|
122
|
+
&.hidden-md {
|
123
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
124
|
+
.responsive-invisibility();
|
125
|
+
}
|
126
|
+
}
|
127
|
+
&.hidden-lg {
|
128
|
+
@media (min-width: @screen-lg-min) {
|
129
|
+
.responsive-invisibility();
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
.hidden-sm {
|
134
|
+
.responsive-visibility();
|
135
|
+
&.hidden-xs {
|
136
|
+
@media (max-width: @screen-xs-max) {
|
137
|
+
.responsive-invisibility();
|
138
|
+
}
|
139
|
+
}
|
140
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
141
|
+
.responsive-invisibility();
|
142
|
+
}
|
143
|
+
&.hidden-md {
|
144
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
145
|
+
.responsive-invisibility();
|
146
|
+
}
|
147
|
+
}
|
148
|
+
&.hidden-lg {
|
149
|
+
@media (min-width: @screen-lg-min) {
|
150
|
+
.responsive-invisibility();
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
.hidden-md {
|
155
|
+
.responsive-visibility();
|
156
|
+
&.hidden-xs {
|
157
|
+
@media (max-width: @screen-xs-max) {
|
158
|
+
.responsive-invisibility();
|
159
|
+
}
|
160
|
+
}
|
161
|
+
&.hidden-sm {
|
162
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
163
|
+
.responsive-invisibility();
|
164
|
+
}
|
165
|
+
}
|
166
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
167
|
+
.responsive-invisibility();
|
168
|
+
}
|
169
|
+
&.hidden-lg {
|
170
|
+
@media (min-width: @screen-lg-min) {
|
171
|
+
.responsive-invisibility();
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
.hidden-lg {
|
176
|
+
.responsive-visibility();
|
177
|
+
&.hidden-xs {
|
178
|
+
@media (max-width: @screen-xs-max) {
|
179
|
+
.responsive-invisibility();
|
180
|
+
}
|
181
|
+
}
|
182
|
+
&.hidden-sm {
|
183
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
184
|
+
.responsive-invisibility();
|
185
|
+
}
|
186
|
+
}
|
187
|
+
&.hidden-md {
|
188
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
189
|
+
.responsive-invisibility();
|
190
|
+
}
|
191
|
+
}
|
192
|
+
@media (min-width: @screen-lg-min) {
|
193
|
+
.responsive-invisibility();
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
// Print utilities
|
198
|
+
.visible-print {
|
199
|
+
.responsive-invisibility();
|
200
|
+
}
|
201
|
+
|
202
|
+
@media print {
|
203
|
+
.visible-print {
|
204
|
+
.responsive-visibility();
|
205
|
+
}
|
206
|
+
.hidden-print {
|
207
|
+
.responsive-invisibility();
|
208
|
+
}
|
209
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
//
|
2
|
+
// Scaffolding
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Reset the box-sizing
|
7
|
+
|
8
|
+
*,
|
9
|
+
*:before,
|
10
|
+
*:after {
|
11
|
+
.box-sizing(border-box);
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
// Body reset
|
16
|
+
|
17
|
+
html {
|
18
|
+
font-size: 62.5%;
|
19
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
20
|
+
}
|
21
|
+
|
22
|
+
body {
|
23
|
+
font-family: @font-family-base;
|
24
|
+
font-size: @font-size-base;
|
25
|
+
line-height: @line-height-base;
|
26
|
+
color: @text-color;
|
27
|
+
background-color: @body-bg;
|
28
|
+
}
|
29
|
+
|
30
|
+
// Reset fonts for relevant elements
|
31
|
+
input,
|
32
|
+
button,
|
33
|
+
select,
|
34
|
+
textarea {
|
35
|
+
font-family: inherit;
|
36
|
+
font-size: inherit;
|
37
|
+
line-height: inherit;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Links
|
42
|
+
|
43
|
+
a {
|
44
|
+
color: @link-color;
|
45
|
+
text-decoration: none;
|
46
|
+
|
47
|
+
&:hover,
|
48
|
+
&:focus {
|
49
|
+
color: @link-hover-color;
|
50
|
+
text-decoration: underline;
|
51
|
+
}
|
52
|
+
|
53
|
+
&:focus {
|
54
|
+
.tab-focus();
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
// Images
|
60
|
+
|
61
|
+
img {
|
62
|
+
vertical-align: middle;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Responsive images (ensure images don't scale beyond their parents)
|
66
|
+
.img-responsive {
|
67
|
+
.img-responsive();
|
68
|
+
}
|
69
|
+
|
70
|
+
// Rounded corners
|
71
|
+
.img-rounded {
|
72
|
+
border-radius: @border-radius-large;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Image thumbnails
|
76
|
+
//
|
77
|
+
// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
|
78
|
+
.img-thumbnail {
|
79
|
+
padding: @thumbnail-padding;
|
80
|
+
line-height: @line-height-base;
|
81
|
+
background-color: @thumbnail-bg;
|
82
|
+
border: 1px solid @thumbnail-border;
|
83
|
+
border-radius: @thumbnail-border-radius;
|
84
|
+
.transition(all .2s ease-in-out);
|
85
|
+
|
86
|
+
// Keep them at most 100% wide
|
87
|
+
.img-responsive(inline-block);
|
88
|
+
}
|
89
|
+
|
90
|
+
// Perfect circle
|
91
|
+
.img-circle {
|
92
|
+
border-radius: 50%; // set radius in percents
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Horizontal rules
|
97
|
+
|
98
|
+
hr {
|
99
|
+
margin-top: @line-height-computed;
|
100
|
+
margin-bottom: @line-height-computed;
|
101
|
+
border: 0;
|
102
|
+
border-top: 1px solid @hr-border;
|
103
|
+
}
|
104
|
+
|
105
|
+
|
106
|
+
// Only display content to screen readers
|
107
|
+
//
|
108
|
+
// See: http://a11yproject.com/posts/how-to-hide-content/
|
109
|
+
|
110
|
+
.sr-only {
|
111
|
+
position: absolute;
|
112
|
+
width: 1px;
|
113
|
+
height: 1px;
|
114
|
+
margin: -1px;
|
115
|
+
padding: 0;
|
116
|
+
overflow: hidden;
|
117
|
+
clip: rect(0,0,0,0);
|
118
|
+
border: 0;
|
119
|
+
}
|