less-rails-bootswatch 0.2.11 → 0.3.0

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.
Files changed (25) hide show
  1. data/lib/less/rails/bootswatch/version.rb +1 -1
  2. data/vendor/frameworks/stylesheets/bootswatch/amelia/bootswatch.less +174 -61
  3. data/vendor/frameworks/stylesheets/bootswatch/amelia/variables.less +91 -18
  4. data/vendor/frameworks/stylesheets/bootswatch/cerulean/bootswatch.less +66 -27
  5. data/vendor/frameworks/stylesheets/bootswatch/cerulean/variables.less +93 -20
  6. data/vendor/frameworks/stylesheets/bootswatch/cyborg/bootswatch.less +134 -44
  7. data/vendor/frameworks/stylesheets/bootswatch/cyborg/variables.less +88 -15
  8. data/vendor/frameworks/stylesheets/bootswatch/default/variables.less +102 -29
  9. data/vendor/frameworks/stylesheets/bootswatch/journal/bootswatch.less +11 -2
  10. data/vendor/frameworks/stylesheets/bootswatch/journal/variables.less +88 -15
  11. data/vendor/frameworks/stylesheets/bootswatch/readable/bootswatch.less +79 -98
  12. data/vendor/frameworks/stylesheets/bootswatch/readable/variables.less +98 -25
  13. data/vendor/frameworks/stylesheets/bootswatch/simplex/bootswatch.less +87 -36
  14. data/vendor/frameworks/stylesheets/bootswatch/simplex/variables.less +97 -24
  15. data/vendor/frameworks/stylesheets/bootswatch/slate/bootswatch.less +104 -51
  16. data/vendor/frameworks/stylesheets/bootswatch/slate/variables.less +88 -15
  17. data/vendor/frameworks/stylesheets/bootswatch/spacelab/bootswatch.less +53 -33
  18. data/vendor/frameworks/stylesheets/bootswatch/spacelab/variables.less +92 -19
  19. data/vendor/frameworks/stylesheets/bootswatch/spruce/bootswatch.less +120 -69
  20. data/vendor/frameworks/stylesheets/bootswatch/spruce/variables.less +106 -33
  21. data/vendor/frameworks/stylesheets/bootswatch/superhero/bootswatch.less +66 -48
  22. data/vendor/frameworks/stylesheets/bootswatch/superhero/variables.less +87 -18
  23. data/vendor/frameworks/stylesheets/bootswatch/united/bootswatch.less +36 -21
  24. data/vendor/frameworks/stylesheets/bootswatch/united/variables.less +92 -19
  25. metadata +4 -4
@@ -1,10 +1,11 @@
1
- // Variables.less
2
- // Variables to customize the look and feel of Bootstrap
1
+ //
2
+ // Variables
3
3
  // Swatch: Spacelab
4
- // Version: 2.0.4
5
- // -----------------------------------------------------
4
+ // Version: 2.1.0
5
+ // --------------------------------------------------
6
+
6
7
 
7
- // GLOBAL VALUES
8
+ // Global values
8
9
  // --------------------------------------------------
9
10
 
10
11
 
@@ -15,7 +16,7 @@
15
16
  @grayDark: #333;
16
17
  @gray: #555;
17
18
  @grayLight: #999;
18
- @grayLighter: #F5F5F5;
19
+ @grayLighter: #ddd;
19
20
  @white: #fff;
20
21
 
21
22
 
@@ -49,9 +50,9 @@
49
50
  @serifFontFamily: Georgia, "Times New Roman", Times, serif;
50
51
  @monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
51
52
 
52
- @baseFontSize: 13px;
53
+ @baseFontSize: 14px;
53
54
  @baseFontFamily: @sansFontFamily;
54
- @baseLineHeight: 18px;
55
+ @baseLineHeight: 20px;
55
56
  @altFontFamily: @serifFontFamily;
56
57
 
57
58
  @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
@@ -104,12 +105,17 @@
104
105
  // -------------------------
105
106
  @dropdownBackground: @white;
106
107
  @dropdownBorder: rgba(0,0,0,.2);
107
- @dropdownLinkColor: @textColor;
108
- @dropdownLinkColorHover: @white;
109
- @dropdownLinkBackgroundHover: @linkColor;
110
108
  @dropdownDividerTop: #e5e5e5;
111
109
  @dropdownDividerBottom: @white;
112
110
 
