bootswatch-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,127 +9,127 @@
9
9
 
10
10
  // Grays
11
11
  // -------------------------
12
- $black: #000;
13
- $grayDarker: #222;
14
- $grayDark: #333;
15
- $gray: #555;
16
- $grayLight: #999;
17
- $grayLighter: #eee;
18
- $white: #fff;
12
+ $black: #000 !default;
13
+ $grayDarker: #222 !default;
14
+ $grayDark: #333 !default;
15
+ $gray: #555 !default;
16
+ $grayLight: #999 !default;
17
+ $grayLighter: #eee !default;
18
+ $white: #fff !default;
19
19
 
20
20
 
21
21
  // Accent colors
22
22
  // -------------------------
23
- $blue: #004E8B;
24
- $blueDark: #013435;
25
- $green: #015B4E;
26
- $red: #D14432;
27
- $yellow: #F0F1E1;
28
- $orange: #F26522;
29
- $pink: #A15B66;
30
- $purple: #7073CF;
23
+ $blue: #004E8B !default;
24
+ $blueDark: #013435 !default;
25
+ $green: #015B4E !default;
26
+ $red: #D14432 !default;
27
+ $yellow: #F0F1E1 !default;
28
+ $orange: #F26522 !default;
29
+ $pink: #A15B66 !default;
30
+ $purple: #7073CF !default;
31
31
 
32
32
 
33
33
  // Scaffolding
34
34
  // -------------------------
35
- $bodyBackground: $white;
36
- $textColor: $gray;
35
+ $bodyBackground: $white !default;
36
+ $textColor: $gray !default;
37
37
 
38
38
 
39
39
  // Links
40
40
  // -------------------------
41
- $linkColor: lighten($green, 10%);
42
- $linkColorHover: $linkColor;
41
+ $linkColor: lighten($green, 10%) !default;
42
+ $linkColorHover: $linkColor !default;
43
43
 
44
44
 
45
45
  // Typography
46
46
  // -------------------------
47
- $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
48
- $serifFontFamily: Georgia, "Times New Roman", Times, serif;
49
- $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
47
+ $sansFontFamily: "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;
50
50
 
51
- $baseFontSize: 15px;
52
- $baseFontFamily: $serifFontFamily;
53
- $baseLineHeight: 21px;
54
- $altFontFamily: $serifFontFamily;
51
+ $baseFontSize: 15px !default;
52
+ $baseFontFamily: $serifFontFamily !default;
53
+ $baseLineHeight: 21px !default;
54
+ $altFontFamily: $serifFontFamily !default;
55
55
 
56
- $headingsFontFamily: 'Crete Round', serif; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: normal; // instead of browser default, bold
58
- $headingsColor: $grayDark; // empty to use BS default, $textColor
56
+ $headingsFontFamily: 'Crete Round', serif !default; // empty to use BS default, $baseFontFamily
57
+ $headingsFontWeight: normal !default; // instead of browser default, bold
58
+ $headingsColor: $grayDark !default; // empty to use BS default, $textColor
59
59
 
60
60
 
61
61
  // Component sizing
62
62
  // -------------------------
63
63
  // Based on 14px font-size and 20px line-height
64
64
 
65
- $fontSizeLarge: $baseFontSize * 1.25; // ~18px
66
- $fontSizeSmall: $baseFontSize * 0.85; // ~12px
67
- $fontSizeMini: $baseFontSize * 0.75; // ~11px
65
+ $fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
66
+ $fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
67
+ $fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
68
68
 
69
- $paddingLarge: 11px 19px; // 44px
70
- $paddingSmall: 2px 10px; // 26px
71
- $paddingMini: 0px 6px; // 22px
69
+ $paddingLarge: 11px 19px !default; // 44px
70
+ $paddingSmall: 2px 10px !default; // 26px
71
+ $paddingMini: 0px 6px !default; // 22px
72
72
 
73
- $baseBorderRadius: 4px;
74
- $borderRadiusLarge: 6px;
75
- $borderRadiusSmall: 3px;
73
+ $baseBorderRadius: 4px !default;
74
+ $borderRadiusLarge: 6px !default;
75
+ $borderRadiusSmall: 3px !default;
76
76
 
77
77
 
78
78
  // Tables
79
79
  // -------------------------
