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: #F5F5F5;
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: #F5F5F5 !default;
18
+ $white: #fff !default;
19
19
 
20
20
 
21
21
  // Accent colors
22
22
  // -------------------------
23
- $blue: #19B6EE;
24
- $blueDark: #0064cd;
25
- $green: #38B44A;
26
- $red: #DF382C;
27
- $yellow: #EFB73E;
28
- $orange: #DD4814;
29
- $pink: #c3325f;
30
- $purple: #772953;
23
+ $blue: #19B6EE !default;
24
+ $blueDark: #0064cd !default;
25
+ $green: #38B44A !default;
26
+ $red: #DF382C !default;
27
+ $yellow: #EFB73E !default;
28
+ $orange: #DD4814 !default;
29
+ $pink: #c3325f !default;
30
+ $purple: #772953 !default;
31
31
 
32
32
 
33
33
  // Scaffolding
34
34
  // -------------------------
35
- $bodyBackground: $white;
36
- $textColor: $grayDark;
35
+ $bodyBackground: $white !default;
36
+ $textColor: $grayDark !default;
37
37
 
38
38
 
39
39
  // Links
40
40
  // -------------------------
41
- $linkColor: $orange;
42
- $linkColorHover: darken($linkColor, 15%);
41
+ $linkColor: $orange !default;
42
+ $linkColorHover: darken($linkColor, 15%) !default;
43
43
 
44
44
 
45
45
  // Typography
46
46
  // -------------------------
47
- $sansFontFamily: 'Ubuntu', Tahoma, sans-serif;
48
- $serifFontFamily: Georgia, "Times New Roman", Times, serif;
49
- $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
47
+ $sansFontFamily: 'Ubuntu', Tahoma, 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: 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: 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: lighten($purple, 15%);
95
- $btnInfoBackgroundHighlight: $purple;
94
+ $btnInfoBackground: lighten($purple, 15%) !default;
95
+ $btnInfoBackgroundHighlight: $purple !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: $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: $linkColor;
128
- $dropdownLinkColorHover: $white;
129
- $dropdownLinkColorActive: $white;
127
+ $dropdownLinkColor: $linkColor !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: 40px;
184
- $navbarBackgroundHighlight: #CE4213;
185
- $navbarBackground: $orange;
186
- $navbarBorder: darken($navbarBackground, 5%);
183
+ $navbarHeight: 40px !default;
184
+ $navbarBackgroundHighlight: #CE4213 !default;
185
+ $navbarBackground: $orange !default;
186
+ $navbarBorder: darken($navbarBackground, 5%) !default;
187
187
 
188
- $navbarText: $white;
189
- $navbarLinkColor: $white;
190
- $navbarLinkColorHover: $white;
191
- $navbarLinkColorActive: $navbarLinkColorHover;
192
- $navbarLinkBackgroundHover: darken($navbarBackground, 12%);
193
- $navbarLinkBackgroundActive: darken($navbarBackground, 12%);
188
+ $navbarText: $white !default;
189
+ $navbarLinkColor: $white !default;
190
+ $navbarLinkColorHover: $white !default;
191
+ $navbarLinkColorActive: $navbarLinkColorHover !default;
192
+ $navbarLinkBackgroundHover: darken($navbarBackground, 12%) !default;
193
+ $navbarLinkBackgroundActive: darken($navbarBackground, 12%) !default;
194
194
 
195
- $navbarBrandColor: $navbarLinkColor;
195
+ $navbarBrandColor: $navbarLinkColor !default;
196
196
 
197
197
  // Inverted navbar
198
- $navbarInverseBackground: $purple;
199
- $navbarInverseBackgroundHighlight: lighten($purple, 4%);
200
- $navbarInverseBorder: darken($navbarInverseBackground, 5%);
198
+ $navbarInverseBackground: $purple !default;
199
+ $navbarInverseBackgroundHighlight: lighten($purple, 4%) !default;
200
+ $navbarInverseBorder: darken($navbarInverseBackground, 5%) !default;
201
201
 
202
- $navbarInverseText: $white;
203
- $navbarInverseLinkColor: $white;
204
- $navbarInverseLinkColorHover: $white;
205
- $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
206
- $navbarInverseLinkBackgroundHover: darken($navbarInverseBackground, 8%);
207
- $navbarInverseLinkBackgroundActive: darken($navbarInverseBackground, 8%);
202
+ $navbarInverseText: $white !default;
203
+ $navbarInverseLinkColor: $white !default;
204
+ $navbarInverseLinkColorHover: $white !default;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
206
+ $navbarInverseLinkBackgroundHover: darken($navbarInverseBackground, 8%) !default;
207
+ $navbarInverseLinkBackgroundActive: darken($navbarInverseBackground, 8%) !default;
208
208
 
209
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
210
- $navbarInverseSearchBackgroundFocus: $white;
211
- $navbarInverseSearchBorder: $navbarInverseBackground;
212
- $navbarInverseSearchPlaceholderColor: #eee;
209
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
210
+ $navbarInverseSearchBackgroundFocus: $white !default;
211
+ $navbarInverseSearchBorder: $navbarInverseBackground !default;
212
+ $navbarInverseSearchPlaceholderColor: #eee !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: #ECA918;
234
- $warningBackground: lighten($warningText, 40%);
235
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
233
+ $warningText: #ECA918 !default;
234
+ $warningBackground: lighten($warningText, 40%) !default;
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
236
236
 
237
- $errorText: #DF382C;
238
- $errorBackground: lighten($errorText, 40%);
239
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
237
+ $errorText: #DF382C !default;
238
+ $errorBackground: lighten($errorText, 40%) !default;
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
240
240
 
241
- $successText: #38B44A;
242
- $successBackground: lighten($successText, 40%);
243
- $successBorder: darken(adjust-hue($successBackground, -10), 5%);
241
+ $successText: #38B44A !default;
242
+ $successBackground: lighten($successText, 40%) !default;
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
244
244
 
245
- $infoText: $purple;
246
- $infoBackground: lighten($purple, 50%);
247
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
245
+ $infoText: $purple !default;
246
+ $infoBackground: lighten($purple, 50%) !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;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-13 00:00:00.000000000 Z
12
+ date: 2013-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties