less-rails-bootswatch 0.2.11 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/less/rails/bootswatch/version.rb +1 -1
- data/vendor/frameworks/stylesheets/bootswatch/amelia/bootswatch.less +174 -61
- data/vendor/frameworks/stylesheets/bootswatch/amelia/variables.less +91 -18
- data/vendor/frameworks/stylesheets/bootswatch/cerulean/bootswatch.less +66 -27
- data/vendor/frameworks/stylesheets/bootswatch/cerulean/variables.less +93 -20
- data/vendor/frameworks/stylesheets/bootswatch/cyborg/bootswatch.less +134 -44
- data/vendor/frameworks/stylesheets/bootswatch/cyborg/variables.less +88 -15
- data/vendor/frameworks/stylesheets/bootswatch/default/variables.less +102 -29
- data/vendor/frameworks/stylesheets/bootswatch/journal/bootswatch.less +11 -2
- data/vendor/frameworks/stylesheets/bootswatch/journal/variables.less +88 -15
- data/vendor/frameworks/stylesheets/bootswatch/readable/bootswatch.less +79 -98
- data/vendor/frameworks/stylesheets/bootswatch/readable/variables.less +98 -25
- data/vendor/frameworks/stylesheets/bootswatch/simplex/bootswatch.less +87 -36
- data/vendor/frameworks/stylesheets/bootswatch/simplex/variables.less +97 -24
- data/vendor/frameworks/stylesheets/bootswatch/slate/bootswatch.less +104 -51
- data/vendor/frameworks/stylesheets/bootswatch/slate/variables.less +88 -15
- data/vendor/frameworks/stylesheets/bootswatch/spacelab/bootswatch.less +53 -33
- data/vendor/frameworks/stylesheets/bootswatch/spacelab/variables.less +92 -19
- data/vendor/frameworks/stylesheets/bootswatch/spruce/bootswatch.less +120 -69
- data/vendor/frameworks/stylesheets/bootswatch/spruce/variables.less +106 -33
- data/vendor/frameworks/stylesheets/bootswatch/superhero/bootswatch.less +66 -48
- data/vendor/frameworks/stylesheets/bootswatch/superhero/variables.less +87 -18
- data/vendor/frameworks/stylesheets/bootswatch/united/bootswatch.less +36 -21
- data/vendor/frameworks/stylesheets/bootswatch/united/variables.less +92 -19
- metadata +4 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
// Bootswatch.less
|
2
2
|
// Swatch: Amelia
|
3
|
-
// Version: 2.0
|
3
|
+
// Version: 2.1.0
|
4
4
|
// -----------------------------------------------------
|
5
5
|
|
6
6
|
// TYPOGRAPHY
|
@@ -9,7 +9,8 @@
|
|
9
9
|
@import url('https://fonts.googleapis.com/css?family=Lobster');
|
10
10
|
@import url('https://fonts.googleapis.com/css?family=Cabin:400,700');
|
11
11
|
|
12
|
-
.navbar .brand,
|
12
|
+
.navbar .brand,
|
13
|
+
legend {
|
13
14
|
font-family: @headingsFontFamily;
|
14
15
|
}
|
15
16
|
|
@@ -38,6 +39,7 @@ hr {
|
|
38
39
|
}
|
39
40
|
|
40
41
|
.page-header {
|
42
|
+
margin: 30px 0 15px;
|
41
43
|
border-bottom: 0px solid transparent;
|
42
44
|
}
|
43
45
|
|
@@ -53,12 +55,13 @@ footer.footer {
|
|
53
55
|
// -----------------------------------------------------
|
54
56
|
|
55
57
|
.navbar {
|
58
|
+
|
56
59
|
.navbar-inner {
|
57
60
|
.border-radius(0);
|
58
61
|
}
|
59
62
|
|
60
63
|
.brand {
|
61
|
-
padding:
|
64
|
+
padding: 15px 20px 14px;
|
62
65
|
font-size: 24px;
|
63
66
|
font-weight: normal;
|
64
67
|
}
|
@@ -69,21 +72,78 @@ footer.footer {
|
|
69
72
|
text-shadow: none;
|
70
73
|
}
|
71
74
|
|
75
|
+
.nav > .active > a,
|
76
|
+
.nav > .active > a:hover,
|
77
|
+
.navbar .nav > .active > a:focus {
|
78
|
+
.box-shadow(none);
|
79
|
+
}
|
80
|
+
|
72
81
|
.navbar-search {
|
73
82
|
margin-top: 10px;
|
74
83
|
}
|
75
84
|
|
76
85
|
.navbar-search .search-query {
|
77
|
-
border: 2px solid lighten(@navbarBackground, 10%);
|
78
86
|
.border-radius(0);
|
79
|
-
|
87
|
+
padding-top: 5px;
|
88
|
+
padding-bottom: 5px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.navbar-text {
|
92
|
+
margin: 17px 15px 14px;
|
93
|
+
line-height: 20px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.btn,
|
97
|
+
.btn-group {
|
98
|
+
padding: 4px;
|
99
|
+
}
|
100
|
+
|
101
|
+
.nav-collapse.collapse {
|
80
102
|
|
81
|
-
|
82
|
-
|
83
|
-
border-
|
84
|
-
|
85
|
-
|
103
|
+
.nav li > a {
|
104
|
+
color: @textColor;
|
105
|
+
.border-radius(0);
|
106
|
+
|
107
|
+
&:hover {
|
108
|
+
background-color: lighten(@navbarBackground, 10%);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.dropdown-menu li > a:hover,
|
113
|
+
.dropdown-menu li > a:focus,
|
114
|
+
.dropdown-submenu:hover > a {
|
115
|
+
background-image: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
.navbar-form,
|
119
|
+
.navbar-search {
|
86
120
|
.box-shadow(none);
|
121
|
+
border: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
.navbar-search .search-query {
|
125
|
+
border: 2px solid @textColor;
|
126
|
+
}
|
127
|
+
|
128
|
+
.nav-header {
|
129
|
+
color: rgba(255, 255, 255, 0.5);
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
&-inverse {
|
134
|
+
|
135
|
+
.dropdown-menu li > a:hover,
|
136
|
+
.dropdown-menu li > a:focus,
|
137
|
+
.dropdown-submenu:hover > a {
|
138
|
+
background-image: none;
|
139
|
+
background-color: @yellow;
|
140
|
+
}
|
141
|
+
|
142
|
+
.nav-collapse.collapse {
|
143
|
+
|
144
|
+
.nav li > a:hover {
|
145
|
+
background-color: lighten(@navbarInverseBackground, 10%);
|
146
|
+
}
|
87
147
|
}
|
88
148
|
}
|
89
149
|
}
|
@@ -135,27 +195,6 @@ div.subnav-fixed {
|
|
135
195
|
top: 50px;
|
136
196
|
}
|
137
197
|
|
138
|
-
.navbar .nav-collapse.in {
|
139
|
-
|
140
|
-
.nav li > a {
|
141
|
-
color: @textColor;
|
142
|
-
.border-radius(0);
|
143
|
-
}
|
144
|
-
|
145
|
-
li > a:hover {
|
146
|
-
background-color: lighten(@navbarBackground, 10%);
|
147
|
-
}
|
148
|
-
|
149
|
-
.navbar-form, .navbar-search {
|
150
|
-
.box-shadow(none);
|
151
|
-
border-color: lighten(@navbarBackground, 10%);
|
152
|
-
}
|
153
|
-
|
154
|
-
.navbar-search .search-query {
|
155
|
-
border: 2px solid @textColor;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
198
|
// BUTTONS
|
160
199
|
// -----------------------------------------------------
|
161
200
|
|
@@ -191,23 +230,13 @@ div.subnav-fixed {
|
|
191
230
|
}
|
192
231
|
|
193
232
|
.btn-group .btn:first-child {
|
194
|
-
|
195
|
-
|
196
|
-
-moz-border-radius-topleft: 0;
|
197
|
-
border-top-left-radius: 0;
|
198
|
-
-webkit-border-bottom-left-radius: 0;
|
199
|
-
-moz-border-radius-bottomleft: 0;
|
200
|
-
border-bottom-left-radius: 0;
|
233
|
+
margin-left: 0;
|
234
|
+
.border-radius(0);
|
201
235
|
}
|
202
236
|
|
203
237
|
.btn-group .btn:last-child,
|
204
238
|
.btn-group .dropdown-toggle {
|
205
|
-
|
206
|
-
-moz-border-radius-topright: 0;
|
207
|
-
border-top-right-radius: 0;
|
208
|
-
-webkit-border-bottom-right-radius: 0;
|
209
|
-
-moz-border-radius-bottomright: 0;
|
210
|
-
border-bottom-right-radius: 0;
|
239
|
+
.border-radius(0);
|
211
240
|
}
|
212
241
|
|
213
242
|
.btn-group .dropdown-toggle,
|
@@ -240,6 +269,10 @@ div.subnav-fixed {
|
|
240
269
|
.buttonBackgroundCustom(@btnInverseBackground);
|
241
270
|
}
|
242
271
|
|
272
|
+
.btn-link {
|
273
|
+
.buttonBackgroundCustom(@btnPrimaryBackground);
|
274
|
+
}
|
275
|
+
|
243
276
|
.btn-small {
|
244
277
|
padding: 13px 16px 12px;
|
245
278
|
}
|
@@ -269,6 +302,21 @@ div.subnav-fixed {
|
|
269
302
|
.border-radius(0);
|
270
303
|
}
|
271
304
|
|
305
|
+
.table tbody {
|
306
|
+
|
307
|
+
tr.success td {
|
308
|
+
background-color: @green;
|
309
|
+
}
|
310
|
+
|
311
|
+
tr.error td {
|
312
|
+
background-color: @red;
|
313
|
+
}
|
314
|
+
|
315
|
+
tr.info td {
|
316
|
+
background-color: @blue;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
272
320
|
// FORMS
|
273
321
|
// -----------------------------------------------------
|
274
322
|
|
@@ -320,9 +368,10 @@ input, textarea, .search-query, .uneditable-input,
|
|
320
368
|
color: lighten(@green, 20%);
|
321
369
|
}
|
322
370
|
|
323
|
-
.input-prepend .add-on,
|
324
|
-
|
325
|
-
|
371
|
+
.input-prepend .add-on,
|
372
|
+
.input-append .add-on {
|
373
|
+
height: 20px;
|
374
|
+
padding-top: 4px;
|
326
375
|
background-color: @grayLighter;
|
327
376
|
border-color: transparent;
|
328
377
|
.border-radius(0);
|
@@ -330,6 +379,11 @@ input, textarea, .search-query, .uneditable-input,
|
|
330
379
|
text-shadow: none;
|
331
380
|
}
|
332
381
|
|
382
|
+
.input-append .btn,
|
383
|
+
.input-prepend .btn {
|
384
|
+
padding: 4px 10px;
|
385
|
+
}
|
386
|
+
|
333
387
|
// NAVIGATION
|
334
388
|
// -----------------------------------------------------
|
335
389
|
|
@@ -348,30 +402,39 @@ input, textarea, .search-query, .uneditable-input,
|
|
348
402
|
text-shadow: none;
|
349
403
|
}
|
350
404
|
|
405
|
+
.active {
|
406
|
+
color: @white;
|
407
|
+
}
|
408
|
+
|
351
409
|
.divider {
|
352
410
|
color: @linkColor;
|
353
411
|
}
|
354
412
|
}
|
355
413
|
|
356
|
-
.pager
|
357
|
-
background-color: #3CB9C6;
|
414
|
+
.pager {
|
358
415
|
|
359
|
-
|
360
|
-
background-color: #
|
416
|
+
li > a {
|
417
|
+
background-color: #3CB9C6;
|
418
|
+
|
419
|
+
&:hover {
|
420
|
+
background-color: #8AD5DC;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
|
424
|
+
.disabled a,
|
425
|
+
.disabled a:hover {
|
426
|
+
background-color: #3CB9C6;
|
427
|
+
color: @white;
|
361
428
|
}
|
362
429
|
}
|
363
430
|
|
364
431
|
.pagination {
|
365
432
|
|
366
433
|
ul {
|
367
|
-
background-color:
|
434
|
+
background-color: @paginationBackground;
|
368
435
|
background-image: none;
|
369
436
|
}
|
370
437
|
|
371
|
-
li a {
|
372
|
-
border: 0px solid transparent;
|
373
|
-
}
|
374
|
-
|
375
438
|
.disabled a, .disabled a:hover {
|
376
439
|
color: @textColor;
|
377
440
|
}
|
@@ -471,6 +534,11 @@ input, textarea, .search-query, .uneditable-input,
|
|
471
534
|
background-color: #8AD5DC;
|
472
535
|
text-shadow: none;
|
473
536
|
}
|
537
|
+
|
538
|
+
.divider {
|
539
|
+
background-color: rgba(255, 255, 255, 0.3);
|
540
|
+
border-bottom: none;
|
541
|
+
}
|
474
542
|
}
|
475
543
|
|
476
544
|
// MODALS
|
@@ -481,11 +549,34 @@ input, textarea, .search-query, .uneditable-input,
|
|
481
549
|
}
|
482
550
|
|
483
551
|
.modal-header {
|
484
|
-
color: @navbarBackground;
|
552
|
+
background-color: @navbarBackground;
|
553
|
+
color: @white;
|
485
554
|
}
|
486
555
|
|
487
556
|
.modal-body {
|
488
|
-
|
557
|
+
|
558
|
+
color: @grayDark;
|
559
|
+
|
560
|
+
h1, h2, h3, h4, h5, h6,
|
561
|
+
legend {
|
562
|
+
color: @red;
|
563
|
+
}
|
564
|
+
|
565
|
+
label,
|
566
|
+
.input-file {
|
567
|
+
color: @grayDark;
|
568
|
+
}
|
569
|
+
|
570
|
+
.help-block,
|
571
|
+
.help-inline {
|
572
|
+
color: @grayLight;
|
573
|
+
}
|
574
|
+
|
575
|
+
textarea,
|
576
|
+
input,
|
577
|
+
.uneditable-input {
|
578
|
+
border: 1px solid @grayLight;
|
579
|
+
}
|
489
580
|
}
|
490
581
|
|
491
582
|
// MISCELLANEOUS
|
@@ -508,7 +599,6 @@ code, pre {
|
|
508
599
|
}
|
509
600
|
|
510
601
|
.well {
|
511
|
-
background-color: #3CB9C6;
|
512
602
|
background-image: none;
|
513
603
|
}
|
514
604
|
|
@@ -549,7 +639,19 @@ code, pre {
|
|
549
639
|
.bar {
|
550
640
|
.box-shadow(none);
|
551
641
|
background-image: none;
|
552
|
-
background-color: @
|
642
|
+
background-color: @yellow;
|
643
|
+
|
644
|
+
&-success {
|
645
|
+
background-color: @green;
|
646
|
+
}
|
647
|
+
|
648
|
+
&-warning {
|
649
|
+
background-color: @orange;
|
650
|
+
}
|
651
|
+
|
652
|
+
&-error {
|
653
|
+
background-color: @red;
|
654
|
+
}
|
553
655
|
}
|
554
656
|
}
|
555
657
|
|
@@ -578,7 +680,7 @@ code, pre {
|
|
578
680
|
}
|
579
681
|
|
580
682
|
.thumbnail {
|
581
|
-
border:
|
683
|
+
border: 0 solid transparent;
|
582
684
|
.border-radius(0);
|
583
685
|
.box-shadow(none);
|
584
686
|
}
|
@@ -595,3 +697,14 @@ blockquote {
|
|
595
697
|
color: rgba(255, 255, 255, 0.6);
|
596
698
|
}
|
597
699
|
}
|
700
|
+
|
701
|
+
.popover {
|
702
|
+
padding: 0;
|
703
|
+
.border-radius(0);
|
704
|
+
color: @grayDark;
|
705
|
+
|
706
|
+
.popover-title {
|
707
|
+
.border-radius(0);
|
708
|
+
color: @white;
|
709
|
+
}
|
710
|
+
}
|
@@ -1,10 +1,11 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
1
|
+
//
|
2
|
+
// Variables
|
3
3
|
// Swatch: Amelia
|
4
|
-
// Version: 2.0
|
5
|
-
//
|
4
|
+
// Version: 2.1.0
|
5
|
+
// --------------------------------------------------
|
6
|
+
|
6
7
|
|
7
|
-
//
|
8
|
+
// Global values
|
8
9
|
// --------------------------------------------------
|
9
10
|
|
10
11
|
|
@@ -12,7 +13,7 @@
|
|
12
13
|
// -------------------------
|
13
14
|
@black: #000;
|
14
15
|
@grayDarker: #111;
|
15
|
-
@grayDark: #
|
16
|
+
@grayDark: #444;
|
16
17
|
@gray: #555;
|
17
18
|
@grayLight: #aaa;
|
18
19
|
@grayLighter: #ddd;
|
@@ -24,7 +25,7 @@
|
|
24
25
|
@blue: #00BCE1;
|
25
26
|
@blueDark: #1269B0;
|
26
27
|
@green: #48CA3B;
|
27
|
-
@red: #
|
28
|
+
@red: #AD1D28;
|
28
29
|
@yellow: #DEBB27;
|
29
30
|
@orange: #DF6E1E;
|
30
31
|
@pink: #FFBCB9;
|
@@ -104,12 +105,17 @@
|
|
104
105
|
// -------------------------
|
105
106
|
@dropdownBackground: @white;
|
106
107
|
@dropdownBorder: rgba(0,0,0,.2);
|
107
|
-
@dropdownLinkColor: @bodyBackground;
|
108
|
-
@dropdownLinkColorHover: @white;
|
109
|
-
@dropdownLinkBackgroundHover: rgba(0, 57, 59, 0.9);
|
110
108
|
@dropdownDividerTop: #e5e5e5;
|
111
109
|
@dropdownDividerBottom: @white;
|
112
110
|
|
111
|
+
@dropdownLinkColor: @grayDark;
|
112
|
+
|
113
|
+
@dropdownLinkColorHover: @white;
|
114
|
+
@dropdownLinkBackgroundHover: @red;
|
115
|
+
|
116
|
+
@dropdownLinkColorActive: @dropdownLinkColor;
|
117
|
+
@dropdownLinkBackgroundActive: @red;
|
118
|
+
|
113
119
|
|
114
120
|
|
115
121
|
// COMPONENT VARIABLES
|
@@ -143,11 +149,19 @@
|
|
143
149
|
@hrBorder: transparent;
|
144
150
|
|
145
151
|
|
152
|
+
// Wells
|
153
|
+
// -------------------------
|
154
|
+
@wellBackground: #3CB9C6;
|
155
|
+
|
156
|
+
|
146
157
|
// Navbar
|
147
158
|
// -------------------------
|
159
|
+
@navbarCollapseWidth: 979px;
|
160
|
+
|
148
161
|
@navbarHeight: 50px;
|
149
|
-
@navbarBackground:
|
150
|
-
@navbarBackgroundHighlight:
|
162
|
+
@navbarBackground: @red;
|
163
|
+
@navbarBackgroundHighlight: @red;
|
164
|
+
@navbarBorder: darken(@navbarBackground, 12%);
|
151
165
|
|
152
166
|
@navbarText: @white;
|
153
167
|
@navbarLinkColor: @white;
|
@@ -156,12 +170,34 @@
|
|
156
170
|
@navbarLinkBackgroundHover: lighten(@navbarBackground, 10%);
|
157
171
|
@navbarLinkBackgroundActive: lighten(@navbarBackground, 10%);
|
158
172
|
|
159
|
-
@navbarSearchBackground: rgba(0, 0, 0, 0);
|
160
|
-
@navbarSearchBackgroundFocus: lighten(@navbarBackground, 25%);
|
161
|
-
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
162
|
-
@navbarSearchPlaceholderColor: @textColor;
|
163
173
|
@navbarBrandColor: @navbarLinkColor;
|
164
174
|
|
175
|
+
// Inverted navbar
|
176
|
+
@navbarInverseBackground: @yellow;
|
177
|
+
@navbarInverseBackgroundHighlight: @yellow;
|
178
|
+
@navbarInverseBorder: rgba(0, 0, 0, 0.1);
|
179
|
+
|
180
|
+
@navbarInverseText: @white;
|
181
|
+
@navbarInverseLinkColor: @white;
|
182
|
+
@navbarInverseLinkColorHover: @white;
|
183
|
+
@navbarInverseLinkColorActive: @white;
|
184
|
+
@navbarInverseLinkBackgroundHover: rgba(255, 255, 255, 0.2);
|
185
|
+
@navbarInverseLinkBackgroundActive: rgba(255, 255, 255, 0.2);
|
186
|
+
|
187
|
+
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
|
188
|
+
@navbarInverseSearchBackgroundFocus: @white;
|
189
|
+
@navbarInverseSearchBorder: @navbarInverseBackground;
|
190
|
+
@navbarInverseSearchPlaceholderColor: @white;
|
191
|
+
|
192
|
+
@navbarInverseBrandColor: @navbarInverseLinkColor;
|
193
|
+
|
194
|
+
|
195
|
+
// Pagination
|
196
|
+
// -------------------------
|
197
|
+
@paginationBackground: #3CB9C6;
|
198
|
+
@paginationBorder: transparent;
|
199
|
+
@paginationActiveBackground: rgba(255, 255, 255, 0.4);
|
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: @navbarBackground;
|
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:
|
206
|
-
@fluidGridGutterWidth:
|
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: Cerulean
|
3
|
-
// Version: 2.0
|
3
|
+
// Version: 2.1.0
|
4
4
|
// -----------------------------------------------------
|
5
5
|
|
6
6
|
// IMPORTS
|
@@ -14,38 +14,20 @@
|
|
14
14
|
.navbar {
|
15
15
|
|
16
16
|
font-family: @headingsFontFamily;
|
17
|
+
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
|
17
18
|
|
18
|
-
.
|
19
|
-
|
19
|
+
.brand {
|
20
|
+
padding: 16px 20px 14px;
|
21
|
+
text-shadow: inherit;
|
20
22
|
}
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
+
li {
|
25
|
+
line-height: 20px;
|
24
26
|
}
|
25
27
|
|
26
28
|
.nav > li > a {
|
27
29
|
padding: 16px 10px 14px;
|
28
|
-
|
29
|
-
|
30
|
-
.nav li.dropdown.active > .dropdown-toggle,
|
31
|
-
.nav li.dropdown.active.open > .dropdown-toggle {
|
32
|
-
background-color: @navbarLinkBackgroundActive;
|
33
|
-
}
|
34
|
-
|
35
|
-
.nav-collapse.in > .nav > li .dropdown-menu a {
|
36
|
-
color: @white;
|
37
|
-
|
38
|
-
&:hover {
|
39
|
-
color: @white;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.nav-collapse.in .nav li > a {
|
44
|
-
color: @white;
|
45
|
-
|
46
|
-
&:hover {
|
47
|
-
background-color: #2B7CAC;
|
48
|
-
}
|
30
|
+
text-shadow: inherit;
|
49
31
|
}
|
50
32
|
|
51
33
|
.search-query {
|
@@ -60,12 +42,69 @@
|
|
60
42
|
padding: 19px 10px 18px;
|
61
43
|
line-height: 13px;
|
62
44
|
color: rgba(0, 0, 0, 0.5);
|
63
|
-
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.
|
45
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
|
46
|
+
}
|
47
|
+
|
48
|
+
.nav-collapse.collapse {
|
49
|
+
|
50
|
+
.nav li > a {
|
51
|
+
color: @white;
|
52
|
+
|
53
|
+
&:hover {
|
54
|
+
background-color: #2B7CAC;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.nav .active > a {
|
59
|
+
.box-shadow(none);
|
60
|
+
background-color: #2B7CAC;
|
61
|
+
}
|
62
|
+
|
63
|
+
.dropdown-menu li > a:hover,
|
64
|
+
.dropdown-menu li > a:focus,
|
65
|
+
.dropdown-submenu:hover > a {
|
66
|
+
background-image: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
.navbar-form,
|
70
|
+
.navbar-search {
|
71
|
+
border: none;
|
72
|
+
}
|
73
|
+
|
74
|
+
.nav-header {
|
75
|
+
color: #2B7CAC;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
&-inverse {
|
80
|
+
|
81
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
|
82
|
+
|
83
|
+
.nav-collapse.collapse {
|
84
|
+
|
85
|
+
.nav li > a {
|
86
|
+
color: @navbarInverseLinkColor;
|
87
|
+
|
88
|
+
&:hover {
|
89
|
+
background-color: rgba(0, 0, 0, 0.1);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.nav .active > a {
|
94
|
+
background-color: rgba(0, 0, 0, 0.1);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.navbar-search .search-query {
|
99
|
+
color: @textColor;
|
100
|
+
}
|
64
101
|
}
|
65
102
|
}
|
66
103
|
|
67
104
|
div.subnav {
|
105
|
+
|
68
106
|
font-family: @headingsFontFamily;
|
107
|
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
|
69
108
|
|
70
109
|
&-fixed {
|
71
110
|
top: @navbarHeight;
|