80
- $tableBackground: lighten(#ddd, 10%); // overall background-color
81
- $tableBackgroundAccent: lighten(#ddd, 5%); // for striping
82
- $tableBackgroundHover: #ddd; // for hover
83
- $tableBorder: $headingsColor; // table and cell border
80
+ $tableBackground: lighten(#ddd, 10%) !default; // overall background-color
81
+ $tableBackgroundAccent: lighten(#ddd, 5%) !default; // for striping
82
+ $tableBackgroundHover: #ddd !default; // for hover
83
+ $tableBorder: $headingsColor !default; // table and cell border
84
84
 
85
85
  // Buttons
86
86
  // -------------------------
87
- $btnBackground: $white;
88
- $btnBackgroundHighlight: darken($white, 10%);
89
- $btnBorder: darken($white, 15%);
87
+ $btnBackground: $white !default;
88
+ $btnBackgroundHighlight: darken($white, 10%) !default;
89
+ $btnBorder: darken($white, 15%) !default;
90
90
 
91
- $btnPrimaryBackground: lighten($green, 5%);
92
- $btnPrimaryBackgroundHighlight: $green;
91
+ $btnPrimaryBackground: lighten($green, 5%) !default;
92
+ $btnPrimaryBackgroundHighlight: $green !default;
93
93
 
94
- $btnInfoBackground: lighten(#2f96b4, 5%);
95
- $btnInfoBackgroundHighlight: #2f96b4;
94
+ $btnInfoBackground: lighten(#2f96b4, 5%) !default;
95
+ $btnInfoBackgroundHighlight: #2f96b4 !default;
96
96
 
97
- $btnSuccessBackground: lighten($blue, 10%);
98
- $btnSuccessBackgroundHighlight: lighten($blue, 5%);
97
+ $btnSuccessBackground: lighten($blue, 10%) !default;
98
+ $btnSuccessBackgroundHighlight: lighten($blue, 5%) !default;
99
99
 
100
- $btnWarningBackground: lighten($orange, 5%);
101
- $btnWarningBackgroundHighlight: $orange;
100
+ $btnWarningBackground: lighten($orange, 5%) !default;
101
+ $btnWarningBackgroundHighlight: $orange !default;
102
102
 
103
- $btnDangerBackground: lighten($red, 5%);
104
- $btnDangerBackgroundHighlight: $red;
103
+ $btnDangerBackground: lighten($red, 5%) !default;
104
+ $btnDangerBackgroundHighlight: $red !default;
105
105
 
106
- $btnInverseBackground: $gray;
107
- $btnInverseBackgroundHighlight: darken($gray, 5%);
106
+ $btnInverseBackground: $gray !default;
107
+ $btnInverseBackgroundHighlight: darken($gray, 5%) !default;
108
108
 
109
109
 
110
110
  // Forms
111
111
  // -------------------------
112
- $inputBackground: $white;
113
- $inputBorder: #ccc;
114
- $inputBorderRadius: $baseBorderRadius;
115
- $inputDisabledBackground: $grayLighter;
116
- $formActionsBackground: transparent;
117
- $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
112
+ $inputBackground: $white !default;
113
+ $inputBorder: #ccc !default;
114
+ $inputBorderRadius: $baseBorderRadius !default;
115
+ $inputDisabledBackground: $grayLighter !default;
116
+ $formActionsBackground: transparent !default;
117
+ $inputHeight: $baseLineHeight + 10px !default; // base line-height + 8px vertical padding + 2px top/bottom border
118
118
 
119
119
 
120
120
  // Dropdowns
121
121
  // -------------------------
122
- $dropdownBackground: #002425;
123
- $dropdownBorder: transparent;
124
- $dropdownDividerTop: transparent;
125
- $dropdownDividerBottom: $black;
122
+ $dropdownBackground: #002425 !default;
123
+ $dropdownBorder: transparent !default;
124
+ $dropdownDividerTop: transparent !default;
125
+ $dropdownDividerBottom: $black !default;
126
126
 
127
- $dropdownLinkColor: $white;
128
- $dropdownLinkColorHover: $white;
129
- $dropdownLinkColorActive: $white;
127
+ $dropdownLinkColor: $white !default;
128
+ $dropdownLinkColorHover: $white !default;
129
+ $dropdownLinkColorActive: $white !default;
130
130
 
131
- $dropdownLinkBackgroundActive: $green;
132
- $dropdownLinkBackgroundHover: $green;
131
+ $dropdownLinkBackgroundActive: $green !default;
132
+ $dropdownLinkBackgroundHover: $green !default;
133
133
 
134
134
 
135
135
 
@@ -141,127 +141,127 @@ $dropdownLinkBackgroundHover: $green;
141
141
  // -------------------------
142
142
  // Used for a bird's eye view of components dependent on the z-axis
143
143
  // Try to avoid customizing these :)
144
- $zindexDropdown: 1000;
145
- $zindexPopover: 1010;
146
- $zindexTooltip: 1030;
147
- $zindexFixedNavbar: 1030;
148
- $zindexModalBackdrop: 1040;
149
- $zindexModal: 1050;
144
+ $zindexDropdown: 1000 !default;
145
+ $zindexPopover: 1010 !default;
146
+ $zindexTooltip: 1030 !default;
147
+ $zindexFixedNavbar: 1030 !default;
148
+ $zindexModalBackdrop: 1040 !default;
149
+ $zindexModal: 1050 !default;
150
150
 
151
151
 
152
152
  // Sprite icons path
153
153
  // -------------------------
154
- $iconSpritePath: "../img/glyphicons-halflings.png";
155
- $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
154
+ $iconSpritePath: "../img/glyphicons-halflings.png" !default;
155
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
156
156
 
157
157
 
158
158
  // Input placeholder text color
159
159
  // -------------------------
160
- $placeholderText: #ccc;
160
+ $placeholderText: #ccc !default;
161
161
 
162
162
 
163
163
  // Hr border color
164
164
  // -------------------------
165
- $hrBorder: $linkColor;
165
+ $hrBorder: $linkColor !default;
166
166
 
167
167
 
168
168
  // Horizontal forms & lists
169
169
  // -------------------------
170
- $horizontalComponentOffset: 180px;
170
+ $horizontalComponentOffset: 180px !default;
171
171
 
172
172
 
173
173
  // Wells
174
174
  // -------------------------
175
- $wellBackground: #ddd;
175
+ $wellBackground: #ddd !default;
176
176
 
177
177
 
178
178
  // Navbar
179
179
  // -------------------------
180
- $navbarCollapseWidth: 979px;
181
- $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
180
+ $navbarCollapseWidth: 979px !default;
181
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
182
182
 
183
- $navbarHeight: 55px;
184
- $navbarBackground: $blueDark;
185
- $navbarBackgroundHighlight: $navbarBackground;
186
- $navbarBorder: darken($navbarBackground, 5%);
183
+ $navbarHeight: 55px !default;
184
+ $navbarBackground: $blueDark !default;
185
+ $navbarBackgroundHighlight: $navbarBackground !default;
186
+ $navbarBorder: darken($navbarBackground, 5%) !default;
187
187
 
188
- $navbarText: $grayLight;
189
- $navbarLinkColor: $white;
190
- $navbarLinkColorHover: $white;
191
- $navbarLinkColorActive: $white;
192
- $navbarLinkBackgroundHover: #002425;
193
- $navbarLinkBackgroundActive: $navbarLinkBackgroundHover;
188
+ $navbarText: $grayLight !default;
189
+ $navbarLinkColor: $white !default;
190
+ $navbarLinkColorHover: $white !default;
191
+ $navbarLinkColorActive: $white !default;
192
+ $navbarLinkBackgroundHover: #002425 !default;
193
+ $navbarLinkBackgroundActive: $navbarLinkBackgroundHover !default;
194
194
 
195
- $navbarBrandColor: $navbarLinkColor;
195
+ $navbarBrandColor: $navbarLinkColor !default;
196
196
 
197
197
  // Inverted navbar
198
- $navbarInverseBackground: $wellBackground;
199
- $navbarInverseBackgroundHighlight: lighten($wellBackground, 5%);
200
- $navbarInverseBorder: darken($navbarInverseBackground, 5%);
198
+ $navbarInverseBackground: $wellBackground !default;
199
+ $navbarInverseBackgroundHighlight: lighten($wellBackground, 5%) !default;
200
+ $navbarInverseBorder: darken($navbarInverseBackground, 5%) !default;
201
201
 
202
- $navbarInverseText: $textColor;
203
- $navbarInverseLinkColor: $headingsColor;
204
- $navbarInverseLinkColorHover: $navbarInverseLinkColor;
205
- $navbarInverseLinkColorActive: $navbarInverseLinkColor;
206
- $navbarInverseLinkBackgroundHover: darken($navbarInverseBackground, 7%);
207
- $navbarInverseLinkBackgroundActive: $navbarInverseLinkBackgroundHover;
202
+ $navbarInverseText: $textColor !default;
203
+ $navbarInverseLinkColor: $headingsColor !default;
204
+ $navbarInverseLinkColorHover: $navbarInverseLinkColor !default;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColor !default;
206
+ $navbarInverseLinkBackgroundHover: darken($navbarInverseBackground, 7%) !default;
207
+ $navbarInverseLinkBackgroundActive: $navbarInverseLinkBackgroundHover !default;
208
208
 
209
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
210
- $navbarInverseSearchBackgroundFocus: $white;
211
- $navbarInverseSearchBorder: $navbarInverseBackground;
212
- $navbarInverseSearchPlaceholderColor: $white;
209
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
210
+ $navbarInverseSearchBackgroundFocus: $white !default;
211
+ $navbarInverseSearchBorder: $navbarInverseBackground !default;
212
+ $navbarInverseSearchPlaceholderColor: $white !default;
213
213
 
214
- $navbarInverseBrandColor: $navbarInverseLinkColor;
214
+ $navbarInverseBrandColor: $navbarInverseLinkColor !default;
215
215
 
216
216
 
217
217
  // Pagination
218
218
  // -------------------------
219
- $paginationBackground: darken($bodyBackground, 10%);
220
- $paginationBorder: transparent;
221
- $paginationActiveBackground: #A2CDB5;
219
+ $paginationBackground: darken($bodyBackground, 10%) !default;
220
+ $paginationBorder: transparent !default;
221
+ $paginationActiveBackground: #A2CDB5 !default;
222
222
 
223
223
 
224
224
  // Hero unit
225
225
  // -------------------------
226
- $heroUnitBackground: #ddd;
227
- $heroUnitHeadingColor: $headingsColor;
228
- $heroUnitLeadColor: inherit;
226
+ $heroUnitBackground: #ddd !default;
227
+ $heroUnitHeadingColor: $headingsColor !default;
228
+ $heroUnitLeadColor: inherit !default;
229
229
 
230
230
 
231
231
  // Form states and alerts
232
232
  // -------------------------
233
- $warningText: $white;
234
- $warningBackground: $orange;
235
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
233
+ $warningText: $white !default;
234
+ $warningBackground: $orange !default;
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
236
236
 
237
- $errorText: $white;
238
- $errorBackground: $red;
239
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
237
+ $errorText: $white !default;
238
+ $errorBackground: $red !default;
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
240
240
 
241
- $successText: $white;
242
- $successBackground: #24C00B;
243
- $successBorder: darken(adjust-hue($successBackground, -10), 5%);
241
+ $successText: $white !default;
242
+ $successBackground: #24C00B !default;
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
244
244
 
245
- $infoText: $white;
246
- $infoBackground: #185AF9;
247
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
245
+ $infoText: $white !default;
246
+ $infoBackground: #185AF9 !default;
247
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
248
248
 
249
249
 
250
250
  // Tooltips and popovers
251
251
  // -------------------------
252
- $tooltipColor: #fff;
253
- $tooltipBackground: #000;
254
- $tooltipArrowWidth: 5px;
255
- $tooltipArrowColor: $tooltipBackground;
252
+ $tooltipColor: #fff !default;
253
+ $tooltipBackground: #000 !default;
254
+ $tooltipArrowWidth: 5px !default;
255
+ $tooltipArrowColor: $tooltipBackground !default;
256
256
 
257
- $popoverBackground: #fff;
258
- $popoverArrowWidth: 10px;
259
- $popoverArrowColor: #fff;
260
- $popoverTitleBackground: $green;
257
+ $popoverBackground: #fff !default;
258
+ $popoverArrowWidth: 10px !default;
259
+ $popoverArrowColor: #fff !default;
260
+ $popoverTitleBackground: $green !default;
261
261
 
262
262
  // Special enhancement for popovers
263
- $popoverArrowOuterWidth: $popoverArrowWidth + 1;
264
- $popoverArrowOuterColor: rgba(0,0,0,.25);
263
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
264
+ $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
265
265
 
266
266
 
267
267
 
@@ -271,31 +271,31 @@ $popoverArrowOuterColor: rgba(0,0,0,.25);
271
271
 
272
272
  // Default 940px grid
273
273
  // -------------------------
274
- $gridColumns: 12;
275
- $gridColumnWidth: 60px;
276
- $gridGutterWidth: 20px;
277
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
274
+ $gridColumns: 12 !default;
275
+ $gridColumnWidth: 60px !default;
276
+ $gridGutterWidth: 20px !default;
277
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
278
278
 
279
279
  // 1200px min
280
- $gridColumnWidth1200: 70px;
281
- $gridGutterWidth1200: 30px;
282
- $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1));
280
+ $gridColumnWidth1200: 70px !default;
281
+ $gridGutterWidth1200: 30px !default;
282
+ $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
283
283
 
284
284
  // 768px-979px
285
- $gridColumnWidth768: 42px;
286
- $gridGutterWidth768: 20px;
287
- $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1));
285
+ $gridColumnWidth768: 42px !default;
286
+ $gridGutterWidth768: 20px !default;
287
+ $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
288
288
 
289
289
 
290
290
  // Fluid grid
291
291
  // -------------------------
292
- $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth);
293
- $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth);
292
+ $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
293
+ $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
294
294
 