111
+ @dropdownLinkColor: @textColor;
112
+
113
+ @dropdownLinkColorHover: @white;
114
+ @dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
115
+
116
+ @dropdownLinkColorActive: @dropdownLinkColor;
117
+ @dropdownLinkBackgroundActive: @linkColor;
118
+
113
119
 
114
120
 
115
121
  // COMPONENT VARIABLES
@@ -121,7 +127,7 @@
121
127
  // Try to avoid customizing these :)
122
128
  @zindexDropdown: 1000;
123
129
  @zindexPopover: 1010;
124
- @zindexTooltip: 1020;
130
+ @zindexTooltip: 1030;
125
131
  @zindexFixedNavbar: 1030;
126
132
  @zindexModalBackdrop: 1040;
127
133
  @zindexModal: 1050;
@@ -143,25 +149,55 @@
143
149
  @hrBorder: @grayLighter;
144
150
 
145
151
 
152
+ // Wells
153
+ // -------------------------
154
+ @wellBackground: #f5f5f5;
155
+
156
+
146
157
  // Navbar
147
158
  // -------------------------
159
+ @navbarCollapseWidth: 979px;
160
+
148
161
  @navbarHeight: 40px;
149
162
  @navbarBackground: #EAEAEA;
150
163
  @navbarBackgroundHighlight: lighten(@navbarBackground, 15%);
164
+ @navbarBorder: darken(@navbarBackground, 12%);
151
165
 
152
166
  @navbarText: @textColor;
153
167
  @navbarLinkColor: @textColor;
154
168
  @navbarLinkColorHover: @linkColor;
155
- @navbarLinkColorActive: @linkColor;
169
+ @navbarLinkColorActive: @textColor;
156
170
  @navbarLinkBackgroundHover: transparent;
157
171
  @navbarLinkBackgroundActive: transparent;
158
172
 
159
- @navbarSearchBackground: lighten(@navbarBackground, 25%);
160
- @navbarSearchBackgroundFocus: @white;
161
- @navbarSearchBorder: darken(@navbarSearchBackground, 30%);
162
- @navbarSearchPlaceholderColor: #ccc;
163
173
  @navbarBrandColor: @grayDark;
164
174
 
175
+ // Inverted navbar
176
+ @navbarInverseBackground: @gray;
177
+ @navbarInverseBackgroundHighlight: lighten(@navbarInverseBackground, 5%);
178
+ @navbarInverseBorder: #252525;
179
+
180
+ @navbarInverseText: @grayLighter;
181
+ @navbarInverseLinkColor: @grayLighter;
182
+ @navbarInverseLinkColorHover: @white;
183
+ @navbarInverseLinkColorActive: @white;
184
+ @navbarInverseLinkBackgroundHover: transparent;
185
+ @navbarInverseLinkBackgroundActive: @navbarInverseBackground;
186
+
187
+ @navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
188
+ @navbarInverseSearchBackgroundFocus: @white;
189
+ @navbarInverseSearchBorder: @navbarInverseBackground;
190
+ @navbarInverseSearchPlaceholderColor: #ccc;
191
+
192
+ @navbarInverseBrandColor: @navbarInverseLinkColor;
193
+
194
+
195
+ // Pagination
196
+ // -------------------------
197
+ @paginationBackground: #fff;
198
+ @paginationBorder: #ddd;
199
+ @paginationActiveBackground: #f5f5f5;
200
+
165
201
 
166
202
  // Hero unit
167
203
  // -------------------------
@@ -189,10 +225,28 @@
189
225
  @infoBorder: darken(spin(@infoBackground, -10), 7%);
190
226
 
191
227
 
228
+ // Tooltips and popovers
229
+ // -------------------------
230
+ @tooltipColor: #fff;
231
+ @tooltipBackground: #000;
232
+ @tooltipArrowWidth: 5px;
233
+ @tooltipArrowColor: @tooltipBackground;
234
+
235
+ @popoverBackground: #fff;
236
+ @popoverArrowWidth: 10px;
237
+ @popoverArrowColor: #fff;
238
+ @popoverTitleBackground: darken(@popoverBackground, 3%);
239
+
240
+ // Special enhancement for popovers
241
+ @popoverArrowOuterWidth: @popoverArrowWidth + 1;
242
+ @popoverArrowOuterColor: rgba(0,0,0,.25);
243
+
244
+
192
245
 
193
246
  // GRID
194
247
  // --------------------------------------------------
