bootswatch-rails 0.5.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +6 -14
  2. data/CONTRIBUTING.md +52 -0
  3. data/CONVERSION.md +6 -8
  4. data/HISTORY.md +9 -1
  5. data/README.md +6 -1
  6. data/Rakefile +3 -0
  7. data/lib/bootswatch-rails/version.rb +1 -1
  8. data/rearranges +12 -10
  9. data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +109 -718
  10. data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +743 -217
  11. data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +78 -133
  12. data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +745 -217
  13. data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +113 -552
  14. data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +745 -217
  15. data/vendor/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
  16. data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +620 -0
  17. data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +105 -525
  18. data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +745 -217
  19. data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +273 -0
  20. data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +829 -0
  21. data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +183 -452
  22. data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +747 -218
  23. data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +77 -295
  24. data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +745 -217
  25. data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +408 -0
  26. data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +827 -0
  27. data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +149 -37
  28. data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +745 -217
  29. data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +84 -413
  30. data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +745 -217
  31. data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +251 -481
  32. data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +749 -217
  33. data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +87 -231
  34. data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +745 -216
  35. data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +168 -569
  36. data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +746 -217
  37. data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +21 -110
  38. data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +745 -217
  39. data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +418 -0
  40. data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +827 -0
  41. metadata +17 -9
  42. data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +0 -650
  43. data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +0 -301
@@ -1,279 +1,135 @@
1
- // Spacelab 2.3.2
1
+ // Spacelab 3.1.1
2
2
  // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
+ @import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
5
6
 
6
- // TYPOGRAPHY
7
- // -----------------------------------------------------
8
-
9
- @import url('//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
10
-
11
- // SCAFFOLDING
12
- // -----------------------------------------------------
13
-
14
- // NAVBAR
15
- // -----------------------------------------------------
16
-
17
- .navbar {
18
-
19
- .brand {
20
-
21
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
22
- @include transition(color ease-in-out .2s);
23
-
24
- &:hover {
25
- color: $navbarLinkColorHover;
26
- @include transition(color ease-in-out .2s);
27
- }
28
- }
29
-
30
- .nav > li > a {
31
- padding: 11px 10px 8px;
32
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
33
- @include transition(color ease-in-out .2s);
34
-
35
- &:hover {
36
- @include transition(color ease-in-out .2s);
37
- }
38
- }
39
-
40
- .navbar-text {
41
- padding: 11px 10px 8px;
42
- line-height: inherit;
43
- }
44
-
45
- .navbar-search .search-query,
46
- .navbar-search .search-query:hover {
47
- margin-bottom: 0;
48
- line-height: normal;
49
- color: $grayLight;
50
- @include placeholder($grayLight);
51
- @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.5));
52
-
53
- &:focus,
54
- &.focused {
55
- @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.5));
56
- color: $textColor;
57
- }
58
- }
59
-
60
- .navbar-inverse {
61
-
62
- .brand {
63
- text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
64
-
65
- &:hover {
66
- color: $white;
67
- }
68
- }
69
-
70
- .nav > li > a {
71
- text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
72
- }
73
-
74
- .nav li.dropdown.open > .dropdown-toggle .caret,
75
- .nav li.dropdown:hover > .dropdown-toggle .caret,
76
- .nav li.dropdown.open:hover > .dropdown-toggle .caret {
77
- border-top-color: $white;
78
- }
79
-
80
- .navbar-search .search-query,
81
- .navbar-search .search-query:hover {
82
-
83
- color: $white;
84
-
85
- @include placeholder($grayLighter);
86
- }
87
- }
7
+ @mixin btn-shadow($color) {
8
+ @include gradient-vertical-three-colors(lighten($color, 15%), $color, 50%, darken($color, 4%));
9
+ filter: none;
10
+ border: 1px solid darken($color, 10%);
88
11
  }
89
12
 
