sass-twitter-bootstrap 0.1.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{sass-twitter-bootstrap.rb → sass/twitter/bootstrap.rb} +1 -1
- data/lib/sass/twitter/bootstrap/rails.rb +1 -5
- data/lib/sass/twitter/bootstrap/rails/engine.rb +12 -0
- data/lib/sass/twitter/bootstrap/version.rb +1 -1
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap-alert.js +32 -28
- data/vendor/assets/javascripts/twitter/bootstrap-button.js +33 -29
- data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +21 -33
- data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +26 -47
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +10 -18
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +17 -25
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +10 -13
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +18 -44
- data/vendor/assets/javascripts/twitter/bootstrap-tab.js +7 -12
- data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +35 -40
- data/vendor/assets/javascripts/twitter/bootstrap-transition.js +20 -30
- data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +15 -29
- data/vendor/assets/stylesheets/tests/buttons.html +139 -0
- data/vendor/assets/stylesheets/tests/css-tests.css +99 -1
- data/vendor/assets/stylesheets/tests/css-tests.html +519 -37
- data/vendor/assets/stylesheets/tests/forms-responsive.html +71 -0
- data/vendor/assets/stylesheets/tests/navbar-fixed-top.html +104 -0
- data/vendor/assets/stylesheets/tests/navbar-static-top.html +107 -0
- data/vendor/assets/stylesheets/tests/navbar.html +38 -39
- data/vendor/assets/stylesheets/twitter/_accordion.scss +0 -5
- data/vendor/assets/stylesheets/twitter/_alerts.scss +15 -3
- data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +0 -2
- data/vendor/assets/stylesheets/twitter/_button-groups.scss +32 -76
- data/vendor/assets/stylesheets/twitter/_buttons.scss +25 -33
- data/vendor/assets/stylesheets/twitter/_close.scss +1 -12
- data/vendor/assets/stylesheets/twitter/_code.scss +8 -8
- data/vendor/assets/stylesheets/twitter/_component-animations.scss +7 -9
- data/vendor/assets/stylesheets/twitter/_dropdowns.scss +45 -58
- data/vendor/assets/stylesheets/twitter/_forms.scss +146 -206
- data/vendor/assets/stylesheets/twitter/_grid.scss +5 -2
- data/vendor/assets/stylesheets/twitter/_hero-unit.scss +1 -3
- data/vendor/assets/stylesheets/twitter/_labels.scss +32 -0
- data/vendor/assets/stylesheets/twitter/_layouts.scss +2 -2
- data/vendor/assets/stylesheets/twitter/_mixins.scss +208 -273
- data/vendor/assets/stylesheets/twitter/_modals.scss +8 -14
- data/vendor/assets/stylesheets/twitter/_navbar.scss +73 -132
- data/vendor/assets/stylesheets/twitter/_navs.scss +43 -53
- data/vendor/assets/stylesheets/twitter/_pager.scss +0 -6
- data/vendor/assets/stylesheets/twitter/_pagination.scss +0 -1
- data/vendor/assets/stylesheets/twitter/_progress-bars.scss +6 -28
- data/vendor/assets/stylesheets/twitter/_reset.scss +4 -9
- data/vendor/assets/stylesheets/twitter/_scaffolding.scss +8 -4
- data/vendor/assets/stylesheets/twitter/_sprites.scss +7 -40
- data/vendor/assets/stylesheets/twitter/_tables.scss +33 -38
- data/vendor/assets/stylesheets/twitter/_thumbnails.scss +2 -14
- data/vendor/assets/stylesheets/twitter/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_type.scss +14 -28
- data/vendor/assets/stylesheets/twitter/_variables.scss +19 -116
- data/vendor/assets/stylesheets/twitter/_wells.scss +0 -10
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +7 -3
- data/vendor/assets/stylesheets/twitter/responsive.scss +301 -15
- metadata +25 -190
- data/.gitignore +0 -4
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -14
- data/LICENSE +0 -176
- data/Makefile +0 -94
- data/README.md +0 -217
- data/Rakefile +0 -52
- data/bootstrap-2.0.4.css +0 -4661
- data/bootstrap-2.0.4.min.css +0 -9
- data/bootstrap-responsive-2.0.4.css +0 -932
- data/bootstrap-responsive-2.0.4.min.css +0 -9
- data/docs/assets/css/bootstrap-responsive.css +0 -932
- data/docs/assets/css/bootstrap.css +0 -4661
- data/docs/assets/css/docs.css +0 -846
- 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 +0 -106
- data/docs/assets/js/application.js +0 -184
- data/docs/assets/js/bootstrap-alert.js +0 -90
- data/docs/assets/js/bootstrap-button.js +0 -96
- data/docs/assets/js/bootstrap-carousel.js +0 -169
- data/docs/assets/js/bootstrap-collapse.js +0 -157
- data/docs/assets/js/bootstrap-dropdown.js +0 -100
- data/docs/assets/js/bootstrap-modal.js +0 -218
- data/docs/assets/js/bootstrap-popover.js +0 -98
- data/docs/assets/js/bootstrap-scrollspy.js +0 -151
- data/docs/assets/js/bootstrap-tab.js +0 -135
- data/docs/assets/js/bootstrap-tooltip.js +0 -275
- data/docs/assets/js/bootstrap-transition.js +0 -61
- data/docs/assets/js/bootstrap-typeahead.js +0 -285
- data/docs/assets/js/bootstrap.js +0 -1825
- data/docs/assets/js/bootstrap.min.js +0 -6
- data/docs/assets/js/google-code-prettify/prettify.css +0 -30
- data/docs/assets/js/google-code-prettify/prettify.js +0 -28
- data/docs/assets/js/jquery.js +0 -9252
- data/docs/base-css.html +0 -1710
- data/docs/build/index.js +0 -44
- data/docs/build/node_modules/.bin/hulk +0 -93
- data/docs/build/node_modules/hogan.js/.git_ignore +0 -1
- data/docs/build/node_modules/hogan.js/.gitmodules +0 -3
- data/docs/build/node_modules/hogan.js/LICENSE +0 -177
- data/docs/build/node_modules/hogan.js/Makefile +0 -62
- data/docs/build/node_modules/hogan.js/README.md +0 -93
- data/docs/build/node_modules/hogan.js/bin/hulk +0 -93
- data/docs/build/node_modules/hogan.js/lib/compiler.js +0 -348
- data/docs/build/node_modules/hogan.js/lib/hogan.js +0 -20
- data/docs/build/node_modules/hogan.js/lib/template.js +0 -233
- data/docs/build/node_modules/hogan.js/package.json +0 -20
- data/docs/build/node_modules/hogan.js/test/html/list.html +0 -8
- data/docs/build/node_modules/hogan.js/test/index.html +0 -13
- data/docs/build/node_modules/hogan.js/test/index.js +0 -848
- data/docs/build/node_modules/hogan.js/test/mustache.js +0 -90
- data/docs/build/node_modules/hogan.js/test/spec.js +0 -77
- data/docs/build/node_modules/hogan.js/test/spec/Changes +0 -31
- data/docs/build/node_modules/hogan.js/test/spec/README.md +0 -65
- data/docs/build/node_modules/hogan.js/test/spec/Rakefile +0 -27
- data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +0 -46
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +0 -103
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +0 -158
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +0 -230
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +0 -193
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +0 -109
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +0 -256
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +0 -149
- data/docs/build/node_modules/hogan.js/test/templates/list.mustache +0 -8
- data/docs/build/node_modules/hogan.js/tools/release.js +0 -74
- data/docs/build/node_modules/hogan.js/tools/web_templates.js +0 -32
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +0 -500
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +0 -14
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +0 -500
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +0 -14
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +0 -545
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +0 -576
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +0 -576
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +0 -572
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +0 -619
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +0 -233
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +0 -5
- 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 +0 -139
- data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +0 -206
- data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +0 -236
- data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +0 -21
- data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +0 -21
- data/docs/build/node_modules/hogan.js/wrappers/js.mustache +0 -17
- data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +0 -64
- data/docs/build/package.json +0 -6
- data/docs/components.html +0 -1931
- data/docs/download.html +0 -454
- data/docs/examples.html +0 -147
- data/docs/examples/fluid.html +0 -162
- data/docs/examples/hero.html +0 -109
- data/docs/examples/starter-template.html +0 -79
- data/docs/index.html +0 -259
- data/docs/javascript.html +0 -1520
- data/docs/less.html +0 -1060
- data/docs/scaffolding.html +0 -671
- data/docs/templates/layout.mustache +0 -146
- data/docs/templates/pages/base-css.mustache +0 -1594
- data/docs/templates/pages/components.mustache +0 -1815
- data/docs/templates/pages/download.mustache +0 -338
- data/docs/templates/pages/examples.mustache +0 -31
- data/docs/templates/pages/index.mustache +0 -144
- data/docs/templates/pages/javascript.mustache +0 -1405
- data/docs/templates/pages/less.mustache +0 -944
- data/docs/templates/pages/scaffolding.mustache +0 -555
- data/docs/templates/pages/upgrading.mustache +0 -194
- data/docs/upgrading.html +0 -310
- data/js/tests/index.html +0 -54
- data/js/tests/phantom.js +0 -63
- data/js/tests/server.js +0 -14
- data/js/tests/unit/bootstrap-alert.js +0 -56
- data/js/tests/unit/bootstrap-button.js +0 -77
- data/js/tests/unit/bootstrap-carousel.js +0 -28
- data/js/tests/unit/bootstrap-collapse.js +0 -54
- data/js/tests/unit/bootstrap-dropdown.js +0 -87
- data/js/tests/unit/bootstrap-modal.js +0 -114
- data/js/tests/unit/bootstrap-phantom.js +0 -21
- data/js/tests/unit/bootstrap-popover.js +0 -93
- data/js/tests/unit/bootstrap-scrollspy.js +0 -31
- data/js/tests/unit/bootstrap-tab.js +0 -61
- data/js/tests/unit/bootstrap-tooltip.js +0 -155
- data/js/tests/unit/bootstrap-transition.js +0 -13
- data/js/tests/unit/bootstrap-typeahead.js +0 -148
- data/js/tests/vendor/jquery.js +0 -9252
- data/js/tests/vendor/qunit.css +0 -232
- data/js/tests/vendor/qunit.js +0 -1510
- data/package.json +0 -25
- data/sass-twitter-bootstrap.gemspec +0 -19
- data/vendor/assets/javascripts/README.md +0 -112
- data/vendor/assets/javascripts/twitter/bootstrap.js +0 -12
- data/vendor/assets/stylesheets/twitter/_labels-badges.scss +0 -52
- data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +0 -26
- data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +0 -149
- data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +0 -17
- data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +0 -153
- data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +0 -41
@@ -1,4 +1,4 @@
|
|
1
|
-
// Variables
|
1
|
+
// Variables.scss
|
2
2
|
// Variables to customize the look and feel of Bootstrap
|
3
3
|
// -----------------------------------------------------
|
4
4
|
|
@@ -7,9 +7,11 @@
|
|
7
7
|
// GLOBAL VALUES
|
8
8
|
// --------------------------------------------------
|
9
9
|
|
10
|
+
// Links
|
11
|
+
$linkColor: #08c !default;
|
12
|
+
$linkColorHover: darken($linkColor, 15) !default;
|
10
13
|
|
11
14
|
// Grays
|
12
|
-
// -------------------------
|
13
15
|
$black: #000 !default;
|
14
16
|
$grayDarker: #222 !default;
|
15
17
|
$grayDark: #333 !default;
|
@@ -18,9 +20,7 @@ $grayLight: #999 !default;
|
|
18
20
|
$grayLighter: #eee !default;
|
19
21
|
$white: #fff !default;
|
20
22
|
|
21
|
-
|
22
23
|
// Accent colors
|
23
|
-
// -------------------------
|
24
24
|
$blue: #049cdb !default;
|
25
25
|
$blueDark: #0064cd !default;
|
26
26
|
$green: #46a546 !default;
|
@@ -30,83 +30,14 @@ $orange: #f89406 !default;
|
|
30
30
|
$pink: #c3325f !default;
|
31
31
|
$purple: #7a43b6 !default;
|
32
32
|
|
33
|
-
|
34
|
-
// Scaffolding
|
35
|
-
// -------------------------
|
36
|
-
$bodyBackground: $white !default;
|
37
|
-
$textColor: $grayDark !default;
|
38
|
-
|
39
|
-
|
40
|
-
// Links
|
41
|
-
// -------------------------
|
42
|
-
$linkColor: #08c !default;
|
43
|
-
$linkColorHover: darken($linkColor, 15%) !default;
|
44
|
-
|
45
|
-
|
46
33
|
// Typography
|
47
|
-
// -------------------------
|
48
|
-
$sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
49
|
-
$serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
|
50
|
-
$monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
51
|
-
|
52
34
|
$baseFontSize: 13px !default;
|
53
|
-
$baseFontFamily:
|
35
|
+
$baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
54
36
|
$baseLineHeight: 18px !default;
|
55
|
-
$
|
56
|
-
|
57
|
-
$headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
|
58
|
-
$headingsFontWeight: bold !default; // instead of browser default, bold
|
59
|
-
$headingsColor: inherit !default; // empty to use BS default, $textColor
|
60
|
-
|
61
|
-
|
62
|
-
// Tables
|
63
|
-
// -------------------------
|
64
|
-
$tableBackground: transparent !default; // overall background-color
|
65
|
-
$tableBackgroundAccent: #f9f9f9 !default; // for striping
|
66
|
-
$tableBackgroundHover: #f5f5f5 !default; // for hover
|
67
|
-
$tableBorder: #ddd !default; // table and cell border
|
68
|
-
|
37
|
+
$textColor: $grayDark !default;
|
69
38
|
|
70
39
|
// Buttons
|
71
|
-
|
72
|
-
$btnBackground: $white !default;
|
73
|
-
$btnBackgroundHighlight: darken($white, 10%) !default;
|
74
|
-
$btnBorder: #ccc !default;
|
75
|
-
|
76
|
-
$btnPrimaryBackground: $linkColor !default;
|
77
|
-
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%) !default;
|
78
|
-
|
79
|
-
$btnInfoBackground: #5bc0de !default;
|
80
|
-
$btnInfoBackgroundHighlight: #2f96b4 !default;
|
81
|
-
|
82
|
-
$btnSuccessBackground: #62c462 !default;
|
83
|
-
$btnSuccessBackgroundHighlight: #51a351 !default;
|
84
|
-
|
85
|
-
$btnWarningBackground: lighten($orange, 15%) !default;
|
86
|
-
$btnWarningBackgroundHighlight: $orange !default;
|
87
|
-
|
88
|
-
$btnDangerBackground: #ee5f5b !default;
|
89
|
-
$btnDangerBackgroundHighlight: #bd362f !default;
|
90
|
-
|
91
|
-
$btnInverseBackground: $gray !default;
|
92
|
-
$btnInverseBackgroundHighlight: $grayDarker !default;
|
93
|
-
|
94
|
-
|
95
|
-
// Forms
|
96
|
-
// -------------------------
|
97
|
-
$inputBackground: $white !default;
|
98
|
-
$inputBorder: #ccc !default;
|
99
|
-
$inputBorderRadius: 3px !default;
|
100
|
-
$inputDisabledBackground: $grayLighter !default;
|
101
|
-
$formActionsBackground: #f5f5f5 !default;
|
102
|
-
|
103
|
-
// Dropdowns
|
104
|
-
// -------------------------
|
105
|
-
$dropdownBackground: $white !default;
|
106
|
-
$dropdownBorder: rgba(0,0,0,.2) !default;
|
107
|
-
$dropdownLinkColor: $grayDark !default;
|
108
|
-
$dropdownLinkColorHover: $white !default;
|
109
|
-
$dropdownLinkBackgroundHover: $linkColor !default;
|
40
|
+
$primaryButtonBackground: $linkColor !default;
|
110
41
|
|
111
42
|
|
112
43
|
|
@@ -114,62 +45,36 @@ $dropdownLinkBackgroundHover: $linkColor !default;
|
|
114
45
|
// --------------------------------------------------
|
115
46
|
|
116
47
|
// Z-index master list
|
117
|
-
// -------------------------
|
118
48
|
// Used for a bird's eye view of components dependent on the z-axis
|
119
49
|
// Try to avoid customizing these :)
|
120
|
-
$zindexDropdown:
|
121
|
-
$zindexPopover:
|
122
|
-
$zindexTooltip:
|
123
|
-
$zindexFixedNavbar:
|
124
|
-
$zindexModalBackdrop:
|
125
|
-
$zindexModal:
|
126
|
-
|
50
|
+
$zindexDropdown: 1000 !default;
|
51
|
+
$zindexPopover: 1010 !default;
|
52
|
+
$zindexTooltip: 1020 !default;
|
53
|
+
$zindexFixedNavbar: 1030 !default;
|
54
|
+
$zindexModalBackdrop: 1040 !default;
|
55
|
+
$zindexModal: 1050 !default;
|
127
56
|
|
128
57
|
// Sprite icons path
|
129
|
-
|
130
|
-
$
|
131
|
-
$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
|
132
|
-
|
58
|
+
$iconSpritePath: "../img/glyphicons-halflings.png";
|
59
|
+
$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
133
60
|
|
134
61
|
// Input placeholder text color
|
135
|
-
|
136
|
-
$placeholderText: $grayLight !default;
|
137
|
-
|
62
|
+
$placeholderText: $grayLight !default;
|
138
63
|
|
139
64
|
// Hr border color
|
140
|
-
|
141
|
-
$hrBorder: $grayLighter !default;
|
142
|
-
|
65
|
+
$hrBorder: $grayLighter !default;
|
143
66
|
|
144
67
|
// Navbar
|
145
|
-
// -------------------------
|
146
68
|
$navbarHeight: 40px !default;
|
147
69
|
$navbarBackground: $grayDarker !default;
|
148
70
|
$navbarBackgroundHighlight: $grayDark !default;
|
71
|
+
$navbarLinkBackgroundHover: transparent !default;
|
149
72
|
|
150
73
|
$navbarText: $grayLight !default;
|
151
74
|
$navbarLinkColor: $grayLight !default;
|
152
75
|
$navbarLinkColorHover: $white !default;
|
153
|
-
$navbarLinkColorActive: $navbarLinkColorHover !default;
|
154
|
-
$navbarLinkBackgroundHover: transparent !default;
|
155
|
-
$navbarLinkBackgroundActive: $navbarBackground !default;
|
156
|
-
|
157
|
-
$navbarSearchBackground: lighten($navbarBackground, 25%) !default;
|
158
|
-
$navbarSearchBackgroundFocus: $white !default;
|
159
|
-
$navbarSearchBorder: darken($navbarSearchBackground, 30%) !default;
|
160
|
-
$navbarSearchPlaceholderColor: #ccc !default;
|
161
|
-
$navbarBrandColor: $navbarLinkColor !default;
|
162
|
-
|
163
|
-
|
164
|
-
// Hero unit
|
165
|
-
// -------------------------
|
166
|
-
$heroUnitBackground: $grayLighter !default;
|
167
|
-
$heroUnitHeadingColor: inherit !default;
|
168
|
-
$heroUnitLeadColor: inherit !default;
|
169
|
-
|
170
76
|
|
171
77
|
// Form states and alerts
|
172
|
-
// -------------------------
|
173
78
|
$warningText: #c09853 !default;
|
174
79
|
$warningBackground: #fcf8e3 !default;
|
175
80
|
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
|
@@ -192,13 +97,11 @@ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
|
192
97
|
// --------------------------------------------------
|
193
98
|
|
194
99
|
// Default 940px grid
|
195
|
-
// -------------------------
|
196
100
|
$gridColumns: 12 !default;
|
197
101
|
$gridColumnWidth: 60px !default;
|
198
102
|
$gridGutterWidth: 20px !default;
|
199
|
-
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1))
|
103
|
+
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
|
200
104
|
|
201
105
|
// Fluid grid
|
202
|
-
// -------------------------
|
203
106
|
$fluidGridColumnWidth: 6.382978723% !default;
|
204
107
|
$fluidGridGutterWidth: 2.127659574% !default;
|
@@ -1,11 +1,15 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v2.0.
|
2
|
+
* Bootstrap v2.0.1
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
6
6
|
* http://www.apache.org/licenses/LICENSE-2.0
|
7
7
|
*
|
8
8
|
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
*
|
10
|
+
* Converted to Sass by @johnwlong / @m5o.
|
11
|
+
*
|
12
|
+
* Date: @DATE
|
9
13
|
*/
|
10
14
|
|
11
15
|
// Core variables and mixins
|
@@ -36,7 +40,7 @@
|
|
36
40
|
// Components: Buttons & Alerts
|
37
41
|
@import "buttons";
|
38
42
|
@import "button-groups";
|
39
|
-
@import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons
|
43
|
+
@import "alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons.scss
|
40
44
|
|
41
45
|
// Components: Nav
|
42
46
|
@import "navs";
|
@@ -52,7 +56,7 @@
|
|
52
56
|
|
53
57
|
// Components: Misc
|
54
58
|
@import "thumbnails";
|
55
|
-
@import "labels
|
59
|
+
@import "labels";
|
56
60
|
@import "progress-bars";
|
57
61
|
@import "accordion";
|
58
62
|
@import "carousel";
|
@@ -1,15 +1,18 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Responsive v2.0.
|
2
|
+
* Bootstrap Responsive v2.0.1
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
6
6
|
* http://www.apache.org/licenses/LICENSE-2.0
|
7
7
|
*
|
8
8
|
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
*
|
10
|
+
* Converted to Sass by @johnwlong / @m5o.
|
11
|
+
*
|
12
|
+
* Date: @DATE
|
9
13
|
*/
|
10
14
|
|
11
|
-
|
12
|
-
// Responsive
|
15
|
+
// Responsive.scss
|
13
16
|
// For phone and tablet devices
|
14
17
|
// -------------------------------------------------------------
|
15
18
|
|
@@ -21,28 +24,311 @@
|
|
21
24
|
@import "variables"; // Modify this for custom colors, font-sizes, etc
|
22
25
|
@import "mixins";
|
23
26
|
|
27
|
+
.clearfix {
|
28
|
+
@include clearfix();
|
29
|
+
}
|
24
30
|
|
25
31
|
// RESPONSIVE CLASSES
|
26
32
|
// ------------------
|
27
33
|
|
28
|
-
|
34
|
+
// Hide from screenreaders and browsers
|
35
|
+
// Credit: HTML5 Boilerplate
|
36
|
+
.hidden {
|
37
|
+
display: none;
|
38
|
+
visibility: hidden;
|
39
|
+
}
|
29
40
|
|
30
41
|
|
31
|
-
// MEDIA QUERIES
|
32
|
-
// ------------------
|
33
42
|
|
34
|
-
//
|
35
|
-
|
43
|
+
// UP TO LANDSCAPE PHONE
|
44
|
+
// ---------------------
|
45
|
+
|
46
|
+
@media (max-width: 480px) {
|
47
|
+
|
48
|
+
// Smooth out the collapsing/expanding nav
|
49
|
+
.nav-collapse {
|
50
|
+
-webkit-transform: translate3d(0, 0, 0); // activate the GPU
|
51
|
+
}
|
52
|
+
|
53
|
+
// Block level the page header small tag for readability
|
54
|
+
.page-header h1 small {
|
55
|
+
display: block;
|
56
|
+
line-height: $baseLineHeight;
|
57
|
+
}
|
58
|
+
|
59
|
+
// Make span* classes full width
|
60
|
+
input[class*="span"],
|
61
|
+
select[class*="span"],
|
62
|
+
textarea[class*="span"],
|
63
|
+
.uneditable-input {
|
64
|
+
display: block;
|
65
|
+
width: 100%;
|
66
|
+
min-height: 28px; /* Make inputs at least the height of their button counterpart */
|
67
|
+
/* Makes inputs behave like true block-level elements */
|
68
|
+
-webkit-box-sizing: border-box; /* Older Webkit */
|
69
|
+
-moz-box-sizing: border-box; /* Older FF */
|
70
|
+
-ms-box-sizing: border-box; /* IE8 */
|
71
|
+
box-sizing: border-box; /* CSS3 spec*/
|
72
|
+
}
|
73
|
+
// But don't let it screw up prepend/append inputs
|
74
|
+
.input-prepend input[class*="span"],
|
75
|
+
.input-append input[class*="span"] {
|
76
|
+
width: auto;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Update checkboxes for iOS
|
80
|
+
input[type="checkbox"],
|
81
|
+
input[type="radio"] {
|
82
|
+
border: 1px solid #ccc;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Remove the horizontal form styles
|
86
|
+
.form-horizontal .control-group > label {
|
87
|
+
float: none;
|
88
|
+
width: auto;
|
89
|
+
padding-top: 0;
|
90
|
+
text-align: left;
|
91
|
+
}
|
92
|
+
// Move over all input controls and content
|
93
|
+
.form-horizontal .controls {
|
94
|
+
margin-left: 0;
|
95
|
+
}
|
96
|
+
// Move the options list down to align with labels
|
97
|
+
.form-horizontal .control-list {
|
98
|
+
padding-top: 0; // has to be padding because margin collaspes
|
99
|
+
}
|
100
|
+
// Move over buttons in .form-actions to align with .controls
|
101
|
+
.form-horizontal .form-actions {
|
102
|
+
padding-left: 10px;
|
103
|
+
padding-right: 10px;
|
104
|
+
}
|
105
|
+
|
106
|
+
// Modals
|
107
|
+
.modal {
|
108
|
+
position: absolute;
|
109
|
+
top: 10px;
|
110
|
+
left: 10px;
|
111
|
+
right: 10px;
|
112
|
+
width: auto;
|
113
|
+
margin: 0;
|
114
|
+
&.fade.in { top: auto; }
|
115
|
+
}
|
116
|
+
.modal-header .close {
|
117
|
+
padding: 10px;
|
118
|
+
margin: -10px;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Carousel
|
122
|
+
.carousel-caption {
|
123
|
+
position: static;
|
124
|
+
}
|
125
|
+
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
131
|
+
// --------------------------------------------------
|
132
|
+
|
133
|
+
@media (max-width: 767px) {
|
134
|
+
// GRID & CONTAINERS
|
135
|
+
// -----------------
|
136
|
+
// Remove width from containers
|
137
|
+
.container {
|
138
|
+
width: auto;
|
139
|
+
padding: 0 20px;
|
140
|
+
}
|
141
|
+
// Fluid rows
|
142
|
+
.row-fluid {
|
143
|
+
width: 100%;
|
144
|
+
}
|
145
|
+
// Undo negative margin on rows
|
146
|
+
.row {
|
147
|
+
margin-left: 0;
|
148
|
+
}
|
149
|
+
// Make all columns even
|
150
|
+
.row > [class*="span"],
|
151
|
+
.row-fluid > [class*="span"] {
|
152
|
+
float: none;
|
153
|
+
display: block;
|
154
|
+
width: auto;
|
155
|
+
margin: 0;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
|
36
160
|
|
37
|
-
//
|
38
|
-
|
161
|
+
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
162
|
+
// ----------------------------------
|
39
163
|
|
40
|
-
|
41
|
-
@import "responsive-1200px-min";
|
164
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
42
165
|
|
166
|
+
// Fixed grid
|
167
|
+
@include gridSystem-generate(12, 42px, 20px);
|
43
168
|
|
44
|
-
//
|
169
|
+
// Fluid grid
|
170
|
+
@include fluidGridSystem-generate(12, 5.801104972%, 2.762430939%);
|
171
|
+
|
172
|
+
// Input grid
|
173
|
+
@include inputGridSystem-generate(12, 42px, 20px);
|
174
|
+
|
175
|
+
}
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
// TABLETS AND BELOW
|
180
|
+
// -----------------
|
181
|
+
@media (max-width: 979px) {
|
182
|
+
|
183
|
+
// UNFIX THE TOPBAR
|
184
|
+
// ----------------
|
185
|
+
// Remove any padding from the body
|
186
|
+
body {
|
187
|
+
padding-top: 0;
|
188
|
+
}
|
189
|
+
// Unfix the navbar
|
190
|
+
.navbar-fixed-top {
|
191
|
+
position: static;
|
192
|
+
margin-bottom: $baseLineHeight;
|
193
|
+
}
|
194
|
+
.navbar-fixed-top .navbar-inner {
|
195
|
+
padding: 5px;
|
196
|
+
}
|
197
|
+
.navbar .container {
|
198
|
+
width: auto;
|
199
|
+
padding: 0;
|
200
|
+
}
|
201
|
+
// Account for brand name
|
202
|
+
.navbar .brand {
|
203
|
+
padding-left: 10px;
|
204
|
+
padding-right: 10px;
|
205
|
+
margin: 0 0 0 -5px;
|
206
|
+
}
|
207
|
+
// Nav collapse clears brand
|
208
|
+
.navbar .nav-collapse {
|
209
|
+
clear: left;
|
210
|
+
}
|
211
|
+
// Block-level the nav
|
212
|
+
.navbar .nav {
|
213
|
+
float: none;
|
214
|
+
margin: 0 0 ($baseLineHeight / 2);
|
215
|
+
}
|
216
|
+
.navbar .nav > li {
|
217
|
+
float: none;
|
218
|
+
}
|
219
|
+
.navbar .nav > li > a {
|
220
|
+
margin-bottom: 2px;
|
221
|
+
}
|
222
|
+
.navbar .nav > .divider-vertical {
|
223
|
+
display: none;
|
224
|
+
}
|
225
|
+
.navbar .nav .nav-header {
|
226
|
+
color: $navbarText;
|
227
|
+
text-shadow: none;
|
228
|
+
}
|
229
|
+
// Nav and dropdown links in navbar
|
230
|
+
.navbar .nav > li > a,
|
231
|
+
.navbar .dropdown-menu a {
|
232
|
+
padding: 6px 15px;
|
233
|
+
font-weight: bold;
|
234
|
+
color: $navbarLinkColor;
|
235
|
+
@include border-radius(3px);
|
236
|
+
}
|
237
|
+
.navbar .dropdown-menu li + li a {
|
238
|
+
margin-bottom: 2px;
|
239
|
+
}
|
240
|
+
.navbar .nav > li > a:hover,
|
241
|
+
.navbar .dropdown-menu a:hover {
|
242
|
+
background-color: $navbarBackground;
|
243
|
+
}
|
244
|
+
// Dropdowns in the navbar
|
245
|
+
.navbar .dropdown-menu {
|
246
|
+
position: static;
|
247
|
+
top: auto;
|
248
|
+
left: auto;
|
249
|
+
float: none;
|
250
|
+
display: block;
|
251
|
+
max-width: none;
|
252
|
+
margin: 0 15px;
|
253
|
+
padding: 0;
|
254
|
+
background-color: transparent;
|
255
|
+
border: none;
|
256
|
+
@include border-radius(0);
|
257
|
+
@include box-shadow(none);
|
258
|
+
}
|
259
|
+
.navbar .dropdown-menu:before,
|
260
|
+
.navbar .dropdown-menu:after {
|
261
|
+
display: none;
|
262
|
+
}
|
263
|
+
.navbar .dropdown-menu .divider {
|
264
|
+
display: none;
|
265
|
+
}
|
266
|
+
// Forms in navbar
|
267
|
+
.navbar-form,
|
268
|
+
.navbar-search {
|
269
|
+
float: none;
|
270
|
+
padding: ($baseLineHeight / 2) 15px;
|
271
|
+
margin: ($baseLineHeight / 2) 0;
|
272
|
+
border-top: 1px solid $navbarBackground;
|
273
|
+
border-bottom: 1px solid $navbarBackground;
|
274
|
+
$shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
|
275
|
+
@include box-shadow($shadow);
|
276
|
+
}
|
277
|
+
// Pull right (secondary) nav content
|
278
|
+
.navbar .nav.pull-right {
|
279
|
+
float: none;
|
280
|
+
margin-left: 0;
|
281
|
+
}
|
282
|
+
// Static navbar
|
283
|
+
.navbar-static .navbar-inner {
|
284
|
+
padding-left: 10px;
|
285
|
+
padding-right: 10px;
|
286
|
+
}
|
287
|
+
// Navbar button
|
288
|
+
.btn-navbar {
|
289
|
+
display: block;
|
290
|
+
}
|
291
|
+
|
292
|
+
// Hide everything in the navbar save .brand and toggle button */
|
293
|
+
.nav-collapse {
|
294
|
+
overflow: hidden;
|
295
|
+
height: 0;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
// DEFAULT DESKTOP
|
302
|
+
// ---------------
|
303
|
+
|
304
|
+
@media (min-width: 980px) {
|
305
|
+
.nav-collapse.collapse {
|
306
|
+
height: auto !important;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
// LARGE DESKTOP & UP
|
45
313
|
// ------------------
|
46
314
|
|
47
|
-
|
48
|
-
|
315
|
+
@media (min-width: 1200px) {
|
316
|
+
|
317
|
+
// Fixed grid
|
318
|
+
@include gridSystem-generate(12, 70px, 30px);
|
319
|
+
|
320
|
+
// Fluid grid
|
321
|
+
@include fluidGridSystem-generate(12, 5.982905983%, 2.564102564%);
|
322
|
+
|
323
|
+
// Input grid
|
324
|
+
@include inputGridSystem-generate(12, 70px, 30px);
|
325
|
+
|
326
|
+
// Thumbnails
|
327
|
+
.thumbnails {
|
328
|
+
margin-left: -30px;
|
329
|
+
}
|
330
|
+
.thumbnails > li {
|
331
|
+
margin-left: 30px;
|
332
|
+
}
|
333
|
+
|
334
|
+
}
|