295
295
  // 1200px min
296
- $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200);
297
- $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200);
296
+ $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
297
+ $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
298
298
 
299
299
  // 768px-979px
300
- $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768);
301
- $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768);
300
+ $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
301
+ $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;
@@ -9,127 +9,127 @@
9
9
 
10
10
  // Grays
11
11
  // -------------------------
12
- $black: #000;
13
- $grayDarker: #222;
14
- $grayDark: #333;
15
- $gray: #555;
16
- $grayLight: #999;
17
- $grayLighter: #eee;
18
- $white: #fff;
12
+ $black: #000 !default;
13
+ $grayDarker: #222 !default;
14
+ $grayDark: #333 !default;
15
+ $gray: #555 !default;
16
+ $grayLight: #999 !default;
17
+ $grayLighter: #eee !default;
18
+ $white: #fff !default;
19
19
 
20
20
 
21
21
  // Accent colors
22
22
  // -------------------------
23
- $blue: #45515F;
24
- $blueDark: #2A333C;
25
- $green: #5DA028;
26
- $red: #A12932;
27
- $yellow: #E6C92E;
28
- $orange: #E36B23;
29
- $pink: #C74871;
30
- $purple: #7073CF;
23
+ $blue: #45515F !default;
24
+ $blueDark: #2A333C !default;
25
+ $green: #5DA028 !default;
26
+ $red: #A12932 !default;
27
+ $yellow: #E6C92E !default;
28
+ $orange: #E36B23 !default;
29
+ $pink: #C74871 !default;
30
+ $purple: #7073CF !default;
31
31
 
32
32
 
33
33
  // Scaffolding
34
34
  // -------------------------
35
- $bodyBackground: $blueDark;
36
- $textColor: #ECE9D7;
35
+ $bodyBackground: $blueDark !default;
36
+ $textColor: #ECE9D7 !default;
37
37
 
38
38
 
39
39
  // Links
40
40
  // -------------------------
41
- $linkColor: $orange;
42
- $linkColorHover: $linkColor;
41
+ $linkColor: $orange !default;
42
+ $linkColorHover: $linkColor !default;
43
43
 
44
44
 
45
45
  // Typography
46
46
  // -------------------------
47
- $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
48
- $serifFontFamily: Georgia, Utopia, Palatino, 'Palatino Linotype', serif;
49
- $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
47
+ $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
48
+ $serifFontFamily: Georgia, Utopia, Palatino, 'Palatino Linotype', serif !default;
49
+ $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
50
 
51
- $baseFontSize: 15px;
52
- $baseFontFamily: $serifFontFamily;
53
- $baseLineHeight: 20px;
54
- $altFontFamily: $serifFontFamily;
51
+ $baseFontSize: 15px !default;
52
+ $baseFontFamily: $serifFontFamily !default;
53
+ $baseLineHeight: 20px !default;
54
+ $altFontFamily: $serifFontFamily !default;
55
55
 
