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.
Files changed (43) hide show
  1. checksums.yaml +6 -14
  2. data/CONTRIBUTING.md +52 -0
  3. data/CONVERSION.md +6 -8
  4. data/HISTORY.md +9 -1
  5. data/README.md +6 -1
  6. data/Rakefile +3 -0
  7. data/lib/bootswatch-rails/version.rb +1 -1
  8. data/rearranges +12 -10
  9. data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +109 -718
  10. data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +743 -217
  11. data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +78 -133
  12. data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +745 -217
  13. data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +113 -552
  14. data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +745 -217
  15. data/vendor/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
  16. data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +620 -0
  17. data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +105 -525
  18. data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +745 -217
  19. data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +273 -0
  20. data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +829 -0
  21. data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +183 -452
  22. data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +747 -218
  23. data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +77 -295
  24. data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +745 -217
  25. data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +408 -0
  26. data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +827 -0
  27. data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +149 -37
  28. data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +745 -217
  29. data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +84 -413
  30. data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +745 -217
  31. data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +251 -481
  32. data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +749 -217
  33. data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +87 -231
  34. data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +745 -216
  35. data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +168 -569
  36. data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +746 -217
  37. data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +21 -110
  38. data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +745 -217
  39. data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +418 -0
  40. data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +827 -0
  41. metadata +17 -9
  42. data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +0 -650
  43. data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +0 -301
@@ -1,613 +1,174 @@
1
- // Cosmo 2.3.2
1
+ // Cosmo 3.1.1
2
2
  // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
+ @import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
5
6
 
6
- // TYPOGRAPHY
7
- // -----------------------------------------------------
7
+ // Navbar =====================================================================
8
8
 