90
- @media (max-width: $navbarCollapseWidth) {
91
-
92
- .navbar .nav-collapse {
13
+ // Navbar =====================================================================
93
14
 
94
- .nav li > a:hover {
95
- background-color: $linkColor;
96
- color: $white;
97
- text-shadow: none;
98
- }
99
-
100
- .navbar-search {
101
- border-top: none;
102
- border-bottom: none;
103
- }
104
- }
15
+ .navbar {
105
16
 
106
- .navbar-inverse .nav-collapse {
17
+ @include btn-shadow($navbar-default-bg);
18
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
107
19
 
108
- .nav li > a {
109
- color: $grayLight !important;
20
+ .badge {
21
+ text-shadow: none;
22
+ }
110
23
 
111
- &:hover {
112
- background-color: $linkColor !important;
113
- }
114
- }
24
+ .caret,
25
+ .caret:hover {
26
+ @include transition(border-color ease-in-out .2s);
27
+ }
115
28
 
116
- .nav-header {
117
- color: $grayLighter;
118
- }
119
- }
29
+ .dropdown-menu {
30
+ text-shadow: none;
31
+ }
120
32
  }
121
33
 
122
- div.subnav {
123
-
124
- .nav > li > a {
125
-
126
- color: $navbarLinkColor;
127
- @include transition(color ease-in-out .2s);
128
-
129
- &:hover {
130
- border-left-color: $grayLight;
131
- color: $navbarLinkColorHover;
132
- @include transition(color ease-in-out .2s);
133
- }
134
- }
135
-
136
- .nav > li.active > a {
137
-
138
- color: $textColor;
139
-
140
- &:hover {
141
- color: $textColor;
142
- }
143
- }
144
-
145
- .nav > li.dropdown > .dropdown-toggle {
146
- background-color: transparent;
147
- }
148
-
149
- .nav > li.dropdown.open > .dropdown-toggle {
34
+ .navbar-inverse {
35
+ @include btn-shadow($navbar-inverse-bg);
36
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
150
37
 
151
- border-left: 1px solid whiteSmoke;
152
- border-right: 1px solid #E5E5E5;
153
- color: $textColor;
154
-
155
- &:hover {
156
- color: $linkColor;
157
- }
158
- }
159
-
160
- div.subnav-fixed {
161
- top: $navbarHeight + 1;
162
- }
38
+ .badge {
39
+ background-color: #fff;
40
+ color: $navbar-inverse-bg;
41
+ }
163
42
  }
164
43
 
165
- // NAV
166
- // -----------------------------------------------------
167
-
168
- .nav > li > a:hover,
169
- .nav > li > a:focus {
170
- background-color: rgba(0, 0, 0, 0.05);
44
+ .navbar-nav > li > a,
45
+ .navbar-nav > li > a:hover {
46
+ padding-top: $navbar-padding-vertical + 2px;
47
+ padding-bottom: $navbar-padding-vertical - 2px;
48
+ @include transition(color ease-in-out .2s);
171
49
  }
172
50
 
173
- .nav > li.dropdown > .dropdown-toggle,
174
- .nav > li.dropdown.active > .dropdown-toggle,
175
- .nav > li.dropdown.open > .dropdown-toggle,
176
- .nav > li.dropdown.open.active > .dropdown-toggle {
177
-
178
- .caret {
179
- border-top: 4px solid $textColor;
180
- border-top-color: $textColor;
181
- opacity: 1;
182
- }
183
-
184
- &:hover .caret {
185
- border-top: 4px solid $linkColorHover;
186
- border-top-color: $linkColorHover;
187
- }
51
+ .navbar-brand,
52
+ .navbar-brand:hover {
53
+ @include transition(color ease-in-out .2s);
188
54
  }
189
55
 
190
- .nav-list .divider {
191
- background-color: $dropdownDividerTop;
192
- border-bottom-color: $dropdownDividerBottom;
193
- }
194
56
 
195
- // BUTTONS
196
- // -----------------------------------------------------
57
+ // Buttons ====================================================================
197
58
 
198
- // TABLES
199
- // -----------------------------------------------------
59
+ .btn {
60
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
200
61
 
201
- .table {
62
+ &:active,
63
+ &.active {
64
+ background-image: none;
65
+ @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
66
+ }
67
+ }
202
68
 
203
- tbody tr.success > td,
204
- tbody tr.error > td,
205
- tbody tr.info > td {
206
- color: $white;
207
- }
69
+ .btn-default {
70
+ @include btn-shadow($btn-default-bg);
208
71
 
72
+ &:hover {
73
+ @include btn-shadow(darken($btn-default-bg, 4%));
74
+ }
209
75
  }
210
76
 
211
- // FORMS
212
- // -----------------------------------------------------
77
+ .btn-primary {
78
+ @include btn-shadow($btn-primary-bg);
213
79
 
214
- .control-group.warning {
215
- @include formFieldState(#E29235, #E29235, $warningBackground);
80
+ &:hover {
81
+ @include btn-shadow(darken($btn-primary-bg, 4%));
82
+ }
216
83
  }
217
84
 
218
- .control-group.error {
219
- @include formFieldState(#C00, #C00, $errorBackground);
220
- }
85
+ .btn-success {
86
+ @include btn-shadow($btn-success-bg);
221
87
 
222
- .control-group.success {
223
- @include formFieldState(#2BA949, #2BA949, $successBackground);
88
+ &:hover {
89
+ @include btn-shadow(darken($btn-success-bg, 4%));
90
+ }
224
91
  }
225
92
 
226
- .control-group.info {
227
- @include formFieldState($blue, $blue, $infoBackground);
93
+ .btn-info {
94
+ @include btn-shadow($btn-info-bg);
95
+
96
+ &:hover {
97
+ @include btn-shadow(darken($btn-info-bg, 4%));
98
+ }
228
99
  }
229
100
 
230
- // DROPDOWNS
231
- // -----------------------------------------------------
101
+ .btn-warning {
102
+ @include btn-shadow($btn-warning-bg);
232
103
 
233
- // ALERTS, LABELS, BADGES
234
- // -----------------------------------------------------
104
+ &:hover {
105
+ @include btn-shadow(darken($btn-warning-bg, 4%));
106
+ }
107
+ }
235
108
 
236
- .alert {
237
-
238
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
109
+ .btn-danger {
110
+ @include btn-shadow($btn-danger-bg);
239
111
 
240
- h1, h2, h3, h4, h5, h6 {
241
- color: $white;
242
- font-weight: bold;
243
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
244
- }
112
+ &:hover {
113
+ @include btn-shadow(darken($btn-danger-bg, 4%));
114
+ }
245
115
  }
246
116
 
247
- .label, .badge {
117
+ // Typography =================================================================
248
118
 
249
- .label,-important {
250
- background-color: $red;
251
- }
119
+ // Tables =====================================================================
252
120
 
253
- .label,-warning {
254
- background-color: $orange;
255
- }
121
+ // Forms ======================================================================
256
122
 
257
- .label,-success {
258
- background-color: $green;
259
- }
123
+ // Navs =======================================================================
260
124
 
261
- .label,-info {
262
- background-color: $blue;
263
- }
264
- }
125
+ // Indicators =================================================================
265
126
 
266
- // MISC
267
- // -----------------------------------------------------
127
+ // Progress bars ==============================================================
268
128
 
269
- .well {
270
- // .box-shadow(inset 1px 1px 0 rgba(0,0,0,.1));
271
- }
129
+ // Containers =================================================================
272
130
 
273
- .hero-unit {
274
- // .box-shadow(inset 1px 1px 0 rgba(0,0,0,.1));
275
- border: 1px solid rgba(0,0,0,.1);
131
+ .panel-primary {
132
+ .panel-title {
133
+ color: #fff;
134
+ }
276
135
  }
277
-
278
- // MEDIA QUERIES
279
- // -----------------------------------------------------
@@ -1,300 +1,829 @@
1
- // Spacelab 2.3.2
1
+ // Spacelab 3.1.1
2
2
  // Variables
3
3
  // --------------------------------------------------
4
4
 
5
5
 
6
- // Global values
7
- // --------------------------------------------------
6
+ //== Colors
7
+ //
8
+ //## Gray and brand colors for use across Bootstrap.
8
9
 
10
+ $gray-darker: #2d2d2d !default; // #222
11
+ $gray-dark: lighten(#000, 20%) !default; // #333
12
+ $gray: #666 !default; // #555
13
+ $gray-light: lighten(#000, 60%) !default; // #999
14
+ $gray-lighter: lighten(#000, 93.5%) !default; // #eee
15
+
16
+ $brand-primary: #446E9B !default;
17
+ $brand-success: #3CB521 !default;
18
+ $brand-info: #3399F3 !default;
19
+ $brand-warning: #D47500 !default;
20
+ $brand-danger: #CD0200 !default;
9
21
 
10
- // Grays
11
- // -------------------------
12
- $black: #000 !default;
13
- $grayDarker: #2D2D2D !default;
14
- $grayDark: #434848 !default;
15
- $gray: #666 !default;
16
- $grayLight: #ccc !default;
17
- $grayLighter: #eee !default;
18
- $white: #fff !default;
19
22
 
23
+ //== Scaffolding
24
+ //
25
+ // ## Settings for some of the most global styles.
20
26
 
21
- // Accent colors
22
- // -------------------------
23
- $blue: #3399F3 !default;
24
- $blueDark: #405A6A !default;
25
- $green: #3CB521 !default;
26
- $red: #CD0200 !default;
27
- $yellow: #F4CA00 !default;
28
- $orange: #D47500 !default;
29
- $pink: #F44B8C !default;
30
- $purple: #405A6A !default;
27
+ //** Background color for `<body>`.
28
+ $body-bg: #fff !default;
29
+ //** Global text color on `<body>`.
30
+ $text-color: $gray !default;
31
31
 
32
+ //** Global textual link color.
33
+ $link-color: $brand-info !default;
34
+ //** Link hover color set via `darken()` function.
35
+ $link-hover-color: $link-color !default;
32
36
 
33
- // Scaffolding
34
- // -------------------------
35
- $bodyBackground: $white !default;
36
- $textColor: $gray !default;
37
37
 
38
+ //== Typography
39
+ //
40
+ //## Font, line-height, and color for body text, headings, and more.
38
41
 
39
- // Links
40
- // -------------------------
41
- $linkColor: #09d !default;
42
- $linkColorHover: $linkColor !default;
42
+ $font-family-sans-serif: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
43
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
44
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
45
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
46
+ $font-family-base: $font-family-sans-serif !default;
43
47
 
48
+ $font-size-base: 14px !default;
49
+ $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
50
+ $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
44
51
 
45
- // Typography
46
- // -------------------------
47
- $sansFontFamily: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
48
- $serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
49
- $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
52
+ $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
53
+ $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
54
+ $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
55
+ $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
56
+ $font-size-h5: $font-size-base !default;
57
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
50
58
 
51
- $baseFontSize: 15px !default;
52
- $baseFontFamily: $sansFontFamily !default;
53
- $baseLineHeight: 21px !default;
54
- $altFontFamily: $serifFontFamily !default;
59
+ //** Unit-less `line-height` for use in components like buttons.
60
+ $line-height-base: 1.428571429 !default; // 20/14
61
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
62
+ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
55
63
 
56
- $headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: normal !default; // instead of browser default, bold
58
- $headingsColor: $grayDarker !default; // empty to use BS default, $textColor
64
+ //** By default, this inherits from the `<body>`.
65
+ $headings-font-family: $font-family-base !default;
66
+ $headings-font-weight: 500 !default;
67
+ $headings-line-height: 1.1 !default;
68
+ $headings-color: $gray-darker !default;
59
69
 
60
70
 
61
- // Component sizing
62
- // -------------------------
63
- // Based on 14px font-size and 20px line-height
71
+ //== Type
72
+ //
73
+ //##
64
74
 
65
- $fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
66
- $fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
67
- $fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
75
+ //** Text muted color
76
+ $text-muted: $gray-light !default;
77
+ //** Abbreviations and acronyms border color
78
+ $abbr-border-color: $gray-light !default;
79
+ //** Headings small color
80
+ $headings-small-color: $gray-light !default;
81
+ //** Blockquote small color
82
+ $blockquote-small-color: $gray-light !default;
83
+ //** Blockquote font size
84
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
85
+ //** Blockquote border color
86
+ $blockquote-border-color: $gray-lighter !default;
87
+ //** Page header border color
88
+ $page-header-border-color: $gray-lighter !default;
68
89
 
69
- $paddingLarge: 11px 19px !default; // 44px
70
- $paddingSmall: 2px 10px !default; // 26px
71
- $paddingMini: 0px 6px !default; // 22px
72
90
 
73
- $baseBorderRadius: 4px !default;
74
- $borderRadiusLarge: 6px !default;
75
- $borderRadiusSmall: 3px !default;
91
+ //== Miscellaneous
92
+ //
93
+ //##
76
94
 
95
+ //** Horizontal line color.
96
+ $hr-border: $gray-lighter !default;
77
97
 
78
- // Tables
79
- // -------------------------
80
- $tableBackground: transparent !default; // overall background-color
81
- $tableBackgroundAccent: #f9f9f9 !default; // for striping
82
- $tableBackgroundHover: #f5f5f5 !default; // for hover
83
- $tableBorder: #ddd !default; // table and cell border
98
+ //** Horizontal offset for forms and lists.
99
+ $component-offset-horizontal: 180px !default;
84
100
 
85
- // Forms
86
- // -------------------------
87
- $inputBackground: $white !default;
88
- $inputBorder: #ccc !default;
89
- $inputBorderRadius: $baseBorderRadius !default;
90
- $inputDisabledBackground: $grayLighter !default;
91
- $formActionsBackground: #f5f5f5 !default;
92
- $inputHeight: $baseLineHeight + 10px !default; // base line-height + 8px vertical padding + 2px top/bottom border
93
101
 
102
+ //-- Iconography
103
+ //
104
+ //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
94
105
 
95
- // Dropdowns
96
- // -------------------------
97
- $dropdownBackground: $white !default;
98
- $dropdownBorder: rgba(0,0,0,.2) !default;
99
- $dropdownDividerTop: rgba(0, 0, 0, 0.1) !default;
100
- $dropdownDividerBottom: rgba(255, 255, 255, 0.5) !default;
106
+ $icon-font-path: "../fonts/" !default;
107
+ $icon-font-name: "glyphicons-halflings-regular" !default;
108
+ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
101
109
 
102
- $dropdownLinkColor: $textColor !default;
103
- $dropdownLinkColorHover: $white !default;
104
- $dropdownLinkColorActive: $white !default;
110
+ //== Components
111
+ //
112
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
105
113
 
106
- $dropdownLinkBackgroundActive: $linkColor !default;
107
- $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
114
+ $padding-base-vertical: 8px !default;
115
+ $padding-base-horizontal: 12px !default;
108
116
 
117
+ $padding-large-vertical: 14px !default;
118
+ $padding-large-horizontal: 16px !default;
109
119
 
120
+ $padding-small-vertical: 5px !default;
121
+ $padding-small-horizontal: 10px !default;
110
122
 
111
- // COMPONENT VARIABLES
112
- // --------------------------------------------------
123
+ $padding-xs-vertical: 1px !default;
124
+ $padding-xs-horizontal: 5px !default;
113
125
 
126
+ $line-height-large: 1.33 !default;
127
+ $line-height-small: 1.5 !default;
114
128
 
115
- // Z-index master list
116
- // -------------------------
117
- // Used for a bird's eye view of components dependent on the z-axis
118
- // Try to avoid customizing these :)
119
- $zindexDropdown: 1000 !default;
120
- $zindexPopover: 1010 !default;
121
- $zindexTooltip: 1030 !default;
122
- $zindexFixedNavbar: 1030 !default;
123
- $zindexModalBackdrop: 1040 !default;
124
- $zindexModal: 1050 !default;
129
+ $border-radius-base: 4px !default;
130
+ $border-radius-large: 6px !default;
131
+ $border-radius-small: 3px !default;
132
+
133
+ //** Global color for active items (e.g., navs or dropdowns).
134
+ $component-active-color: #fff !default;
135
+ //** Global background color for active items (e.g., navs or dropdowns).
136
+ $component-active-bg: $brand-primary !default;
125
137
 
138
+ //** Width of the `border` for generating carets that indicator dropdowns.
139
+ $caret-width-base: 4px !default;
140
+ //** Carets increase slightly in size for larger components.
141
+ $caret-width-large: 5px !default;
142
+
143
+
144
+ //== Tables
145
+ //
146
+ //## Customizes the `.table` component with basic values, each used across all table variations.
126
147
 
127
- // Sprite icons path
128
- // -------------------------
129
- $iconSpritePath: image-path("glyphicons-halflings.png") !default;
130
- $iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default;
148
+ //** Padding for `<th>`s and `<td>`s.
149
+ $table-cell-padding: 8px !default;
150
+ //** Padding for cells in `.table-condensed`.
151
+ $table-condensed-cell-padding: 5px !default;
152
+
153
+ //** Default background color used for all tables.
154
+ $table-bg: transparent !default;
155
+ //** Background color used for `.table-striped`.
156
+ $table-bg-accent: #f9f9f9 !default;
157
+ //** Background color used for `.table-hover`.
158
+ $table-bg-hover: #f5f5f5 !default;
159
+ $table-bg-active: $table-bg-hover !default;
160
+
161
+ //** Border color for table and cell borders.
162
+ $table-border-color: #ddd !default;
131
163
 
132
164
 
133
- // Input placeholder text color
134
- // -------------------------
135
- $placeholderText: $grayLight !default;
165
+ //== Buttons
166
+ //
167
+ //## For each of Bootstrap's buttons, define text, background and border color.
168
+
169
+ $btn-font-weight: normal !default;
136
170
 
171
+ $btn-default-color: #fff !default;
172
+ $btn-default-bg: #474949 !default;
173
+ $btn-default-border: $btn-default-bg !default;
137
174
 
138
- // Hr border color
139
- // -------------------------
140
- $hrBorder: $grayLighter !default;
175
+ $btn-primary-color: $btn-default-color !default;
176
+ $btn-primary-bg: $brand-primary !default;
177
+ $btn-primary-border: $btn-primary-bg !default;
141
178
 
179
+ $btn-success-color: $btn-default-color !default;
180
+ $btn-success-bg: $brand-success !default;
181
+ $btn-success-border: $btn-success-bg !default;
142
182
 
143
- // Horizontal forms & lists
144
- // -------------------------
145
- $horizontalComponentOffset: 180px !default;
183
+ $btn-info-color: $btn-default-color !default;
184
+ $btn-info-bg: $brand-info !default;
185
+ $btn-info-border: $btn-info-bg !default;
146
186
 
187
+ $btn-warning-color: $btn-default-color !default;
188
+ $btn-warning-bg: $brand-warning !default;
189
+ $btn-warning-border: $btn-warning-bg !default;
147
190
 
148
- // Wells
149
- // -------------------------
150
- $wellBackground: $grayLighter !default;
191
+ $btn-danger-color: $btn-default-color !default;
192
+ $btn-danger-bg: $brand-danger !default;
193
+ $btn-danger-border: $btn-danger-bg !default;
151
194
 
195
+ $btn-link-disabled-color: $gray-light !default;
152
196
 
153
- // Navbar
154
- // -------------------------
155
- $navbarCollapseWidth: 979px !default;
156
- $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
157
197
 
158
- $navbarHeight: 40px !default;
159
- $navbarBackgroundHighlight: $grayLighter !default;
160
- $navbarBackground: darken($grayLighter, 5%) !default;
161
- $navbarBorder: $grayLight !default;
198
+ //== Forms
199
+ //
200
+ //##
162
201
 
163
- $navbarText: $textColor !default;
164
- $navbarLinkColor: $textColor !default;
165
- $navbarLinkColorHover: $linkColor !default;
166
- $navbarLinkColorActive: $linkColor !default;
167
- $navbarLinkBackgroundHover: transparent !default;
168
- $navbarLinkBackgroundActive: transparent !default;
202
+ //** `<input>` background color
203
+ $input-bg: #fff !default;
204
+ //** `<input disabled>` background color
205
+ $input-bg-disabled: $gray-lighter !default;
206
+
207
+ //** Text color for `<input>`s
208
+ $input-color: $text-color !default;
209
+ //** `<input>` border color
210
+ $input-border: #ccc !default;
211
+ //** `<input>` border radius
212
+ $input-border-radius: $border-radius-base !default;
213
+ //** Border color for inputs on focus
214
+ $input-border-focus: #66afe9 !default;
215
+
216
+ //** Placeholder text color
217
+ $input-color-placeholder: $gray-light !default;
218
+
219
+ //** Default `.form-control` height
220
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
221
+ //** Large `.form-control` height
222
+ $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
223
+ //** Small `.form-control` height
224
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
225
+
226
+ $legend-color: $text-color !default;
227
+ $legend-border-color: #e5e5e5 !default;
228
+
229
+ //** Background color for textual input addons
230
+ $input-group-addon-bg: $gray-lighter !default;
231
+ //** Border color for textual input addons
232
+ $input-group-addon-border-color: $input-border !default;
233
+
234
+
235
+ //== Dropdowns
236
+ //
237
+ //## Dropdown menu container and contents.
238
+
239
+ //** Background for the dropdown menu.
240
+ $dropdown-bg: #fff !default;
241
+ //** Dropdown menu `border-color`.
242
+ $dropdown-border: rgba(0,0,0,.15) !default;
243
+ //** Dropdown menu `border-color` **for IE8**.
244
+ $dropdown-fallback-border: #ccc !default;
245
+ //** Divider color for between dropdown items.
246
+ $dropdown-divider-bg: #e5e5e5 !default;
247
+
248
+ //** Active dropdown menu item text color.
249
+ $dropdown-link-active-color: #fff !default;
250
+ //** Active dropdown menu item background color.
251
+ $dropdown-link-active-bg: $component-active-bg !default;
252
+
253
+ //** Dropdown link text color.
254
+ $dropdown-link-color: $gray-dark !default;
255
+ //** Hover color for dropdown links.
256
+ $dropdown-link-hover-color: #fff !default;
257
+ //** Hover background for dropdown links.
258
+ $dropdown-link-hover-bg: $dropdown-link-active-bg !default;
259
+
260
+ //** Disabled dropdown menu item background color.
261
+ $dropdown-link-disabled-color: $text-muted !default;
262
+
263
+ //** Text color for headers within dropdown menus.
264
+ $dropdown-header-color: $text-muted !default;
265
+
266
+ // Note: Deprecated @dropdown-caret-color as of v3.1.0
267
+ $dropdown-caret-color: #000 !default;
268
+
269
+
270
+ //-- Z-index master list
271
+ //
272
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
273
+ // of components dependent on the z-axis and are designed to all work together.
274
+ //
275
+ // Note: These variables are not generated into the Customizer.
276
+
277
+ $zindex-navbar: 1000 !default;
278
+ $zindex-dropdown: 1000 !default;
279
+ $zindex-popover: 1010 !default;
280
+ $zindex-tooltip: 1030 !default;
281
+ $zindex-navbar-fixed: 1030 !default;
282
+ $zindex-modal-background: 1040 !default;
283
+ $zindex-modal: 1050 !default;
284
+
285
+
286
+ //== Media queries breakpoints
287
+ //
288
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
289
+
290
+ // Extra small screen / phone
291
+ // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
292
+ $screen-xs: 480px !default;
293
+ $screen-xs-min: $screen-xs !default;
294
+ $screen-phone: $screen-xs-min !default;
295
+
296
+ // Small screen / tablet
297
+ // Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
298
+ $screen-sm: 768px !default;
299
+ $screen-sm-min: $screen-sm !default;
300
+ $screen-tablet: $screen-sm-min !default;
301
+
302
+ // Medium screen / desktop
303
+ // Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
304
+ $screen-md: 992px !default;
305
+ $screen-md-min: $screen-md !default;
306
+ $screen-desktop: $screen-md-min !default;
307
+
308
+ // Large screen / wide desktop
309
+ // Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
310
+ $screen-lg: 1200px !default;
311
+ $screen-lg-min: $screen-lg !default;
312
+ $screen-lg-desktop: $screen-lg-min !default;
313
+
314
+ // So media queries don't overlap when required, provide a maximum
315
+ $screen-xs-max: ($screen-sm-min - 1) !default;
316
+ $screen-sm-max: ($screen-md-min - 1) !default;
317
+ $screen-md-max: ($screen-lg-min - 1) !default;
318
+
319
+
320
+ //== Grid system
321
+ //
322
+ //## Define your custom responsive grid.
323
+
324
+ //** Number of columns in the grid.
325
+ $grid-columns: 12 !default;
326
+ //** Padding between columns. Gets divided in half for the left and right.
327
+ $grid-gutter-width: 30px !default;
328
+ // Navbar collapse
329
+ //** Point at which the navbar becomes uncollapsed.
330
+ $grid-float-breakpoint: $screen-sm-min !default;
331
+ //** Point at which the navbar begins collapsing.
332
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
333
+
334
+
335
+ //== Container sizes
336
+ //
337
+ //## Define the maximum width of `.container` for different screen sizes.
338
+
339
+ // Small screen / tablet
340
+ $container-tablet: ((720px + $grid-gutter-width)) !default;
341
+ //** For `@screen-sm-min` and up.
342
+ $container-sm: $container-tablet !default;
343
+
344
+ // Medium screen / desktop
345
+ $container-desktop: ((940px + $grid-gutter-width)) !default;
346
+ //** For `@screen-md-min` and up.
347
+ $container-md: $container-desktop !default;
348
+
349
+ // Large screen / wide desktop
350
+ $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
351
+ //** For `@screen-lg-min` and up.
352
+ $container-lg: $container-large-desktop !default;
353
+
354
+
355
+ //== Navbar
356
+ //
357
+ //##
358
+
359
+ // Basics of a navbar
360
+ $navbar-height: 50px !default;
361
+ $navbar-margin-bottom: $line-height-computed !default;
362
+ $navbar-border-radius: $border-radius-base !default;
363
+ $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
364
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
365
+ $navbar-collapse-max-height: 340px !default;
366
+
367
+ $navbar-default-color: #777 !default;
368
+ $navbar-default-bg: #eee !default;
369
+ $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
370
+
371
+ // Navbar links
372
+ $navbar-default-link-color: #777 !default;
373
+ $navbar-default-link-hover-color: $brand-info !default;
374
+ $navbar-default-link-hover-bg: transparent !default;
375
+ $navbar-default-link-active-color: $navbar-default-link-hover-color !default;
376
+ $navbar-default-link-active-bg: transparent !default;
377
+ $navbar-default-link-disabled-color: #444 !default;
378
+ $navbar-default-link-disabled-bg: transparent !default;
379
+
380
+ // Navbar brand label
381
+ $navbar-default-brand-color: $navbar-default-link-color !default;
382
+ $navbar-default-brand-hover-color: $navbar-default-link-hover-color !default;
383
+ $navbar-default-brand-hover-bg: transparent !default;
384
+
385
+ // Navbar toggle
386
+ $navbar-default-toggle-hover-bg: darken($navbar-default-bg, 6.5%) !default;
387
+ $navbar-default-toggle-icon-bar-bg: #ccc !default;
388
+ $navbar-default-toggle-border-color: darken($navbar-default-bg, 6.5%) !default;
169
389
 
170
- $navbarBrandColor: $navbarLinkColor !default;
171
390
 
172
391
  // Inverted navbar
173
- $navbarInverseBackground: #6C737E !default;
174
- $navbarInverseBackgroundHighlight: lighten($navbarInverseBackground, 10%) !default;
175
- $navbarInverseBorder: darken($navbarInverseBackground, 3%) !default;
392
+ // Reset inverted navbar basics
393
+ $navbar-inverse-color: #ddd !default;
394
+ $navbar-inverse-bg: $brand-primary !default;
395
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
176
396
 
177
- $navbarInverseText: $grayLight !default;
178
- $navbarInverseLinkColor: $grayLight !default;
179
- $navbarInverseLinkColorHover: $white !default;
180
- $navbarInverseLinkColorActive: $white !default;
181
- $navbarInverseLinkBackgroundHover: transparent !default;
182
- $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
397
+ // Inverted navbar links
398
+ $navbar-inverse-link-color: #ddd !default;
399
+ $navbar-inverse-link-hover-color: #fff !default;
400
+ $navbar-inverse-link-hover-bg: transparent !default;
401
+ $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
402
+ $navbar-inverse-link-active-bg: transparent !default;
403
+ $navbar-inverse-link-disabled-color: #ccc !default;
404
+ $navbar-inverse-link-disabled-bg: transparent !default;
183
405
 
184
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
185
- $navbarInverseSearchBackgroundFocus: $white !default;
186
- $navbarInverseSearchBorder: $navbarInverseBackground !default;
187
- $navbarInverseSearchPlaceholderColor: $grayLighter !default;
406
+ // Inverted navbar brand label
407
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
408
+ $navbar-inverse-brand-hover-color: #fff !default;
409
+ $navbar-inverse-brand-hover-bg: transparent !default;
188
410
 
189
- $navbarInverseBrandColor: $navbarInverseLinkColor !default;
411
+ // Inverted navbar toggle
412
+ $navbar-inverse-toggle-hover-bg: darken($navbar-inverse-bg, 10%) !default;
413
+ $navbar-inverse-toggle-icon-bar-bg: #fff !default;
414
+ $navbar-inverse-toggle-border-color: darken($navbar-inverse-bg, 10%) !default;
190
415
 
191
- // Buttons
192
- // -------------------------
193
- $btnBackground: $white !default;
194
- $btnBackgroundHighlight: $grayLighter !default;
195
- $btnBorder: darken($btnBackground, 20%) !default;
196
416
 
197
- $btnPrimaryBackground: lighten($linkColor, 10%) !default;
198
- $btnPrimaryBackgroundHighlight: $linkColor !default;
417
+ //== Navs
418
+ //
419
+ //##
199
420
 
200
- $btnInfoBackground: lighten(#3A5D83, 10%) !default;
201
- $btnInfoBackgroundHighlight: #3A5D83 !default;
421
+ //=== Shared nav styles
422
+ $nav-link-padding: 10px 15px !default;
423
+ $nav-link-hover-bg: $gray-lighter !default;
202
424
 
203
- $btnSuccessBackground: lighten($green, 10%) !default;
204
- $btnSuccessBackgroundHighlight: $green !default;
425
+ $nav-disabled-link-color: $gray-light !default;
426
+ $nav-disabled-link-hover-color: $gray-light !default;
205
427
 
206
- $btnWarningBackground: lighten($orange, 10%) !default;
207
- $btnWarningBackgroundHighlight: $orange !default;
428
+ $nav-open-link-hover-color: #fff !default;
208
429
 
209
- $btnDangerBackground: lighten($red, 10%) !default;
210
- $btnDangerBackgroundHighlight: $red !default;
430
+ //== Tabs
431
+ $nav-tabs-border-color: #ddd !default;
211
432
 
212
- $btnInverseBackground: lighten($navbarInverseBackground, 15%) !default;
213
- $btnInverseBackgroundHighlight: $navbarInverseBackground !default;
433
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
214
434
 
435
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
436
+ $nav-tabs-active-link-hover-color: $gray !default;
437
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
215
438
 
216
- // Pagination
217
- // -------------------------
218
- $paginationBackground: #fff !default;
219
- $paginationBorder: #ddd !default;
220
- $paginationActiveBackground: #f5f5f5 !default;
439
+ $nav-tabs-justified-link-border-color: #ddd !default;
440
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
221
441
 
442
+ //== Pills
443
+ $nav-pills-border-radius: $border-radius-base !default;
444
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
445
+ $nav-pills-active-link-hover-color: $component-active-color !default;
222
446
 
223
- // Hero unit
224
- // -------------------------
225
- $heroUnitBackground: $grayLighter !default;
226
- $heroUnitHeadingColor: $headingsColor !default;
227
- $heroUnitLeadColor: inherit !default;
228
447
 
448
+ //== Pagination
449
+ //
450
+ //##
229
451
 
230
- // Form states and alerts
231
- // -------------------------
232
- $warningText: $white !default;
233
- $warningBackground: $orange !default;
234
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
452
+ $pagination-color: $link-color !default;
453
+ $pagination-bg: #fff !default;
454
+ $pagination-border: #ddd !default;
235
455
 
236
- $errorText: $white !default;
237
- $errorBackground: $red !default;
238
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
456
+ $pagination-hover-color: $link-hover-color !default;
457
+ $pagination-hover-bg: $gray-lighter !default;
458
+ $pagination-hover-border: #ddd !default;
239
459
 
240
- $successText: $white !default;
241
- $successBackground: $green !default;
242
- $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
460
+ $pagination-active-color: $gray-light !default;
461
+ $pagination-active-bg: #f5f5f5 !default;
462
+ $pagination-active-border: #ddd !default;
243
463
 
244
- $infoText: $white !default;
245
- $infoBackground: $blue !default;
246
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
464
+ $pagination-disabled-color: $gray-light !default;
465
+ $pagination-disabled-bg: #fff !default;
466
+ $pagination-disabled-border: #ddd !default;
247
467
 
248
468
 
249
- // Tooltips and popovers
250
- // -------------------------
251
- $tooltipColor: #fff !default;
252
- $tooltipBackground: #000 !default;
253
- $tooltipArrowWidth: 5px !default;
254
- $tooltipArrowColor: $tooltipBackground !default;
469
+ //== Pager
470
+ //
471
+ //##
255
472
 
256
- $popoverBackground: #fff !default;
257
- $popoverArrowWidth: 10px !default;
258
- $popoverArrowColor: #fff !default;
259
- $popoverTitleBackground: darken($popoverBackground, 3%) !default;
473
+ $pager-bg: $pagination-bg !default;
474
+ $pager-border: $pagination-border !default;
475
+ $pager-border-radius: 15px !default;
260
476
 
261
- // Special enhancement for popovers
262
- $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
263
- $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
477
+ $pager-hover-bg: $pagination-hover-bg !default;
264
478
 
479
+ $pager-active-bg: $pagination-active-bg !default;
480
+ $pager-active-color: $pagination-active-color !default;
265
481
 
482
+ $pager-disabled-color: $gray-light !default;
266
483
 
267
- // GRID
268
- // --------------------------------------------------
484
+
485
+ //== Jumbotron
486
+ //
487
+ //##
488
+
489
+ $jumbotron-padding: 30px !default;
490
+ $jumbotron-color: inherit !default;
491
+ $jumbotron-bg: $gray-lighter !default;
492
+ $jumbotron-heading-color: inherit !default;
493
+ $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
494
+
495
+
496
+ //== Form states and alerts
497
+ //
498
+ //## Define colors for form feedback states and, by default, alerts.
499
+
500
+ $state-success-text: #468847 !default;
501
+ $state-success-bg: #dff0d8 !default;
502
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
503
+
504
+ $state-info-text: #3a87ad !default;
505
+ $state-info-bg: #d9edf7 !default;
506
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
507
+
508
+ $state-warning-text: #c09853 !default;
509
+ $state-warning-bg: #fcf8e3 !default;
510
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%) !default;
511
+
512
+ $state-danger-text: #b94a48 !default;
513
+ $state-danger-bg: #f2dede !default;
514
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%) !default;
515
+
516
+
517
+ //== Tooltips
518
+ //
519
+ //##
520
+
521
+ //** Tooltip max width
522
+ $tooltip-max-width: 200px !default;
523
+ //** Tooltip text color
524
+ $tooltip-color: #fff !default;
525
+ //** Tooltip background color
526
+ $tooltip-bg: rgba(0,0,0,.9) !default;
527
+ $tooltip-opacity: .9 !default;
528
+
529
+ //** Tooltip arrow width
530
+ $tooltip-arrow-width: 5px !default;
531
+ //** Tooltip arrow color
532
+ $tooltip-arrow-color: $tooltip-bg !default;
533
+
534
+
535
+ //== Popovers
536
+ //
537
+ //##
538
+
539
+ //** Popover body background color
540
+ $popover-bg: #fff !default;
541
+ //** Popover maximum width
542
+ $popover-max-width: 276px !default;
543
+ //** Popover border color
544
+ $popover-border-color: rgba(0,0,0,.2) !default;
545
+ //** Popover fallback border color
546
+ $popover-fallback-border-color: #ccc !default;
547
+
548
+ //** Popover title background color
549
+ $popover-title-bg: darken($popover-bg, 3%) !default;
550
+
551
+ //** Popover arrow width
552
+ $popover-arrow-width: 10px !default;
553
+ //** Popover arrow color
554
+ $popover-arrow-color: #fff !default;
555
+
556
+ //** Popover outer arrow width
557
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
558
+ //** Popover outer arrow color
559
+ $popover-arrow-outer-color: fadein($popover-border-color, 5%) !default;
560
+ //** Popover outer arrow fallback color
561
+ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
562
+
563
+
564
+ //== Labels
565
+ //
566
+ //##
567
+
568
+ //** Default label background color
569
+ $label-default-bg: $btn-default-bg !default;
570
+ //** Primary label background color
571
+ $label-primary-bg: $brand-primary !default;
572
+ //** Success label background color
573
+ $label-success-bg: $brand-success !default;
574
+ //** Info label background color
575
+ $label-info-bg: $brand-info !default;
576
+ //** Warning label background color
577
+ $label-warning-bg: $brand-warning !default;
578
+ //** Danger label background color
579
+ $label-danger-bg: $brand-danger !default;
580
+
581
+ //** Default label text color
582
+ $label-color: #fff !default;
583
+ //** Default text color of a linked label
584
+ $label-link-hover-color: #fff !default;
585
+
586
+
587
+ //== Modals
588
+ //
589
+ //##
590
+
591
+ //** Padding applied to the modal body
592
+ $modal-inner-padding: 20px !default;
593
+
594
+ //** Padding applied to the modal title
595
+ $modal-title-padding: 15px !default;
596
+ //** Modal title line-height
597
+ $modal-title-line-height: $line-height-base !default;
598
+
599
+ //** Background color of modal content area
600
+ $modal-content-bg: #fff !default;
601
+ //** Modal content border color
602
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
603
+ //** Modal content border color **for IE8**
604
+ $modal-content-fallback-border-color: #999 !default;
605
+
606
+ //** Modal backdrop background color
607
+ $modal-backdrop-bg: #000 !default;
608
+ //** Modal backdrop opacity
609
+ $modal-backdrop-opacity: .5 !default;
610
+ //** Modal header border color
611
+ $modal-header-border-color: #e5e5e5 !default;
612
+ //** Modal footer border color
613
+ $modal-footer-border-color: $modal-header-border-color !default;
614
+
615
+ $modal-lg: 900px !default;
616
+ $modal-md: 600px !default;
617
+ $modal-sm: 300px !default;
618
+
619
+
620
+ //== Alerts
621
+ //
622
+ //## Define alert colors, border radius, and padding.
623
+
624
+ $alert-padding: 15px !default;
625
+ $alert-border-radius: $border-radius-base !default;
626
+ $alert-link-font-weight: bold !default;
627
+
628
+ $alert-success-bg: $state-success-bg !default;
629
+ $alert-success-text: $state-success-text !default;
630
+ $alert-success-border: $state-success-border !default;
631
+
632
+ $alert-info-bg: $state-info-bg !default;
633
+ $alert-info-text: $state-info-text !default;
634
+ $alert-info-border: $state-info-border !default;
635
+
636
+ $alert-warning-bg: $state-warning-bg !default;
637
+ $alert-warning-text: $state-warning-text !default;
638
+ $alert-warning-border: $state-warning-border !default;
639
+
640
+ $alert-danger-bg: $state-danger-bg !default;
641
+ $alert-danger-text: $state-danger-text !default;
642
+ $alert-danger-border: $state-danger-border !default;
643
+
644
+
645
+ //== Progress bars
646
+ //
647
+ //##
648
+
649
+ //** Background color of the whole progress component
650
+ $progress-bg: #f5f5f5 !default;
651
+ //** Progress bar text color
652
+ $progress-bar-color: #fff !default;
653
+
654
+ //** Default progress bar color
655
+ $progress-bar-bg: $brand-primary !default;
656
+ //** Success progress bar color
657
+ $progress-bar-success-bg: $brand-success !default;
658
+ //** Warning progress bar color
659
+ $progress-bar-warning-bg: $brand-warning !default;
660
+ //** Danger progress bar color
661
+ $progress-bar-danger-bg: $brand-danger !default;
662
+ //** Info progress bar color
663
+ $progress-bar-info-bg: $brand-info !default;
664
+
665
+
666
+ //== List group
667
+ //
668
+ //##
669
+
670
+ //** Background color on `.list-group-item`
671
+ $list-group-bg: #fff !default;
672
+ //** `.list-group-item` border color
673
+ $list-group-border: #ddd !default;
674
+ //** List group border radius
675
+ $list-group-border-radius: $border-radius-base !default;
676
+
677
+ //** Background color of single list elements on hover
678
+ $list-group-hover-bg: #f5f5f5 !default;
679
+ //** Text color of active list elements
680
+ $list-group-active-color: $component-active-color !default;
681
+ //** Background color of active list elements
682
+ $list-group-active-bg: $component-active-bg !default;
683
+ //** Border color of active list elements
684
+ $list-group-active-border: $list-group-active-bg !default;
685
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
686
+
687
+ $list-group-link-color: #555 !default;
688
+ $list-group-link-heading-color: #333 !default;
689
+
690
+
691
+ //== Panels
692
+ //
693
+ //##
694
+
695
+ $panel-bg: #fff !default;
696
+ $panel-body-padding: 15px !default;
697
+ $panel-border-radius: $border-radius-base !default;
698
+
699
+ //** Border color for elements within panels
700
+ $panel-inner-border: #ddd !default;
701
+ $panel-footer-bg: #f5f5f5 !default;
702
+
703
+ $panel-default-text: $gray-dark !default;
704
+ $panel-default-border: #ddd !default;
705
+ $panel-default-heading-bg: #f5f5f5 !default;
706
+
707
+ $panel-primary-text: #fff !default;
708
+ $panel-primary-border: $brand-primary !default;
709
+ $panel-primary-heading-bg: $brand-primary !default;
710
+
711
+ $panel-success-text: $state-success-text !default;
712
+ $panel-success-border: $state-success-border !default;
713
+ $panel-success-heading-bg: $state-success-bg !default;
714
+
715
+ $panel-info-text: $state-info-text !default;
716
+ $panel-info-border: $state-info-border !default;
717
+ $panel-info-heading-bg: $state-info-bg !default;
718
+
719
+ $panel-warning-text: $state-warning-text !default;
720
+ $panel-warning-border: $state-warning-border !default;
721
+ $panel-warning-heading-bg: $state-warning-bg !default;
722
+
723
+ $panel-danger-text: $state-danger-text !default;
724
+ $panel-danger-border: $state-danger-border !default;
725
+ $panel-danger-heading-bg: $state-danger-bg !default;
726
+
727
+
728
+ //== Thumbnails
729
+ //
730
+ //##
731
+
732
+ //** Padding around the thumbnail image
733
+ $thumbnail-padding: 4px !default;
734
+ //** Thumbnail background color
735
+ $thumbnail-bg: $body-bg !default;
736
+ //** Thumbnail border color
737
+ $thumbnail-border: #ddd !default;
738
+ //** Thumbnail border radius
739
+ $thumbnail-border-radius: $border-radius-base !default;
740
+
741
+ //** Custom text color for thumbnail captions
742
+ $thumbnail-caption-color: $text-color !default;
743
+ //** Padding around the thumbnail caption
744
+ $thumbnail-caption-padding: 9px !default;
745
+
746
+
747
+ //== Wells
748
+ //
749
+ //##
750
+
751
+ $well-bg: #f5f5f5 !default;
752
+ $well-border: darken($well-bg, 7%) !default;
753
+
754
+
755
+ //== Badges
756
+ //
757
+ //##
758
+
759
+ $badge-color: #fff !default;
760
+ //** Linked badge text color on hover
761
+ $badge-link-hover-color: #fff !default;
762
+ $badge-bg: $link-color !default;
763
+
764
+ //** Badge text color in active nav link
765
+ $badge-active-color: $link-color !default;
766
+ //** Badge background color in active nav link
767
+ $badge-active-bg: #fff !default;
768
+
769
+ $badge-font-weight: bold !default;
770
+ $badge-line-height: 1 !default;
771
+ $badge-border-radius: 10px !default;
772
+
773
+
774
+ //== Breadcrumbs
775
+ //
776
+ //##
777
+
778
+ $breadcrumb-padding-vertical: 8px !default;
779
+ $breadcrumb-padding-horizontal: 15px !default;
780
+ //** Breadcrumb background color
781
+ $breadcrumb-bg: #f5f5f5 !default;
782
+ //** Breadcrumb text color
783
+ $breadcrumb-color: #ccc !default;
784
+ //** Text color of current page in the breadcrumb
785
+ $breadcrumb-active-color: $gray-light !default;
786
+ //** Textual separator for between breadcrumb elements
787
+ $breadcrumb-separator: "/" !default;
788
+
789
+
790
+ //== Carousel
791
+ //
792
+ //##
793
+
794
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
795
+
796
+ $carousel-control-color: #fff !default;
797
+ $carousel-control-width: 15% !default;
798
+ $carousel-control-opacity: .5 !default;
799
+ $carousel-control-font-size: 20px !default;
800
+
801
+ $carousel-indicator-active-bg: #fff !default;
802
+ $carousel-indicator-border-color: #fff !default;
803
+
804
+ $carousel-caption-color: #fff !default;
269
805
 
270
806
 
271
- // Default 940px grid
272
- // -------------------------
273
- $gridColumns: 12 !default;
274
- $gridColumnWidth: 60px !default;
275
- $gridGutterWidth: 20px !default;
276
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
807
+ //== Close
808
+ //
809
+ //##
277
810
 
278
- // 1200px min
279
- $gridColumnWidth1200: 70px !default;
280
- $gridGutterWidth1200: 30px !default;
281
- $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
811
+ $close-font-weight: bold !default;
812
+ $close-color: #000 !default;
813
+ $close-text-shadow: 0 1px 0 #fff !default;
282
814
 
283
- // 768px-979px
284
- $gridColumnWidth768: 42px !default;
285
- $gridGutterWidth768: 20px !default;
286
- $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
287
815
 
816
+ //== Code
817
+ //
818
+ //##
288
819
 
289
- // Fluid grid
290
- // -------------------------
291
- $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
292
- $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
820
+ $code-color: #c7254e !default;
821
+ $code-bg: #f9f2f4 !default;
293
822
 
294
- // 1200px min
295
- $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
296
- $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
823
+ $kbd-color: #fff !default;
824
+ $kbd-bg: #333 !default;
297
825
 
298
- // 768px-979px
299
- $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
300
- $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;
826
+ $pre-bg: #f5f5f5 !default;
827
+ $pre-color: $gray-dark !default;
828
+ $pre-border-color: #ccc !default;
829
+ $pre-scrollable-max-height: 340px !default;