56
- $headingsFontFamily: 'Oswald', sans-serif; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: bold; // instead of browser default, bold
58
- $headingsColor: $orange; // empty to use BS default, $textColor
56
+ $headingsFontFamily: 'Oswald', sans-serif !default; // empty to use BS default, $baseFontFamily
57
+ $headingsFontWeight: bold !default; // instead of browser default, bold
58
+ $headingsColor: $orange !default; // empty to use BS default, $textColor
59
59
 
60
60
 
61
61
  // Component sizing
62
62
  // -------------------------
63
63
  // Based on 14px font-size and 20px line-height
64
64
 
65
- $fontSizeLarge: $baseFontSize * 1.25; // ~18px
66
- $fontSizeSmall: $baseFontSize * 0.85; // ~12px
67
- $fontSizeMini: $baseFontSize * 0.75; // ~11px
65
+ $fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
66
+ $fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
67
+ $fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
68
68
 
69
- $paddingLarge: 11px 19px; // 44px
70
- $paddingSmall: 2px 10px; // 26px
71
- $paddingMini: 0px 6px; // 22px
69
+ $paddingLarge: 11px 19px !default; // 44px
70
+ $paddingSmall: 2px 10px !default; // 26px
71
+ $paddingMini: 0px 6px !default; // 22px
72
72
 
73
- $baseBorderRadius: 4px;
74
- $borderRadiusLarge: 6px;
75
- $borderRadiusSmall: 3px;
73
+ $baseBorderRadius: 4px !default;
74
+ $borderRadiusLarge: 6px !default;
75
+ $borderRadiusSmall: 3px !default;
76
76
 
77
77
 
78
78
  // Tables
79
79
  // -------------------------
80
- $tableBackground: darken($blue, 3%); // overall background-color
81
- $tableBackgroundAccent: $blue; // for striping
82
- $tableBackgroundHover: lighten($blue, 5%); // for hover
83
- $tableBorder: transparent; // table and cell border
80
+ $tableBackground: darken($blue, 3%) !default; // overall background-color
81
+ $tableBackgroundAccent: $blue !default; // for striping
82
+ $tableBackgroundHover: lighten($blue, 5%) !default; // for hover
83
+ $tableBorder: transparent !default; // table and cell border
84
84
 
85
85
  // Buttons
86
86
  // -------------------------
87
- $btnBackground: $white;
88
- $btnBackgroundHighlight: darken($white, 10%);
89
- $btnBorder: darken($white, 20%);
87
+ $btnBackground: $white !default;
88
+ $btnBackgroundHighlight: darken($white, 10%) !default;
89
+ $btnBorder: darken($white, 20%) !default;
90
90
 
91
- $btnPrimaryBackground: $linkColor;
92
- $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%);
91
+ $btnPrimaryBackground: $linkColor !default;
92
+ $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%) !default;
93
93
 
94
- $btnInfoBackground: #5bc0de;
95
- $btnInfoBackgroundHighlight: #2f96b4;
94
+ $btnInfoBackground: #5bc0de !default;
95
+ $btnInfoBackgroundHighlight: #2f96b4 !default;
96
96
 
97
- $btnSuccessBackground: #62c462;
98
- $btnSuccessBackgroundHighlight: #51a351;
97
+ $btnSuccessBackground: #62c462 !default;
98
+ $btnSuccessBackgroundHighlight: #51a351 !default;
99
99
 
100
- $btnWarningBackground: lighten($orange, 15%);
101
- $btnWarningBackgroundHighlight: $orange;
100
+ $btnWarningBackground: lighten($orange, 15%) !default;
101
+ $btnWarningBackgroundHighlight: $orange !default;
102
102
 
103
- $btnDangerBackground: #ee5f5b;
104
- $btnDangerBackgroundHighlight: #bd362f;
103
+ $btnDangerBackground: #ee5f5b !default;
104
+ $btnDangerBackgroundHighlight: #bd362f !default;
105
105
 
106
- $btnInverseBackground: $gray;
107
- $btnInverseBackgroundHighlight: $grayDarker;
106
+ $btnInverseBackground: $gray !default;
107
+ $btnInverseBackgroundHighlight: $grayDarker !default;
108
108
 
109
109
 
110
110
  // Forms
111
111
  // -------------------------
112
- $inputBackground: $white;
113
- $inputBorder: #ccc;
114
- $inputBorderRadius: $baseBorderRadius;
115
- $inputDisabledBackground: $grayLighter;
116
- $formActionsBackground: transparent;
117
- $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
112
+ $inputBackground: $white !default;
113
+ $inputBorder: #ccc !default;
114
+ $inputBorderRadius: $baseBorderRadius !default;
115
+ $inputDisabledBackground: $grayLighter !default;
116
+ $formActionsBackground: transparent !default;
117
+ $inputHeight: $baseLineHeight + 10px !default; // base line-height + 8px vertical padding + 2px top/bottom border
118
118
 
119
119
 
120
120
  // Dropdowns
121
121
  // -------------------------
122
- $dropdownBackground: lighten($blue, 10%);
123
- $dropdownBorder: transparent;
124
- $dropdownDividerTop: transparent;
125
- $dropdownDividerBottom: $blue;
122
+ $dropdownBackground: lighten($blue, 10%) !default;
123
+ $dropdownBorder: transparent !default;
124
+ $dropdownDividerTop: transparent !default;
125
+ $dropdownDividerBottom: $blue !default;
126
126
 
127
- $dropdownLinkColor: $textColor;
128
- $dropdownLinkColorHover: $white;
129
- $dropdownLinkColorActive: $white;
127
+ $dropdownLinkColor: $textColor !default;
128
+ $dropdownLinkColorHover: $white !default;
129
+ $dropdownLinkColorActive: $white !default;
130
130
 
131
- $dropdownLinkBackgroundActive: $linkColor;
132
- $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive;
131
+ $dropdownLinkBackgroundActive: $linkColor !default;
132
+ $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
133
133
 
134
134
 
135
135
 
@@ -141,127 +141,127 @@ $dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive;
141
141
  // -------------------------
142
142
  // Used for a bird's eye view of components dependent on the z-axis
143
143
  // Try to avoid customizing these :)
