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: #0063AC;
24
- $blueDark: #0064cd;
25
- $green: #1C9B47;
26
- $red: #9c0001;
27
- $yellow: #ffc40d;
28
- $orange: #f89406;
29
- $pink: #c3325f;
30
- $purple: #7a43b6;
23
+ $blue: #0063AC !default;
24
+ $blueDark: #0064cd !default;
25
+ $green: #1C9B47 !default;
26
+ $red: #9c0001 !default;
27
+ $yellow: #ffc40d !default;
28
+ $orange: #f89406 !default;
29
+ $pink: #c3325f !default;
30
+ $purple: #7a43b6 !default;
31
31
 
32
32
 
33
33
  // Scaffolding
34
34
  // -------------------------
35
- $bodyBackground: #F6F6F6;
36
- $textColor: $grayDark;
35
+ $bodyBackground: #F6F6F6 !default;
36
+ $textColor: $grayDark !default;
37
37
 
38
38
 
39
39
  // Links
40
40
  // -------------------------
41
- $linkColor: $red;
42
- $linkColorHover: darken($linkColor, 5%);
41
+ $linkColor: $red !default;
42
+ $linkColorHover: darken($linkColor, 5%) !default;
43
43
 
44
44
 
45
45
  // Typography
46
46
  // -------------------------
47
- $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
48
- $serifFontFamily: "Lora", Georgia, "Times New Roman", Times, serif;
49
- $monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
47
+ $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
48
+ $serifFontFamily: "Lora", Georgia, "Times New Roman", Times, serif !default;
49
+ $monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace !default;
50
50
 
51
- $baseFontSize: 17px;
52
- $baseFontFamily: $serifFontFamily;
53
- $baseLineHeight: 26px;
54
- $altFontFamily: $sansFontFamily;
51
+ $baseFontSize: 17px !default;
52
+ $baseFontFamily: $serifFontFamily !default;
53
+ $baseLineHeight: 26px !default;
54
+ $altFontFamily: $sansFontFamily !default;
55
55
 
56
- $headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: bold; // instead of browser default, bold
58
- $headingsColor: inherit; // empty to use BS default, $textColor
56
+ $headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
57
+ $headingsFontWeight: bold !default; // instead of browser default, bold
58
+ $headingsColor: inherit !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: transparent; // overall background-color
81
- $tableBackgroundAccent: #f9f9f9; // for striping
82
- $tableBackgroundHover: #f5f5f5; // for hover
83
- $tableBorder: #ddd; // table and cell border
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
84
84
 
85
85
  // Buttons
86
86
  // -------------------------
87
- $btnBackground: $white;
88
- $btnBackgroundHighlight: darken($white, 10%);
89
- $btnBorder: #bbb;
87
+ $btnBackground: $white !default;
88
+ $btnBackgroundHighlight: darken($white, 10%) !default;
89
+ $btnBorder: #bbb !default;
90
90
 
91
- $btnPrimaryBackground: lighten($linkColor, 5%);
92
- $btnPrimaryBackgroundHighlight: $linkColor;
91
+ $btnPrimaryBackground: lighten($linkColor, 5%) !default;
92
+ $btnPrimaryBackgroundHighlight: $linkColor !default;
93
93
 
94
- $btnInfoBackground: lighten($blue, 5%);
95
- $btnInfoBackgroundHighlight: $blue;
94
+ $btnInfoBackground: lighten($blue, 5%) !default;
95
+ $btnInfoBackgroundHighlight: $blue !default;
96
96
 
97
- $btnSuccessBackground: lighten($green, 5%);
98
- $btnSuccessBackgroundHighlight: $green;
97
+ $btnSuccessBackground: lighten($green, 5%) !default;
98
+ $btnSuccessBackgroundHighlight: $green !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: lighten($grayDark, 5%);
107
- $btnInverseBackgroundHighlight: $grayDark;
106
+ $btnInverseBackground: lighten($grayDark, 5%) !default;
107
+ $btnInverseBackgroundHighlight: $grayDark !default;
108
108
 
109
109
 
110
110
  // Forms
111
111
  // -------------------------
112
- $inputBackground: $white;
113
- $inputBorder: #ccc;
114
- $inputBorderRadius: $baseBorderRadius;
115
- $inputDisabledBackground: $grayLighter;
116
- $formActionsBackground: #f5f5f5;
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: #f5f5f5 !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: $bodyBackground;
123
- $dropdownBorder: rgba(0,0,0,.2);
124
- $dropdownDividerTop: #e5e5e5;
125
- $dropdownDividerBottom: $white;
122
+ $dropdownBackground: $bodyBackground !default;
123
+ $dropdownBorder: rgba(0,0,0,.2) !default;
124
+ $dropdownDividerTop: #e5e5e5 !default;
125
+ $dropdownDividerBottom: $white !default;
126
126
 
