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,8 +1,9 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
1
|
+
//
|
2
|
+
// Variables
|
3
3
|
// Swatch: Cerulean
|
4
|
-
// Version: 2.0
|
5
|
-
//
|
4
|
+
// Version: 2.1.0
|
5
|
+
// --------------------------------------------------
|
6
|
+
|
6
7
|
|
7
8
|
// GLOBAL VALUES
|
8
9
|
// --------------------------------------------------
|
@@ -39,7 +40,7 @@
|
|
39
40
|
|
40
41
|
// Links
|
41
42
|
// -------------------------
|
42
|
-
@linkColor: #
|
43
|
+
@linkColor: #2FA4E7;
|
43
44
|
@linkColorHover: darken(@linkColor, 15%);
|
44
45
|
|
45
46
|
|
@@ -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:
|
53
|
+
@baseFontSize: 14px;
|
53
54
|
@baseFontFamily: @sansFontFamily;
|
54
|
-
@baseLineHeight:
|
55
|
+
@baseLineHeight: 20px;
|
55
56
|
@altFontFamily: @monoFontFamily;
|
56
57
|
|
57
58
|
@headingsFontFamily: 'Telex', sans-serif; // 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: @grayDark;
|
108
|
-
@dropdownLinkColorHover: @white;
|
109
|
-
@dropdownLinkBackgroundHover: @linkColor;
|
110
108
|
@dropdownDividerTop: #e5e5e5;
|
111
109
|
@dropdownDividerBottom: @white;
|
112
110
|
|
111
|
+
@dropdownLinkColor: @grayDark;
|
112
|
+
|
113
|
+
@dropdownLinkColorHover: @white;
|
114
|
+
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
115
|
+
|
116
|
+
@dropdownLinkColorActive: @dropdownLinkColor;
|
117
|
+
@dropdownLinkBackgroundActive: @linkColor;
|
118
|
+
|
113
119
|
|
114
120
|
|
115
121
|
// COMPONENT VARIABLES
|
@@ -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: 50px;
|
149
162
|
@navbarBackground: @linkColor;
|
150
|
-
@navbarBackgroundHighlight: lighten(@linkColor,
|
163
|
+
@navbarBackgroundHighlight: lighten(@linkColor, 8%);
|
164
|
+
@navbarBorder: darken(@navbarBackground, 12%);
|
151
165
|
|
152
166
|
@navbarText: @grayLighter;
|
153
|
-
@navbarLinkColor: @
|
167
|
+
@navbarLinkColor: @white;
|
154
168
|
@navbarLinkColorHover: @white;
|
155
169
|
@navbarLinkColorActive: @navbarLinkColorHover;
|
156
|
-
@navbarLinkBackgroundHover:
|
170
|
+
@navbarLinkBackgroundHover: rgba(0,0,0,.2);
|
157
171
|
@navbarLinkBackgroundActive: rgba(0,0,0,.2);
|
158
172
|
|
159
|
-
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
160
|
-
@navbarSearchBackgroundFocus: @white;
|
161
|
-
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
162
|
-
@navbarSearchPlaceholderColor: @white;
|
163
173
|
@navbarBrandColor: @navbarLinkColor;
|
164
174
|
|
175
|
+
// Inverted navbar
|
176
|
+
@navbarInverseBackground: #eee;
|
177
|
+
@navbarInverseBackgroundHighlight: lighten(@navbarInverseBackground, 5%);
|
178
|
+
@navbarInverseBorder: rgba(0, 0, 0, 0.1);
|
179
|
+
|
180
|
+
@navbarInverseText: @textColor;
|
181
|
+
@navbarInverseLinkColor: @textColor;
|
182
|
+
@navbarInverseLinkColorHover: @textColor;
|
183
|
+
@navbarInverseLinkColorActive: @textColor;
|
184
|
+
@navbarInverseLinkBackgroundHover: rgba(0,0,0,.05);
|
185
|
+
@navbarInverseLinkBackgroundActive: rgba(0,0,0,.05);
|
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
|
// -------------------------
|
@@ -185,14 +221,32 @@
|
|
185
221
|
@successBorder: darken(spin(@successBackground, -10), 5%);
|
186
222
|
|
187
223
|
@infoText: darken(#908A62, 5%);
|
188
|
-
@infoBackground: #
|
224
|
+
@infoBackground: #A7DFF1;
|
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: Cyborg
|
3
|
-
// Version: 2.0
|
3
|
+
// Version: 2.1.0
|
4
4
|
// -----------------------------------------------------
|
5
5
|
|
6
6
|
// TYPOGRAPHY
|
@@ -8,17 +8,6 @@
|
|
8
8
|
|
9
9
|
@import url('https://fonts.googleapis.com/css?family=Droid+Sans:400,700');
|
10
10
|
|
11
|
-
.navbar {
|
12
|
-
font-size: 16px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.navbar .brand,
|
16
|
-
.navbar .nav-collapse.in .nav li > a {
|
17
|
-
color: @grayLighter;
|
18
|
-
font-weight: normal;
|
19
|
-
text-shadow: none;
|
20
|
-
}
|
21
|
-
|
22
11
|
label, input, button, select, textarea,
|
23
12
|
.navbar .search-query:-moz-placeholder,
|
24
13
|
.navbar .search-query::-webkit-input-placeholder {
|
@@ -51,36 +40,60 @@ body {
|
|
51
40
|
|
52
41
|
.navbar {
|
53
42
|
|
43
|
+
font-size: 16px;
|
44
|
+
|
54
45
|
.navbar-inner {
|
55
|
-
|
56
|
-
|
57
|
-
|
46
|
+
.border-radius(0);
|
47
|
+
.box-shadow(none);
|
48
|
+
border-bottom: 2px solid @blue
|
58
49
|
}
|
59
50
|
|
60
51
|
.brand {
|
61
|
-
padding: 12px 20px
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
}
|
52
|
+
padding: 12px 20px 11px;
|
53
|
+
color: @grayLighter;
|
54
|
+
font-weight: normal;
|
55
|
+
text-shadow: none;
|
66
56
|
}
|
67
57
|
|
68
|
-
|
69
|
-
line-height:
|
58
|
+
li {
|
59
|
+
line-height: 19px;
|
70
60
|
}
|
71
61
|
|
72
|
-
.nav li > a {
|
62
|
+
.nav > li > a {
|
73
63
|
padding: 13px 10px 8px;
|
74
|
-
border-bottom: 3px solid
|
75
|
-
border-left: 1px solid
|
64
|
+
border-bottom: 3px solid transparent;
|
65
|
+
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
76
66
|
|
77
67
|
&:hover {
|
78
68
|
border-bottom: 3px solid @blue
|
79
69
|
}
|
80
70
|
}
|
81
71
|
|
82
|
-
.nav .active > a {
|
83
|
-
border-bottom: 3px solid @blue
|
72
|
+
.nav > .active > a {
|
73
|
+
border-bottom: 3px solid @blue;
|
74
|
+
}
|
75
|
+
|
76
|
+
.nav .active > a,
|
77
|
+
.nav .active > a:hover,
|
78
|
+
.nav .active > a:focus {
|
79
|
+
.box-shadow(none);
|
80
|
+
}
|
81
|
+
|
82
|
+
.nav > li > .dropdown-menu::before,
|
83
|
+
.nav > li > .dropdown-menu::after {
|
84
|
+
display: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.dropdown-menu li > a:hover,
|
88
|
+
.dropdown-menu li > a:focus,
|
89
|
+
.dropdown-submenu:hover > a {
|
90
|
+
background-image: none;
|
91
|
+
}
|
92
|
+
|
93
|
+
.navbar-text {
|
94
|
+
margin-left: 15px;
|
95
|
+
margin-right: 15px;
|
96
|
+
line-height: 43px;
|
84
97
|
}
|
85
98
|
|
86
99
|
.search-query,
|
@@ -93,35 +106,65 @@ body {
|
|
93
106
|
.placeholder(@gray);
|
94
107
|
}
|
95
108
|
|
96
|
-
.nav
|
97
|
-
border-bottom: 3px solid @blue;
|
98
|
-
border-left: 1px solid #222;
|
99
|
-
}
|
109
|
+
.nav-collapse.collapse {
|
100
110
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
111
|
+
.nav li > a {
|
112
|
+
border-left: 0;
|
113
|
+
color: @grayLighter;
|
114
|
+
font-weight: normal;
|
115
|
+
text-shadow: none;
|
105
116
|
|
106
|
-
|
107
|
-
|
108
|
-
|
117
|
+
&:hover {
|
118
|
+
background-color: @blue;
|
119
|
+
}
|
120
|
+
}
|
109
121
|
|
110
|
-
|
111
|
-
|
122
|
+
.nav .active > a {
|
123
|
+
background-color: @blue;
|
124
|
+
}
|
125
|
+
|
126
|
+
.navbar-form,
|
127
|
+
.navbar-search {
|
128
|
+
border-top: none;
|
129
|
+
border-bottom: none;
|
130
|
+
}
|
131
|
+
|
132
|
+
.nav-header {
|
133
|
+
color: rgba(128, 128, 128, 0.6);
|
134
|
+
}
|
112
135
|
}
|
113
136
|
|
137
|
+
&-inverse {
|
138
|
+
|
139
|
+
.navbar-inner {
|
140
|
+
border: none;
|
141
|
+
border-bottom: 3px solid @black;
|
142
|
+
}
|
143
|
+
|
144
|
+
.brand:hover {
|
145
|
+
border-bottom: none;
|
146
|
+
background-color: @black;
|
147
|
+
}
|
148
|
+
|
149
|
+
.nav li > a:hover {
|
150
|
+
border-bottom-color: transparent;
|
151
|
+
}
|
152
|
+
|
153
|
+
.nav .active > a {
|
154
|
+
border-bottom-color: transparent;
|
155
|
+
}
|
156
|
+
}
|
114
157
|
}
|
115
158
|
|
116
159
|
.dropdown-menu {
|
117
160
|
background-color: #191A1A;
|
118
|
-
border-left: solid 1px rgba(255, 255, 255, 0.1);
|
161
|
+
// border-left: solid 1px rgba(255, 255, 255, 0.1);
|
119
162
|
.box-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
|
120
163
|
}
|
121
164
|
|
122
165
|
.dropdown-menu li > a:hover {
|
123
166
|
background-color: @blue;
|
124
|
-
border-bottom: 3px solid transparent;
|
167
|
+
// border-bottom: 3px solid transparent;
|
125
168
|
}
|
126
169
|
|
127
170
|
div.subnav {
|
@@ -303,6 +346,30 @@ div.subnav {
|
|
303
346
|
background-color: @blue;
|
304
347
|
color: @white;
|
305
348
|
}
|
349
|
+
|
350
|
+
.disabled span,
|
351
|
+
.disabled a,
|
352
|
+
.disabled a:hover {
|
353
|
+
background-color: rgba(0, 0, 0, 0.2);
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
.pager {
|
358
|
+
|
359
|
+
a {
|
360
|
+
background-color: @bodyBackground;
|
361
|
+
border: none;
|
362
|
+
|
363
|
+
&:hover {
|
364
|
+
background-color: @blue;
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
368
|
+
.disabled a,
|
369
|
+
.disabled a:hover {
|
370
|
+
background-color: @bodyBackground;
|
371
|
+
}
|
372
|
+
|
306
373
|
}
|
307
374
|
|
308
375
|
// BUTTONS
|
@@ -422,7 +489,31 @@ select:focus {
|
|
422
489
|
// MISCELLANEOUS
|
423
490
|
// -----------------------------------------------------
|
424
491
|
|
425
|
-
.table
|
492
|
+
.table {
|
493
|
+
|
494
|
+
.border-radius(1px);
|
495
|
+
|
496
|
+
tbody tr.success td {
|
497
|
+
background-color: @green;
|
498
|
+
color: @white;
|
499
|
+
}
|
500
|
+
|
501
|
+
tbody tr.error td {
|
502
|
+
background-color: @red;
|
503
|
+
color: @white;
|
504
|
+
}
|
505
|
+
|
506
|
+
tbody tr.info td {
|
507
|
+
background-color: @blue;
|
508
|
+
color: @white;
|
509
|
+
}
|
510
|
+
|
511
|
+
|
512
|
+
}
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
.well, .hero-unit, .prettyprint, input, textarea, select {
|
426
517
|
.border-radius(1px);
|
427
518
|
}
|
428
519
|
|
@@ -431,7 +522,6 @@ code, pre {
|
|
431
522
|
}
|
432
523
|
|
433
524
|
.well, .hero-unit {
|
434
|
-
background-color: #131517;
|
435
525
|
border-top: solid 1px lighten(@grayDark, 5%);
|
436
526
|
.box-shadow(0 2px 4px rgba(0,0,0,.8));
|
437
527
|
}
|
@@ -1,10 +1,11 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
1
|
+
//
|
2
|
+
// Variables
|
3
3
|
// Swatch: Cyborg
|
4
|
-
// Version: 2.0
|
5
|
-
//
|
4
|
+
// Version: 2.1.0
|
5
|
+
// --------------------------------------------------
|
6
|
+
|
6
7
|
|
7
|
-
//
|
8
|
+
// Global values
|
8
9
|
// --------------------------------------------------
|
9
10
|
|
10
11
|
|
@@ -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:
|
53
|
+
@baseFontSize: 14px;
|
53
54
|
@baseFontFamily: @sansFontFamily;
|
54
|
-
@baseLineHeight:
|
55
|
+
@baseLineHeight: 20px;
|
55
56
|
@altFontFamily: @serifFontFamily;
|
56
57
|
|
57
58
|
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
|
@@ -104,11 +105,16 @@
|
|
104
105
|
// -------------------------
|
105
106
|
@dropdownBackground: @white;
|
106
107
|
@dropdownBorder: rgba(0,0,0,.2);
|
108
|
+
@dropdownDividerTop: transparent;
|
109
|
+
@dropdownDividerBottom: #222;
|
110
|
+
|
107
111
|
@dropdownLinkColor: @textColor;
|
112
|
+
|
108
113
|
@dropdownLinkColorHover: @white;
|
109
114
|
@dropdownLinkBackgroundHover: @linkColor;
|
110
|
-
|
111
|
-
@
|
115
|
+
|
116
|
+
@dropdownLinkColorActive: @dropdownLinkColor;
|
117
|
+
@dropdownLinkBackgroundActive: @linkColor;
|
112
118
|
|
113
119
|
|
114
120
|
|
@@ -143,11 +149,19 @@
|
|
143
149
|
@hrBorder: @gray;
|
144
150
|
|
145
151
|
|
152
|
+
// Wells
|
153
|
+
// -------------------------
|
154
|
+
@wellBackground: #131517;
|
155
|
+
|
156
|
+
|
146
157
|
// Navbar
|
147
158
|
// -------------------------
|
159
|
+
@navbarCollapseWidth: 979px;
|
160
|
+
|
148
161
|
@navbarHeight: 40px;
|
149
162
|
@navbarBackground: @grayDarker;
|
150
163
|
@navbarBackgroundHighlight: @grayDarker;
|
164
|
+
@navbarBorder: darken(@navbarBackground, 12%);
|
151
165
|
|
152
166
|
@navbarText: @grayLight;
|
153
167
|
@navbarLinkColor: @grayLight;
|
@@ -156,12 +170,34 @@
|
|
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: #252A30;
|
177
|
+
@navbarInverseBackgroundHighlight: #252A30;
|
178
|
+
@navbarInverseBorder: transparent;
|
179
|
+
|
180
|
+
@navbarInverseText: @grayLighter;
|
181
|
+
@navbarInverseLinkColor: @grayLighter;
|
182
|
+
@navbarInverseLinkColorHover: @white;
|
183
|
+
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
|
184
|
+
@navbarInverseLinkBackgroundHover: @black;
|
185
|
+
@navbarInverseLinkBackgroundActive: @navbarInverseLinkBackgroundHover;
|
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: @bodyBackground;
|
198
|
+
@paginationBorder: #ddd;
|
199
|
+
@paginationActiveBackground: @blue;
|
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);
|