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.
- 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,10 +1,11 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
1
|
+
//
|
2
|
+
// Variables
|
3
3
|
// Swatch: Spruce
|
4
|
-
// Version: 2.0
|
5
|
-
//
|
4
|
+
// Version: 2.1.0
|
5
|
+
// --------------------------------------------------
|
6
|
+
|
6
7
|
|
7
|
-
//
|
8
|
+
// Global values
|
8
9
|
// --------------------------------------------------
|
9
10
|
|
10
11
|
|
@@ -26,20 +27,20 @@
|
|
26
27
|
@green: #015B4E;
|
27
28
|
@red: #D14432;
|
28
29
|
@yellow: #EBD90B;
|
29
|
-
@orange: #
|
30
|
+
@orange: #EE7026;
|
30
31
|
@pink: #A15B66;
|
31
32
|
@purple: #7073CF;
|
32
33
|
|
33
34
|
|
34
35
|
// Scaffolding
|
35
36
|
// -------------------------
|
36
|
-
@bodyBackground: #
|
37
|
+
@bodyBackground: #90A38F;
|
37
38
|
@textColor: @blueDark;
|
38
39
|
|
39
40
|
|
40
41
|
// Links
|
41
42
|
// -------------------------
|
42
|
-
@linkColor:
|
43
|
+
@linkColor: @yellow;
|
43
44
|
@linkColorHover: @yellow;
|
44
45
|
|
45
46
|
|
@@ -56,7 +57,7 @@
|
|
56
57
|
|
57
58
|
@headingsFontFamily: 'Josefin Slab', serif; // empty to use BS default, @baseFontFamily
|
58
59
|
@headingsFontWeight: 700; // instead of browser default, bold
|
59
|
-
@headingsColor:
|
60
|
+
@headingsColor: #F5F3DC; // empty to use BS default, @textColor
|
60
61
|
|
61
62
|
|
62
63
|
// Tables
|
@@ -64,7 +65,7 @@
|
|
64
65
|
@tableBackground: #C3C7AE; // overall background-color
|
65
66
|
@tableBackgroundAccent: darken(#C3C7AE, 5%); // for striping
|
66
67
|
@tableBackgroundHover: darken(#C3C7AE, 10%); // for hover
|
67
|
-
@tableBorder: @
|
68
|
+
@tableBorder: @headingsColor; // table and cell border
|
68
69
|
|
69
70
|
|
70
71
|
// Buttons
|
@@ -104,12 +105,17 @@
|
|
104
105
|
// -------------------------
|
105
106
|
@dropdownBackground: @white;
|
106
107
|
@dropdownBorder: rgba(0,0,0,.2);
|
107
|
-
@dropdownLinkColor: @grayDark;
|
108
|
-
@dropdownLinkColorHover: @white;
|
109
|
-
@dropdownLinkBackgroundHover: @linkColor;
|
110
108
|
@dropdownDividerTop: transparent;
|
111
109
|
@dropdownDividerBottom: @bodyBackground;
|
112
110
|
|
111
|
+
@dropdownLinkColor: @grayDark;
|
112
|
+
|
113
|
+
@dropdownLinkColorHover: @white;
|
114
|
+
@dropdownLinkBackgroundHover: rgba(0, 0, 0, 0.1);
|
115
|
+
|
116
|
+
@dropdownLinkColorActive: @dropdownLinkColorHover;
|
117
|
+
@dropdownLinkBackgroundActive: @dropdownLinkBackgroundHover;
|
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:
|
130
|
+
@zindexTooltip: 1030;
|
125
131
|
@zindexFixedNavbar: 1030;
|
126
132
|
@zindexModalBackdrop: 1040;
|
127
133
|
@zindexModal: 1050;
|
@@ -135,7 +141,7 @@
|
|
135
141
|
|
136
142
|
// Input placeholder text color
|
137
143
|
// -------------------------
|
138
|
-
@placeholderText:
|
144
|
+
@placeholderText: #ccc;
|
139
145
|
|
140
146
|
|
141
147
|
// Hr border color
|
@@ -143,56 +149,104 @@
|
|
143
149
|
@hrBorder: @linkColor;
|
144
150
|
|
145
151
|
|
152
|
+
// Wells
|
153
|
+
// -------------------------
|
154
|
+
@wellBackground: darken(#90A38F, 10%);
|
155
|
+
|
156
|
+
|
146
157
|
// Navbar
|
147
158
|
// -------------------------
|
148
|
-
@
|
159
|
+
@navbarCollapseWidth: 979px;
|
160
|
+
|
161
|
+
@navbarHeight: 50px;
|
149
162
|
@navbarBackground: @blueDark;
|
150
163
|
@navbarBackgroundHighlight: @navbarBackground;
|
164
|
+
@navbarBorder: darken(@navbarBackground, 5%);
|
151
165
|
|
152
166
|
@navbarText: @grayLight;
|
153
|
-
@navbarLinkColor: @
|
167
|
+
@navbarLinkColor: @headingsColor;
|
154
168
|
@navbarLinkColorHover: @yellow;
|
155
169
|
@navbarLinkColorActive: @navbarLinkColorHover;
|
156
170
|
@navbarLinkBackgroundHover: transparent;
|
157
171
|
@navbarLinkBackgroundActive: @navbarBackground;
|
158
172
|
|
159
|
-
@
|
160
|
-
|
161
|
-
|
162
|
-
@
|
163
|
-
@
|
173
|
+
@navbarBrandColor: @headingsColor;
|
174
|
+
|
175
|
+
// Inverted navbar
|
176
|
+
@navbarInverseBackground: @wellBackground;
|
177
|
+
@navbarInverseBackgroundHighlight: lighten(@wellBackground, 5%);
|
178
|
+
@navbarInverseBorder: darken(@navbarInverseBackground, 5%);
|
179
|
+
|
180
|
+
@navbarInverseText: @grayLight;
|
181
|
+
@navbarInverseLinkColor: @headingsColor;
|
182
|
+
@navbarInverseLinkColorHover: @yellow;
|
183
|
+
@navbarInverseLinkColorActive: @yellow;
|
184
|
+
@navbarInverseLinkBackgroundHover: transparent;
|
185
|
+
@navbarInverseLinkBackgroundActive: @navbarInverseBackground;
|
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: darken(#90A38F, 10%);
|
198
|
+
@paginationBorder: transparent;
|
199
|
+
@paginationActiveBackground: #A2CDB5;
|
164
200
|
|
165
201
|
|
166
202
|
// Hero unit
|
167
203
|
// -------------------------
|
168
204
|
@heroUnitBackground: darken(#90A38F, 10%);
|
169
|
-
@heroUnitHeadingColor:
|
205
|
+
@heroUnitHeadingColor: @headingsColor;
|
170
206
|
@heroUnitLeadColor: inherit;
|
171
207
|
|
172
208
|
|
173
209
|
// Form states and alerts
|
174
210
|
// -------------------------
|
175
|
-
@warningText: @
|
176
|
-
@warningBackground:
|
211
|
+
@warningText: @white;
|
212
|
+
@warningBackground: @orange;
|
177
213
|
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
178
214
|
|
179
|
-
@errorText:
|
180
|
-
@errorBackground:
|
215
|
+
@errorText: @white;
|
216
|
+
@errorBackground: @red;
|
181
217
|
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
182
218
|
|
183
|
-
@successText:
|
184
|
-
@successBackground:
|
219
|
+
@successText: @white;
|
220
|
+
@successBackground: #24C00B;
|
185
221
|
@successBorder: darken(spin(@successBackground, -10), 5%);
|
186
222
|
|
187
|
-
@infoText:
|
188
|
-
@infoBackground:
|
223
|
+
@infoText: @white;
|
224
|
+
@infoBackground: #185AF9;
|
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:
|
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: Superhero
|
3
|
-
// Version: 2.0
|
3
|
+
// Version: 2.1.0
|
4
4
|
// -----------------------------------------------------
|
5
5
|
|
6
6
|
// TYPOGRAPHY
|
@@ -64,25 +64,13 @@ blockquote.pull-right {
|
|
64
64
|
}
|
65
65
|
|
66
66
|
.nav > li > a {
|
67
|
-
padding:
|
67
|
+
padding: 23px 20px 13px;
|
68
68
|
line-height: 30px;
|
69
69
|
font-family: @headingsFontFamily;
|
70
70
|
font-size: 22px;
|
71
71
|
text-shadow: -2px 2px 0 darken(@orange, 30%);
|
72
72
|
}
|
73
73
|
|
74
|
-
.navbar-text {
|
75
|
-
padding: 27px 20px 13px;
|
76
|
-
line-height: 30px;
|
77
|
-
font-family: @headingsFontFamily;
|
78
|
-
font-size: 22px;
|
79
|
-
text-shadow: -2px 2px 0 @gray;
|
80
|
-
}
|
81
|
-
|
82
|
-
.nav > li.active > a {
|
83
|
-
color: @orange;
|
84
|
-
}
|
85
|
-
|
86
74
|
.brand:hover,
|
87
75
|
.nav > li > a:hover,
|
88
76
|
.nav > li.active > a:hover,
|
@@ -95,18 +83,33 @@ blockquote.pull-right {
|
|
95
83
|
text-shadow: -1px 1px 0 darken(@orange, 30%);
|
96
84
|
}
|
97
85
|
|
86
|
+
.nav > .active > a,
|
87
|
+
.nav > .active > a:hover,
|
88
|
+
.nav > .active > a:focus {
|
89
|
+
.box-shadow(none);
|
90
|
+
}
|
91
|
+
|
92
|
+
.navbar-text {
|
93
|
+
padding: 23px 20px 13px;
|
94
|
+
line-height: 30px;
|
95
|
+
font-family: @headingsFontFamily;
|
96
|
+
font-size: 22px;
|
97
|
+
text-shadow: -2px 2px 0 @gray;
|
98
|
+
}
|
99
|
+
|
98
100
|
.navbar-search {
|
99
|
-
|
101
|
+
margin-top: 24px;
|
100
102
|
}
|
101
103
|
|
102
104
|
.navbar-search .search-query {
|
103
105
|
font-family: @baseFontFamily;
|
104
106
|
font-size: @baseFontSize;
|
105
107
|
line-height: @baseLineHeight;
|
106
|
-
color: @textColor;
|
107
|
-
background-color: @blue;
|
108
108
|
.box-shadow(none);
|
109
|
-
|
109
|
+
}
|
110
|
+
|
111
|
+
&.navbar-inverse .navbar-search .search-query {
|
112
|
+
color: @blueDark;
|
110
113
|
}
|
111
114
|
|
112
115
|
.divider-vertical {
|
@@ -115,6 +118,7 @@ blockquote.pull-right {
|
|
115
118
|
|
116
119
|
.nav .dropdown-toggle .caret,
|
117
120
|
.nav .open.dropdown .caret {
|
121
|
+
margin-top: 14px;
|
118
122
|
border-top-color: @textColor;
|
119
123
|
}
|
120
124
|
|
@@ -138,25 +142,28 @@ blockquote.pull-right {
|
|
138
142
|
border-color: transparent;
|
139
143
|
}
|
140
144
|
|
141
|
-
.nav-collapse.
|
142
|
-
|
145
|
+
.nav-collapse.collapse {
|
146
|
+
|
143
147
|
.border-radius(4px);
|
144
148
|
|
145
|
-
|
146
|
-
|
149
|
+
.navbar-form,
|
150
|
+
.navbar-search {
|
151
|
+
border-top: none;
|
152
|
+
border-bottom: none;
|
153
|
+
.box-shadow(none);
|
147
154
|
}
|
148
155
|
|
149
|
-
|
156
|
+
.nav-header {
|
150
157
|
color: @textColor;
|
151
|
-
background-color: lighten(@blue, 10%);
|
152
158
|
}
|
153
|
-
}
|
154
159
|
|
155
|
-
|
156
|
-
|
160
|
+
.nav li > a {
|
161
|
+
color: @orange;
|
157
162
|
|
158
|
-
|
159
|
-
|
163
|
+
&:hover {
|
164
|
+
background-color: lighten(@blue, 10%);
|
165
|
+
background-image: none;
|
166
|
+
}
|
160
167
|
}
|
161
168
|
}
|
162
169
|
}
|
@@ -264,7 +271,7 @@ div.subnav {
|
|
264
271
|
.btn:hover {
|
265
272
|
text-shadow: none;
|
266
273
|
background-image: none;
|
267
|
-
.box-shadow(-2px 2px 0
|
274
|
+
.box-shadow(-2px 2px 0 rgba(0, 0, 0, 0.2));
|
268
275
|
border: none;
|
269
276
|
}
|
270
277
|
|
@@ -350,8 +357,8 @@ div.subnav {
|
|
350
357
|
// --------------------------------------------------
|
351
358
|
|
352
359
|
.nav .nav-header {
|
353
|
-
color: @
|
354
|
-
text-shadow:none;
|
360
|
+
color: @textColor;
|
361
|
+
text-shadow: none;
|
355
362
|
}
|
356
363
|
|
357
364
|
.nav-list {
|
@@ -447,11 +454,12 @@ div.subnav {
|
|
447
454
|
}
|
448
455
|
}
|
449
456
|
|
450
|
-
.pagination
|
457
|
+
.pagination {
|
451
458
|
|
452
|
-
|
453
|
-
|
454
|
-
|
459
|
+
ul {
|
460
|
+
background-image: none;
|
461
|
+
border-color: transparent;
|
462
|
+
}
|
455
463
|
|
456
464
|
li > a {
|
457
465
|
border: none;
|
@@ -460,7 +468,7 @@ div.subnav {
|
|
460
468
|
|
461
469
|
li.active > a,
|
462
470
|
li.active > a:hover {
|
463
|
-
background: @orange;
|
471
|
+
background-color: @orange;
|
464
472
|
color: @white;
|
465
473
|
}
|
466
474
|
|
@@ -474,13 +482,21 @@ div.subnav {
|
|
474
482
|
}
|
475
483
|
}
|
476
484
|
|
477
|
-
.pager
|
478
|
-
color: @textColor;
|
479
|
-
background-color: @blue;
|
480
|
-
border-color: transparent;
|
485
|
+
.pager {
|
481
486
|
|
482
|
-
|
483
|
-
|
487
|
+
a {
|
488
|
+
color: @textColor;
|
489
|
+
background-color: @blue;
|
490
|
+
border-color: transparent;
|
491
|
+
|
492
|
+
&:hover {
|
493
|
+
background: lighten(@blue, 10%);
|
494
|
+
}
|
495
|
+
}
|
496
|
+
|
497
|
+
.disabled a,
|
498
|
+
.disabled a:hover {
|
499
|
+
background-color: @blue;
|
484
500
|
}
|
485
501
|
}
|
486
502
|
|
@@ -521,6 +537,13 @@ label {
|
|
521
537
|
.formFieldState(lighten(@successText, 10%), lighten(@successText, 10%), @successBackground);
|
522
538
|
}
|
523
539
|
|
540
|
+
.input-append .add-on,
|
541
|
+
.input-prepend .add-on,
|
542
|
+
.input-append .btn,
|
543
|
+
.input-prepend .btn {
|
544
|
+
color: @bodyBackground;
|
545
|
+
}
|
546
|
+
|
524
547
|
// MODALS
|
525
548
|
// --------------------------------------------------
|
526
549
|
|
@@ -551,12 +574,7 @@ label {
|
|
551
574
|
border-bottom: none;
|
552
575
|
}
|
553
576
|
|
554
|
-
footer.footer {
|
555
|
-
border-top: 1px solid darken(@blueDark, 5%);
|
556
|
-
}
|
557
|
-
|
558
577
|
.well, .hero-unit {
|
559
|
-
background-color: @blue;
|
560
578
|
border: none;
|
561
579
|
.box-shadow(none);
|
562
580
|
}
|
@@ -1,10 +1,7 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
1
|
+
//
|
2
|
+
// Variables
|
3
3
|
// Swatch: Superhero
|
4
|
-
// Version: 2.0
|
5
|
-
// -----------------------------------------------------
|
6
|
-
|
7
|
-
// GLOBAL VALUES
|
4
|
+
// Version: 2.1.0
|
8
5
|
// --------------------------------------------------
|
9
6
|
|
10
7
|
|
@@ -103,13 +100,18 @@
|
|
103
100
|
// Dropdowns
|
104
101
|
// -------------------------
|
105
102
|
@dropdownBackground: lighten(@blue, 10%);
|
106
|
-
@dropdownBorder:
|
107
|
-
@dropdownLinkColor: @textColor;
|
108
|
-
@dropdownLinkColorHover: @white;
|
109
|
-
@dropdownLinkBackgroundHover: @linkColor;
|
103
|
+
@dropdownBorder: transparent;
|
110
104
|
@dropdownDividerTop: transparent;
|
111
105
|
@dropdownDividerBottom: @blue;
|
112
106
|
|
107
|
+
@dropdownLinkColor: @textColor;
|
108
|
+
|
109
|
+
@dropdownLinkColorHover: @white;
|
110
|
+
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
111
|
+
|
112
|
+
@dropdownLinkColorActive: @dropdownLinkColor;
|
113
|
+
@dropdownLinkBackgroundActive: @linkColor;
|
114
|
+
|
113
115
|
|
114
116
|
|
115
117
|
// COMPONENT VARIABLES
|
@@ -121,7 +123,7 @@
|
|
121
123
|
// Try to avoid customizing these :)
|
122
124
|
@zindexDropdown: 1000;
|
123
125
|
@zindexPopover: 1010;
|
124
|
-
@zindexTooltip:
|
126
|
+
@zindexTooltip: 1030;
|
125
127
|
@zindexFixedNavbar: 1030;
|
126
128
|
@zindexModalBackdrop: 1040;
|
127
129
|
@zindexModal: 1050;
|
@@ -143,11 +145,19 @@
|
|
143
145
|
@hrBorder: transparent;
|
144
146
|
|
145
147
|
|
148
|
+
// Wells
|
149
|
+
// -------------------------
|
150
|
+
@wellBackground: @blue;
|
151
|
+
|
152
|
+
|
146
153
|
// Navbar
|
147
154
|
// -------------------------
|
148
|
-
@
|
155
|
+
@navbarCollapseWidth: 979px;
|
156
|
+
|
157
|
+
@navbarHeight: 70px;
|
149
158
|
@navbarBackground: @blueDark;
|
150
159
|
@navbarBackgroundHighlight: @navbarBackground;
|
160
|
+
@navbarBorder: darken(@navbarBackground, 5%);
|
151
161
|
|
152
162
|
@navbarText: @grayLight;
|
153
163
|
@navbarLinkColor: @orange;
|
@@ -156,12 +166,34 @@
|
|
156
166
|
@navbarLinkBackgroundHover: transparent;
|
157
167
|
@navbarLinkBackgroundActive: @navbarBackground;
|
158
168
|
|
159
|
-
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
160
|
-
@navbarSearchBackgroundFocus: @white;
|
161
|
-
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
162
|
-
@navbarSearchPlaceholderColor: #ccc;
|
163
169
|
@navbarBrandColor: @navbarLinkColor;
|
164
170
|
|
171
|
+
// Inverted navbar
|
172
|
+
@navbarInverseBackground: @blue;
|
173
|
+
@navbarInverseBackgroundHighlight: @navbarInverseBackground;
|
174
|
+
@navbarInverseBorder: darken(@navbarBackground, 5%);
|
175
|
+
|
176
|
+
@navbarInverseText: @grayLight;
|
177
|
+
@navbarInverseLinkColor: @orange;
|
178
|
+
@navbarInverseLinkColorHover: @orange;
|
179
|
+
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
|
180
|
+
@navbarInverseLinkBackgroundHover: transparent;
|
181
|
+
@navbarInverseLinkBackgroundActive: @navbarInverseBackground;
|
182
|
+
|
183
|
+
@navbarInverseSearchBackground: @white;
|
184
|
+
@navbarInverseSearchBackgroundFocus: @white;
|
185
|
+
@navbarInverseSearchBorder: @navbarInverseBackground;
|
186
|
+
@navbarInverseSearchPlaceholderColor: @grayLight;
|
187
|
+
|
188
|
+
@navbarInverseBrandColor: @navbarInverseLinkColor;
|
189
|
+
|
190
|
+
|
191
|
+
// Pagination
|
192
|
+
// -------------------------
|
193
|
+
@paginationBackground: @blue;
|
194
|
+
@paginationBorder: transparent;
|
195
|
+
@paginationActiveBackground: @orange;
|
196
|
+
|
165
197
|
|
166
198
|
// Hero unit
|
167
199
|
// -------------------------
|
@@ -189,10 +221,28 @@
|
|
189
221
|
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
190
222
|
|
191
223
|
|
224
|
+
// Tooltips and popovers
|
225
|
+
// -------------------------
|
226
|
+
@tooltipColor: #fff;
|
227
|
+
@tooltipBackground: #000;
|
228
|
+
@tooltipArrowWidth: 5px;
|
229
|
+
@tooltipArrowColor: @tooltipBackground;
|
230
|
+
|
231
|
+
@popoverBackground: #fff;
|
232
|
+
@popoverArrowWidth: 10px;
|
233
|
+
@popoverArrowColor: #fff;
|
234
|
+
@popoverTitleBackground: darken(@popoverBackground, 3%);
|
235
|
+
|
236
|
+
// Special enhancement for popovers
|
237
|
+
@popoverArrowOuterWidth: @popoverArrowWidth + 1;
|
238
|
+
@popoverArrowOuterColor: rgba(0,0,0,.25);
|
239
|
+
|
240
|
+
|
192
241
|
|
193
242
|
// GRID
|
194
243
|
// --------------------------------------------------
|
195
244
|
|
245
|
+
|
196
246
|
// Default 940px grid
|
197
247
|
// -------------------------
|
198
248
|
@gridColumns: 12;
|
@@ -200,7 +250,26 @@
|
|
200
250
|
@gridGutterWidth: 20px;
|
201
251
|
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
202
252
|
|
253
|
+
// 1200px min
|
254
|
+
@gridColumnWidth1200: 70px;
|
255
|
+
@gridGutterWidth1200: 30px;
|
256
|
+
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
|
257
|
+
|
258
|
+
// 768px-979px
|
259
|
+
@gridColumnWidth768: 42px;
|
260
|
+
@gridGutterWidth768: 20px;
|
261
|
+
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
|
262
|
+
|
263
|
+
|
203
264
|
// Fluid grid
|
204
265
|
// -------------------------
|
205
|
-
@fluidGridColumnWidth:
|
206
|
-
@fluidGridGutterWidth:
|
266
|
+
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
|
267
|
+
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
|
268
|
+
|
269
|
+
// 1200px min
|
270
|
+
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
|
271
|
+
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
|
272
|
+
|
273
|
+
// 768px-979px
|
274
|
+
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
|
275
|
+
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);
|