195
248
 
249
+
196
250
  // Default 940px grid
197
251
  // -------------------------
198
252
  @gridColumns: 12;
@@ -200,7 +254,26 @@
200
254
  @gridGutterWidth: 20px;
201
255
  @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
202
256
 
257
+ // 1200px min
258
+ @gridColumnWidth1200: 70px;
259
+ @gridGutterWidth1200: 30px;
260
+ @gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
261
+
262
+ // 768px-979px
263
+ @gridColumnWidth768: 42px;
264
+ @gridGutterWidth768: 20px;
265
+ @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
266
+
267
+
203
268
  // Fluid grid
204
269
  // -------------------------
205
- @fluidGridColumnWidth: 6.382978723%;
206
- @fluidGridGutterWidth: 2.127659574%;
270
+ @fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
271
+ @fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
272
+
273
+ // 1200px min
274
+ @fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
275
+ @fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
276
+
277
+ // 768px-979px
278
+ @fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
279
+ @fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);
@@ -1,6 +1,6 @@
1
1
  // Bootswatch.less
2
2
  // Swatch: Spruce
3
- // Version: 2.0.4
3
+ // Version: 2.1.0
4
4
  // -----------------------------------------------------
5
5
 
6
6
  // TYPOGRAPHY
@@ -16,37 +16,41 @@ div.subnav li > a,
16
16
  font-weight: @headingsFontWeight;
17
17
  }
18
18
 
