bootswatch-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -42,6 +42,7 @@ Here's approximately how your `application.css.scss` file should look like, cons
|
|
42
42
|
|
43
43
|
I'm converting/updating them as time permits. Here's what's included at this point.
|
44
44
|
|
45
|
+
* [amelia](http://bootswatch.com/amelia/)
|
45
46
|
* [journal](http://bootswatch.com/journal/)
|
46
47
|
|
47
48
|
## Contributing
|
@@ -0,0 +1,581 @@
|
|
1
|
+
// Bootswatch.less
|
2
|
+
// Swatch: Amelia
|
3
|
+
// Version: 2.0.2
|
4
|
+
// -----------------------------------------------------
|
5
|
+
|
6
|
+
// TYPOGRAPHY
|
7
|
+
// -----------------------------------------------------
|
8
|
+
|
9
|
+
@import url("http://fonts.googleapis.com/css?family=Lobster");
|
10
|
+
@import url("http://fonts.googleapis.com/css?family=Cabin:400,700");
|
11
|
+
|
12
|
+
.navbar .brand, legend {
|
13
|
+
font-family: $headingsFontFamily;
|
14
|
+
}
|
15
|
+
|
16
|
+
h6 {
|
17
|
+
color: $textColor;
|
18
|
+
}
|
19
|
+
|
20
|
+
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
|
21
|
+
font-family: $baseFontFamily;
|
22
|
+
color: $textColor;
|
23
|
+
}
|
24
|
+
|
25
|
+
.muted {
|
26
|
+
color: rgba(255, 255, 255, 0.5);
|
27
|
+
}
|
28
|
+
|
29
|
+
// SCAFFOLDING
|
30
|
+
// -----------------------------------------------------
|
31
|
+
|
32
|
+
body {
|
33
|
+
@include gradient-radial(lighten(#0F8790, 7%), #0F8790);
|
34
|
+
}
|
35
|
+
|
36
|
+
hr {
|
37
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
38
|
+
}
|
39
|
+
|
40
|
+
.page-header {
|
41
|
+
border-bottom: 0px solid transparent;
|
42
|
+
}
|
43
|
+
|
44
|
+
footer.footer {
|
45
|
+
border-top: 1px solid rgba(255, 255, 255, 0.3);
|
46
|
+
|
47
|
+
p {
|
48
|
+
color: $textColor;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// NAVBAR
|
53
|
+
// -----------------------------------------------------
|
54
|
+
|
55
|
+
.navbar {
|
56
|
+
.navbar-inner {
|
57
|
+
@include border-radius(0);
|
58
|
+
}
|
59
|
+
|
60
|
+
.brand {
|
61
|
+
padding-top: 12px;
|
62
|
+
font-size: 24px;
|
63
|
+
font-weight: normal;
|
64
|
+
}
|
65
|
+
|
66
|
+
.nav > li > a {
|
67
|
+
padding-top: 17px;
|
68
|
+
padding-bottom: 14px;
|
69
|
+
text-shadow: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
.navbar-search {
|
73
|
+
margin-top: 10px;
|
74
|
+
}
|
75
|
+
|
76
|
+
.navbar-search .search-query {
|
77
|
+
border: 2px solid lighten($navbarBackground, 10%);
|
78
|
+
@include border-radius(0);
|
79
|
+
@include box-shadow(none);
|
80
|
+
|
81
|
+
&:focus, &.focus {
|
82
|
+
background-color: $grayLighter;
|
83
|
+
border-color: $grayLighter;
|
84
|
+
text-shadow: none;
|
85
|
+
padding: 4px 9px;
|
86
|
+
@include box-shadow(none);
|
87
|
+
}
|
88
|
+
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
div.subnav {
|
93
|
+
background-color: rgba(42, 99, 105, 0.9);
|
94
|
+
background-image: none;
|
95
|
+
border: 0px solid transparent;
|
96
|
+
@include border-radius(0);
|
97
|
+
@include box-shadow(none);
|
98
|
+
|
99
|
+
.nav > li.dropdown.open > a {
|
100
|
+
border-color: transparent;
|
101
|
+
background-color: rgba(255, 255, 255, 0.4);
|
102
|
+
}
|
103
|
+
|
104
|
+
.nav > li > a {
|
105
|
+
color: $textColor;
|
106
|
+
border-color: transparent;
|
107
|
+
}
|
108
|
+
|
109
|
+
.nav > li:first-child > a,
|
110
|
+
.nav > li:first-child > a:hover {
|
111
|
+
@include border-radius(0);
|
112
|
+
}
|
113
|
+
|
114
|
+
.nav > .active > a {
|
115
|
+
background-color: transparent;
|
116
|
+
border-color: transparent;
|
117
|
+
color: $textColor;
|
118
|
+
@include box-shadow(none);
|
119
|
+
}
|
120
|
+
|
121
|
+
.nav > .active > a:hover,
|
122
|
+
.nav > li > a:hover,
|
123
|
+
.nav > li.active > a:hover, {
|
124
|
+
border-right-color: transparent;
|
125
|
+
background-color: rgba(255, 255, 255, 0.4);
|
126
|
+
color: $textColor;
|
127
|
+
}
|
128
|
+
|
129
|
+
.nav > li:first-child > a:hover {
|
130
|
+
border-left-color: rgba(255, 255, 255, 0.4);
|
131
|
+
border-left-width: 1px;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
div.subnav-fixed {
|
136
|
+
top: 50px;
|
137
|
+
}
|
138
|
+
|
139
|
+
.navbar .nav-collapse.in {
|
140
|
+
|
141
|
+
.nav li > a {
|
142
|
+
color: $textColor;
|
143
|
+
@include border-radius(0);
|
144
|
+
}
|
145
|
+
|
146
|
+
li > a:hover {
|
147
|
+
background-color: lighten($navbarBackground, 10%);
|
148
|
+
}
|
149
|
+
|
150
|
+
.navbar-form, .navbar-search {
|
151
|
+
@include box-shadow(none);
|
152
|
+
border-color: lighten($navbarBackground, 10%);
|
153
|
+
}
|
154
|
+
|
155
|
+
.navbar-search .search-query {
|
156
|
+
border: 2px solid $textColor;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
// BUTTONS
|
161
|
+
// -----------------------------------------------------
|
162
|
+
|
163
|
+
@mixin buttonBackgroundCustom($color) {
|
164
|
+
|
165
|
+
background-color: $color;
|
166
|
+
border-color: transparent;
|
167
|
+
|
168
|
+
&:hover, &:active, &.active, &.disabled, &[disabled] {
|
169
|
+
background-color: darken($color, 5%);
|
170
|
+
text-shadow: none;
|
171
|
+
}
|
172
|
+
|
173
|
+
&:active, &.active {
|
174
|
+
background-color: darken($color, 15%);
|
175
|
+
@include box-shadow(none);
|
176
|
+
}
|
177
|
+
|
178
|
+
// IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves
|
179
|
+
&:active,
|
180
|
+
&.active {
|
181
|
+
background-color: darken($color, 15%) e("\9");
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
.btn {
|
186
|
+
padding: 12px 16px;
|
187
|
+
@include border-radius(0);
|
188
|
+
background-image: none;
|
189
|
+
text-shadow: none;
|
190
|
+
@include box-shadow(none);
|
191
|
+
@include buttonBackgroundCustom($btnBackground)
|
192
|
+
}
|
193
|
+
|
194
|
+
.btn-group .btn:first-child {
|
195
|
+
margin-left: 0;
|
196
|
+
-webkit-border-top-left-radius: 0;
|
197
|
+
-moz-border-radius-topleft: 0;
|
198
|
+
border-top-left-radius: 0;
|
199
|
+
-webkit-border-bottom-left-radius: 0;
|
200
|
+
-moz-border-radius-bottomleft: 0;
|
201
|
+
border-bottom-left-radius: 0;
|
202
|
+
}
|
203
|
+
|
204
|
+
.btn-group .btn:last-child,
|
205
|
+
.btn-group .dropdown-toggle {
|
206
|
+
-webkit-border-top-right-radius: 0;
|
207
|
+
-moz-border-radius-topright: 0;
|
208
|
+
border-top-right-radius: 0;
|
209
|
+
-webkit-border-bottom-right-radius: 0;
|
210
|
+
-moz-border-radius-bottomright: 0;
|
211
|
+
border-bottom-right-radius: 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
.btn-group .dropdown-toggle,
|
215
|
+
.btn-group.open .dropdown-toggle,
|
216
|
+
.btn.open .dropdown-toggle {
|
217
|
+
@include box-shadow(none);
|
218
|
+
}
|
219
|
+
|
220
|
+
.btn-primary {
|
221
|
+
@include buttonBackgroundCustom($btnPrimaryBackground);
|
222
|
+
}
|
223
|
+
|
224
|
+
.btn-info {
|
225
|
+
@include buttonBackgroundCustom($btnInfoBackground);
|
226
|
+
}
|
227
|
+
|
228
|
+
.btn-success {
|
229
|
+
@include buttonBackgroundCustom($btnSuccessBackground);
|
230
|
+
}
|
231
|
+
|
232
|
+
.btn-warning {
|
233
|
+
@include buttonBackgroundCustom($btnWarningBackground);
|
234
|
+
}
|
235
|
+
|
236
|
+
.btn-danger {
|
237
|
+
@include buttonBackgroundCustom($btnDangerBackground);
|
238
|
+
}
|
239
|
+
|
240
|
+
.btn-inverse {
|
241
|
+
@include buttonBackgroundCustom($btnInverseBackground);
|
242
|
+
}
|
243
|
+
|
244
|
+
.btn-small {
|
245
|
+
padding: 13px 16px 12px;
|
246
|
+
}
|
247
|
+
|
248
|
+
[class^="icon-"], [class*=" icon-"] {
|
249
|
+
margin-top: 2px;
|
250
|
+
margin-right: 8px;
|
251
|
+
}
|
252
|
+
|
253
|
+
.btn-small [class^="icon-"] {
|
254
|
+
margin-top: 1px;
|
255
|
+
}
|
256
|
+
|
257
|
+
.add-on [class^="icon-"] {
|
258
|
+
margin-left: 5px;
|
259
|
+
}
|
260
|
+
|
261
|
+
// TABLES
|
262
|
+
// -----------------------------------------------------
|
263
|
+
|
264
|
+
.table th, .table td,
|
265
|
+
.table tbody + tbody {
|
266
|
+
border-top: 0px solid transparent;
|
267
|
+
}
|
268
|
+
|
269
|
+
.table-bordered {
|
270
|
+
@include border-radius(0);
|
271
|
+
}
|
272
|
+
|
273
|
+
// FORMS
|
274
|
+
// -----------------------------------------------------
|
275
|
+
|
276
|
+
legend, label, .help-block, .input-file {
|
277
|
+
color: $textColor;
|
278
|
+
border: 0px solid transparent;
|
279
|
+
}
|
280
|
+
|
281
|
+
input, textarea, .uneditable-input {
|
282
|
+
border: 0px solid transparent;
|
283
|
+
padding: 10px;
|
284
|
+
}
|
285
|
+
|
286
|
+
.uneditable-input {
|
287
|
+
padding-bottom: 30px;
|
288
|
+
}
|
289
|
+
|
290
|
+
select {
|
291
|
+
border: 0px solid transparent;
|
292
|
+
}
|
293
|
+
|
294
|
+
button {
|
295
|
+
margin-left: 12px;
|
296
|
+
}
|
297
|
+
|
298
|
+
input, textarea, .search-query, .uneditable-input,
|
299
|
+
.input-append input, .input-append .uneditable-input,
|
300
|
+
.input-prepend input, .input-prepend .uneditable-input {
|
301
|
+
border-color: transparent;
|
302
|
+
@include border-radius(0);
|
303
|
+
@include box-shadow(none);
|
304
|
+
}
|
305
|
+
|
306
|
+
.form-actions {
|
307
|
+
background-color: transparent;
|
308
|
+
border-top: 0px solid transparent;
|
309
|
+
}
|
310
|
+
|
311
|
+
.control-group.warning > label,
|
312
|
+
.control-group.warning .help-inline {
|
313
|
+
color: lighten($orange, 30%);
|
314
|
+
}
|
315
|
+
|
316
|
+
.control-group.error > label,
|
317
|
+
.control-group.error .help-inline {
|
318
|
+
color: lighten($linkColor, 10%);
|
319
|
+
}
|
320
|
+
|
321
|
+
.control-group.success > label,
|
322
|
+
.control-group.success .help-inline {
|
323
|
+
color: lighten($green, 20%);
|
324
|
+
}
|
325
|
+
|
326
|
+
.input-prepend .add-on, .input-append .add-on {
|
327
|
+
height: 25px;
|
328
|
+
padding-top: 9px;
|
329
|
+
background-color: $grayLighter;
|
330
|
+
border-color: transparent;
|
331
|
+
@include border-radius(0);
|
332
|
+
color: $gray;
|
333
|
+
text-shadow: none;
|
334
|
+
}
|
335
|
+
|
336
|
+
// NAVIGATION
|
337
|
+
// -----------------------------------------------------
|
338
|
+
|
339
|
+
.breadcrumb, .pager > li > a {
|
340
|
+
border-color: transparent;
|
341
|
+
@include border-radius(0);
|
342
|
+
@include box-shadow(none);
|
343
|
+
text-shadow: none;
|
344
|
+
}
|
345
|
+
|
346
|
+
.breadcrumb {
|
347
|
+
background-color: #3CB9C6;
|
348
|
+
background-image: none;
|
349
|
+
|
350
|
+
li {
|
351
|
+
text-shadow: none;
|
352
|
+
}
|
353
|
+
|
354
|
+
.divider {
|
355
|
+
color: $linkColor;
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
.pager > li > a {
|
360
|
+
background-color: #3CB9C6;
|
361
|
+
|
362
|
+
&:hover {
|
363
|
+
background-color: #8AD5DC;
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
.pagination {
|
368
|
+
|
369
|
+
ul {
|
370
|
+
background-color: #3CB9C6;
|
371
|
+
background-image: none;
|
372
|
+
}
|
373
|
+
|
374
|
+
li a {
|
375
|
+
border: 0px solid transparent;
|
376
|
+
}
|
377
|
+
|
378
|
+
.disabled a, .disabled a:hover {
|
379
|
+
color: $textColor;
|
380
|
+
}
|
381
|
+
|
382
|
+
li a:hover {
|
383
|
+
background-color: rgba(255, 255, 255, 0.4);
|
384
|
+
color: $linkColor;
|
385
|
+
}
|
386
|
+
|
387
|
+
.active a, .active a:hover {
|
388
|
+
background-color: rgba(255, 255, 255, 0.4);
|
389
|
+
color: $textColor;
|
390
|
+
}
|
391
|
+
|
392
|
+
ul,
|
393
|
+
li:first-child a,
|
394
|
+
li:last-child a {
|
395
|
+
@include border-radius(0);
|
396
|
+
}
|
397
|
+
|
398
|
+
}
|
399
|
+
|
400
|
+
.nav-tabs .dropdown.open > .dropdown-toggle,
|
401
|
+
.nav-pills .dropdown.open > .dropdown-toggle {
|
402
|
+
background-color: #8AD5DC;
|
403
|
+
color: $linkColor;
|
404
|
+
border-color: transparent;
|
405
|
+
}
|
406
|
+
|
407
|
+
.nav-tabs, .nav-pills {
|
408
|
+
border-color: transparent;
|
409
|
+
|
410
|
+
li > a {
|
411
|
+
border-color: transparent;
|
412
|
+
@include border-radius(0);
|
413
|
+
@include box-shadow(0);
|
414
|
+
}
|
415
|
+
|
416
|
+
li.active > a,
|
417
|
+
li:active > a,
|
418
|
+
li.active > a:hover,
|
419
|
+
li:active > a:hover {
|
420
|
+
color: $textColor;
|
421
|
+
}
|
422
|
+
|
423
|
+
li.active > a,
|
424
|
+
li:active > a,
|
425
|
+
li > a:hover,
|
426
|
+
li.active > a:hover,
|
427
|
+
li:active > a:hover {
|
428
|
+
background-color: #8AD5DC;
|
429
|
+
border-color: transparent;
|
430
|
+
text-shadow: none;
|
431
|
+
}
|
432
|
+
}
|
433
|
+
|
434
|
+
.nav-tabs, .nav-tabs > li > a {
|
435
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
|
436
|
+
}
|
437
|
+
|
438
|
+
.nav-tabs > li > a {
|
439
|
+
background-color: #3CB9C6;
|
440
|
+
}
|
441
|
+
|
442
|
+
.nav-tabs.nav-stacked {
|
443
|
+
|
444
|
+
li > a:first-child,
|
445
|
+
li > a:last-child {
|
446
|
+
@include border-radius(0);
|
447
|
+
}
|
448
|
+
|
449
|
+
li > a,
|
450
|
+
li > a:hover,
|
451
|
+
li.active > a,
|
452
|
+
li:active > a,
|
453
|
+
li.active > a:hover,
|
454
|
+
li:active > a:hover {
|
455
|
+
border-color: transparent;
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
459
|
+
.nav-list {
|
460
|
+
.nav-header {
|
461
|
+
text-shadow: none;
|
462
|
+
color: $textColor;
|
463
|
+
}
|
464
|
+
|
465
|
+
li > a {
|
466
|
+
text-shadow: none;
|
467
|
+
}
|
468
|
+
|
469
|
+
li.active > a,
|
470
|
+
li:active > a,
|
471
|
+
li > a:hover,
|
472
|
+
li.active > a:hover,
|
473
|
+
li:active > a:hover {
|
474
|
+
background-color: #8AD5DC;
|
475
|
+
text-shadow: none;
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
// MISCELLANEOUS
|
480
|
+
// -----------------------------------------------------
|
481
|
+
|
482
|
+
.alert, .label, .progress, .well, pre, code {
|
483
|
+
border-color: transparent;
|
484
|
+
@include border-radius(0);
|
485
|
+
@include box-shadow(none);
|
486
|
+
text-shadow: none;
|
487
|
+
}
|
488
|
+
|
489
|
+
code, pre {
|
490
|
+
background-color: rgba(255, 255, 255, 0.3);
|
491
|
+
padding: 2px;
|
492
|
+
}
|
493
|
+
|
494
|
+
.well {
|
495
|
+
background-color: #3CB9C6;
|
496
|
+
background-image: none;
|
497
|
+
}
|
498
|
+
|
499
|
+
.label, .label:hover {
|
500
|
+
background-color: $grayLighter;
|
501
|
+
text-shadow: none;
|
502
|
+
color: $grayDark;
|
503
|
+
}
|
504
|
+
|
505
|
+
.label-warning, .label-warning:hover, .alert {
|
506
|
+
background-color: $orange;
|
507
|
+
color: $textColor;
|
508
|
+
}
|
509
|
+
|
510
|
+
.label-important, .label-important:hover, .alert-error {
|
511
|
+
background-color: darken($yellow, 3%);
|
512
|
+
color: $textColor;
|
513
|
+
}
|
514
|
+
|
515
|
+
.label-success, .label-success:hover, .alert-success {
|
516
|
+
background-color: $green;
|
517
|
+
color: $textColor;
|
518
|
+
}
|
519
|
+
|
520
|
+
.label-info, .label-info:hover, .alert-info {
|
521
|
+
background-color: $purple;
|
522
|
+
color: $textColor;
|
523
|
+
}
|
524
|
+
|
525
|
+
.alert-heading {
|
526
|
+
color: $textColor;
|
527
|
+
}
|
528
|
+
|
529
|
+
.progress {
|
530
|
+
background-image: none;
|
531
|
+
background-color: #27666D;
|
532
|
+
|
533
|
+
.bar {
|
534
|
+
@include box-shadow(none);
|
535
|
+
background-image: none;
|
536
|
+
background-color: $orange;
|
537
|
+
}
|
538
|
+
}
|
539
|
+
|
540
|
+
.progress-danger .bar {
|
541
|
+
background-image: none;
|
542
|
+
background-color: #AD1D28;
|
543
|
+
}
|
544
|
+
.progress-danger.progress-striped .bar {
|
545
|
+
@include gradient-striped(#AD1D28);
|
546
|
+
}
|
547
|
+
|
548
|
+
.progress-success .bar {
|
549
|
+
background-image: none;
|
550
|
+
background-color: $green;
|
551
|
+
}
|
552
|
+
.progress-success.progress-striped .bar {
|
553
|
+
@include gradient-striped($green);
|
554
|
+
}
|
555
|
+
|
556
|
+
.progress-info .bar {
|
557
|
+
background-image: none;
|
558
|
+
background-color: $blue;
|
559
|
+
}
|
560
|
+
.progress-info.progress-striped .bar {
|
561
|
+
@include gradient-striped($blue);
|
562
|
+
}
|
563
|
+
|
564
|
+
.thumbnail {
|
565
|
+
border: 0px solid transparent;
|
566
|
+
@include border-radius(0);
|
567
|
+
@include box-shadow(none);
|
568
|
+
}
|
569
|
+
|
570
|
+
blockquote {
|
571
|
+
|
572
|
+
border-left-color: lighten(#147E88, 12%);
|
573
|
+
|
574
|
+
&.pull-right {
|
575
|
+
border-right-color: lighten(#147E88, 12%);
|
576
|
+
}
|
577
|
+
|
578
|
+
small {
|
579
|
+
color: rgba(255, 255, 255, 0.6);
|
580
|
+
}
|
581
|
+
}
|
@@ -0,0 +1,203 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// Swatch: Amelia
|
4
|
+
// Version: 2.0.2
|
5
|
+
// -----------------------------------------------------
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
// GLOBAL VALUES
|
10
|
+
// --------------------------------------------------
|
11
|
+
|
12
|
+
|
13
|
+
// Grays
|
14
|
+
// -------------------------
|
15
|
+
$black: #000;
|
16
|
+
$grayDarker: #111;
|
17
|
+
$grayDark: #333;
|
18
|
+
$gray: #555;
|
19
|
+
$grayLight: #aaa;
|
20
|
+
$grayLighter: #ddd;
|
21
|
+
$white: #fff;
|
22
|
+
|
23
|
+
|
24
|
+
// Accent colors
|
25
|
+
// -------------------------
|
26
|
+
$blue: #00BCE1;
|
27
|
+
$blueDark: #1269B0;
|
28
|
+
$green: #7FC518;
|
29
|
+
$red: #E51925;
|
30
|
+
$yellow: #EAC504;
|
31
|
+
$orange: #DF6E1E;
|
32
|
+
$pink: #FFBCB9;
|
33
|
+
$purple: #4D3A7D;
|
34
|
+
|
35
|
+
|
36
|
+
// Scaffolding
|
37
|
+
// -------------------------
|
38
|
+
$bodyBackground: #003F4D;
|
39
|
+
$textColor: rgba(255, 255, 255, 0.9);
|
40
|
+
|
41
|
+
|
42
|
+
// Links
|
43
|
+
// -------------------------
|
44
|
+
$linkColor: lighten($yellow, 15%);
|
45
|
+
$linkColorHover: $linkColor;
|
46
|
+
|
47
|
+
|
48
|
+
// Typography
|
49
|
+
// -------------------------
|
50
|
+
$baseFontSize: 14px;
|
51
|
+
$baseFontFamily: 'Cabin', Verdana, sans-serif;
|
52
|
+
$baseLineHeight: 20px;
|
53
|
+
$altFontFamily: Georgia, "Times New Roman", Times, serif;
|
54
|
+
|
55
|
+
$headingsFontFamily: 'Lobster', cursive; // empty to use BS default, $baseFontFamily
|
56
|
+
$headingsFontWeight: normal; // instead of browser default, bold
|
57
|
+
$headingsColor: inherit; // empty to use BS default, $textColor
|
58
|
+
|
59
|
+
|
60
|
+
// Tables
|
61
|
+
// -------------------------
|
62
|
+
$tableBackground: lighten(#147E88, 10%); // overall background-color
|
63
|
+
$tableBackgroundAccent: lighten(#147E88, 15%); // for striping
|
64
|
+
$tableBackgroundHover: rgba(255, 255, 255, 0.4); // for hover
|
65
|
+
$tableBorder: lighten(#147E88, 12%); // table and cell border
|
66
|
+
|
67
|
+
|
68
|
+
// Forms
|
69
|
+
// -------------------------
|
70
|
+
$inputBackground: $white;
|
71
|
+
$inputBorder: transparent;
|
72
|
+
$inputDisabledBackground: $grayLighter;
|
73
|
+
|
74
|
+
|
75
|
+
// Dropdowns
|
76
|
+
// -------------------------
|
77
|
+
$dropdownBackground: $white;
|
78
|
+
$dropdownBorder: rgba(0,0,0,.2);
|
79
|
+
$dropdownLinkColor: $bodyBackground;
|
80
|
+
$dropdownLinkColorHover: $white;
|
81
|
+
$dropdownLinkBackgroundHover: rgba(0, 57, 59, 0.9);
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
// COMPONENT VARIABLES
|
87
|
+
// --------------------------------------------------
|
88
|
+
|
89
|
+
// Z-index master list
|
90
|
+
// -------------------------
|
91
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
92
|
+
// Try to avoid customizing these :)
|
93
|
+
$zindexDropdown: 1000;
|
94
|
+
$zindexPopover: 1010;
|
95
|
+
$zindexTooltip: 1020;
|
96
|
+
$zindexFixedNavbar: 1030;
|
97
|
+
$zindexModalBackdrop: 1040;
|
98
|
+
$zindexModal: 1050;
|
99
|
+
|
100
|
+
|
101
|
+
// Sprite icons path
|
102
|
+
// -------------------------
|
103
|
+
$iconSpritePath: "../img/glyphicons-halflings.png";
|
104
|
+
$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
105
|
+
|
106
|
+
|
107
|
+
// Input placeholder text color
|
108
|
+
// -------------------------
|
109
|
+
$placeholderText: $grayLight;
|
110
|
+
|
111
|
+
|
112
|
+
// Hr border color
|
113
|
+
// -------------------------
|
114
|
+
$hrBorder: transparent;
|
115
|
+
|
116
|
+
|
117
|
+
// Navbar
|
118
|
+
// -------------------------
|
119
|
+
$navbarHeight: 50px;
|
120
|
+
$navbarBackground: #AD1D28;
|
121
|
+
$navbarBackgroundHighlight: #AD1D28;
|
122
|
+
|
123
|
+
$navbarText: $white;
|
124
|
+
$navbarLinkColor: $white;
|
125
|
+
$navbarLinkColorHover: $white;
|
126
|
+
$navbarLinkColorActive: $navbarLinkColorHover;
|
127
|
+
$navbarLinkBackgroundHover: lighten($navbarBackground, 10%);
|
128
|
+
$navbarLinkBackgroundActive: lighten($navbarBackground, 10%);
|
129
|
+
|
130
|
+
$navbarSearchBackground: rgba(0, 0, 0, 0);
|
131
|
+
$navbarSearchBackgroundFocus: lighten($navbarBackground, 25%);
|
132
|
+
$navbarSearchBorder: darken($navbarSearchBackground, 30%);
|
133
|
+
$navbarSearchPlaceholderColor: $textColor;
|
134
|
+
|
135
|
+
|
136
|
+
// Buttons
|
137
|
+
// -------------------------
|
138
|
+
$btnBackground: $grayLighter;
|
139
|
+
$btnBackgroundHighlight: $grayLighter;
|
140
|
+
$btnBorder: rgba(0, 0, 0, 0);
|
141
|
+
|
142
|
+
$btnPrimaryBackground: $navbarBackground;
|
143
|
+
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%);
|
144
|
+
|
145
|
+
$btnInfoBackground: $purple;
|
146
|
+
$btnInfoBackgroundHighlight: $purple;
|
147
|
+
|
148
|
+
$btnSuccessBackground: $green;
|
149
|
+
$btnSuccessBackgroundHighlight: $green;
|
150
|
+
|
151
|
+
$btnWarningBackground: $orange;
|
152
|
+
$btnWarningBackgroundHighlight: $orange;
|
153
|
+
|
154
|
+
$btnDangerBackground: darken($yellow, 3%);
|
155
|
+
$btnDangerBackgroundHighlight: darken($yellow, 3%);
|
156
|
+
|
157
|
+
$btnInverseBackground: #27666D;
|
158
|
+
$btnInverseBackgroundHighlight: #27666D;
|
159
|
+
|
160
|
+
|
161
|
+
// Hero unit
|
162
|
+
// -------------------------
|
163
|
+
$heroUnitBackground: #3CB9C6;
|
164
|
+
$heroUnitHeadingColor: inherit;
|
165
|
+
$heroUnitLeadColor: inherit;
|
166
|
+
|
167
|
+
|
168
|
+
// Form states and alerts
|
169
|
+
// -------------------------
|
170
|
+
$warningText: #c09853;
|
171
|
+
$warningBackground: #fcf8e3;
|
172
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
|
173
|
+
|
174
|
+
$errorText: #b94a48;
|
175
|
+
$errorBackground: #f2dede;
|
176
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
|
177
|
+
|
178
|
+
$successText: #468847;
|
179
|
+
$successBackground: #dff0d8;
|
180
|
+
$successBorder: darken(adjust-hue($successBackground, -10), 5%);
|
181
|
+
|
182
|
+
$infoText: #3a87ad;
|
183
|
+
$infoBackground: #d9edf7;
|
184
|
+
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
// GRID
|
190
|
+
// --------------------------------------------------
|
191
|
+
|
192
|
+
// Default 940px grid
|
193
|
+
// -------------------------
|
194
|
+
$gridColumns: 12;
|
195
|
+
$gridColumnWidth: 60px;
|
196
|
+
$gridGutterWidth: 20px;
|
197
|
+
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
|
198
|
+
|
199
|
+
|
200
|
+
// Fluid grid
|
201
|
+
// -------------------------
|
202
|
+
$fluidGridColumnWidth: 6.382978723%;
|
203
|
+
$fluidGridGutterWidth: 2.127659574%;
|
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.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &70287634966560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70287634966560
|
25
25
|
description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
|
26
26
|
email:
|
27
27
|
- max@bitsonnet.com
|
@@ -37,6 +37,8 @@ files:
|
|
37
37
|
- bootswatch-rails.gemspec
|
38
38
|
- lib/bootswatch-rails.rb
|
39
39
|
- lib/bootswatch-rails/version.rb
|
40
|
+
- vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss
|
41
|
+
- vendor/assets/stylesheets/bootswatch/amelia/_variables.scss
|
40
42
|
- vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss
|
41
43
|
- vendor/assets/stylesheets/bootswatch/journal/_variables.scss
|
42
44
|
homepage: http://github.com/maxim/bootswatch-rails
|