bootswatch-sprockets 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +54 -0
- data/Rakefile +2 -0
- data/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +125 -0
- data/assets/stylesheets/bootswatch/cerulean/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +237 -0
- data/assets/stylesheets/bootswatch/cosmo/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
- data/assets/stylesheets/bootswatch/custom/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +210 -0
- data/assets/stylesheets/bootswatch/cyborg/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +328 -0
- data/assets/stylesheets/bootswatch/darkly/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +311 -0
- data/assets/stylesheets/bootswatch/flatly/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/global/build.scss +3 -0
- data/assets/stylesheets/bootswatch/journal/_bootswatch.scss +120 -0
- data/assets/stylesheets/bootswatch/journal/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +481 -0
- data/assets/stylesheets/bootswatch/lumen/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/paper/_bootswatch.scss +408 -0
- data/assets/stylesheets/bootswatch/paper/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/readable/_bootswatch.scss +187 -0
- data/assets/stylesheets/bootswatch/readable/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +195 -0
- data/assets/stylesheets/bootswatch/sandstone/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +142 -0
- data/assets/stylesheets/bootswatch/simplex/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/slate/_bootswatch.scss +417 -0
- data/assets/stylesheets/bootswatch/slate/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +137 -0
- data/assets/stylesheets/bootswatch/spacelab/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +332 -0
- data/assets/stylesheets/bootswatch/superhero/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/united/_bootswatch.scss +42 -0
- data/assets/stylesheets/bootswatch/united/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +437 -0
- data/assets/stylesheets/bootswatch/yeti/_variables.scss +856 -0
- data/bootswatch_sprockets.gemspec +32 -0
- data/lib/bootswatch_sprockets/version.rb +3 -0
- data/lib/bootswatch_sprockets.rb +5 -0
- metadata +144 -0
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
// Lumen 3.3.1
|
|
2
|
+
// Bootswatch
|
|
3
|
+
// -----------------------------------------------------
|
|
4
|
+
|
|
5
|
+
@import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic");
|
|
6
|
+
|
|
7
|
+
@mixin shadow($width: 4px){
|
|
8
|
+
border-width: 0 1px $width 1px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Navbar =====================================================================
|
|
12
|
+
|
|
13
|
+
.navbar {
|
|
14
|
+
@include shadow();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Buttons ====================================================================
|
|
18
|
+
|
|
19
|
+
.btn {
|
|
20
|
+
padding: $padding-base-vertical+2 $padding-base-horizontal $padding-base-vertical;
|
|
21
|
+
@include shadow();
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
text-transform: uppercase;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
margin-top: 1px;
|
|
28
|
+
border-bottom-width: 3px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:active {
|
|
32
|
+
margin-top: 2px;
|
|
33
|
+
border-bottom-width: 2px;
|
|
34
|
+
@include box-shadow(none);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-lg,
|
|
38
|
+
&-group-lg > .btn {
|
|
39
|
+
padding: $padding-large-vertical+2 $padding-large-horizontal $padding-large-vertical;
|
|
40
|
+
line-height: 15px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-sm,
|
|
44
|
+
&-group-sm > .btn {
|
|
45
|
+
padding: $padding-small-vertical+2 $padding-small-horizontal $padding-small-vertical;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-xs,
|
|
49
|
+
&-group-xs > .btn {
|
|
50
|
+
padding: $padding-xs-vertical+2 $padding-xs-horizontal $padding-xs-vertical;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-default:hover,
|
|
54
|
+
&-default:focus,
|
|
55
|
+
&-group.open .dropdown-toggle.btn-default {
|
|
56
|
+
background-color: $btn-default-bg;
|
|
57
|
+
border-color: $btn-default-border;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-primary:hover,
|
|
61
|
+
&-primary:focus,
|
|
62
|
+
&-group.open .dropdown-toggle.btn-primary {
|
|
63
|
+
background-color: $btn-primary-bg;
|
|
64
|
+
border-color: $btn-primary-border;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-success:hover,
|
|
68
|
+
&-success:focus,
|
|
69
|
+
&-group.open .dropdown-toggle.btn-success {
|
|
70
|
+
background-color: $btn-success-bg;
|
|
71
|
+
border-color: $btn-success-border;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&-info:hover,
|
|
75
|
+
&-info:focus,
|
|
76
|
+
&-group.open .dropdown-toggle.btn-info {
|
|
77
|
+
background-color: $btn-info-bg;
|
|
78
|
+
border-color: $btn-info-border;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&-warning:hover,
|
|
82
|
+
&-warning:focus,
|
|
83
|
+
&-group.open .dropdown-toggle.btn-warning {
|
|
84
|
+
background-color: $btn-warning-bg;
|
|
85
|
+
border-color: $btn-warning-border;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&-danger:hover,
|
|
89
|
+
&-danger:focus,
|
|
90
|
+
&-group.open .dropdown-toggle.btn-danger {
|
|
91
|
+
background-color: $btn-danger-bg;
|
|
92
|
+
border-color: $btn-danger-border;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&-group.open .dropdown-toggle {
|
|
96
|
+
@include box-shadow(none);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.navbar-btn {
|
|
101
|
+
&:hover {
|
|
102
|
+
margin-top: 8px
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:active {
|
|
106
|
+
margin-top: 9px
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.btn-sm {
|
|
110
|
+
&:hover {
|
|
111
|
+
margin-top: 11px
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:active {
|
|
115
|
+
margin-top: 12px
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.btn-xs {
|
|
120
|
+
&:hover {
|
|
121
|
+
margin-top: 15px
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:active {
|
|
125
|
+
margin-top: 16px
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Typography =================================================================
|
|
131
|
+
|
|
132
|
+
.text-primary,
|
|
133
|
+
.text-primary:hover {
|
|
134
|
+
color: $brand-primary;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.text-success,
|
|
138
|
+
.text-success:hover {
|
|
139
|
+
color: $brand-success;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.text-danger,
|
|
143
|
+
.text-danger:hover {
|
|
144
|
+
color: $brand-danger;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.text-warning,
|
|
148
|
+
.text-warning:hover {
|
|
149
|
+
color: $brand-warning;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.text-info,
|
|
153
|
+
.text-info:hover {
|
|
154
|
+
color: $brand-info;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Tables =====================================================================
|
|
158
|
+
|
|
159
|
+
table,
|
|
160
|
+
.table {
|
|
161
|
+
|
|
162
|
+
a:not(.btn) {
|
|
163
|
+
text-decoration: underline;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.dropdown-menu a {
|
|
167
|
+
text-decoration: none;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.success,
|
|
171
|
+
.warning,
|
|
172
|
+
.danger,
|
|
173
|
+
.info {
|
|
174
|
+
color: #fff;
|
|
175
|
+
|
|
176
|
+
a:not(.btn) {
|
|
177
|
+
color: #fff;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
> thead > tr > th,
|
|
182
|
+
> tbody > tr > th,
|
|
183
|
+
> tfoot > tr > th,
|
|
184
|
+
> thead > tr > td,
|
|
185
|
+
> tbody > tr > td,
|
|
186
|
+
> tfoot > tr > td {
|
|
187
|
+
border-color: transparent;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// Forms ======================================================================
|
|
192
|
+
|
|
193
|
+
.form-control {
|
|
194
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.075));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
label {
|
|
198
|
+
font-weight: normal;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.has-warning {
|
|
202
|
+
.help-block,
|
|
203
|
+
.control-label,
|
|
204
|
+
.form-control-feedback {
|
|
205
|
+
color: $brand-warning;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.form-control,
|
|
209
|
+
.form-control:focus {
|
|
210
|
+
border: 1px solid $brand-warning;
|
|
211
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.075));
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.input-group-addon {
|
|
215
|
+
border: 1px solid $brand-warning;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.has-error {
|
|
220
|
+
.help-block,
|
|
221
|
+
.control-label,
|
|
222
|
+
.form-control-feedback {
|
|
223
|
+
color: $brand-danger;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.form-control,
|
|
227
|
+
.form-control:focus {
|
|
228
|
+
border: 1px solid $brand-danger;
|
|
229
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.075));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.input-group-addon {
|
|
233
|
+
border: 1px solid $brand-danger;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.has-success {
|
|
238
|
+
.help-block,
|
|
239
|
+
.control-label,
|
|
240
|
+
.form-control-feedback {
|
|
241
|
+
color: $brand-success;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.form-control,
|
|
245
|
+
.form-control:focus {
|
|
246
|
+
border: 1px solid $brand-success;
|
|
247
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.075));
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.input-group-addon {
|
|
251
|
+
border: 1px solid $brand-success;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// Navs =======================================================================
|
|
256
|
+
|
|
257
|
+
.nav {
|
|
258
|
+
.open > a,
|
|
259
|
+
.open > a:hover,
|
|
260
|
+
.open > a:focus {
|
|
261
|
+
border-color: transparent;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.nav-tabs {
|
|
266
|
+
|
|
267
|
+
> li > a {
|
|
268
|
+
margin-top: 6px;
|
|
269
|
+
border-color: $navbar-default-border;
|
|
270
|
+
color: $gray-dark;
|
|
271
|
+
@include transition(all 0.2s ease-in-out);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
> li > a:hover,
|
|
275
|
+
> li > a:focus,
|
|
276
|
+
> li.active > a,
|
|
277
|
+
> li.active > a:hover,
|
|
278
|
+
> li.active > a:focus,
|
|
279
|
+
.open > a,
|
|
280
|
+
.open > a:hover,
|
|
281
|
+
.open > a:focus {
|
|
282
|
+
padding-top: $padding-large-vertical + 3px;
|
|
283
|
+
padding-bottom: $padding-large-vertical + 3px;
|
|
284
|
+
margin-top: 0;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.open > a,
|
|
288
|
+
.open > a:hover,
|
|
289
|
+
.open > a:focus {
|
|
290
|
+
border-color: $navbar-default-border;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
> li.disabled > a:hover,
|
|
294
|
+
> li.disabled > a:focus {
|
|
295
|
+
padding-top: $padding-large-vertical;
|
|
296
|
+
padding-bottom: $padding-large-vertical;
|
|
297
|
+
margin-top: 6px;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.dropdown-menu {
|
|
302
|
+
margin-top: 0;
|
|
303
|
+
@include shadow();
|
|
304
|
+
border-top-width: 1px;
|
|
305
|
+
@include box-shadow(none);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.breadcrumb {
|
|
309
|
+
border-color: darken($breadcrumb-bg, 5%);
|
|
310
|
+
border-style: solid;
|
|
311
|
+
@include shadow();
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.pagination,
|
|
315
|
+
.pager {
|
|
316
|
+
|
|
317
|
+
> li > a,
|
|
318
|
+
> li > span {
|
|
319
|
+
position: relative;
|
|
320
|
+
top: 0;
|
|
321
|
+
@include shadow();
|
|
322
|
+
color: $pagination-color;
|
|
323
|
+
font-size: 12px;
|
|
324
|
+
font-weight: bold;
|
|
325
|
+
text-transform: uppercase;
|
|
326
|
+
|
|
327
|
+
&:hover {
|
|
328
|
+
top: 1px;
|
|
329
|
+
border-bottom-width: 3px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
&:active {
|
|
333
|
+
top: 2px;
|
|
334
|
+
border-bottom-width: 2px;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
> .disabled > a,
|
|
339
|
+
> .disabled > span {
|
|
340
|
+
|
|
341
|
+
&:hover {
|
|
342
|
+
top: 0;
|
|
343
|
+
@include shadow();
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
&:active {
|
|
347
|
+
top: 0;
|
|
348
|
+
@include shadow();
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.pager {
|
|
354
|
+
|
|
355
|
+
> li > a,
|
|
356
|
+
> li > span,
|
|
357
|
+
> .disabled > a,
|
|
358
|
+
> .disabled > span {
|
|
359
|
+
|
|
360
|
+
&,
|
|
361
|
+
&:hover,
|
|
362
|
+
&:active {
|
|
363
|
+
border-left-width: 2px;
|
|
364
|
+
border-right-width: 2px;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// Indicators =================================================================
|
|
370
|
+
|
|
371
|
+
.close {
|
|
372
|
+
color: #fff;
|
|
373
|
+
text-decoration: none;
|
|
374
|
+
opacity: 0.4;
|
|
375
|
+
|
|
376
|
+
&:hover,
|
|
377
|
+
&:focus {
|
|
378
|
+
color: #fff;
|
|
379
|
+
opacity: 1;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.alert {
|
|
384
|
+
@include shadow();
|
|
385
|
+
|
|
386
|
+
.alert-link {
|
|
387
|
+
font-weight: normal;
|
|
388
|
+
color: #fff;
|
|
389
|
+
text-decoration: underline;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.label {
|
|
394
|
+
font-weight: normal;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// Progress bars ==============================================================
|
|
398
|
+
|
|
399
|
+
.progress {
|
|
400
|
+
border: 1px solid $navbar-default-border;
|
|
401
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.1));
|
|
402
|
+
|
|
403
|
+
&-bar {
|
|
404
|
+
@include box-shadow(inset 0 -4px 0 rgba(0, 0, 0, 0.15));
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
// Containers =================================================================
|
|
409
|
+
|
|
410
|
+
.well {
|
|
411
|
+
border: 1px solid $navbar-default-border;
|
|
412
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.05));
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
a.list-group-item {
|
|
416
|
+
|
|
417
|
+
&.active,
|
|
418
|
+
&.active:hover,
|
|
419
|
+
&.active:focus {
|
|
420
|
+
border-color: $list-group-border;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
&-success {
|
|
424
|
+
&.active {
|
|
425
|
+
background-color: $state-success-bg;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
&.active:hover,
|
|
429
|
+
&.active:focus {
|
|
430
|
+
background-color: darken($state-success-bg, 5%);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&-warning {
|
|
435
|
+
&.active {
|
|
436
|
+
background-color: $state-warning-bg;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
&.active:hover,
|
|
440
|
+
&.active:focus {
|
|
441
|
+
background-color: darken($state-warning-bg, 5%);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
&-danger {
|
|
446
|
+
&.active {
|
|
447
|
+
background-color: $state-danger-bg;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
&.active:hover,
|
|
451
|
+
&.active:focus {
|
|
452
|
+
background-color: darken($state-danger-bg, 5%);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.jumbotron {
|
|
458
|
+
border: 1px solid $navbar-default-border;
|
|
459
|
+
@include box-shadow(inset 0 2px 0 rgba(0, 0, 0, 0.05));
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.panel {
|
|
463
|
+
border: 1px solid $navbar-default-border;
|
|
464
|
+
@include shadow();
|
|
465
|
+
|
|
466
|
+
&-default {
|
|
467
|
+
.close {
|
|
468
|
+
color: $text-color;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.modal {
|
|
474
|
+
.close {
|
|
475
|
+
color: $text-color;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.popover {
|
|
480
|
+
color: $text-color;
|
|
481
|
+
}
|