127
- $dropdownLinkColor: $grayDark;
128
- $dropdownLinkColorHover: $white;
129
- $dropdownLinkColorActive: $white;
127
+ $dropdownLinkColor: $grayDark !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: $grayLighter;
165
+ $hrBorder: $grayLighter !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: #f5f5f5;
175
+ $wellBackground: #f5f5f5 !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: 60px;
184
- $navbarBackgroundHighlight: $bodyBackground;
185
- $navbarBackground: $bodyBackground;
186
- $navbarBorder: darken($navbarBackground, 12%);
183
+ $navbarHeight: 60px !default;
184
+ $navbarBackgroundHighlight: $bodyBackground !default;
185
+ $navbarBackground: $bodyBackground !default;
186
+ $navbarBorder: darken($navbarBackground, 12%) !default;
187
187
 
188
- $navbarText: $textColor;
189
- $navbarLinkColor: $textColor;
190
- $navbarLinkColorHover: $textColor;
191
- $navbarLinkColorActive: $textColor;
192
- $navbarLinkBackgroundHover: transparent;
193
- $navbarLinkBackgroundActive: darken($navbarBackground, 5%);
188
+ $navbarText: $textColor !default;
189
+ $navbarLinkColor: $textColor !default;
190
+ $navbarLinkColorHover: $textColor !default;
191
+ $navbarLinkColorActive: $textColor !default;
192
+ $navbarLinkBackgroundHover: transparent !default;
193
+ $navbarLinkBackgroundActive: darken($navbarBackground, 5%) !default;
194
194
 
195
- $navbarBrandColor: $navbarLinkColor;
195
+ $navbarBrandColor: $navbarLinkColor !default;
196
196
 
197
197
  // Inverted navbar
198
- $navbarInverseBackground: $grayDark;
199
- $navbarInverseBackgroundHighlight: $grayDark;
200
- $navbarInverseBorder: #252525;
198
+ $navbarInverseBackground: $grayDark !default;
199
+ $navbarInverseBackgroundHighlight: $grayDark !default;
200
+ $navbarInverseBorder: #252525 !default;
201
201
 
202
- $navbarInverseText: $grayLight;
203
- $navbarInverseLinkColor: $grayLight;
204
- $navbarInverseLinkColorHover: $white;
205
- $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
206
- $navbarInverseLinkBackgroundHover: transparent;
207
- $navbarInverseLinkBackgroundActive: $navbarInverseBackground;
202
+ $navbarInverseText: $grayLight !default;
203
+ $navbarInverseLinkColor: $grayLight !default;
204
+ $navbarInverseLinkColorHover: $white !default;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
206
+ $navbarInverseLinkBackgroundHover: transparent !default;
207
+ $navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
208
208
 
209
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
210
- $navbarInverseSearchBackgroundFocus: $white;
211
- $navbarInverseSearchBorder: $navbarInverseBackground;
212
- $navbarInverseSearchPlaceholderColor: #ccc;
209
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
210
+ $navbarInverseSearchBackgroundFocus: $white !default;
211
+ $navbarInverseSearchBorder: $navbarInverseBackground !default;
212
+ $navbarInverseSearchPlaceholderColor: #ccc !default;
213
213
 
214
- $navbarInverseBrandColor: $navbarInverseLinkColor;
214
+ $navbarInverseBrandColor: $navbarInverseLinkColor !default;
215
215
 
216
216
 
217
217
  // Pagination
218
218
  // -------------------------
219
- $paginationBackground: #fff;
220
- $paginationBorder: #ddd;
221
- $paginationActiveBackground: #f5f5f5;
219
+ $paginationBackground: #fff !default;
220
+ $paginationBorder: #ddd !default;
221
+ $paginationActiveBackground: #f5f5f5 !default;
222
222
 
223
223
 
224
224
  // Hero unit
225
225
  // -------------------------
226
- $heroUnitBackground: $grayLighter;
227
- $heroUnitHeadingColor: inherit;
228
- $heroUnitLeadColor: inherit;
226
+ $heroUnitBackground: $grayLighter !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;
@@ -9,127 +9,127 @@
9
9
 
10
10
  // Grays
11
11
  // -------------------------