9
- @import url('//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
9
+ .navbar-inverse {
10
10
 
11
- body {
12
- font-weight: 300;
11
+ .badge {
12
+ background-color: #fff;
13
+ color: $brand-primary;
14
+ }
13
15
  }
14
16
 
15
- h1 {
16
- font-size: 50px;
17
- }
17
+ // Buttons ====================================================================
18
18
 
19
- h2, h3 {
20
- font-size: 26px;
19
+ .btn-lg {
20
+ padding-top: 19px;
21
21
  }
22
22
 
23
- h4 {
24
- font-size: 14px;
25
- }
23
+ // Typography =================================================================
26
24
 
27
- h5, h6 {
28
- font-size: 11px;
25
+ .text-primary,
26
+ .text-primary:hover {
27
+ color: $brand-primary;
29
28
  }
30
29
 
31
- blockquote {
32
-
33
- padding: 10px 15px;
34
- background-color: $grayLighter;
35
- border-left-color: $gray;
36
-
37
- &.pull-right {
38
- padding: 10px 15px;
39
- border-right-color: $gray;
40
- }
41
-
42
- small {
43
- color: $gray;
44
- }
45
- }
46
-
47
- .muted {
48
- color: $gray;
49
- }
50
-
51
- .text-warning { color: $orange; }
52
- a.text-warning:hover { color: darken($orange, 10%); }
53
-
54
- .text-error { color: $red; }
55
- a.text-error:hover { color: darken($red, 10%); }
56
-
57
- .text-info { color: $purple; }
58
- a.text-info:hover { color: darken($purple, 10%); }
59
-
60
- .text-success { color: $green; }
61
- a.text-success:hover { color: darken($green, 10%); }
62
-
63
- // SCAFFOLDING
64
- // -----------------------------------------------------
65
-
66
- // NAVBAR
67
- // -----------------------------------------------------
68
-
69
- .navbar {
70
-
71
- .navbar-inner {
72
- background-image: none;
73
- @include box-shadow(none);
74
- @include border-radius(0);
75
- }
76
-
77
- .brand {
78
-
79
- &:hover {
80
- color: $navbarLinkColorHover;
81
- }
82
- }
83
-
84
- .nav > .active > a,
85
- .nav > .active > a:hover,
86
- .nav > .active > a:focus {
87
- @include box-shadow(none);
88
- background-color: $navbarLinkBackgroundHover;
89
- }
90
-
91
- .nav li.dropdown.open > .dropdown-toggle,
92
- .nav li.dropdown.active > .dropdown-toggle,
93
- .nav li.dropdown.open.active > .dropdown-toggle {
94
- color: $white;
95
-
96
- &:hover {
97
- color: $grayLighter;
98
- }
99
- }
100
-
101
- .navbar-search .search-query {
102
- line-height: normal;
103
- }
104
-
105
- .navbar-inverse {
106
-
107
- .brand,
108
- .nav > li > a {
109
- text-shadow: none;
110
- }
111
-
112
- .brand:hover,
113
- .nav > .active > a,
114
- .nav > .active > a:hover,
115
- .nav > .active > a:focus {
116
- background-color: $navbarInverseLinkBackgroundHover;
117
- @include box-shadow(none);
118
- color: $white;
119
- }
120
-
121
- .navbar-search .search-query {
122
- color: $grayDarker;
123
- }
124
- }
30
+ .text-success,
31
+ .text-success:hover {
32
+ color: $brand-success;
125
33
  }
126
34
 
127
- div.subnav {
128
-
129
- margin: 0 1px;
130
- background: $grayLight none;
131
- @include box-shadow(none);
132
- border: none;
133
- @include border-radius(0);
134
-
135
- .nav {
136
- background-color: transparent;
137
- }
138
-
139
- .nav > li > a {
140
- border-color: transparent;
141
- }
142
-
143
- .nav > .active > a,
144
- .nav > .active > a:hover {
145
- border-color: transparent;
146
- background-color: $black;
147
- color: $white;
148
- @include box-shadow(none);
149
- }
150
-
151
- div.subnav-fixed {
152
- top: $navbarHeight + 1;
153
- margin: 0;
154
- }
35
+ .text-danger,
36
+ .text-danger:hover {
37
+ color: $brand-danger;
155
38
  }
156
39
 
157
- // NAV
158
- // -----------------------------------------------------
159
-
160
- .nav {
161
-
162
- .open .dropdown-toggle,
163
- & > li.dropdown.open.active > a:hover {
164
- color: $blue;
165
- }
40
+ .text-warning,
41
+ .text-warning:hover {
42
+ color: $brand-warning;
166
43
  }
167
44
 
168
- .nav-tabs {
169
-
170
- & > li > a {
171
- @include border-radius(0);
172
- }
173
-
174
- &.nav-stacked {
175
-
176
- & > li > a:hover {
177
- background-color: $blue;
178
- color: $white;
179
- }
180
-
181
- & > .active > a,
182
- & > .active > a:hover {
183
- background-color: $white;
184
- color: $gray;
185
- }
186
-
187
- & > li:first-child > a,
188
- & > li:last-child > a {
189
- @include border-radius(0);
190
- }
191
- }
192
- }
193
-
194
- .tabs-below,
195
- .tabs-left,
196
- .tabs-right {
197
-
198
- & > .nav-tabs > li > a{
199
- @include border-radius(0);
200
- }
201
- }
202
-
203
- .nav-pills {
204
-
205
- & > li > a {
206
- background-color: $grayLight;
207
- @include border-radius(0);
208
- color: $black;
209
-
210
- &:hover {
211
- background-color: $black;
212
- color: $white;
213
- }
214
- }
215
-
216
- & > .disabled > a,
217
- & > .disabled > a:hover {
218
- background-color: $grayLighter;
219
- color: $grayDark;
220
- }
221
- }
222
-
223
- .nav-list {
224
-
225
- & > li > a {
226
- color: $grayDarker;
227
-
228
- &:hover {
229
- background-color: $blue;
230
- color: $white;
231
- text-shadow: none;
232
- }
233
- }
234
-
235
- .nav-header {
236
- color: $grayDarker;
237
- }
238
-
239
- .divider {
240
- background-color: $gray;
241
- border-bottom: none;
242
- }
243
- }
244
-
245
- .pagination {
246
-
247
- ul {
248
-
249
- @include box-shadow(none);
250
-
251
- & > li > a,
252
- & > li > span {
253
- margin-right: 6px;
254
- color: $grayDarker;
255
-
256
- &:hover {
257
- background-color: $grayDarker;
258
- color: $white;
259
- }
260
- }
261
-
262
- & > li:last-child > a,
263
- & > li:last-child > span {
264
- margin-right: 0;
265
- }
266
-
267
- & > .active > a,
268
- & > .active > span {
269
- color: $white;
270
- }
271
-
272
- & > .disabled > span,
273
- & > .disabled > a,
274
- & > .disabled > a:hover {
275
- background-color: $grayLighter;
276
- color: $grayDark;
277
- }
278
- }
279
- }
280
-
281
- .pager {
282
-
283
- li > a,
284
- li > span {
285
- background-color: $grayLight;
286
- border: none;
287
- @include border-radius(0);
288
- color: $grayDarker;
289
-
290
- &:hover {
291
- background-color: $grayDarker;
292
- color: $white;
293
- }
294
- }
295
-
296
- .disabled > a,
297
- .disabled > a:hover,
298
- .disabled > span {
299
- background-color: $grayLighter;
300
- color: $grayDark;
301
- }
302
-
45
+ .text-info,
46
+ .text-info:hover {
47
+ color: $brand-info;
303
48
  }
304
49
 
305
- .breadcrumb {
306
- background-color: $grayLight;
307
-
308
- li {
309
- text-shadow: none;
310
- }
50
+ // Tables =====================================================================
311
51
 
312
- .divider,
313
- .active {
314
- color: $grayDarker;
315
- text-shadow: none;
316
- }
317
- }
318
-
319
- // BUTTONS
320
- // -----------------------------------------------------
52
+ table,
53
+ .table {
321
54
 
322
- .btn {
323
- padding: 5px 12px;
324
- background-image: none;
325
- @include box-shadow(none);
326
- border: none;
327
- @include border-radius(0);
328
- text-shadow: none;
329
-
330
- &.disabled {
331
- box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
332
- }
333
- }
55
+ a {
56
+ text-decoration: underline;
57
+ }
334
58
 
335
- .btn-large {
336
- padding: 22px 30px;
337
- }
59
+ .success,
60
+ .warning,
61
+ .danger,
62
+ .info {
63
+ color: #fff;
338
64
 
339
- .btn-small {
340
- padding: 2px 10px;
65
+ a {
66
+ color: #fff;
67
+ }
68
+ }
341
69
  }
342
70
 
343
- .btn-mini {
344
- padding: 2px 6px;
345
- }
71
+ // Forms ======================================================================
346
72
 
347
- .btn-group {
348
73
 
349
- & > .btn:first-child,
350
- & > .btn:last-child,
351
- & > .dropdown-toggle {
352
- @include border-radius(0);
353
- }
74
+ .has-warning {
75
+ .help-block,
76
+ .control-label,
77
+ .form-control-feedback {
78
+ color: $brand-warning;
79
+ }
354
80
 
355
- & > .btn + .dropdown-toggle {
356
- @include box-shadow(none);
357
- }
81
+ .form-control,
82
+ .form-control:focus {
83
+ border: 1px solid $brand-warning;
84
+ }
358
85
  }
359
86
 
360
- // TABLES
361
- // -----------------------------------------------------
362
-
363
- .table {
364
-
365
- tbody tr.success td {
366
- color: $white;
367
- }
368
-
369
- tbody tr.error td {
370
- color: $white;
371
- }
372
-
373
- tbody tr.info td {
374
- color: $white;
375
- }
87
+ .has-error {
88
+ .help-block,
89
+ .control-label,
90
+ .form-control-feedback {
91
+ color: $brand-danger;
92
+ }
376
93
 
377
- .table-bordered {
378
- @include border-radius(0);
379
-
380
- thead:first-child tr:first-child th:first-child,
381
- tbody:first-child tr:first-child td:first-child {
382
- @include border-radius(0);
383
- }
384
-
385
- thead:last-child tr:last-child th:first-child,
386
- tbody:last-child tr:last-child td:first-child,
387
- tfoot:last-child tr:last-child td:first-child {
388
- @include border-radius(0);
389
- }
390
- }
94
+ .form-control,
95
+ .form-control:focus {
96
+ border: 1px solid $brand-danger;
97
+ }
391
98
  }
392
99
 
393
- // FORMS
394
- // -----------------------------------------------------
100
+ .has-success {
101
+ .help-block,
102
+ .control-label,
103
+ .form-control-feedback {
104
+ color: $brand-success;
105
+ }
395
106
 
396
- select, textarea, input[type="text"], input[type="password"], input[type="datetime"],
397
- input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
398
- input[type="week"], input[type="number"], input[type="email"], input[type="url"],
399
- input[type="search"], input[type="tel"], input[type="color"] {
400
- color: $grayDarker;
107
+ .form-control,
108
+ .form-control:focus {
109
+ border: 1px solid $brand-success;
110
+ }
401
111
  }
402
112
 
403
- .control-group {
404
-
405
- &.warning {
406
-
407
- .control-label,
408
- .help-block,
409
- .help-inline {
410
- color: $orange;
411
- }
412
-
413
- input,
414
- select,
415
- textarea {
416
- border-color: $orange;
417
- color: $grayDarker;
418
- }
419
- }
420
-
421
- &.error {
422
-
423
- .control-label,
424
- .help-block,
425
- .help-inline {
426
- color: $red;
427
- }
428
-
429
- input,
430
- select,
431
- textarea {
432
- border-color: $red;
433
- color: $grayDarker;
434
- }
435
- }
436
-
437
- &.success {
438
-
439
- .control-label,
440
- .help-block,
441
- .help-inline {
442
- color: $green;
443
- }
444
-
445
- input,
446
- select,
447
- textarea {
448
- border-color: $green;
449
- color: $grayDarker;
450
- }
451
- }
452
- }
113
+ // Navs =======================================================================
453
114
 
454
- legend {
455
- border-bottom: none;
456
- color: $grayDarker;
457
- }
115
+ .nav-pills {
458
116
 
459
- .form-actions {
460
- border-top: none;
461
- background-color: $grayLighter;
117
+ & > li > a {
118
+ border-radius: 0;
119
+ }
462
120
  }
463
121
 
464
- // DROPDOWNS
465
- // -----------------------------------------------------
466
-
467
122
  .dropdown-menu {
468
- @include border-radius(0);
469
- }
470
123
 
471
- // ALERTS, LABELS, BADGES
472
- // -----------------------------------------------------
473
-
474
- .alert {
475
- @include border-radius(0);
476
- text-shadow: none;
477
-
478
- .alert-heading, h1, h2, h3, h4, h5, h6 {
479
- color: $white;
480
- }
481
- }
482
-
483
- .label {
484
- min-width: 80px;
485
- min-height: 80px;
486
- @include border-radius(0);
487
- font-weight: 300;
488
- text-shadow: none;
489
-
490
- .label-success {
491
- background-color: $green;
492
- }
493
-
494
- .label-important {
495
- background-color: $red;
496
- }
497
-
498
- .label-info {
499
- background-color: $purple;
500
- }
501
-
502
- .label-inverse {
503
- background-color: $black;
504
- }
124
+ & > li > a:hover,
125
+ & > li > a:focus {
126
+ background-image: none;
127
+ }
505
128
  }
506
129
 
507
- .badge {
130
+ // Indicators =================================================================
508
131
 
509
- @include border-radius(0);
510
- font-weight: 300;
511
- text-shadow: none;
512
-
513
- .badge-success {
514
- background-color: $green;
515
- }
516
-
517
- .badge-important {
518
- background-color: $red;
519
- }
520
-
521
- .badge-info {
522
- background-color: $purple;
523
- }
132
+ .alert {
133
+ border: none;
524
134
 
525
- .badge-inverse {
526
- background-color: $black;
527
- }
528
- }
135
+ .alert-link {
136
+ text-decoration: underline;
137
+ color: #fff;
138
+ }
529
139
 
530
- // MISC
531
- // -----------------------------------------------------
140
+ .close {
141
+ color: #fff;
142
+ text-decoration: none;
143
+ opacity: 0.4;
532
144
 
533
- .hero-unit {
534
- border: none;
535
- @include border-radius(0);
536
- @include box-shadow(none);
145
+ &:hover,
146
+ &:focus {
147
+ color: #fff;
148
+ opacity: 1;
149
+ }
150
+ }
537
151
  }
538
152
 
539
- .well {
540
- border: none;
541
- @include border-radius(0);
542
- @include box-shadow(none);
543
- }
544
-
545
- [class^="icon-"], [class*=" icon-"] {
546
- margin: 0 2px;
547
- vertical-align: -2px;
153
+ .label {
154
+ border-radius: 0;
548
155
  }
549
156
 
550
- a.thumbnail {
551
- background-color: $grayLight;
552
-
553
- &:hover {
554
- background-color: $gray;
555
- border-color: transparent;
556
- }
557
- }
157
+ // Progress bars ==============================================================
558
158
 
559
159
  .progress {
560
- height: 6px;
561
- @include border-radius(0);
562
- @include box-shadow(none);
563
- background-color: $grayLighter;
564
- background-image: none;
565
-
566
- .bar {
567
- background-color: $blue;
568
- background-image: none;
569
- }
570
-
571
- .progress-info {
572
- background-color: $purple;
573
- }
574
-
575
- .progress-success {
576
- background-color: $green;
577
- }
578
-
579
- .progress-warning {
580
- background-color: $orange;
581
- }
582
-
583
- .progress-danger {
584
- background-color: $red;
585
- }
586
- }
587
-
588
- .modal {
589
- @include border-radius(0);
590
-
591
- .modal-header {
592
- border-bottom: none;
593
- }
594
-
595
- .modal-footer {
596
- border-top: none;
597
- background-color: transparent;
598
- }
160
+ height: 8px;
161
+ @include box-shadow(none);
162
+ .progress-bar {
163
+ font-size: 8px;
164
+ line-height: 8px;
165
+ }
599
166
  }
600
167
 
601
- .popover {
602
- @include border-radius(0);
603
- color: $white;
604
-
605
- .popover-title {
606
- border-bottom: none;
607
- color: $white;
608
- }
168
+ // Containers =================================================================
609
169
 
170
+ .panel-heading,
171
+ .panel-footer {
172
+ border-top-right-radius: 0;
173
+ border-top-left-radius: 0;
610
174
  }
611
-
612
- // MEDIA QUERIES
613
- // -----------------------------------------------------