sass-twitter-bootstrap 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +14 -0
- data/LICENSE +176 -0
- data/Makefile +94 -0
- data/README.md +217 -0
- data/Rakefile +52 -0
- data/bootstrap-2.0.4.css +4661 -0
- data/bootstrap-2.0.4.min.css +9 -0
- data/bootstrap-responsive-2.0.4.css +932 -0
- data/bootstrap-responsive-2.0.4.min.css +9 -0
- data/docs/assets/css/bootstrap-responsive.css +932 -0
- data/docs/assets/css/bootstrap.css +4661 -0
- data/docs/assets/css/docs.css +846 -0
- data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
- data/docs/assets/ico/favicon.ico +0 -0
- data/docs/assets/img/bird.png +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/docs/assets/img/browsers.png +0 -0
- data/docs/assets/img/example-sites/fleetio.png +0 -0
- data/docs/assets/img/example-sites/jshint.png +0 -0
- data/docs/assets/img/example-sites/kippt.png +0 -0
- data/docs/assets/img/example-sites/soundready.png +0 -0
- data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
- data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
- data/docs/assets/img/github-16px.png +0 -0
- data/docs/assets/img/glyphicons-halflings-white.png +0 -0
- data/docs/assets/img/glyphicons-halflings.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/docs/assets/img/grid-18px-masked.png +0 -0
- data/docs/assets/img/icon-css3.png +0 -0
- data/docs/assets/img/icon-github.png +0 -0
- data/docs/assets/img/icon-html5.png +0 -0
- data/docs/assets/img/icon-twitter.png +0 -0
- data/docs/assets/img/less-logo-large.png +0 -0
- data/docs/assets/img/less-small.png +0 -0
- data/docs/assets/img/responsive-illustrations.png +0 -0
- data/docs/assets/js/README.md +106 -0
- data/docs/assets/js/application.js +184 -0
- data/docs/assets/js/bootstrap-alert.js +90 -0
- data/docs/assets/js/bootstrap-button.js +96 -0
- data/docs/assets/js/bootstrap-carousel.js +169 -0
- data/docs/assets/js/bootstrap-collapse.js +157 -0
- data/docs/assets/js/bootstrap-dropdown.js +100 -0
- data/docs/assets/js/bootstrap-modal.js +218 -0
- data/docs/assets/js/bootstrap-popover.js +98 -0
- data/docs/assets/js/bootstrap-scrollspy.js +151 -0
- data/docs/assets/js/bootstrap-tab.js +135 -0
- data/docs/assets/js/bootstrap-tooltip.js +275 -0
- data/docs/assets/js/bootstrap-transition.js +61 -0
- data/docs/assets/js/bootstrap-typeahead.js +285 -0
- data/docs/assets/js/bootstrap.js +1825 -0
- data/docs/assets/js/bootstrap.min.js +6 -0
- data/docs/assets/js/google-code-prettify/prettify.css +30 -0
- data/docs/assets/js/google-code-prettify/prettify.js +28 -0
- data/docs/assets/js/jquery.js +9252 -0
- data/docs/base-css.html +1710 -0
- data/docs/build/index.js +44 -0
- data/docs/build/node_modules/.bin/hulk +93 -0
- data/docs/build/node_modules/hogan.js/.git_ignore +1 -0
- data/docs/build/node_modules/hogan.js/.gitmodules +3 -0
- data/docs/build/node_modules/hogan.js/LICENSE +177 -0
- data/docs/build/node_modules/hogan.js/Makefile +62 -0
- data/docs/build/node_modules/hogan.js/README.md +93 -0
- data/docs/build/node_modules/hogan.js/bin/hulk +93 -0
- data/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
- data/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
- data/docs/build/node_modules/hogan.js/lib/template.js +233 -0
- data/docs/build/node_modules/hogan.js/package.json +20 -0
- data/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
- data/docs/build/node_modules/hogan.js/test/index.html +13 -0
- data/docs/build/node_modules/hogan.js/test/index.js +848 -0
- data/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
- data/docs/build/node_modules/hogan.js/test/spec.js +77 -0
- data/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
- data/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
- data/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
- data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
- data/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
- data/docs/build/node_modules/hogan.js/tools/release.js +74 -0
- data/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
- data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
- data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
- data/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
- data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
- data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
- data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
- data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
- data/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
- data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
- data/docs/build/package.json +6 -0
- data/docs/components.html +1931 -0
- data/docs/download.html +454 -0
- data/docs/examples.html +147 -0
- data/docs/examples/fluid.html +162 -0
- data/docs/examples/hero.html +109 -0
- data/docs/examples/starter-template.html +79 -0
- data/docs/index.html +259 -0
- data/docs/javascript.html +1520 -0
- data/docs/less.html +1060 -0
- data/docs/scaffolding.html +671 -0
- data/docs/templates/layout.mustache +146 -0
- data/docs/templates/pages/base-css.mustache +1594 -0
- data/docs/templates/pages/components.mustache +1815 -0
- data/docs/templates/pages/download.mustache +338 -0
- data/docs/templates/pages/examples.mustache +31 -0
- data/docs/templates/pages/index.mustache +144 -0
- data/docs/templates/pages/javascript.mustache +1405 -0
- data/docs/templates/pages/less.mustache +944 -0
- data/docs/templates/pages/scaffolding.mustache +555 -0
- data/docs/templates/pages/upgrading.mustache +194 -0
- data/docs/upgrading.html +310 -0
- data/js/tests/index.html +54 -0
- data/js/tests/phantom.js +63 -0
- data/js/tests/server.js +14 -0
- data/js/tests/unit/bootstrap-alert.js +56 -0
- data/js/tests/unit/bootstrap-button.js +77 -0
- data/js/tests/unit/bootstrap-carousel.js +28 -0
- data/js/tests/unit/bootstrap-collapse.js +54 -0
- data/js/tests/unit/bootstrap-dropdown.js +87 -0
- data/js/tests/unit/bootstrap-modal.js +114 -0
- data/js/tests/unit/bootstrap-phantom.js +21 -0
- data/js/tests/unit/bootstrap-popover.js +93 -0
- data/js/tests/unit/bootstrap-scrollspy.js +31 -0
- data/js/tests/unit/bootstrap-tab.js +61 -0
- data/js/tests/unit/bootstrap-tooltip.js +155 -0
- data/js/tests/unit/bootstrap-transition.js +13 -0
- data/js/tests/unit/bootstrap-typeahead.js +148 -0
- data/js/tests/vendor/jquery.js +9252 -0
- data/js/tests/vendor/qunit.css +232 -0
- data/js/tests/vendor/qunit.js +1510 -0
- data/lib/sass-twitter-bootstrap.rb +9 -0
- data/lib/sass/twitter/bootstrap/rails.rb +14 -0
- data/lib/sass/twitter/bootstrap/version.rb +7 -0
- data/package.json +25 -0
- data/sass-twitter-bootstrap.gemspec +19 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/README.md +112 -0
- data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
- data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
- data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +169 -0
- data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +157 -0
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +100 -0
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +218 -0
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +98 -0
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
- data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
- data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
- data/vendor/assets/javascripts/twitter/bootstrap-transition.js +61 -0
- data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +285 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
- data/vendor/assets/stylesheets/tests/css-tests.css +52 -0
- data/vendor/assets/stylesheets/tests/css-tests.html +917 -0
- data/vendor/assets/stylesheets/tests/forms.html +179 -0
- data/vendor/assets/stylesheets/tests/navbar.html +108 -0
- data/vendor/assets/stylesheets/twitter/_accordion.scss +33 -0
- data/vendor/assets/stylesheets/twitter/_alerts.scss +58 -0
- data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +24 -0
- data/vendor/assets/stylesheets/twitter/_button-groups.scss +191 -0
- data/vendor/assets/stylesheets/twitter/_buttons.scss +191 -0
- data/vendor/assets/stylesheets/twitter/_carousel.scss +121 -0
- data/vendor/assets/stylesheets/twitter/_close.scss +29 -0
- data/vendor/assets/stylesheets/twitter/_code.scss +57 -0
- data/vendor/assets/stylesheets/twitter/_component-animations.scss +20 -0
- data/vendor/assets/stylesheets/twitter/_dropdowns.scss +143 -0
- data/vendor/assets/stylesheets/twitter/_forms.scss +582 -0
- data/vendor/assets/stylesheets/twitter/_grid.scss +5 -0
- data/vendor/assets/stylesheets/twitter/_hero-unit.scss +22 -0
- data/vendor/assets/stylesheets/twitter/_labels-badges.scss +52 -0
- data/vendor/assets/stylesheets/twitter/_layouts.scss +17 -0
- data/vendor/assets/stylesheets/twitter/_mixins.scss +643 -0
- data/vendor/assets/stylesheets/twitter/_modals.scss +90 -0
- data/vendor/assets/stylesheets/twitter/_navbar.scss +358 -0
- data/vendor/assets/stylesheets/twitter/_navs.scss +363 -0
- data/vendor/assets/stylesheets/twitter/_pager.scss +36 -0
- data/vendor/assets/stylesheets/twitter/_pagination.scss +56 -0
- data/vendor/assets/stylesheets/twitter/_popovers.scss +49 -0
- data/vendor/assets/stylesheets/twitter/_progress-bars.scss +117 -0
- data/vendor/assets/stylesheets/twitter/_reset.scss +131 -0
- data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +26 -0
- data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +149 -0
- data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +17 -0
- data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +153 -0
- data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +41 -0
- data/vendor/assets/stylesheets/twitter/_scaffolding.scss +29 -0
- data/vendor/assets/stylesheets/twitter/_sprites.scss +191 -0
- data/vendor/assets/stylesheets/twitter/_tables.scss +155 -0
- data/vendor/assets/stylesheets/twitter/_thumbnails.scss +47 -0
- data/vendor/assets/stylesheets/twitter/_tooltip.scss +35 -0
- data/vendor/assets/stylesheets/twitter/_type.scss +232 -0
- data/vendor/assets/stylesheets/twitter/_utilities.scss +23 -0
- data/vendor/assets/stylesheets/twitter/_variables.scss +204 -0
- data/vendor/assets/stylesheets/twitter/_wells.scss +27 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +62 -0
- data/vendor/assets/stylesheets/twitter/responsive.scss +48 -0
- metadata +304 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
// PAGER
|
2
|
+
// -----
|
3
|
+
|
4
|
+
.pager {
|
5
|
+
margin-left: 0;
|
6
|
+
margin-bottom: $baseLineHeight;
|
7
|
+
list-style: none;
|
8
|
+
text-align: center;
|
9
|
+
@include clearfix();
|
10
|
+
}
|
11
|
+
.pager li {
|
12
|
+
display: inline;
|
13
|
+
}
|
14
|
+
.pager a {
|
15
|
+
display: inline-block;
|
16
|
+
padding: 5px 14px;
|
17
|
+
background-color: #fff;
|
18
|
+
border: 1px solid #ddd;
|
19
|
+
@include border-radius(15px);
|
20
|
+
}
|
21
|
+
.pager a:hover {
|
22
|
+
text-decoration: none;
|
23
|
+
background-color: #f5f5f5;
|
24
|
+
}
|
25
|
+
.pager .next a {
|
26
|
+
float: right;
|
27
|
+
}
|
28
|
+
.pager .previous a {
|
29
|
+
float: left;
|
30
|
+
}
|
31
|
+
.pager .disabled a,
|
32
|
+
.pager .disabled a:hover {
|
33
|
+
color: $grayLight;
|
34
|
+
background-color: #fff;
|
35
|
+
cursor: default;
|
36
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
// PAGINATION
|
2
|
+
// ----------
|
3
|
+
|
4
|
+
.pagination {
|
5
|
+
height: $baseLineHeight * 2;
|
6
|
+
margin: $baseLineHeight 0;
|
7
|
+
}
|
8
|
+
.pagination ul {
|
9
|
+
display: inline-block;
|
10
|
+
@include ie7-inline-block();
|
11
|
+
margin-left: 0;
|
12
|
+
margin-bottom: 0;
|
13
|
+
@include border-radius(3px);
|
14
|
+
@include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
15
|
+
}
|
16
|
+
.pagination li {
|
17
|
+
display: inline;
|
18
|
+
}
|
19
|
+
.pagination a {
|
20
|
+
float: left;
|
21
|
+
padding: 0 14px;
|
22
|
+
line-height: ($baseLineHeight * 2) - 2;
|
23
|
+
text-decoration: none;
|
24
|
+
border: 1px solid #ddd;
|
25
|
+
border-left-width: 0;
|
26
|
+
}
|
27
|
+
.pagination a:hover,
|
28
|
+
.pagination .active a {
|
29
|
+
background-color: #f5f5f5;
|
30
|
+
}
|
31
|
+
.pagination .active a {
|
32
|
+
color: $grayLight;
|
33
|
+
cursor: default;
|
34
|
+
}
|
35
|
+
.pagination .disabled span,
|
36
|
+
.pagination .disabled a,
|
37
|
+
.pagination .disabled a:hover {
|
38
|
+
color: $grayLight;
|
39
|
+
background-color: transparent;
|
40
|
+
cursor: default;
|
41
|
+
}
|
42
|
+
.pagination li:first-child a {
|
43
|
+
border-left-width: 1px;
|
44
|
+
@include border-radius(3px 0 0 3px);
|
45
|
+
}
|
46
|
+
.pagination li:last-child a {
|
47
|
+
@include border-radius(0 3px 3px 0);
|
48
|
+
}
|
49
|
+
|
50
|
+
// Centered
|
51
|
+
.pagination-centered {
|
52
|
+
text-align: center;
|
53
|
+
}
|
54
|
+
.pagination-right {
|
55
|
+
text-align: right;
|
56
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// POPOVERS
|
2
|
+
// --------
|
3
|
+
|
4
|
+
.popover {
|
5
|
+
position: absolute;
|
6
|
+
top: 0;
|
7
|
+
left: 0;
|
8
|
+
z-index: $zindexPopover;
|
9
|
+
display: none;
|
10
|
+
padding: 5px;
|
11
|
+
&.top { margin-top: -5px; }
|
12
|
+
&.right { margin-left: 5px; }
|
13
|
+
&.bottom { margin-top: 5px; }
|
14
|
+
&.left { margin-left: -5px; }
|
15
|
+
&.top .arrow { @include popoverArrow-top(); }
|
16
|
+
&.right .arrow { @include popoverArrow-right(); }
|
17
|
+
&.bottom .arrow { @include popoverArrow-bottom(); }
|
18
|
+
&.left .arrow { @include popoverArrow-left(); }
|
19
|
+
.arrow {
|
20
|
+
position: absolute;
|
21
|
+
width: 0;
|
22
|
+
height: 0;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.popover-inner {
|
26
|
+
padding: 3px;
|
27
|
+
width: 280px;
|
28
|
+
overflow: hidden;
|
29
|
+
background: $black; // has to be full background declaration for IE fallback
|
30
|
+
background: rgba(0,0,0,.8);
|
31
|
+
@include border-radius(6px);
|
32
|
+
@include box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
33
|
+
}
|
34
|
+
.popover-title {
|
35
|
+
padding: 9px 15px;
|
36
|
+
line-height: 1;
|
37
|
+
background-color: #f5f5f5;
|
38
|
+
border-bottom:1px solid #eee;
|
39
|
+
@include border-radius(3px 3px 0 0);
|
40
|
+
}
|
41
|
+
.popover-content {
|
42
|
+
padding: 14px;
|
43
|
+
background-color: $white;
|
44
|
+
@include border-radius(0 0 3px 3px);
|
45
|
+
@include background-clip(padding-box);
|
46
|
+
p, ul, ol {
|
47
|
+
margin-bottom: 0;
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
// PROGRESS BARS
|
2
|
+
// -------------
|
3
|
+
|
4
|
+
|
5
|
+
// ANIMATIONS
|
6
|
+
// ----------
|
7
|
+
|
8
|
+
// Webkit
|
9
|
+
@-webkit-keyframes progress-bar-stripes {
|
10
|
+
from { background-position: 40px 0; }
|
11
|
+
to { background-position: 0 0; }
|
12
|
+
}
|
13
|
+
|
14
|
+
// Firefox
|
15
|
+
@-moz-keyframes progress-bar-stripes {
|
16
|
+
from { background-position: 40px 0; }
|
17
|
+
to { background-position: 0 0; }
|
18
|
+
}
|
19
|
+
|
20
|
+
// IE9
|
21
|
+
@-ms-keyframes progress-bar-stripes {
|
22
|
+
from { background-position: 40px 0; }
|
23
|
+
to { background-position: 0 0; }
|
24
|
+
}
|
25
|
+
|
26
|
+
// Opera
|
27
|
+
@-o-keyframes progress-bar-stripes {
|
28
|
+
from { background-position: 0 0; }
|
29
|
+
to { background-position: 40px 0; }
|
30
|
+
}
|
31
|
+
|
32
|
+
// Spec
|
33
|
+
@keyframes progress-bar-stripes {
|
34
|
+
from { background-position: 40px 0; }
|
35
|
+
to { background-position: 0 0; }
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
// THE BARS
|
41
|
+
// --------
|
42
|
+
|
43
|
+
// Outer container
|
44
|
+
.progress {
|
45
|
+
overflow: hidden;
|
46
|
+
height: 18px;
|
47
|
+
margin-bottom: 18px;
|
48
|
+
@include gradient-vertical(#f5f5f5, #f9f9f9);
|
49
|
+
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
50
|
+
@include border-radius(4px);
|
51
|
+
}
|
52
|
+
|
53
|
+
// Bar of progress
|
54
|
+
.progress .bar {
|
55
|
+
width: 0%;
|
56
|
+
height: 18px;
|
57
|
+
color: $white;
|
58
|
+
font-size: 12px;
|
59
|
+
text-align: center;
|
60
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
61
|
+
@include gradient-vertical(#149bdf, #0480be);
|
62
|
+
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
63
|
+
@include box-sizing(border-box);
|
64
|
+
@include transition(width .6s ease);
|
65
|
+
}
|
66
|
+
|
67
|
+
// Striped bars
|
68
|
+
.progress-striped .bar {
|
69
|
+
@include gradient-striped(#149bdf);
|
70
|
+
@include background-size(40px 40px);
|
71
|
+
}
|
72
|
+
|
73
|
+
// Call animation for the active one
|
74
|
+
.progress.active .bar {
|
75
|
+
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
76
|
+
-moz-animation: progress-bar-stripes 2s linear infinite;
|
77
|
+
-ms-animation: progress-bar-stripes 2s linear infinite;
|
78
|
+
-o-animation: progress-bar-stripes 2s linear infinite;
|
79
|
+
animation: progress-bar-stripes 2s linear infinite;
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
// COLORS
|
85
|
+
// ------
|
86
|
+
|
87
|
+
// Danger (red)
|
88
|
+
.progress-danger .bar {
|
89
|
+
@include gradient-vertical(#ee5f5b, #c43c35);
|
90
|
+
}
|
91
|
+
.progress-danger.progress-striped .bar {
|
92
|
+
@include gradient-striped(#ee5f5b);
|
93
|
+
}
|
94
|
+
|
95
|
+
// Success (green)
|
96
|
+
.progress-success .bar {
|
97
|
+
@include gradient-vertical(#62c462, #57a957);
|
98
|
+
}
|
99
|
+
.progress-success.progress-striped .bar {
|
100
|
+
@include gradient-striped(#62c462);
|
101
|
+
}
|
102
|
+
|
103
|
+
// Info (teal)
|
104
|
+
.progress-info .bar {
|
105
|
+
@include gradient-vertical(#5bc0de, #339bb9);
|
106
|
+
}
|
107
|
+
.progress-info.progress-striped .bar {
|
108
|
+
@include gradient-striped(#5bc0de);
|
109
|
+
}
|
110
|
+
|
111
|
+
// Warning (orange)
|
112
|
+
.progress-warning .bar {
|
113
|
+
@include gradient-vertical(lighten($orange, 15%), $orange);
|
114
|
+
}
|
115
|
+
.progress-warning.progress-striped .bar {
|
116
|
+
@include gradient-striped(lighten($orange, 15%));
|
117
|
+
}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
// Reset
|
2
|
+
// Adapted from Normalize.css http://github.com/necolas/normalize.css
|
3
|
+
// ------------------------------------------------------------------------
|
4
|
+
|
5
|
+
// Display in IE6-9 and FF3
|
6
|
+
// -------------------------
|
7
|
+
|
8
|
+
article,
|
9
|
+
aside,
|
10
|
+
details,
|
11
|
+
figcaption,
|
12
|
+
figure,
|
13
|
+
footer,
|
14
|
+
header,
|
15
|
+
hgroup,
|
16
|
+
nav,
|
17
|
+
section {
|
18
|
+
display: block;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Display block in IE6-9 and FF3
|
22
|
+
// -------------------------
|
23
|
+
|
24
|
+
audio,
|
25
|
+
canvas,
|
26
|
+
video {
|
27
|
+
display: inline-block;
|
28
|
+
*display: inline;
|
29
|
+
*zoom: 1;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Prevents modern browsers from displaying 'audio' without controls
|
33
|
+
// -------------------------
|
34
|
+
|
35
|
+
audio:not([controls]) {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Base settings
|
40
|
+
// -------------------------
|
41
|
+
|
42
|
+
html {
|
43
|
+
font-size: 100%;
|
44
|
+
-webkit-text-size-adjust: 100%;
|
45
|
+
-ms-text-size-adjust: 100%;
|
46
|
+
}
|
47
|
+
// Focus states
|
48
|
+
a:focus {
|
49
|
+
@include tab-focus();
|
50
|
+
}
|
51
|
+
// Hover & Active
|
52
|
+
a:hover,
|
53
|
+
a:active {
|
54
|
+
outline: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Prevents sub and sup affecting line-height in all browsers
|
58
|
+
// -------------------------
|
59
|
+
|
60
|
+
sub,
|
61
|
+
sup {
|
62
|
+
position: relative;
|
63
|
+
font-size: 75%;
|
64
|
+
line-height: 0;
|
65
|
+
vertical-align: baseline;
|
66
|
+
}
|
67
|
+
sup {
|
68
|
+
top: -0.5em;
|
69
|
+
}
|
70
|
+
sub {
|
71
|
+
bottom: -0.25em;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Img border in a's and image quality
|
75
|
+
// -------------------------
|
76
|
+
|
77
|
+
img {
|
78
|
+
max-width: 100%; // Make images inherently responsive
|
79
|
+
vertical-align: middle;
|
80
|
+
border: 0;
|
81
|
+
-ms-interpolation-mode: bicubic;
|
82
|
+
}
|
83
|
+
|
84
|
+
// Prevent max-width from affecting Google Maps
|
85
|
+
#map_canvas img {
|
86
|
+
max-width: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
// Forms
|
90
|
+
// -------------------------
|
91
|
+
|
92
|
+
// Font size in all browsers, margin changes, misc consistency
|
93
|
+
button,
|
94
|
+
input,
|
95
|
+
select,
|
96
|
+
textarea {
|
97
|
+
margin: 0;
|
98
|
+
font-size: 100%;
|
99
|
+
vertical-align: middle;
|
100
|
+
}
|
101
|
+
button,
|
102
|
+
input {
|
103
|
+
*overflow: visible; // Inner spacing ie IE6/7
|
104
|
+
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
105
|
+
}
|
106
|
+
button::-moz-focus-inner,
|
107
|
+
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
|
108
|
+
padding: 0;
|
109
|
+
border: 0;
|
110
|
+
}
|
111
|
+
button,
|
112
|
+
input[type="button"],
|
113
|
+
input[type="reset"],
|
114
|
+
input[type="submit"] {
|
115
|
+
cursor: pointer; // Cursors on all buttons applied consistently
|
116
|
+
-webkit-appearance: button; // Style clickable inputs in iOS
|
117
|
+
}
|
118
|
+
input[type="search"] { // Appearance in Safari/Chrome
|
119
|
+
-webkit-box-sizing: content-box;
|
120
|
+
-moz-box-sizing: content-box;
|
121
|
+
box-sizing: content-box;
|
122
|
+
-webkit-appearance: textfield;
|
123
|
+
}
|
124
|
+
input[type="search"]::-webkit-search-decoration,
|
125
|
+
input[type="search"]::-webkit-search-cancel-button {
|
126
|
+
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
|
127
|
+
}
|
128
|
+
textarea {
|
129
|
+
overflow: auto; // Remove vertical scrollbar in IE6-9
|
130
|
+
vertical-align: top; // Readability and alignment cross-browser
|
131
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// LARGE DESKTOP & UP
|
2
|
+
// ------------------
|
3
|
+
|
4
|
+
@media (min-width: 1200px) {
|
5
|
+
|
6
|
+
// Fixed grid
|
7
|
+
@include grid-core(70px, 30px);
|
8
|
+
|
9
|
+
// Fluid grid
|
10
|
+
@include grid-fluid(5.982905983%, 2.564102564%);
|
11
|
+
|
12
|
+
// Input grid
|
13
|
+
@include grid-input(70px, 30px);
|
14
|
+
|
15
|
+
// Thumbnails
|
16
|
+
.thumbnails {
|
17
|
+
margin-left: -30px;
|
18
|
+
}
|
19
|
+
.thumbnails > li {
|
20
|
+
margin-left: 30px;
|
21
|
+
}
|
22
|
+
.row-fluid .thumbnails {
|
23
|
+
margin-left: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|
@@ -0,0 +1,149 @@
|
|
1
|
+
// UP TO LANDSCAPE PHONE
|
2
|
+
// ---------------------
|
3
|
+
|
4
|
+
@media (max-width: 480px) {
|
5
|
+
|
6
|
+
// Smooth out the collapsing/expanding nav
|
7
|
+
.nav-collapse {
|
8
|
+
-webkit-transform: translate3d(0, 0, 0); // activate the GPU
|
9
|
+
}
|
10
|
+
|
11
|
+
// Block level the page header small tag for readability
|
12
|
+
.page-header h1 small {
|
13
|
+
display: block;
|
14
|
+
line-height: $baseLineHeight;
|
15
|
+
}
|
16
|
+
|
17
|
+
// Update checkboxes for iOS
|
18
|
+
input[type="checkbox"],
|
19
|
+
input[type="radio"] {
|
20
|
+
border: 1px solid #ccc;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Remove the horizontal form styles
|
24
|
+
.form-horizontal .control-group > label {
|
25
|
+
float: none;
|
26
|
+
width: auto;
|
27
|
+
padding-top: 0;
|
28
|
+
text-align: left;
|
29
|
+
}
|
30
|
+
// Move over all input controls and content
|
31
|
+
.form-horizontal .controls {
|
32
|
+
margin-left: 0;
|
33
|
+
}
|
34
|
+
// Move the options list down to align with labels
|
35
|
+
.form-horizontal .control-list {
|
36
|
+
padding-top: 0; // has to be padding because margin collaspes
|
37
|
+
}
|
38
|
+
// Move over buttons in .form-actions to align with .controls
|
39
|
+
.form-horizontal .form-actions {
|
40
|
+
padding-left: 10px;
|
41
|
+
padding-right: 10px;
|
42
|
+
}
|
43
|
+
|
44
|
+
// Modals
|
45
|
+
.modal {
|
46
|
+
position: absolute;
|
47
|
+
top: 10px;
|
48
|
+
left: 10px;
|
49
|
+
right: 10px;
|
50
|
+
width: auto;
|
51
|
+
margin: 0;
|
52
|
+
&.fade.in { top: auto; }
|
53
|
+
}
|
54
|
+
.modal-header .close {
|
55
|
+
padding: 10px;
|
56
|
+
margin: -10px;
|
57
|
+
}
|
58
|
+
|
59
|
+
// Carousel
|
60
|
+
.carousel-caption {
|
61
|
+
position: static;
|
62
|
+
}
|
63
|
+
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
69
|
+
// --------------------------------------------------
|
70
|
+
|
71
|
+
@media (max-width: 767px) {
|
72
|
+
|
73
|
+
// Padding to set content in a bit
|
74
|
+
body {
|
75
|
+
padding-left: 20px;
|
76
|
+
padding-right: 20px;
|
77
|
+
}
|
78
|
+
// Negative indent the now static "fixed" navbar
|
79
|
+
.navbar-fixed-top,
|
80
|
+
.navbar-fixed-bottom {
|
81
|
+
margin-left: -20px;
|
82
|
+
margin-right: -20px;
|
83
|
+
}
|
84
|
+
// Remove padding on container given explicit padding set on body
|
85
|
+
.container-fluid {
|
86
|
+
padding: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
// TYPOGRAPHY
|
90
|
+
// ----------
|
91
|
+
// Reset horizontal dl
|
92
|
+
.dl-horizontal {
|
93
|
+
dt {
|
94
|
+
float: none;
|
95
|
+
clear: none;
|
96
|
+
width: auto;
|
97
|
+
text-align: left;
|
98
|
+
}
|
99
|
+
dd {
|
100
|
+
margin-left: 0;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
// GRID & CONTAINERS
|
105
|
+
// -----------------
|
106
|
+
// Remove width from containers
|
107
|
+
.container {
|
108
|
+
width: auto;
|
109
|
+
}
|
110
|
+
// Fluid rows
|
111
|
+
.row-fluid {
|
112
|
+
width: 100%;
|
113
|
+
}
|
114
|
+
// Undo negative margin on rows and thumbnails
|
115
|
+
.row,
|
116
|
+
.thumbnails {
|
117
|
+
margin-left: 0;
|
118
|
+
}
|
119
|
+
// Make all grid-sized elements block level again
|
120
|
+
[class*="span"],
|
121
|
+
.row-fluid [class*="span"] {
|
122
|
+
float: none;
|
123
|
+
display: block;
|
124
|
+
width: auto;
|
125
|
+
margin-left: 0;
|
126
|
+
}
|
127
|
+
|
128
|
+
// FORM FIELDS
|
129
|
+
// -----------
|
130
|
+
// Make span* classes full width
|
131
|
+
.input-large,
|
132
|
+
.input-xlarge,
|
133
|
+
.input-xxlarge,
|
134
|
+
input[class*="span"],
|
135
|
+
select[class*="span"],
|
136
|
+
textarea[class*="span"],
|
137
|
+
.uneditable-input {
|
138
|
+
@include input-block-level();
|
139
|
+
}
|
140
|
+
// But don't let it screw up prepend/append inputs
|
141
|
+
.input-prepend input,
|
142
|
+
.input-append input,
|
143
|
+
.input-prepend input[class*="span"],
|
144
|
+
.input-append input[class*="span"] {
|
145
|
+
display: inline-block; // redeclare so they don't wrap to new lines
|
146
|
+
width: auto;
|
147
|
+
}
|
148
|
+
|
149
|
+
}
|