144
- $zindexDropdown: 1000;
145
- $zindexPopover: 1010;
146
- $zindexTooltip: 1030;
147
- $zindexFixedNavbar: 1030;
148
- $zindexModalBackdrop: 1040;
149
- $zindexModal: 1050;
144
+ $zindexDropdown: 1000 !default;
145
+ $zindexPopover: 1010 !default;
146
+ $zindexTooltip: 1030 !default;
147
+ $zindexFixedNavbar: 1030 !default;
148
+ $zindexModalBackdrop: 1040 !default;
149
+ $zindexModal: 1050 !default;
150
150
 
151
151
 
152
152
  // Sprite icons path
153
153
  // -------------------------
154
- $iconSpritePath: "../img/glyphicons-halflings.png";
155
- $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
154
+ $iconSpritePath: "../img/glyphicons-halflings.png" !default;
155
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
156
156
 
157
157
 
158
158
  // Input placeholder text color
159
159
  // -------------------------
160
- $placeholderText: $grayLight;
160
+ $placeholderText: $grayLight !default;
161
161
 
162
162
 
163
163
  // Hr border color
164
164
  // -------------------------
165
- $hrBorder: transparent;
165
+ $hrBorder: transparent !default;
166
166
 
167
167
 
168
168
  // Horizontal forms & lists
169
169
  // -------------------------
170
- $horizontalComponentOffset: 180px;
170
+ $horizontalComponentOffset: 180px !default;
171
171
 
172
172
 
173
173
  // Wells
174
174
  // -------------------------
175
- $wellBackground: $blue;
175
+ $wellBackground: $blue !default;
176
176
 
177
177
 
178
178
  // Navbar
179
179
  // -------------------------
180
- $navbarCollapseWidth: 979px;
181
- $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
180
+ $navbarCollapseWidth: 979px !default;
181
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
182
182
 
183
- $navbarHeight: 70px;
184
- $navbarBackground: $blueDark;
185
- $navbarBackgroundHighlight: $navbarBackground;
186
- $navbarBorder: darken($navbarBackground, 5%);
183
+ $navbarHeight: 70px !default;
184
+ $navbarBackground: $blueDark !default;
185
+ $navbarBackgroundHighlight: $navbarBackground !default;
186
+ $navbarBorder: darken($navbarBackground, 5%) !default;
187
187
 
188
- $navbarText: $grayLight;
189
- $navbarLinkColor: $orange;
190
- $navbarLinkColorHover: $orange;
191
- $navbarLinkColorActive: $navbarLinkColorHover;
192
- $navbarLinkBackgroundHover: transparent;
193
- $navbarLinkBackgroundActive: $navbarBackground;
188
+ $navbarText: $grayLight !default;
189
+ $navbarLinkColor: $orange !default;
190
+ $navbarLinkColorHover: $orange !default;
191
+ $navbarLinkColorActive: $navbarLinkColorHover !default;
192
+ $navbarLinkBackgroundHover: transparent !default;
193
+ $navbarLinkBackgroundActive: $navbarBackground !default;
194
194
 
195
- $navbarBrandColor: $navbarLinkColor;
195
+ $navbarBrandColor: $navbarLinkColor !default;
196
196
 
197
197
  // Inverted navbar
198
- $navbarInverseBackground: $blue;
199
- $navbarInverseBackgroundHighlight: $navbarInverseBackground;
200
- $navbarInverseBorder: darken($navbarBackground, 5%);
198
+ $navbarInverseBackground: $blue !default;
199
+ $navbarInverseBackgroundHighlight: $navbarInverseBackground !default;
200
+ $navbarInverseBorder: darken($navbarBackground, 5%) !default;
201
201
 
202
- $navbarInverseText: $grayLight;
203
- $navbarInverseLinkColor: $orange;
204
- $navbarInverseLinkColorHover: $orange;
205
- $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
206
- $navbarInverseLinkBackgroundHover: transparent;
207
- $navbarInverseLinkBackgroundActive: $navbarInverseBackground;
202
+ $navbarInverseText: $grayLight !default;
203
+ $navbarInverseLinkColor: $orange !default;
204
+ $navbarInverseLinkColorHover: $orange !default;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
206
+ $navbarInverseLinkBackgroundHover: transparent !default;
207
+ $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
208
208
 
209
- $navbarInverseSearchBackground: $white;
210
- $navbarInverseSearchBackgroundFocus: $white;
211
- $navbarInverseSearchBorder: $navbarInverseBackground;
212
- $navbarInverseSearchPlaceholderColor: $grayLight;
209
+ $navbarInverseSearchBackground: $white !default;
210
+ $navbarInverseSearchBackgroundFocus: $white !default;
211
+ $navbarInverseSearchBorder: $navbarInverseBackground !default;
212
+ $navbarInverseSearchPlaceholderColor: $grayLight !default;
213
213
 
