bootswatch-rails 0.5.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/CONTRIBUTING.md +52 -0
- data/CONVERSION.md +6 -8
- data/HISTORY.md +9 -1
- data/README.md +6 -1
- data/Rakefile +3 -0
- data/lib/bootswatch-rails/version.rb +1 -1
- data/rearranges +12 -10
- data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +109 -718
- data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +743 -217
- data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +78 -133
- data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +113 -552
- data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
- data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +620 -0
- data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +105 -525
- data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +273 -0
- data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +829 -0
- data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +183 -452
- data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +747 -218
- data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +77 -295
- data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +408 -0
- data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +827 -0
- data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +149 -37
- data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +84 -413
- data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +251 -481
- data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +749 -217
- data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +87 -231
- data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +745 -216
- data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +168 -569
- data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +746 -217
- data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +21 -110
- data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +745 -217
- data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +418 -0
- data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +827 -0
- metadata +17 -9
- data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +0 -650
- data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +0 -301
@@ -1,462 +1,133 @@
|
|
1
|
-
// Simplex
|
2
|
-
// Bootswatch
|
1
|
+
// Simplex 3.1.1
|
2
|
+
// Bootswatch
|
3
3
|
// -----------------------------------------------------
|
4
4
|
|
5
|
-
|
6
|
-
$
|
7
|
-
|
8
|
-
|
9
|
-
// -----------------------------------------------------
|
10
|
-
|
11
|
-
@import url('//fonts.googleapis.com/css?family=Josefin+Sans:300,400,700');
|
12
|
-
|
13
|
-
// SCAFFOLDING
|
14
|
-
// -----------------------------------------------------
|
15
|
-
|
16
|
-
hr {
|
17
|
-
border-bottom: none;
|
5
|
+
@mixin btn-shadow($color) {
|
6
|
+
@include gradient-vertical-three-colors(lighten($color, 3%), $color, 6%, darken($color, 3%));
|
7
|
+
filter: none;
|
8
|
+
border: 1px solid darken($color, 10%);
|
18
9
|
}
|
19
10
|
|
20
|
-
//
|
21
|
-
// -----------------------------------------------------
|
22
|
-
|
23
|
-
.navbar {
|
24
|
-
|
25
|
-
.navbar-inner {
|
26
|
-
@include box-shadow(none);
|
27
|
-
}
|
28
|
-
|
29
|
-
.brand {
|
30
|
-
padding: 12px 20px 8px;
|
31
|
-
font-family: $headingsFontFamily;
|
32
|
-
font-weight: bold;
|
33
|
-
|
34
|
-
&:hover {
|
35
|
-
color: $linkColor;
|
36
|
-
}
|
37
|
-
}
|
11
|
+
// Navbar =====================================================================
|
38
12
|
|
39
|
-
|
40
|
-
padding: 13px 15px 6px;
|
41
|
-
font-family: $headingsFontFamily;
|
42
|
-
font-weight: bold;
|
43
|
-
text-shadow: none;
|
13
|
+
.navbar-inverse {
|
44
14
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
.nav .active > a,
|
51
|
-
.nav .active > a:hover {
|
52
|
-
background-color: transparent;
|
53
|
-
}
|
54
|
-
|
55
|
-
.navbar-text {
|
56
|
-
padding: 13px 15px 7px;
|
57
|
-
line-height: 19px;
|
58
|
-
font-family: $headingsFontFamily;
|
59
|
-
color: $grayLight;
|
60
|
-
}
|
61
|
-
|
62
|
-
.divider-vertical {
|
63
|
-
height: $navbarHeight - 1;
|
64
|
-
background-color: $hrBorder;
|
65
|
-
}
|
66
|
-
|
67
|
-
.navbar-search {
|
68
|
-
margin-top: 5px;
|
69
|
-
|
70
|
-
input[type="text"] {
|
71
|
-
margin-bottom: 5px;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
.dropdown-menu a {
|
76
|
-
font-family: $headingsFontFamily;
|
77
|
-
}
|
78
|
-
|
79
|
-
.navbar-inverse {
|
80
|
-
|
81
|
-
.navbar-inner {
|
82
|
-
@include box-shadow(none);
|
83
|
-
}
|
84
|
-
|
85
|
-
.brand:hover {
|
86
|
-
color: $white;
|
87
|
-
}
|
88
|
-
}
|
15
|
+
.badge {
|
16
|
+
background-color: #fff;
|
17
|
+
color: $brand-primary;
|
18
|
+
}
|
89
19
|
}
|
90
20
|
|
91
|
-
|
92
|
-
|
93
|
-
.navbar .nav-collapse {
|
94
|
-
|
95
|
-
.nav li > a {
|
96
|
-
color: $textColor;
|
97
|
-
|
98
|
-
&:hover {
|
99
|
-
background-image: none;
|
100
|
-
background-color: $dropdownLinkBackgroundHover;
|
101
|
-
}
|
102
|
-
}
|
21
|
+
// Buttons ====================================================================
|
103
22
|
|
104
|
-
|
105
|
-
|
106
|
-
}
|
107
|
-
|
108
|
-
.navbar-form,
|
109
|
-
.navbar-search {
|
110
|
-
border-top: 1px solid rgba(128, 128, 128, 0.3);
|
111
|
-
border-bottom: 1px solid rgba(128, 128, 128, 0.3);
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.navbar-inverse .nav-collapse {
|
116
|
-
|
117
|
-
.nav li > a {
|
118
|
-
color: $white;
|
119
|
-
|
120
|
-
&:hover {
|
121
|
-
background-color: rgba(255, 255, 255, 0.1) !important;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
.nav-header {
|
126
|
-
color: rgba(255, 255, 255, 0.7);
|
127
|
-
}
|
128
|
-
}
|
23
|
+
.btn {
|
24
|
+
font-family: $headings-font-family;
|
129
25
|
}
|
130
26
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
background-color: $navbarBackground;
|
135
|
-
border-bottom: 1px solid transparent;
|
136
|
-
@include box-shadow($boxShadow);
|
137
|
-
font-family: $headingsFontFamily;
|
138
|
-
|
139
|
-
&.subnav-fixed {
|
140
|
-
top: $navbarHeight + 1;
|
141
|
-
@include box-shadow(#{inset 0 5px #fff, $boxShadow});
|
142
|
-
}
|
143
|
-
|
144
|
-
.nav > li > a {
|
145
|
-
padding: 14px 12px 10px;
|
146
|
-
border-left-color: transparent;
|
147
|
-
border-right-color: transparent;
|
148
|
-
color: $navbarText;
|
149
|
-
font-weight: bold;
|
150
|
-
|
151
|
-
&:hover {
|
152
|
-
background-color: transparent;
|
153
|
-
color: $linkColor;
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
.nav > li.active > a,
|
158
|
-
.nav > li.active > a:hover {
|
159
|
-
border-left-color: transparent;
|
160
|
-
border-right-color: transparent;
|
161
|
-
background-color: transparent;
|
162
|
-
@include box-shadow(none);
|
163
|
-
color: $linkColor;
|
164
|
-
}
|
27
|
+
.btn-default,
|
28
|
+
.btn-default:hover {
|
29
|
+
@include btn-shadow($btn-default-bg);
|
165
30
|
}
|
166
31
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
.nav .nav-header {
|
171
|
-
font-size: 13px;
|
172
|
-
font-weight: normal;
|
173
|
-
text-transform: none;
|
32
|
+
.btn-primary,
|
33
|
+
.btn-primary:hover {
|
34
|
+
@include btn-shadow($btn-primary-bg);
|
174
35
|
}
|
175
36
|
|
176
|
-
.
|
177
|
-
|
178
|
-
|
179
|
-
background-color: darken($bodyBackground, 3%);
|
180
|
-
border: 1px solid #ccc;
|
181
|
-
color: $textColor;
|
182
|
-
|
183
|
-
&:hover {
|
184
|
-
border: 1px solid #ccc;
|
185
|
-
background-color: $dropdownLinkBackgroundHover;
|
186
|
-
color: $linkColor;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
|
190
|
-
& > li.active > a,
|
191
|
-
& > li.active > a:hover {
|
192
|
-
background-color: $bodyBackground;
|
193
|
-
}
|
194
|
-
|
195
|
-
& > li.disabled > a:hover {
|
196
|
-
background-color: darken($bodyBackground, 3%);
|
197
|
-
color: $grayLight;
|
198
|
-
}
|
199
|
-
|
200
|
-
.dropdown {
|
201
|
-
|
202
|
-
.dropdown-toggle .caret {
|
203
|
-
border-top-color: $textColor;
|
204
|
-
border-bottom-color: $textColor;
|
205
|
-
opacity: 1;
|
206
|
-
}
|
207
|
-
|
208
|
-
&:hover .dropdown-toggle .caret {
|
209
|
-
border-top-color: $linkColor;
|
210
|
-
border-bottom-color: $linkColor;
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
.dropdown.open .dropdown-toggle {
|
215
|
-
|
216
|
-
background-color: $dropdownLinkBackgroundHover;
|
217
|
-
border-color: #ccc;
|
218
|
-
color: $linkColor;
|
219
|
-
|
220
|
-
.caret,
|
221
|
-
&:hover .caret {
|
222
|
-
border-top-color: $linkColor;
|
223
|
-
border-bottom-color: $linkColor;
|
224
|
-
opacity: 1;
|
225
|
-
}
|
226
|
-
}
|
227
|
-
|
228
|
-
.dropdown-menu {
|
229
|
-
|
230
|
-
@include border-radius(0);
|
231
|
-
|
232
|
-
a {
|
233
|
-
padding: 8px 15px 3px;
|
234
|
-
}
|
235
|
-
}
|
37
|
+
.btn-success,
|
38
|
+
.btn-success:hover {
|
39
|
+
@include btn-shadow($btn-success-bg);
|
236
40
|
}
|
237
41
|
|
238
|
-
.
|
239
|
-
|
240
|
-
|
241
|
-
.nav-tabs > li > a:hover {
|
242
|
-
border: 1px solid #ccc;
|
243
|
-
}
|
244
|
-
|
245
|
-
.nav-tabs > li.active > a {
|
246
|
-
border-bottom: 1px solid transparent;
|
247
|
-
}
|
248
|
-
|
249
|
-
&.tabs-below > .nav-tabs > li.active > a,
|
250
|
-
&.tabs-left > .nav-tabs > li.active > a,
|
251
|
-
&.tabs-right > .nav-tabs > li.active > a {
|
252
|
-
border-bottom: 1px solid #ccc;
|
253
|
-
}
|
42
|
+
.btn-info,
|
43
|
+
.btn-info:hover {
|
44
|
+
@include btn-shadow($btn-info-bg);
|
254
45
|
}
|
255
46
|
|
256
|
-
.
|
257
|
-
|
258
|
-
|
259
|
-
color: $textColor;
|
260
|
-
|
261
|
-
&:hover {
|
262
|
-
background-color: $dropdownLinkBackgroundHover;
|
263
|
-
color: $linkColor;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
|
267
|
-
li.active > a,
|
268
|
-
li.active > a:hover {
|
269
|
-
background-color: $dropdownLinkBackgroundHover;
|
270
|
-
color: $linkColor;
|
271
|
-
}
|
272
|
-
|
273
|
-
& > li.disabled > a:hover {
|
274
|
-
color: $grayLight;
|
275
|
-
}
|
276
|
-
|
277
|
-
.dropdown .dropdown-toggle .caret {
|
278
|
-
border-top-color: $textColor;
|
279
|
-
border-bottom-color: $textColor;
|
280
|
-
opacity: 1;
|
281
|
-
}
|
282
|
-
|
283
|
-
.dropdown .dropdown-toggle:hover .caret {
|
284
|
-
border-top-color: $linkColor;
|
285
|
-
border-bottom-color: $linkColor;
|
286
|
-
}
|
287
|
-
|
288
|
-
.dropdown.open .dropdown-toggle,
|
289
|
-
.dropdown.open:hover .dropdown-toggle {
|
290
|
-
background-color: $dropdownLinkBackgroundHover;
|
291
|
-
color: $linkColor;
|
292
|
-
|
293
|
-
.caret {
|
294
|
-
border-top-color: $linkColor;
|
295
|
-
border-bottom-color: $linkColor;
|
296
|
-
}
|
297
|
-
}
|
47
|
+
.btn-warning,
|
48
|
+
.btn-warning:hover {
|
49
|
+
@include btn-shadow($btn-warning-bg);
|
298
50
|
}
|
299
51
|
|
300
|
-
.
|
301
|
-
|
302
|
-
|
303
|
-
color: $textColor;
|
304
|
-
|
305
|
-
&:hover {
|
306
|
-
background-color: $dropdownLinkBackgroundHover;
|
307
|
-
color: $linkColor;
|
308
|
-
}
|
309
|
-
}
|
310
|
-
|
311
|
-
li.active > a,
|
312
|
-
li.active > a:hover {
|
313
|
-
background-color: $dropdownLinkBackgroundHover;
|
314
|
-
color: $linkColor;
|
315
|
-
}
|
316
|
-
}
|
317
|
-
|
318
|
-
.breadcrumb {
|
319
|
-
background-color: $white;
|
320
|
-
border: 0px solid transparent;
|
321
|
-
@include box-shadow(#{$boxShadow, -1px -1px 0 rgba(0, 0, 0, 0.1)});
|
322
|
-
|
323
|
-
li {
|
324
|
-
padding-top: 2px;
|
325
|
-
text-shadow: none;
|
326
|
-
}
|
327
|
-
|
328
|
-
.active {
|
329
|
-
color: $textColor;
|
330
|
-
}
|
331
|
-
|
332
|
-
a {
|
333
|
-
text-shadow: none;
|
334
|
-
}
|
335
|
-
|
336
|
-
a:hover {
|
337
|
-
text-decoration: none;
|
338
|
-
}
|
52
|
+
.btn-danger,
|
53
|
+
.btn-danger:hover {
|
54
|
+
@include btn-shadow($btn-danger-bg);
|
339
55
|
}
|
340
56
|
|
341
|
-
|
57
|
+
// Typography =================================================================
|
342
58
|
|
343
|
-
|
344
|
-
|
345
|
-
padding: 2px 14px 0;
|
346
|
-
color: $textColor;
|
347
|
-
|
348
|
-
&:hover {
|
349
|
-
background-color: $dropdownLinkBackgroundHover;
|
350
|
-
color: $linkColor;
|
351
|
-
}
|
352
|
-
}
|
353
|
-
|
354
|
-
ul > .active > a,
|
355
|
-
ul > .active > span {
|
356
|
-
background-color: $dropdownLinkBackgroundHover;
|
357
|
-
color: $linkColor;
|
358
|
-
}
|
359
|
-
|
360
|
-
ul > .disabled > a,
|
361
|
-
ul > .disabled > a:hover,
|
362
|
-
ul > .disabled > span,
|
363
|
-
ul > .disabled > span:hover {
|
364
|
-
background-color: transparent;
|
365
|
-
color: $textColor;
|
366
|
-
}
|
59
|
+
body {
|
60
|
+
font-weight: 200;
|
367
61
|
}
|
368
62
|
|
63
|
+
// Tables =====================================================================
|
369
64
|
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
.btn {
|
374
|
-
padding-top: .6em;
|
375
|
-
font-family: $headingsFontFamily;
|
376
|
-
font-weight: bold;
|
65
|
+
th {
|
66
|
+
color: $headings-color;
|
377
67
|
}
|
378
68
|
|
379
|
-
//
|
380
|
-
// -----------------------------------------------------
|
381
|
-
|
382
|
-
// FORMS
|
383
|
-
// -----------------------------------------------------
|
69
|
+
// Forms ======================================================================
|
384
70
|
|
385
71
|
legend {
|
386
|
-
|
387
|
-
font-family: $headingsFontFamily;
|
72
|
+
color: $headings-color;
|
388
73
|
}
|
389
74
|
|
390
|
-
.
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
}
|
75
|
+
.has-warning {
|
76
|
+
.help-block,
|
77
|
+
.control-label {
|
78
|
+
color: $brand-danger;
|
79
|
+
}
|
396
80
|
|
397
|
-
.
|
398
|
-
|
81
|
+
.form-control,
|
82
|
+
.form-control:focus {
|
83
|
+
border-color: $brand-danger;
|
84
|
+
}
|
399
85
|
}
|
400
86
|
|
401
|
-
.
|
402
|
-
.
|
403
|
-
|
404
|
-
|
87
|
+
.has-error {
|
88
|
+
.help-block,
|
89
|
+
.control-label {
|
90
|
+
color: $brand-primary;
|
91
|
+
}
|
405
92
|
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
// -----------------------------------------------------
|
411
|
-
|
412
|
-
.label {
|
413
|
-
padding: 6px 12px;
|
414
|
-
margin-left: 1px;
|
415
|
-
margin-right: 1px;
|
93
|
+
.form-control,
|
94
|
+
.form-control:focus {
|
95
|
+
border-color: $brand-primary;
|
96
|
+
}
|
416
97
|
}
|
417
98
|
|
418
|
-
|
419
|
-
|
99
|
+
.has-success {
|
100
|
+
.help-block,
|
101
|
+
.control-label {
|
102
|
+
color: $brand-success;
|
103
|
+
}
|
420
104
|
|
421
|
-
|
422
|
-
|
423
|
-
|
105
|
+
.form-control,
|
106
|
+
.form-control:focus {
|
107
|
+
border-color: $brand-success;
|
108
|
+
}
|
424
109
|
}
|
425
110
|
|
426
|
-
|
427
|
-
@include box-shadow(#{$boxShadow, -1px -1px 0 rgba(0, 0, 0, 0.1)});
|
428
|
-
border: none;
|
429
|
-
}
|
111
|
+
// Navs =======================================================================
|
430
112
|
|
431
|
-
.
|
432
|
-
|
433
|
-
|
434
|
-
}
|
113
|
+
.pager {
|
114
|
+
a {
|
115
|
+
color: $headings-color;
|
116
|
+
}
|
435
117
|
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
118
|
+
a:hover,
|
119
|
+
.active > a, {
|
120
|
+
border-color: $brand-primary;
|
121
|
+
color: #fff;
|
122
|
+
}
|
440
123
|
|
441
|
-
.
|
442
|
-
|
124
|
+
.disabled > a {
|
125
|
+
border-color: $pager-border;
|
126
|
+
}
|
443
127
|
}
|
444
128
|
|
445
|
-
|
446
|
-
|
447
|
-
.modal-header {
|
448
|
-
border-bottom: none;
|
449
|
-
}
|
129
|
+
// Indicators =================================================================
|
450
130
|
|
451
|
-
|
452
|
-
.modal-body {
|
453
|
-
background-color: $navbarBackground;
|
454
|
-
}
|
131
|
+
// Progress bars ==============================================================
|
455
132
|
|
456
|
-
|
457
|
-
background-color: $bodyBackground;
|
458
|
-
}
|
459
|
-
}
|
460
|
-
|
461
|
-
// MEDIA QUERIES
|
462
|
-
// -----------------------------------------------------
|
133
|
+
// Containers =================================================================
|