12
- $black: #000;
13
- $grayDarker: #2C2C2C;
14
- $grayDark: #333;
15
- $gray: #555;
16
- $grayLight: #999;
17
- $grayLighter: #eee;
18
- $white: #fff;
12
+ $black: #000 !default;
13
+ $grayDarker: #2C2C2C !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: #029ACF;
24
- $blueDark: #043755;
25
- $green: #3D9400;
26
- $red: #D9230F;
27
- $yellow: #FFCA27;
28
- $orange: #D9831F;
29
- $pink: #ED2590;
30
- $purple: #9B479F;
23
+ $blue: #029ACF !default;
24
+ $blueDark: #043755 !default;
25
+ $green: #3D9400 !default;
26
+ $red: #D9230F !default;
27
+ $yellow: #FFCA27 !default;
28
+ $orange: #D9831F !default;
29
+ $pink: #ED2590 !default;
30
+ $purple: #9B479F !default;
31
31
 
32
32
 
33
33
  // Scaffolding
34
34
  // -------------------------
35
- $bodyBackground: #F7F7F7;
36
- $textColor: $gray;
35
+ $bodyBackground: #F7F7F7 !default;
36
+ $textColor: $gray !default;
37
37
 
38
38
 
39
39
  // Links
40
40
  // -------------------------
41
- $linkColor: $red;
42
- $linkColorHover: $linkColor;
41
+ $linkColor: $red !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: 14px;
52
- $baseFontFamily: $sansFontFamily;
53
- $baseLineHeight: 20px;
54
- $altFontFamily: $serifFontFamily;
51
+ $baseFontSize: 14px !default;
52
+ $baseFontFamily: $sansFontFamily !default;
53
+ $baseLineHeight: 20px !default;
54
+ $altFontFamily: $serifFontFamily !default;
55
55
 
56
- $headingsFontFamily: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; // empty to use BS default, $baseFontFamily
57
- $headingsFontWeight: bold; // instead of browser default, bold
58
- $headingsColor: inherit; // empty to use BS default, $textColor
56
+ $headingsFontFamily: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !default; // empty to use BS default, $baseFontFamily
57
+ $headingsFontWeight: bold !default; // instead of browser default, bold
58
+ $headingsColor: inherit !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: 0;
74
- $borderRadiusLarge: 6px;
75
- $borderRadiusSmall: 3px;
73
+ $baseBorderRadius: 0 !default;
74
+ $borderRadiusLarge: 6px !default;
75
+ $borderRadiusSmall: 3px !default;
76
76
 
77
77
 
78
78
  // Tables
79
79
  // -------------------------
80
- $tableBackground: transparent; // overall background-color
81
- $tableBackgroundAccent: #f9f9f9; // for striping
82
- $tableBackgroundHover: #f5f5f5; // for hover
83
- $tableBorder: #ddd; // table and cell border
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
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: lighten($linkColor, 5%);
92
- $btnPrimaryBackgroundHighlight: $linkColor;
91
+ $btnPrimaryBackground: lighten($linkColor, 5%) !default;
92
+ $btnPrimaryBackgroundHighlight: $linkColor !default;
93
93
 
94
- $btnInfoBackground: lighten(#5bc0de, 5%);
95
- $btnInfoBackgroundHighlight: #5bc0de;
94
+ $btnInfoBackground: lighten(#5bc0de, 5%) !default;
95
+ $btnInfoBackgroundHighlight: #5bc0de !default;
96
96
 
97
- $btnSuccessBackground: lighten($green, 5%);
98
- $btnSuccessBackgroundHighlight: $green;
97
+ $btnSuccessBackground: lighten($green, 5%) !default;
98
+ $btnSuccessBackgroundHighlight: $green !default;
99
99
 
100
- $btnWarningBackground: lighten($yellow, 5%);
101
- $btnWarningBackgroundHighlight: $yellow;
100
+ $btnWarningBackground: lighten($yellow, 5%) !default;
101
+ $btnWarningBackgroundHighlight: $yellow !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: $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: #f5f5f5;
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: #f5f5f5 !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: $white;
123
- $dropdownBorder: rgba(0,0,0,.2);
124
- $dropdownDividerTop: #e5e5e5;
125
- $dropdownDividerBottom: $white;
122
+ $dropdownBackground: $white !default;
123
+ $dropdownBorder: rgba(0,0,0,.2) !default;
124
+ $dropdownDividerTop: #e5e5e5 !default;
125
+ $dropdownDividerBottom: $white !default;
126
126
 
127
- $dropdownLinkColor: $textColor;
128
- $dropdownLinkColorHover: $textColor;
129
- $dropdownLinkColorActive: $textColor;
127
+ $dropdownLinkColor: $textColor !default;
128
+ $dropdownLinkColorHover: $textColor !default;
129
+ $dropdownLinkColorActive: $textColor !default;
130
130
 
131
- $dropdownLinkBackgroundActive: $linkColor;
132
- $dropdownLinkBackgroundHover: #FBEBE9;
131
+ $dropdownLinkBackgroundActive: $linkColor !default;
132
+ $dropdownLinkBackgroundHover: #FBEBE9 !default;
133
133
 
134
134
 
135
135
 
@@ -141,127 +141,127 @@ $dropdownLinkBackgroundHover: #FBEBE9;
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: $grayLighter;
165
+ $hrBorder: $grayLighter !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: $white;
175
+ $wellBackground: $white !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: 40px;
184
- $navbarBackground: #fefefe;
185
- $navbarBackgroundHighlight: $navbarBackground;
186
- $navbarBorder: darken($navbarBackground, 12%);
183
+ $navbarHeight: 40px !default;
184
+ $navbarBackground: #fefefe !default;
185
+ $navbarBackgroundHighlight: $navbarBackground !default;
186
+ $navbarBorder: darken($navbarBackground, 12%) !default;
187
187
 
188
- $navbarText: $gray;
189
- $navbarLinkColor: $gray;
190
- $navbarLinkColorHover: $linkColor;
191
- $navbarLinkColorActive: $linkColor;
192
- $navbarLinkBackgroundHover: transparent;
193
- $navbarLinkBackgroundActive: $navbarBackground;
188
+ $navbarText: $gray !default;
189
+ $navbarLinkColor: $gray !default;
190
+ $navbarLinkColorHover: $linkColor !default;
191
+ $navbarLinkColorActive: $linkColor !default;
192
+ $navbarLinkBackgroundHover: transparent !default;
193
+ $navbarLinkBackgroundActive: $navbarBackground !default;
194
194
 
195
- $navbarBrandColor: $headingsColor;
195
+ $navbarBrandColor: $headingsColor !default;
196
196
 
197
197
  // Inverted navbar
198
- $navbarInverseBackground: $red;
199
- $navbarInverseBackgroundHighlight: lighten($red, 6%);
200
- $navbarInverseBorder: lighten($navbarInverseBackground, 8%);
198
+ $navbarInverseBackground: $red !default;
199
+ $navbarInverseBackgroundHighlight: lighten($red, 6%) !default;
200
+ $navbarInverseBorder: lighten($navbarInverseBackground, 8%) !default;
201
201
 
202
- $navbarInverseText: $white;
203
- $navbarInverseLinkColor: $white;
204
- $navbarInverseLinkColorHover: $white;
205
- $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
206
- $navbarInverseLinkBackgroundHover: transparent;
207
- $navbarInverseLinkBackgroundActive: $navbarInverseBackground;
202
+ $navbarInverseText: $white !default;
203
+ $navbarInverseLinkColor: $white !default;
204
+ $navbarInverseLinkColorHover: $white !default;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
206
+ $navbarInverseLinkBackgroundHover: transparent !default;
207
+ $navbarInverseLinkBackgroundActive: $navbarInverseBackground !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: #fff;
220
- $paginationBorder: #ddd;
221
- $paginationActiveBackground: #FBEBE9;
219
+ $paginationBackground: #fff !default;
220
+ $paginationBorder: #ddd !default;
221
+ $paginationActiveBackground: #FBEBE9 !default;
222
222
 
223
223
 
224
224
  // Hero unit
225
225
  // -------------------------
226
- $heroUnitBackground: $grayLighter;
227
- $heroUnitHeadingColor: inherit;
228
- $heroUnitLeadColor: inherit;
226
+ $heroUnitBackground: $grayLighter !default;
227
+ $heroUnitHeadingColor: inherit !default;
228
+ $heroUnitLeadColor: inherit !default;
229
229
 
230
230
 
231
231
  // Form states and alerts
232
232
  // -------------------------
233
- $warningText: $orange;
234
- $warningBackground: #fcf8e3;
235
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
233
+ $warningText: $orange !default;
234
+ $warningBackground: #fcf8e3 !default;
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
236
236
 
237
- $errorText: $red;
238
- $errorBackground: #f2dede;
239
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
237
+ $errorText: $red !default;
238
+ $errorBackground: #f2dede !default;
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
240
240
 
241
- $successText: $green;
242
- $successBackground: #dff0d8;
243
- $successBorder: darken(adjust-hue($successBackground, -10), 5%);
241
+ $successText: $green !default;
242
+ $successBackground: #dff0d8 !default;
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
244
244
 
245
- $infoText: $blue;
246
- $infoBackground: #d9edf7;
247
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
245
+ $infoText: $blue !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;