214
- $navbarInverseBrandColor: $navbarInverseLinkColor;
214
+ $navbarInverseBrandColor: $navbarInverseLinkColor !default;
215
215
 
216
216
 
217
217
  // Pagination
218
218
  // -------------------------
219
- $paginationBackground: $blue;
220
- $paginationBorder: transparent;
221
- $paginationActiveBackground: $orange;
219
+ $paginationBackground: $blue !default;
220
+ $paginationBorder: transparent !default;
221
+ $paginationActiveBackground: $orange !default;
222
222
 
223
223
 
224
224
  // Hero unit
225
225
  // -------------------------
226
- $heroUnitBackground: $blue;
227
- $heroUnitHeadingColor: inherit;
228
- $heroUnitLeadColor: inherit;
226
+ $heroUnitBackground: $blue !default;
227
+ $heroUnitHeadingColor: inherit !default;
228
+ $heroUnitLeadColor: inherit !default;
229
229
 
230
230
 
231
231
  // Form states and alerts
232
232
  // -------------------------
233
- $warningText: #c09853;
234
- $warningBackground: #fcf8e3;
235
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
233
+ $warningText: #c09853 !default;
234
+ $warningBackground: #fcf8e3 !default;
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
236
236
 
237
- $errorText: #b94a48;
238
- $errorBackground: #f2dede;
239
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
237
+ $errorText: #b94a48 !default;
238
+ $errorBackground: #f2dede !default;
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
240
240
 
241
- $successText: #468847;
242
- $successBackground: #dff0d8;
243
- $successBorder: darken(adjust-hue($successBackground, -10), 5%);
241
+ $successText: #468847 !default;
242
+ $successBackground: #dff0d8 !default;
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
244
244
 
245
- $infoText: #3a87ad;
246
- $infoBackground: #d9edf7;
247
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
245
+ $infoText: #3a87ad !default;
246
+ $infoBackground: #d9edf7 !default;
247
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
248
248
 
249
249
 
250
250
  // Tooltips and popovers
251
251
  // -------------------------
252
- $tooltipColor: #fff;
253
- $tooltipBackground: #000;
254
- $tooltipArrowWidth: 5px;
255
- $tooltipArrowColor: $tooltipBackground;
252
+ $tooltipColor: #fff !default;
253
+ $tooltipBackground: #000 !default;
254
+ $tooltipArrowWidth: 5px !default;
255
+ $tooltipArrowColor: $tooltipBackground !default;
256
256
 
257
- $popoverBackground: #fff;
258
- $popoverArrowWidth: 10px;
259
- $popoverArrowColor: #fff;
260
- $popoverTitleBackground: darken($popoverBackground, 3%);
257
+ $popoverBackground: #fff !default;
258
+ $popoverArrowWidth: 10px !default;
259
+ $popoverArrowColor: #fff !default;
260
+ $popoverTitleBackground: darken($popoverBackground, 3%) !default;
261
261
 
262
262
  // Special enhancement for popovers
263
- $popoverArrowOuterWidth: $popoverArrowWidth + 1;
264
- $popoverArrowOuterColor: rgba(0,0,0,.25);
263
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
264
+ $popoverArrowOuterColor: rgba(0,0,0,.25) !default;
265
265
 
266
266
 
267
267
 
@@ -271,31 +271,31 @@ $popoverArrowOuterColor: rgba(0,0,0,.25);
271
271
 
272
272
  // Default 940px grid
273
273
  // -------------------------
274
- $gridColumns: 12;
275
- $gridColumnWidth: 60px;
276
- $gridGutterWidth: 20px;
277
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
274
+ $gridColumns: 12 !default;
275
+ $gridColumnWidth: 60px !default;
276
+ $gridGutterWidth: 20px !default;
277
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
278
278
 
279
279
  // 1200px min
280
- $gridColumnWidth1200: 70px;
281
- $gridGutterWidth1200: 30px;
282
- $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1));
280
+ $gridColumnWidth1200: 70px !default;
281
+ $gridGutterWidth1200: 30px !default;
282
+ $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
283
283
 
284
284
  // 768px-979px
285
- $gridColumnWidth768: 42px;
286
- $gridGutterWidth768: 20px;
287
- $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1));
285
+ $gridColumnWidth768: 42px !default;
286
+ $gridGutterWidth768: 20px !default;
287
+ $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
288
288
 
289
289
 
290
290
  // Fluid grid
291
291
  // -------------------------
292
- $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth);
293
- $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth);
292
+ $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
293
+ $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
294
294
 
295
295
  // 1200px min
296
- $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200);
297
- $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200);
296
+ $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
297
+ $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
298
298
 
299
299
  // 768px-979px
300
- $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768);
301
- $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768);
300
+ $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
301
+ $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;