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,55 @@
|
|
1
|
+
//
|
2
|
+
// Pager pagination
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.pager {
|
7
|
+
padding-left: 0;
|
8
|
+
margin: @line-height-computed 0;
|
9
|
+
list-style: none;
|
10
|
+
text-align: center;
|
11
|
+
.clearfix();
|
12
|
+
li {
|
13
|
+
display: inline;
|
14
|
+
> a,
|
15
|
+
> span {
|
16
|
+
display: inline-block;
|
17
|
+
padding: 5px 14px;
|
18
|
+
background-color: @pagination-bg;
|
19
|
+
border: 1px solid @pagination-border;
|
20
|
+
border-radius: @pager-border-radius;
|
21
|
+
}
|
22
|
+
|
23
|
+
> a:hover,
|
24
|
+
> a:focus {
|
25
|
+
text-decoration: none;
|
26
|
+
background-color: @pagination-hover-bg;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.next {
|
31
|
+
> a,
|
32
|
+
> span {
|
33
|
+
float: right;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.previous {
|
38
|
+
> a,
|
39
|
+
> span {
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.disabled {
|
45
|
+
> a,
|
46
|
+
> a:hover,
|
47
|
+
> a:focus,
|
48
|
+
> span {
|
49
|
+
color: @pager-disabled-color;
|
50
|
+
background-color: @pagination-bg;
|
51
|
+
cursor: not-allowed;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
//
|
2
|
+
// Pagination (multiple pages)
|
3
|
+
// --------------------------------------------------
|
4
|
+
.pagination {
|
5
|
+
display: inline-block;
|
6
|
+
padding-left: 0;
|
7
|
+
margin: @line-height-computed 0;
|
8
|
+
border-radius: @border-radius-base;
|
9
|
+
|
10
|
+
> li {
|
11
|
+
display: inline; // Remove list-style and block-level defaults
|
12
|
+
> a,
|
13
|
+
> span {
|
14
|
+
position: relative;
|
15
|
+
float: left; // Collapse white-space
|
16
|
+
padding: @padding-base-vertical @padding-base-horizontal;
|
17
|
+
line-height: @line-height-base;
|
18
|
+
text-decoration: none;
|
19
|
+
background-color: @pagination-bg;
|
20
|
+
border: 1px solid @pagination-border;
|
21
|
+
margin-left: -1px;
|
22
|
+
}
|
23
|
+
&:first-child {
|
24
|
+
> a,
|
25
|
+
> span {
|
26
|
+
margin-left: 0;
|
27
|
+
.border-left-radius(@border-radius-base);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&:last-child {
|
31
|
+
> a,
|
32
|
+
> span {
|
33
|
+
.border-right-radius(@border-radius-base);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
> li > a,
|
39
|
+
> li > span {
|
40
|
+
&:hover,
|
41
|
+
&:focus {
|
42
|
+
background-color: @pagination-hover-bg;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
> .active > a,
|
47
|
+
> .active > span {
|
48
|
+
&,
|
49
|
+
&:hover,
|
50
|
+
&:focus {
|
51
|
+
z-index: 2;
|
52
|
+
color: @pagination-active-color;
|
53
|
+
background-color: @pagination-active-bg;
|
54
|
+
border-color: @pagination-active-bg;
|
55
|
+
cursor: default;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
> .disabled {
|
60
|
+
> span,
|
61
|
+
> span:hover,
|
62
|
+
> span:focus,
|
63
|
+
> a,
|
64
|
+
> a:hover,
|
65
|
+
> a:focus {
|
66
|
+
color: @pagination-disabled-color;
|
67
|
+
background-color: @pagination-bg;
|
68
|
+
border-color: @pagination-border;
|
69
|
+
cursor: not-allowed;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
// Sizing
|
75
|
+
// --------------------------------------------------
|
76
|
+
|
77
|
+
// Large
|
78
|
+
.pagination-lg {
|
79
|
+
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
80
|
+
}
|
81
|
+
|
82
|
+
// Small
|
83
|
+
.pagination-sm {
|
84
|
+
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
85
|
+
}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
//
|
2
|
+
// Panels
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.panel {
|
8
|
+
margin-bottom: @line-height-computed;
|
9
|
+
background-color: @panel-bg;
|
10
|
+
border: 1px solid transparent;
|
11
|
+
border-radius: @panel-border-radius;
|
12
|
+
.box-shadow(0 1px 1px rgba(0,0,0,.05));
|
13
|
+
}
|
14
|
+
|
15
|
+
// Panel contents
|
16
|
+
.panel-body {
|
17
|
+
padding: 15px;
|
18
|
+
.clearfix();
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
// List groups in panels
|
23
|
+
//
|
24
|
+
// By default, space out list group content from panel headings to account for
|
25
|
+
// any kind of custom content between the two.
|
26
|
+
|
27
|
+
.panel {
|
28
|
+
> .list-group {
|
29
|
+
margin-bottom: 0;
|
30
|
+
|
31
|
+
.list-group-item {
|
32
|
+
border-width: 1px 0;
|
33
|
+
|
34
|
+
// Remove border radius for top one
|
35
|
+
&:first-child {
|
36
|
+
.border-top-radius(0);
|
37
|
+
}
|
38
|
+
// But keep it for the last one
|
39
|
+
&:last-child {
|
40
|
+
border-bottom: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
// Collapse space between when there's no additional content.
|
46
|
+
.panel-heading + .list-group {
|
47
|
+
.list-group-item:first-child {
|
48
|
+
border-top-width: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
// Tables in panels
|
54
|
+
//
|
55
|
+
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
|
56
|
+
// watch it go full width.
|
57
|
+
|
58
|
+
.panel {
|
59
|
+
> .table,
|
60
|
+
> .table-responsive > .table {
|
61
|
+
margin-bottom: 0;
|
62
|
+
}
|
63
|
+
> .panel-body + .table,
|
64
|
+
> .panel-body + .table-responsive {
|
65
|
+
border-top: 1px solid @table-border-color;
|
66
|
+
}
|
67
|
+
> .table > tbody:first-child th,
|
68
|
+
> .table > tbody:first-child td {
|
69
|
+
border-top: 0;
|
70
|
+
}
|
71
|
+
> .table-bordered,
|
72
|
+
> .table-responsive > .table-bordered {
|
73
|
+
border: 0;
|
74
|
+
> thead,
|
75
|
+
> tbody,
|
76
|
+
> tfoot {
|
77
|
+
> tr {
|
78
|
+
> th:first-child,
|
79
|
+
> td:first-child {
|
80
|
+
border-left: 0;
|
81
|
+
}
|
82
|
+
> th:last-child,
|
83
|
+
> td:last-child {
|
84
|
+
border-right: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
&:last-child > th,
|
88
|
+
&:last-child > td {
|
89
|
+
border-bottom: 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
> .table-responsive {
|
95
|
+
border: 0;
|
96
|
+
margin-bottom: 0;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// Optional heading
|
102
|
+
.panel-heading {
|
103
|
+
padding: 10px 15px;
|
104
|
+
border-bottom: 1px solid transparent;
|
105
|
+
.border-top-radius(@panel-border-radius - 1);
|
106
|
+
|
107
|
+
> .dropdown .dropdown-toggle {
|
108
|
+
color: inherit;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// Within heading, strip any `h*` tag of it's default margins for spacing.
|
113
|
+
.panel-title {
|
114
|
+
margin-top: 0;
|
115
|
+
margin-bottom: 0;
|
116
|
+
font-size: ceil((@font-size-base * 1.125));
|
117
|
+
color: inherit;
|
118
|
+
|
119
|
+
> a {
|
120
|
+
color: inherit;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
// Optional footer (stays gray in every modifier class)
|
125
|
+
.panel-footer {
|
126
|
+
padding: 10px 15px;
|
127
|
+
background-color: @panel-footer-bg;
|
128
|
+
border-top: 1px solid @panel-inner-border;
|
129
|
+
.border-bottom-radius(@panel-border-radius - 1);
|
130
|
+
}
|
131
|
+
|
132
|
+
|
133
|
+
// Collapsable panels (aka, accordion)
|
134
|
+
//
|
135
|
+
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
|
136
|
+
// the help of our collapse JavaScript plugin.
|
137
|
+
|
138
|
+
.panel-group {
|
139
|
+
// Tighten up margin so it's only between panels
|
140
|
+
.panel {
|
141
|
+
margin-bottom: 0;
|
142
|
+
border-radius: @panel-border-radius;
|
143
|
+
overflow: hidden; // crop contents when collapsed
|
144
|
+
+ .panel {
|
145
|
+
margin-top: 5px;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.panel-heading {
|
150
|
+
border-bottom: 0;
|
151
|
+
+ .panel-collapse .panel-body {
|
152
|
+
border-top: 1px solid @panel-inner-border;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
.panel-footer {
|
156
|
+
border-top: 0;
|
157
|
+
+ .panel-collapse .panel-body {
|
158
|
+
border-bottom: 1px solid @panel-inner-border;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
// Contextual variations
|
165
|
+
.panel-default {
|
166
|
+
.panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
|
167
|
+
}
|
168
|
+
.panel-primary {
|
169
|
+
.panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
|
170
|
+
}
|
171
|
+
.panel-success {
|
172
|
+
.panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
|
173
|
+
}
|
174
|
+
.panel-warning {
|
175
|
+
.panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
|
176
|
+
}
|
177
|
+
.panel-danger {
|
178
|
+
.panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
|
179
|
+
}
|
180
|
+
.panel-info {
|
181
|
+
.panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
|
182
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
//
|
2
|
+
// Popovers
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.popover {
|
7
|
+
position: absolute;
|
8
|
+
top: 0;
|
9
|
+
left: 0;
|
10
|
+
z-index: @zindex-popover;
|
11
|
+
display: none;
|
12
|
+
max-width: @popover-max-width;
|
13
|
+
padding: 1px;
|
14
|
+
text-align: left; // Reset given new insertion method
|
15
|
+
background-color: @popover-bg;
|
16
|
+
background-clip: padding-box;
|
17
|
+
border: 1px solid @popover-fallback-border-color;
|
18
|
+
border: 1px solid @popover-border-color;
|
19
|
+
border-radius: @border-radius-large;
|
20
|
+
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
21
|
+
|
22
|
+
// Overrides for proper insertion
|
23
|
+
white-space: normal;
|
24
|
+
|
25
|
+
// Offset the popover to account for the popover arrow
|
26
|
+
&.top { margin-top: -10px; }
|
27
|
+
&.right { margin-left: 10px; }
|
28
|
+
&.bottom { margin-top: 10px; }
|
29
|
+
&.left { margin-left: -10px; }
|
30
|
+
}
|
31
|
+
|
32
|
+
.popover-title {
|
33
|
+
margin: 0; // reset heading margin
|
34
|
+
padding: 8px 14px;
|
35
|
+
font-size: @font-size-base;
|
36
|
+
font-weight: normal;
|
37
|
+
line-height: 18px;
|
38
|
+
background-color: @popover-title-bg;
|
39
|
+
border-bottom: 1px solid darken(@popover-title-bg, 5%);
|
40
|
+
border-radius: 5px 5px 0 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.popover-content {
|
44
|
+
padding: 9px 14px;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Arrows
|
48
|
+
//
|
49
|
+
// .arrow is outer, .arrow:after is inner
|
50
|
+
|
51
|
+
.popover .arrow {
|
52
|
+
&,
|
53
|
+
&:after {
|
54
|
+
position: absolute;
|
55
|
+
display: block;
|
56
|
+
width: 0;
|
57
|
+
height: 0;
|
58
|
+
border-color: transparent;
|
59
|
+
border-style: solid;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
.popover .arrow {
|
63
|
+
border-width: @popover-arrow-outer-width;
|
64
|
+
}
|
65
|
+
.popover .arrow:after {
|
66
|
+
border-width: @popover-arrow-width;
|
67
|
+
content: "";
|
68
|
+
}
|
69
|
+
|
70
|
+
.popover {
|
71
|
+
&.top .arrow {
|
72
|
+
left: 50%;
|
73
|
+
margin-left: -@popover-arrow-outer-width;
|
74
|
+
border-bottom-width: 0;
|
75
|
+
border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
76
|
+
border-top-color: @popover-arrow-outer-color;
|
77
|
+
bottom: -@popover-arrow-outer-width;
|
78
|
+
&:after {
|
79
|
+
content: " ";
|
80
|
+
bottom: 1px;
|
81
|
+
margin-left: -@popover-arrow-width;
|
82
|
+
border-bottom-width: 0;
|
83
|
+
border-top-color: @popover-arrow-color;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
&.right .arrow {
|
87
|
+
top: 50%;
|
88
|
+
left: -@popover-arrow-outer-width;
|
89
|
+
margin-top: -@popover-arrow-outer-width;
|
90
|
+
border-left-width: 0;
|
91
|
+
border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
92
|
+
border-right-color: @popover-arrow-outer-color;
|
93
|
+
&:after {
|
94
|
+
content: " ";
|
95
|
+
left: 1px;
|
96
|
+
bottom: -@popover-arrow-width;
|
97
|
+
border-left-width: 0;
|
98
|
+
border-right-color: @popover-arrow-color;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
&.bottom .arrow {
|
102
|
+
left: 50%;
|
103
|
+
margin-left: -@popover-arrow-outer-width;
|
104
|
+
border-top-width: 0;
|
105
|
+
border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
106
|
+
border-bottom-color: @popover-arrow-outer-color;
|
107
|
+
top: -@popover-arrow-outer-width;
|
108
|
+
&:after {
|
109
|
+
content: " ";
|
110
|
+
top: 1px;
|
111
|
+
margin-left: -@popover-arrow-width;
|
112
|
+
border-top-width: 0;
|
113
|
+
border-bottom-color: @popover-arrow-color;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.left .arrow {
|
118
|
+
top: 50%;
|
119
|
+
right: -@popover-arrow-outer-width;
|
120
|
+
margin-top: -@popover-arrow-outer-width;
|
121
|
+
border-right-width: 0;
|
122
|
+
border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
123
|
+
border-left-color: @popover-arrow-outer-color;
|
124
|
+
&:after {
|
125
|
+
content: " ";
|
126
|
+
right: 1px;
|
127
|
+
border-right-width: 0;
|
128
|
+
border-left-color: @popover-arrow-color;
|
129
|
+
bottom: -@popover-arrow-width;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
}
|