19
- h3 { font-size: 20px; }
20
- h4 { font-size: 16px; }
21
- h5 { font-size: 14px; }
22
-
23
- h1, h2, h3, h4, h5, h6 {
19
+ h1 {
20
+ font-size: 54px;
21
+ line-height: 1.2em;
24
22
  color: @yellow;
25
23
  }
26
24
 
25
+ h2 { font-size: 48px; }
26
+ h3 { font-size: 36px; }
27
+ h4 { font-size: 24px; }
28
+ h5 { font-size: 20px; }
29
+
27
30
  h1 > small, h2 > small, h3 > small, h4 > small, h5 > small, h6 > small, .muted {
28
- color: @linkColor;
31
+ color: @headingsColor;
29
32
  font-family: @baseFontFamily;
30
33
  }
31
34
 
32
35
  .alert-heading {
33
36
  font-family: @baseFontFamily;
37
+ color: inherit;
34
38
  }
35
39
 
36
40
  // SCAFFOLDING
37
41
  // --------------------------------------------------
38
42
 
39
43
  body {
40
- #gradient > .vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
44
+ // #gradient > .vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
41
45
  background-size: 100% 1400px;
42
46
  background-repeat: repeat-y;
43
47
  }
44
48
 
45
49
  blockquote {
46
- border-left: 2px solid @linkColor;
50
+ border-left: 2px solid @headingsColor;
47
51
 
48
52
  &.pull-right {
49
- border-right: 2px solid @linkColor;
53
+ border-right: 2px solid @headingsColor;
50
54
  }
51
55
 
52
56
  small {
@@ -56,7 +60,7 @@ blockquote {
56
60
 
57
61
  code, pre {
58
62
  color: lighten(@blueDark, 10%);
59
- background-color: @linkColor;
63
+ background-color: @headingsColor;
60
64
  }
61
65
 
62
66
  // NAVBAR
@@ -76,7 +80,7 @@ code, pre {
76
80
 
77
81
  .nav > li > a {
78
82
  font-size: 20px;
79
- padding: 22px 10px 11px;
83
+ padding: 20px 20px 10px;
80
84
  }
81
85
 
82
86
  .nav .active > a,
@@ -84,9 +88,20 @@ code, pre {
84
88
  color: @yellow;
85
89
  }
86
90
 
91
+ .nav > .active > a,
92
+ .nav > .active > a:hover,
93
+ .nav > .active > a:focus {
94
+ .box-shadow(none);
95
+ }
96
+
87
97
  .navbar-text {
98
+ margin: 19px 20px 0;
88
99
  font-size: 20px;
89
- padding: 11px 10px 0;
100
+ line-height: inherit;
101
+ }
102
+
103
+ .divider-vertical {
104
+ border-color: rgba(0, 0, 0, 0.2);
90
105
  }
91
106
 
92
107
  .navbar-search {
@@ -95,8 +110,8 @@ code, pre {
95
110
 
96
111
  .navbar-search .search-query {
97
112
  border-color: transparent;
98
- padding: 6px 9px 2px 9px;
99
113
  background-color: rgba(255, 255, 255, 0.4);
114
+ color: @white;
100
115
  }
101
116
 
102
117
  .nav > .open > a {
@@ -104,14 +119,14 @@ code, pre {
104
119
  }
105
120
 
106
121
  .nav > .open > .dropdown-menu {
107
- background-color: @linkColor;
122
+ background-color: @headingsColor;
108
123
  color: @textColor;
109
124
  border-color: transparent;
110
125
  }
111
126
 
112
127
  .nav > .open > .dropdown-menu a:hover {
113
128
  background-color: darken(#90A38F, 10%);
114
- color: @linkColor;
129
+ color: @headingsColor;
115
130
  }
116
131
 
117
132
  .btn-navbar {
@@ -119,7 +134,7 @@ code, pre {
119
134
  }
120
135
 
121
136
  .nav-collapse.in .nav li > a {
122
- color: @linkColor;
137
+ color: @headingsColor;
123
138
 
124
139
  &:hover {
125
140
  color: @yellow;
@@ -144,7 +159,7 @@ div.subnav {
144
159
  padding: 13px 12px 9px;
145
160
  border-color: transparent;
146
161
  background-color: transparent;
147
- color: @linkColor;
162
+ color: @headingsColor;
148
163
  }
149
164
 
150
165
  .nav > li + li > a {
@@ -163,18 +178,18 @@ div.subnav {
163
178
  }
164
179
 
165
180
  .dropdown.open > .dropdown-menu {
166
- background-color: @linkColor;
181
+ background-color: @headingsColor;
167
182
  color: @textColor;
168
183
  border-color: transparent;
169
184
  }
170
185
 
171
186
  .dropdown.open > .dropdown-menu a:hover {
172
187
  background-color: darken(#90A38F, 10%);
173
- color: @linkColor;
188
+ color: @headingsColor;
174
189
  }
175
190
 
176
191
  &.subnav-fixed {
177
- top: 54px;
192
+ top: @navbarHeight;
178
193
  }
179
194
  }
180
195
 
@@ -214,7 +229,7 @@ div.subnav {
214
229
  .table th,
215
230
  .table-striped tbody tr:nth-child(odd) th {
216
231
  background-color: darken(#90A38F, 10%);
217
- color: @linkColor;
232
+ color: @headingsColor;
218
233
  }
219
234
 
220
235
  // BUTTONS
@@ -267,6 +282,17 @@ div.subnav {
267
282
  // NAVIGATION
268
283
  // --------------------------------------------------
269
284
 
285
+ .nav {
286
+ .disabled > a {
287
+
288
+ color: #ccc;
289
+
290
+ &:hover {
291
+ background-color: #748C73;
292
+ }
293
+ }
294
+ }
295
+
270
296
  .breadcrumb {
271
297
  background-color: darken(#90A38F, 10%);
272
298
  background-image: none;
@@ -278,7 +304,7 @@ div.subnav {
278
304
  text-shadow: none;
279
305
 
280
306
  a {
281
- color: @linkColor;
307
+ color: @yellow;
282
308
  }
283
309
 
284
310
  a:hover {
@@ -286,36 +312,43 @@ div.subnav {
286
312
  }
287
313
 
288
314
  .divider {
289
- color: @blue;
315
+ color: @headingsColor;
290
316
  }
291
317
  }
292
- }
293
318
 
294
- .pagination > ul {
295
- background-color: darken(#90A38F, 10%);
296
- background-image: none;
297
- border-color: transparent;
298
- .box-shadow(none);
319
+ .active {
320
+ color: @headingsColor;
321
+ }
299
322
  }
300
323
 
301
- .pagination a {
302
- color: @linkColor;
303
- border-color: transparent;
324
+ .pagination {
304
325
 
305
- &:hover {
326
+ & > ul {
327
+ background-color: darken(#90A38F, 10%);
328
+ background-image: none;
329
+ border-color: transparent;
330
+ .box-shadow(none);
331
+ }
332
+
333
+ a {
306
334
  color: @yellow;
307
- background-color: #748C73;
335
+ border-color: transparent;
336
+
337
+ &:hover {
338
+ color: @yellow;
339
+ background-color: rgba(0, 0, 0, 0.1);
340
+ }
308
341
  }
309
- }
310
342
 
311
- .pagination .active a {
312
- color: @blue;
313
- background-color: #A2CDB5;
314
- }
343
+ .active a {
344
+ color: @headingsColor;
345
+ background-color: rgba(0, 0, 0, 0.1);
346
+ }
315
347
 
316
- .pagination .disabled a,
317
- .pagination .disabled a:hover {
318
- color: @blue;
348
+ .disabled a,
349
+ .disabled a:hover {
350
+ color: @blue;
351
+ }
319
352
  }
320
353
 
321
354
  .nav-list {
@@ -337,7 +370,7 @@ div.subnav {
337
370
 
338
371
  .divider {
339
372
  background-color: transparent;
340
- border-bottom: 1px solid @linkColor;
373
+ border-bottom: 1px solid @headingsColor;
341
374
  }
342
375
  }
343
376
 
@@ -386,13 +419,13 @@ div.subnav {
386
419
 
387
420
  .nav-tabs .dropdown-menu,
388
421
  .nav-pills .dropdown-menu {
389
- background-color: @linkColor;
422
+ background-color: @headingsColor;
390
423
  color: @textColor;
391
424
  border-color: transparent;
392
425
 
393
426
  a:hover {
394
427
  background-color: #A2CDB5;
395
- color: @linkColor;
428
+ color: @headingsColor;
396
429
  }
397
430
  }
398
431
 
@@ -410,13 +443,21 @@ div.subnav {
410
443
  }
411
444
  }
412
445
 
413
- .pager a {
414
- border: none;
415
- background-color: #748C73;
446
+ .pager {
416
447
 
417
- &:hover {
418
- background-color: transparent;
448
+ a {
449
+ border: none;
419
450
  background-color: #748C73;
451
+
452
+ &:hover {
453
+ background-color: #687D67;
454
+ }
455
+ }
456
+
457
+ .disabled a,
458
+ .disabled a:hover {
459
+ background-color: #748C73;
460
+ color: @textColor;
420
461
  }
421
462
  }
422
463
 
@@ -424,11 +465,11 @@ div.subnav {
424
465
  // --------------------------------------------------
425
466
 
426
467
  legend {
427
- color: @yellow;
468
+ color: @headingsColor;
428
469
  }
429
470
 
430
471
  label, .help-block, input[type="file"] {
431
- color: @linkColor;
472
+ color: @headingsColor;
432
473
  }
433
474
 
434
475
  input, textarea, select {
@@ -458,7 +499,7 @@ legend {
458
499
 
459
500
  .modal-body,
460
501
  .modal-footer {
461
- background-color: @linkColor;
502
+ background-color: @headingsColor;
462
503
  border: none;
463
504
  .box-shadow(none);
464
505
 
@@ -479,25 +520,39 @@ legend {
479
520
  border: none;
480
521
  }
481
522
 
523
+ .badge,
482
524
  .label {
483
- color: @linkColor;
484
- opacity: 1;
525
+
526
+ background-color: @blue;
485
527
  text-shadow: none;
528
+
529
+ &-success {
530
+ background-color: @successBackground;
531
+ }
532
+
533
+ &-warning {
534
+ background-color: @warningBackground;
535
+ }
536
+
537
+ &-important {
538
+ background-color: @errorBackground;
539
+ }
540
+
541
+ &-info {
542
+ background-color: @infoBackground;
543
+ }
544
+
545
+ &-inverse {
546
+ background-color: @yellow;
547
+ }
486
548
  }
487
549
 
488
550
  .progress {
489
551
  background-color: darken(#90A38F, 10%);
490
552
  background-image: none;
491
- .box-shadow(none);
492
-
493
- .bar {
494
- background-image: none;
495
- background-color: #A2CDB5;
496
- }
497
553
  }
498
554
 
499
555
  .well {
500
- background-color: darken(#90A38F, 10%);
501
556
  border: none;
502
557
  .box-shadow(none);
503
558
  }
@@ -513,14 +568,10 @@ legend {
513
568
 
514
569
  hr {
515
570
  border-top: none;
516
- border-bottom: 2px solid @linkColor;
571
+ border-bottom: 2px solid @headingsColor;
517
572
  }
518
573
 
519
574
  .page-header {
520
- border-bottom: 2px solid @linkColor;
575
+ border-bottom: 2px solid @headingsColor;
521
576
  padding-bottom: 5px;
522
577
  }
523
-
524
- footer.footer {
525
- border-top: 2px solid @linkColor;
526
- }