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,17 +1,18 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Variables
|
|
1
|
+
//
|
|
2
|
+
// Variables
|
|
3
3
|
// Swatch: Readable
|
|
4
|
-
// Version: 2.0
|
|
5
|
-
//
|
|
4
|
+
// Version: 2.1.0
|
|
5
|
+
// --------------------------------------------------
|
|
6
|
+
|
|
6
7
|
|
|
7
|
-
//
|
|
8
|
+
// Global values
|
|
8
9
|
// --------------------------------------------------
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
// Grays
|
|
12
13
|
// -------------------------
|
|
13
14
|
@black: #000;
|
|
14
|
-
@grayDarker: #
|
|
15
|
+
@grayDarker: #282828;
|
|
15
16
|
@grayDark: #333;
|
|
16
17
|
@gray: #777;
|
|
17
18
|
@grayLight: #999;
|
|
@@ -33,8 +34,8 @@
|
|
|
33
34
|
|
|
34
35
|
// Scaffolding
|
|
35
36
|
// -------------------------
|
|
36
|
-
@bodyBackground: #
|
|
37
|
-
@textColor:
|
|
37
|
+
@bodyBackground: #FAFDFA;
|
|
38
|
+
@textColor: @grayDarker;
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
// Links
|
|
@@ -46,12 +47,12 @@
|
|
|
46
47
|
// Typography
|
|
47
48
|
// -------------------------
|
|
48
49
|
@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
49
|
-
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
|
|
50
|
+
@serifFontFamily: Palatino, Georgia, "Times New Roman", Times, serif;
|
|
50
51
|
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
51
52
|
|
|
52
|
-
@baseFontSize:
|
|
53
|
+
@baseFontSize: 16px;
|
|
53
54
|
@baseFontFamily: @serifFontFamily;
|
|
54
|
-
@baseLineHeight: 1.
|
|
55
|
+
@baseLineHeight: 1.4em;
|
|
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: @linkColor;
|
|
108
|
-
@dropdownLinkColorHover: @linkColorHover;
|
|
109
|
-
@dropdownLinkBackgroundHover: transparent;
|
|
110
108
|
@dropdownDividerTop: #e5e5e5;
|
|
111
109
|
@dropdownDividerBottom: @white;
|
|
112
110
|
|
|
111
|
+
@dropdownLinkColor: @linkColor;
|
|
112
|
+
|
|
113
|
+
@dropdownLinkColorHover: @linkColorHover;
|
|
114
|
+
@dropdownLinkBackgroundHover: rgba(255,255,255,0);
|
|
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:
|
|
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: @white;
|
|
155
|
+
|
|
156
|
+
|
|
146
157
|
// Navbar
|
|
147
158
|
// -------------------------
|
|
148
|
-
@
|
|
159
|
+
@navbarCollapseWidth: 979px;
|
|
160
|
+
|
|
161
|
+
@navbarHeight: 50px;
|
|
149
162
|
@navbarBackground: @bodyBackground;
|
|
150
163
|
@navbarBackgroundHighlight: @bodyBackground;
|
|
164
|
+
@navbarBorder: darken(@navbarBackground, 12%);
|
|
151
165
|
|
|
152
166
|
@navbarText: @textColor;
|
|
153
|
-
@navbarLinkColor: @
|
|
154
|
-
@navbarLinkColorHover: @
|
|
155
|
-
@navbarLinkColorActive: @
|
|
167
|
+
@navbarLinkColor: @textColor;
|
|
168
|
+
@navbarLinkColorHover: @linkColor;
|
|
169
|
+
@navbarLinkColorActive: @linkColor;
|
|
156
170
|
@navbarLinkBackgroundHover: transparent;
|
|
157
171
|
@navbarLinkBackgroundActive: @navbarBackground;
|
|
158
172
|
|
|
159
|
-
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
|
160
|
-
@navbarSearchBackgroundFocus: @white;
|
|
161
|
-
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
|
162
|
-
@navbarSearchPlaceholderColor: #ccc;
|
|
163
173
|
@navbarBrandColor: @navbarLinkColor;
|
|
164
174
|
|
|
175
|
+
// Inverted navbar
|
|
176
|
+
@navbarInverseBackground: @linkColor;
|
|
177
|
+
@navbarInverseBackgroundHighlight: lighten(@linkColor, 3%);
|
|
178
|
+
@navbarInverseBorder: darken(@linkColor, 3%);
|
|
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: @grayLighter;
|
|
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:
|
|
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: Simplex
|
|
3
|
-
// Version: 2.0
|
|
3
|
+
// Version: 2.1.0
|
|
4
4
|
// -----------------------------------------------------
|
|
5
5
|
|
|
6
6
|
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,700');
|
|
@@ -25,26 +25,18 @@ h6 {
|
|
|
25
25
|
|
|
26
26
|
.brand {
|
|
27
27
|
padding: 12px 20px 8px;
|
|
28
|
+
font-family: @headingsFontFamily;
|
|
28
29
|
font-weight: bold;
|
|
29
30
|
|
|
30
31
|
&:hover {
|
|
31
|
-
color: @
|
|
32
|
+
color: @linkColor;
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
.navbar-text {
|
|
36
|
-
padding: 14px 15px 7px;
|
|
37
|
-
line-height: 19px;
|
|
38
|
-
color: @grayLight;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.divider-vertical {
|
|
42
|
-
height: @navbarHeight - 1;
|
|
43
|
-
background-color: @hrBorder;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
36
|
.nav > li > a {
|
|
47
|
-
padding:
|
|
37
|
+
padding: 13px 15px 6px;
|
|
38
|
+
font-family: @headingsFontFamily;
|
|
39
|
+
font-weight: bold;
|
|
48
40
|
text-shadow: none;
|
|
49
41
|
|
|
50
42
|
&:hover {
|
|
@@ -57,6 +49,18 @@ h6 {
|
|
|
57
49
|
background-color: transparent;
|
|
58
50
|
}
|
|
59
51
|
|
|
52
|
+
.navbar-text {
|
|
53
|
+
padding: 13px 15px 7px;
|
|
54
|
+
line-height: 19px;
|
|
55
|
+
font-family: @headingsFontFamily;
|
|
56
|
+
color: @grayLight;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.divider-vertical {
|
|
60
|
+
height: @navbarHeight - 1;
|
|
61
|
+
background-color: @hrBorder;
|
|
62
|
+
}
|
|
63
|
+
|
|
60
64
|
.navbar-search {
|
|
61
65
|
margin-top: 5px;
|
|
62
66
|
|
|
@@ -65,6 +69,10 @@ h6 {
|
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
.dropdown-menu a {
|
|
73
|
+
font-family: @headingsFontFamily;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
.nav li.dropdown.open > .dropdown-toggle,
|
|
69
77
|
.nav li.dropdown.active > .dropdown-toggle:hover {
|
|
70
78
|
color: @linkColor;
|
|
@@ -83,15 +91,69 @@ h6 {
|
|
|
83
91
|
border-bottom-color: @linkColor;
|
|
84
92
|
}
|
|
85
93
|
|
|
94
|
+
.nav > .active > a,
|
|
95
|
+
.nav > .active > a:hover,
|
|
96
|
+
.nav > .active > a:focus {
|
|
97
|
+
// .box-shadow(none);
|
|
98
|
+
}
|
|
99
|
+
|
|
86
100
|
.nav-collapse.collapse {
|
|
87
101
|
|
|
88
102
|
.nav li > a {
|
|
89
103
|
color: @textColor;
|
|
90
104
|
|
|
91
105
|
&:hover {
|
|
92
|
-
background-
|
|
106
|
+
background-image: none;
|
|
107
|
+
background-color: @dropdownLinkBackgroundHover;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
.navbar-form,
|
|
113
|
+
.navbar-search {
|
|
114
|
+
border-top: 1px solid rgba(128, 128, 128, 0.3);
|
|
115
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.3);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&-inverse {
|
|
120
|
+
|
|
121
|
+
.navbar-inner {
|
|
122
|
+
.box-shadow(none);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.brand:hover {
|
|
126
|
+
color: @white;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.nav li.dropdown.open .dropdown-toggle {
|
|
130
|
+
color: @white;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.nav li.dropdown .dropdown-toggle .caret,
|
|
134
|
+
.nav li.dropdown .dropdown-toggle:hover .caret,
|
|
135
|
+
.nav li.dropdown.active .dropdown-toggle .caret,
|
|
136
|
+
.nav li.dropdown.open .dropdown-toggle .caret {
|
|
137
|
+
border-top-color: @white;
|
|
138
|
+
border-bottom-color: @white;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.nav-collapse.collapse {
|
|
142
|
+
|
|
143
|
+
.nav li > a {
|
|
144
|
+
color: @white;
|
|
145
|
+
|
|
146
|
+
&:hover {
|
|
147
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.nav-header {
|
|
152
|
+
color: rgba(255, 255, 255, 0.7);
|
|
93
153
|
}
|
|
154
|
+
|
|
94
155
|
}
|
|
156
|
+
|
|
95
157
|
}
|
|
96
158
|
}
|
|
97
159
|
|
|
@@ -101,6 +163,7 @@ div.subnav {
|
|
|
101
163
|
background-color: @navbarBackground;
|
|
102
164
|
border-bottom: 1px solid transparent;
|
|
103
165
|
.box-shadow(@boxShadow);
|
|
166
|
+
font-family: @headingsFontFamily;
|
|
104
167
|
|
|
105
168
|
&.subnav-fixed {
|
|
106
169
|
.box-shadow(inset 0 5px #fff~"," @boxShadow);
|
|
@@ -154,13 +217,6 @@ div.subnav {
|
|
|
154
217
|
}
|
|
155
218
|
}
|
|
156
219
|
|
|
157
|
-
@media (max-width: 979px) {
|
|
158
|
-
form.navbar-form, form.navbar-search {
|
|
159
|
-
border-top: 1px solid #ccc;
|
|
160
|
-
border-bottom: 1px solid #ccc;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
220
|
// NAV
|
|
165
221
|
// -----------------------------------------------------
|
|
166
222
|
|
|
@@ -308,6 +364,7 @@ div.subnav {
|
|
|
308
364
|
|
|
309
365
|
legend {
|
|
310
366
|
border-bottom: 1px solid #ddd;
|
|
367
|
+
font-family: @headingsFontFamily;
|
|
311
368
|
}
|
|
312
369
|
|
|
313
370
|
.navbar-search .search-query {
|
|
@@ -321,23 +378,18 @@ legend {
|
|
|
321
378
|
font-size: 13px;
|
|
322
379
|
}
|
|
323
380
|
|
|
381
|
+
.input-append .btn,
|
|
382
|
+
.input-prepend .btn {
|
|
383
|
+
line-height: 16px;
|
|
384
|
+
}
|
|
385
|
+
|
|
324
386
|
// BUTTONS
|
|
325
387
|
// -----------------------------------------------------
|
|
326
388
|
|
|
327
389
|
.btn {
|
|
328
|
-
padding:
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
.btn-large {
|
|
332
|
-
padding: 11px 14px 8px;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.btn-small {
|
|
336
|
-
padding: 5px 9px 3px;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.btn-micro {
|
|
340
|
-
padding: 3px 6px 1px;
|
|
390
|
+
padding-top: .6em;
|
|
391
|
+
font-family: @headingsFontFamily;
|
|
392
|
+
font-weight: bold;
|
|
341
393
|
}
|
|
342
394
|
|
|
343
395
|
// MODALS
|
|
@@ -387,7 +439,6 @@ hr {
|
|
|
387
439
|
|
|
388
440
|
.well {
|
|
389
441
|
.box-shadow(@boxShadow~", "-1px -1px 0 rgba(0, 0, 0, 0.1));
|
|
390
|
-
background-color: @white;
|
|
391
442
|
border: none;
|
|
392
443
|
}
|
|
393
444
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Variables
|
|
1
|
+
//
|
|
2
|
+
// Variables
|
|
3
3
|
// Swatch: Simplex
|
|
4
|
-
// Version: 2.0
|
|
5
|
-
//
|
|
4
|
+
// Version: 2.1.0
|
|
5
|
+
// --------------------------------------------------
|
|
6
|
+
|
|
6
7
|
|
|
7
|
-
//
|
|
8
|
+
// Global values
|
|
8
9
|
// --------------------------------------------------
|
|
9
10
|
|
|
10
11
|
|
|
@@ -24,9 +25,9 @@
|
|
|
24
25
|
@blue: #029ACF;
|
|
25
26
|
@blueDark: #043755;
|
|
26
27
|
@green: #3D9400;
|
|
27
|
-
@red: #
|
|
28
|
+
@red: #D9230F;
|
|
28
29
|
@yellow: #FFCA27;
|
|
29
|
-
@orange: #
|
|
30
|
+
@orange: #D9831F;
|
|
30
31
|
@pink: #ED2590;
|
|
31
32
|
@purple: #9B479F;
|
|
32
33
|
|
|
@@ -39,22 +40,22 @@
|
|
|
39
40
|
|
|
40
41
|
// Links
|
|
41
42
|
// -------------------------
|
|
42
|
-
@linkColor: @
|
|
43
|
+
@linkColor: @red;
|
|
43
44
|
@linkColorHover: @linkColor;
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
// Typography
|
|
47
48
|
// -------------------------
|
|
48
|
-
@sansFontFamily: "
|
|
49
|
+
@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
49
50
|
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
|
|
50
51
|
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
51
52
|
|
|
52
|
-
@baseFontSize:
|
|
53
|
+
@baseFontSize: 14px;
|
|
53
54
|
@baseFontFamily: @sansFontFamily;
|
|
54
55
|
@baseLineHeight: 20px;
|
|
55
56
|
@altFontFamily: @serifFontFamily;
|
|
56
57
|
|
|
57
|
-
@headingsFontFamily:
|
|
58
|
+
@headingsFontFamily: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; // empty to use BS default, @baseFontFamily
|
|
58
59
|
@headingsFontWeight: bold; // instead of browser default, bold
|
|
59
60
|
@headingsColor: inherit; // empty to use BS default, @textColor
|
|
60
61
|
|
|
@@ -104,12 +105,17 @@
|
|
|
104
105
|
// -------------------------
|
|
105
106
|
@dropdownBackground: @white;
|
|
106
107
|
@dropdownBorder: rgba(0,0,0,.2);
|
|
107
|
-
@dropdownLinkColor: @textColor;
|
|
108
|
-
@dropdownLinkColorHover: @linkColor;
|
|
109
|
-
@dropdownLinkBackgroundHover: #FBEBE9;
|
|
110
108
|
@dropdownDividerTop: #e5e5e5;
|
|
111
109
|
@dropdownDividerBottom: @white;
|
|
112
110
|
|
|
111
|
+
@dropdownLinkColor: @textColor;
|
|
112
|
+
|
|
113
|
+
@dropdownLinkColorHover: @textColor;
|
|
114
|
+
@dropdownLinkBackgroundHover: #FBEBE9;
|
|
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:
|
|
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: @grayLight;
|
|
139
145
|
|
|
140
146
|
|
|
141
147
|
// Hr border color
|
|
@@ -143,25 +149,55 @@
|
|
|
143
149
|
@hrBorder: @grayLighter;
|
|
144
150
|
|
|
145
151
|
|
|
152
|
+
// Wells
|
|
153
|
+
// -------------------------
|
|
154
|
+
@wellBackground: @white;
|
|
155
|
+
|
|
156
|
+
|
|
146
157
|
// Navbar
|
|
147
158
|
// -------------------------
|
|
159
|
+
@navbarCollapseWidth: 979px;
|
|
160
|
+
|
|
148
161
|
@navbarHeight: 40px;
|
|
149
162
|
@navbarBackground: #fefefe;
|
|
150
163
|
@navbarBackgroundHighlight: @navbarBackground;
|
|
164
|
+
@navbarBorder: darken(@navbarBackground, 12%);
|
|
151
165
|
|
|
152
166
|
@navbarText: @gray;
|
|
153
167
|
@navbarLinkColor: @gray;
|
|
154
|
-
@navbarLinkColorHover: @
|
|
155
|
-
@navbarLinkColorActive: @
|
|
168
|
+
@navbarLinkColorHover: @linkColor;
|
|
169
|
+
@navbarLinkColorActive: @linkColor;
|
|
156
170
|
@navbarLinkBackgroundHover: transparent;
|
|
157
171
|
@navbarLinkBackgroundActive: @navbarBackground;
|
|
158
172
|
|
|
159
|
-
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
|
160
|
-
@navbarSearchBackgroundFocus: @white;
|
|
161
|
-
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
|
162
|
-
@navbarSearchPlaceholderColor: #ccc;
|
|
163
173
|
@navbarBrandColor: @headingsColor;
|
|
164
174
|
|
|
175
|
+
// Inverted navbar
|
|
176
|
+
@navbarInverseBackground: @red;
|
|
177
|
+
@navbarInverseBackgroundHighlight: lighten(@red, 6%);
|
|
178
|
+
@navbarInverseBorder: lighten(@navbarInverseBackground, 8%);
|
|
179
|
+
|
|
180
|
+
@navbarInverseText: @white;
|
|
181
|
+
@navbarInverseLinkColor: @white;
|
|
182
|
+
@navbarInverseLinkColorHover: @white;
|
|
183
|
+
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
|
|
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: #fff;
|
|
198
|
+
@paginationBorder: #ddd;
|
|
199
|
+
@paginationActiveBackground: #FBEBE9;
|
|
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:
|
|
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);
|