kickstrap_rails 0.9.0RC
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/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +165 -0
- data/README.md +23 -0
- data/Rakefile +2 -0
- data/kickstrap_rails.gemspec +20 -0
- data/lib/kickstrap_rails/version.rb +3 -0
- data/lib/kickstrap_rails.rb +6 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.eot +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.svg +157 -0
- data/vendor/assets/fonts/icomoon/full-webfont.ttf +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.woff +0 -0
- data/vendor/assets/images/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-button.js +100 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-carousel.js +161 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-collapse.js +138 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-modal.js +210 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-typeahead.js +271 -0
- data/vendor/assets/javascripts/bootstrap.js +12 -0
- data/vendor/assets/javascripts/kickstrap/chosen/chosen.jquery.js +952 -0
- data/vendor/assets/javascripts/kickstrap/jgrowl/jquery.jgrowl.js +330 -0
- data/vendor/assets/javascripts/kickstrap.js +3 -0
- data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
- data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
- data/vendor/assets/stylesheets/bootstrap/bootstrap.less +65 -0
- data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
- data/vendor/assets/stylesheets/bootstrap/button-groups.less +148 -0
- data/vendor/assets/stylesheets/bootstrap/buttons.less +183 -0
- data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
- data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/code.less +57 -0
- data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/dropdowns.less +130 -0
- data/vendor/assets/stylesheets/bootstrap/forms.less +522 -0
- data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
- data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
- data/vendor/assets/stylesheets/bootstrap/labels.less +32 -0
- data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
- data/vendor/assets/stylesheets/bootstrap/mixins.less +590 -0
- data/vendor/assets/stylesheets/bootstrap/modals.less +83 -0
- data/vendor/assets/stylesheets/bootstrap/navbar.less +299 -0
- data/vendor/assets/stylesheets/bootstrap/navs.less +353 -0
- data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
- data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
- data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
- data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
- data/vendor/assets/stylesheets/bootstrap/reset.less +126 -0
- data/vendor/assets/stylesheets/bootstrap/scaffolding.less +29 -0
- data/vendor/assets/stylesheets/bootstrap/sprites.less +158 -0
- data/vendor/assets/stylesheets/bootstrap/tables.less +150 -0
- data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/type.less +218 -0
- data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
- data/vendor/assets/stylesheets/bootstrap/variables.less +107 -0
- data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
- data/vendor/assets/stylesheets/kickstrap/animate/animate.css +3813 -0
- data/vendor/assets/stylesheets/kickstrap/chosen/chosen.less +392 -0
- data/vendor/assets/stylesheets/kickstrap/fontawesome/font-awesome.less +218 -0
- data/vendor/assets/stylesheets/kickstrap/icomoon/icomoon.less +123 -0
- data/vendor/assets/stylesheets/kickstrap/jgrowl/jquery.jgrowl.less +105 -0
- data/vendor/assets/stylesheets/kickstrap/overrides.less +271 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/amelia.less +647 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/variables.less +112 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/cerulean.less +122 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/cyborg.less +511 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/journal.less +139 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/variables.less +114 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/readable.less +454 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/sandra.less +115 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/simplex.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/slate.less +417 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/variables.less +203 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/spacelab.less +174 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/variables.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/spruce.less +474 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/superhero.less +634 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/united.less +101 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap.css.less +1 -0
- metadata +189 -0
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
// Bootswatch.less
|
|
2
|
+
// Swatch: Superhero
|
|
3
|
+
// -----------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// TYPOGRAPHY
|
|
6
|
+
// --------------------------------------------------
|
|
7
|
+
@import "variables.less";
|
|
8
|
+
@import url(http://fonts.googleapis.com/css?family=Oswald);
|
|
9
|
+
@import url(http://fonts.googleapis.com/css?family=Noticia+Text);
|
|
10
|
+
|
|
11
|
+
h1, h2, h3, h4, h5, h6, legend, .navbar .brand,
|
|
12
|
+
.navbar .nav > li > a,
|
|
13
|
+
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
|
|
14
|
+
font-family: 'Oswald', sans-serif;
|
|
15
|
+
color: @orange;
|
|
16
|
+
text-shadow: -1px 1px 0 darken(@orange, 30%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h1, h2, legend, .navbar .brand,
|
|
20
|
+
.navbar .nav > li > a {
|
|
21
|
+
text-shadow: -2px 2px 0 darken(@orange, 30%);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h1 {
|
|
25
|
+
line-height: 55px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// SCAFFOLDING
|
|
29
|
+
// --------------------------------------------------
|
|
30
|
+
|
|
31
|
+
code, pre {
|
|
32
|
+
background-color: lighten(@blue, 8%);
|
|
33
|
+
border: none;
|
|
34
|
+
color: @textColor;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.prettyprint {
|
|
38
|
+
border: none;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
blockquote {
|
|
43
|
+
border-left: 5px solid @blue;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
blockquote.pull-right {
|
|
47
|
+
border-right: 5px solid @blue;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// NAVBAR
|
|
51
|
+
// --------------------------------------------------
|
|
52
|
+
|
|
53
|
+
.navbar .nav > li.active > a {
|
|
54
|
+
color: @orange;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.navbar .brand:hover,
|
|
58
|
+
.navbar .nav > li > a:hover,
|
|
59
|
+
.navbar .nav > li.active > a:hover,
|
|
60
|
+
.navbar .nav > li.dropdown.open > a,
|
|
61
|
+
.navbar .nav > li.dropdown.open > a:hover {
|
|
62
|
+
position: relative;
|
|
63
|
+
top: 1px;
|
|
64
|
+
left: -1px;
|
|
65
|
+
color: @orange;
|
|
66
|
+
text-shadow: -1px 1px 0 darken(@orange, 30%);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
body {
|
|
70
|
+
background-color: @blueDark;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
.navbar .navbar-inner {
|
|
75
|
+
.box-shadow(none);
|
|
76
|
+
background-image: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.navbar .brand {
|
|
80
|
+
padding: 25px 20px 15px;
|
|
81
|
+
font-size: 30px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.navbar .nav > li > a {
|
|
85
|
+
padding: 27px 20px 13px;
|
|
86
|
+
line-height: 30px;
|
|
87
|
+
font-size: 22px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.navbar-search {
|
|
91
|
+
padding-top: 20px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.navbar-search .search-query {
|
|
95
|
+
font-family: @baseFontFamily;
|
|
96
|
+
font-size: @baseFontSize;
|
|
97
|
+
line-height: @baseLineHeight;
|
|
98
|
+
color: @textColor;
|
|
99
|
+
background-color: @blue;
|
|
100
|
+
.box-shadow(none);
|
|
101
|
+
border: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
.navbar .divider-vertical {
|
|
106
|
+
height: 70px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dropdown .caret {
|
|
110
|
+
margin-top: 14px;
|
|
111
|
+
opacity: 1;
|
|
112
|
+
border-left: 6px solid transparent;
|
|
113
|
+
border-right: 6px solid transparent;
|
|
114
|
+
border-top: 6px solid lighten(@blue, 10%);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.navbar .nav .dropdown-toggle .caret,
|
|
118
|
+
.navbar .nav .open.dropdown .caret {
|
|
119
|
+
border-top-color: @textColor;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.navbar .dropdown-menu::before {
|
|
123
|
+
border: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.navbar .dropdown-menu::after {
|
|
127
|
+
left: 20px;
|
|
128
|
+
border-left: 7px solid transparent;
|
|
129
|
+
border-right: 7px solid transparent;
|
|
130
|
+
border-bottom: 7px solid lighten(@blue, 10%);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.navbar [class^="icon-"], .navbar [class*=" icon-"] {
|
|
134
|
+
vertical-align: 20%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.navbar .btn-navbar {
|
|
138
|
+
background-color: @blue;
|
|
139
|
+
border-color: transparent;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.navbar .nav-collapse.collapse {
|
|
143
|
+
background-color: @blue;
|
|
144
|
+
.border-radius(4px);
|
|
145
|
+
|
|
146
|
+
li > a {
|
|
147
|
+
color: @textColor;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
li > a:hover {
|
|
151
|
+
color: @textColor;
|
|
152
|
+
background-color: lighten(@blue, 10%);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.navbar .nav-collapse.collapse > .nav > li > a {
|
|
157
|
+
color: @orange;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.subnav.subnav-fixed {
|
|
161
|
+
top: 70px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
div.subnav {
|
|
165
|
+
background-color: @blue;
|
|
166
|
+
background-image: none;
|
|
167
|
+
border: none;
|
|
168
|
+
|
|
169
|
+
.nav > li > a,
|
|
170
|
+
.nav > li.active > a {
|
|
171
|
+
border-left: none;
|
|
172
|
+
border-right: none;
|
|
173
|
+
color: @textColor;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.nav > li > a:hover,
|
|
177
|
+
.nav > li.active > a:hover {
|
|
178
|
+
background-color: lighten(@blue, 10%);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
div.subnav .nav > li + li > a {
|
|
183
|
+
border-top: 0px solid transparent;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
div.subnav .nav > li:first-child > a,
|
|
187
|
+
div.subnav .nav > li:first-child > a:hover,
|
|
188
|
+
div.subnav .nav > li.active:first-child > a,
|
|
189
|
+
div.subnav .nav > li.active:first-child > a:hover {
|
|
190
|
+
.border-radius(4px 0 0 4px);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
div.subnav .nav > li.active > a,
|
|
194
|
+
div.subnav .nav > li.active > a:hover {
|
|
195
|
+
color: @white;
|
|
196
|
+
background-color: @orange;
|
|
197
|
+
background-image: none;
|
|
198
|
+
.box-shadow(none);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
div.subnav.subnav-fixed {
|
|
202
|
+
.box-shadow(none);
|
|
203
|
+
|
|
204
|
+
.nav > li > a,
|
|
205
|
+
.nav > li.active > a,
|
|
206
|
+
.nav > li > a:hover,
|
|
207
|
+
.nav > li.active > a:hover {
|
|
208
|
+
border-color: transparent;
|
|
209
|
+
padding-left: 12px;
|
|
210
|
+
padding-right: 12px;
|
|
211
|
+
.border-radius(0);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
.nav > li > a:hover,
|
|
216
|
+
.nav > li.active > a:hover {
|
|
217
|
+
color: @white;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.dropdown-menu {
|
|
222
|
+
background-color: lighten(@blue, 10%);
|
|
223
|
+
border: none;
|
|
224
|
+
|
|
225
|
+
a {
|
|
226
|
+
color: @textColor;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.divider {
|
|
230
|
+
border-bottom: none;
|
|
231
|
+
background-color: @blue;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@media (max-width: 768px) {
|
|
236
|
+
div.subnav .nav > li:first-child > a,
|
|
237
|
+
div.subnav .nav > li:first-child > a:hover,
|
|
238
|
+
div.subnav .nav > li.active:first-child > a,
|
|
239
|
+
div.subnav .nav > li.active:first-child > a:hover {
|
|
240
|
+
.border-radius(4px 4px 0 0);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
div.subnav .nav > li:last-child > a,
|
|
244
|
+
div.subnav .nav > li:last-child > a:hover,
|
|
245
|
+
div.subnav .nav > li.active:last-child > a,
|
|
246
|
+
div.subnav .nav > li.active:last-child > a:hover {
|
|
247
|
+
.border-radius(0 0 4px 4px);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// TABLES
|
|
253
|
+
// -----------------------------------------------------
|
|
254
|
+
|
|
255
|
+
.table {
|
|
256
|
+
background-color: darken(@blue, 3%);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.table th, .table td, .table tbody + tbody {
|
|
260
|
+
border-top: none;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.table-bordered {
|
|
264
|
+
border: none;
|
|
265
|
+
th + th,
|
|
266
|
+
td + td,
|
|
267
|
+
th + td,
|
|
268
|
+
td + th {
|
|
269
|
+
border-left: none;
|
|
270
|
+
}
|
|
271
|
+
// Prevent a double border
|
|
272
|
+
thead:first-child tr:first-child th,
|
|
273
|
+
tbody:first-child tr:first-child th,
|
|
274
|
+
tbody:first-child tr:first-child td {
|
|
275
|
+
border-top: none;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.table-striped {
|
|
280
|
+
tbody {
|
|
281
|
+
tr:nth-child(odd) td,
|
|
282
|
+
tr:nth-child(odd) th {
|
|
283
|
+
background-color: @blue;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.table {
|
|
289
|
+
tbody tr:hover td,
|
|
290
|
+
tbody tr:hover th {
|
|
291
|
+
background-color: lighten(@blue, 5%);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// BUTTONS
|
|
296
|
+
// --------------------------------------------------
|
|
297
|
+
|
|
298
|
+
.btn,
|
|
299
|
+
.btn:hover {
|
|
300
|
+
text-shadow: none;
|
|
301
|
+
background-image: none;
|
|
302
|
+
.box-shadow(-2px 2px 0 darken(@white, 80%));
|
|
303
|
+
border: none;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.btn-warning {
|
|
307
|
+
background-color: @yellow;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.btn-primary, .btn-primary:hover {
|
|
311
|
+
.box-shadow(-2px 2px 0 darken(@primaryButtonBackground, 30%));
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.btn-warning, .btn-warning:hover {
|
|
315
|
+
.box-shadow(-2px 2px 0 darken(@yellow, 30%));
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.btn-danger, .btn-danger:hover {
|
|
319
|
+
.box-shadow(-2px 2px 0 darken(#ee5f5b, 30%));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.btn-success, .btn-success:hover {
|
|
323
|
+
.box-shadow(-2px 2px 0 darken(#62c462, 30%));
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.btn-info, .btn-info:hover {
|
|
327
|
+
.box-shadow(-2px 2px 0 darken(#5bc0de, 40%));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.btn-inverse, .btn-inverse:hover {
|
|
331
|
+
.box-shadow(-2px 2px 0 darken(#454545, 20%));
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
.btn.dropdown-toggle, .btn.dropdown-toggle:hover {
|
|
337
|
+
.box-shadow(0 2px 0 darken(@white, 80%));
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.btn-primary.dropdown-toggle, .btn-primary.dropdown-toggle:hover {
|
|
341
|
+
.box-shadow(0 2px 0 darken(@primaryButtonBackground, 30%));
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.btn-warning.dropdown-toggle, .btn-warning.dropdown-toggle:hover {
|
|
345
|
+
.box-shadow(0 2px 0 darken(@yellow, 30%));
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.btn-danger.dropdown-toggle, .btn-danger.dropdown-toggle:hover {
|
|
349
|
+
.box-shadow(0 2px 0 darken(#ee5f5b, 30%));
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.btn-success.dropdown-toggle, .btn-success.dropdown-toggle:hover {
|
|
353
|
+
.box-shadow(0 2px 0 darken(#62c462, 30%));
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.btn-info.dropdown-toggle, .btn-info.dropdown-toggle:hover {
|
|
357
|
+
.box-shadow(0 2px 0 darken(#5bc0de, 40%));
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.btn-inverse.dropdown-toggle, .btn-inverse.dropdown-toggle:hover {
|
|
361
|
+
.box-shadow(0 2px 0 darken(#454545, 20%));
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.btn.active,
|
|
365
|
+
.btn:active {
|
|
366
|
+
position: relative;
|
|
367
|
+
top: 1px;
|
|
368
|
+
left: -1px;
|
|
369
|
+
.box-shadow(-1px 1px 0 darken(@white, 80%))
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.btn.disabled,
|
|
373
|
+
.btn.disabled.active,
|
|
374
|
+
.btn.disabled:active,
|
|
375
|
+
.btn[disabled] {
|
|
376
|
+
.box-shadow(none);
|
|
377
|
+
text-shadow: none;
|
|
378
|
+
top: 0;
|
|
379
|
+
left: 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
383
|
+
vertical-align: -13%;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// NAVIGATION
|
|
387
|
+
// --------------------------------------------------
|
|
388
|
+
|
|
389
|
+
.nav-list {
|
|
390
|
+
padding: 0 15px;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.nav-list > li > a, .nav-list .nav-header {
|
|
394
|
+
text-shadow: none;
|
|
395
|
+
color: @textColor;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.nav-list .active > a, .nav-list .active > a:hover {
|
|
399
|
+
text-shadow: none;
|
|
400
|
+
color: @white;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.nav-list li > a:hover {
|
|
404
|
+
background-color: lighten(@blue, 10%);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.nav-tabs, .nav-tabs.nav-stacked > li > a {
|
|
408
|
+
border-color: transparent;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.nav-tabs {
|
|
412
|
+
> li > a {
|
|
413
|
+
background-color: @blue;
|
|
414
|
+
color: @textColor;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
li.active > a,
|
|
418
|
+
li.active > a:hover,
|
|
419
|
+
&.nav-stacked > li.active > a:hover {
|
|
420
|
+
color: @white;
|
|
421
|
+
background-color: @orange;
|
|
422
|
+
border-color: transparent;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
li > a:hover,
|
|
426
|
+
&.nav-stacked > li > a:hover {
|
|
427
|
+
background-color: lighten(@blue, 10%);
|
|
428
|
+
border-color: transparent;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.nav-pills > li > a {
|
|
433
|
+
color: @textColor;
|
|
434
|
+
background-color: @blue;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.nav-pills > li:hover > a {
|
|
438
|
+
background-color: lighten(@blue, 10%);
|
|
439
|
+
border-color: transparent;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.nav-tabs .open .dropdown-toggle,
|
|
443
|
+
.nav-pills .open .dropdown-toggle,
|
|
444
|
+
.nav > .open.active > a:hover {
|
|
445
|
+
background-color: lighten(@blue, 10%);
|
|
446
|
+
border-color: transparent;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.dropdown.open .dropdown-menu > li > a:hover,
|
|
450
|
+
.dropdown.open .dropdown-menu > li.active > a:hover {
|
|
451
|
+
background-color: @orange;
|
|
452
|
+
color: @white;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.tabbable .nav-tabs,
|
|
456
|
+
.tabbable .nav-tabs > li.active > a,
|
|
457
|
+
.tabbable .nav-tabs > li > a:hover,
|
|
458
|
+
.tabbable .nav-tabs > li.active > a:hover {
|
|
459
|
+
border-color: transparent;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.breadcrumb {
|
|
463
|
+
background-color: @blue;
|
|
464
|
+
background-image: none;
|
|
465
|
+
border: none;
|
|
466
|
+
.box-shadow(none);
|
|
467
|
+
|
|
468
|
+
li {
|
|
469
|
+
text-shadow: none;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.divider {
|
|
473
|
+
color: @textColor;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.pagination ul {
|
|
478
|
+
|
|
479
|
+
background-color: @blue;
|
|
480
|
+
background-image: none;
|
|
481
|
+
border-color: transparent;
|
|
482
|
+
|
|
483
|
+
li > a {
|
|
484
|
+
border: none;
|
|
485
|
+
color: @textColor;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
li.active > a,
|
|
489
|
+
li.active > a:hover {
|
|
490
|
+
background: @orange;
|
|
491
|
+
color: @white;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
li > a:hover {
|
|
495
|
+
background: lighten(@blue, 10%);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
li.disabled > a,
|
|
499
|
+
li.disabled > a:hover {
|
|
500
|
+
background: darken(@blue, 5%);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.pager a {
|
|
505
|
+
color: @textColor;
|
|
506
|
+
background-color: @blue;
|
|
507
|
+
border-color: transparent;
|
|
508
|
+
|
|
509
|
+
&:hover {
|
|
510
|
+
background: lighten(@blue, 10%);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// FORMS
|
|
515
|
+
// --------------------------------------------------
|
|
516
|
+
|
|
517
|
+
input, button, select, textarea {
|
|
518
|
+
font-family: 'Noticia Text', serif;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
legend {
|
|
522
|
+
border-bottom: none;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
label {
|
|
526
|
+
color: @textColor;
|
|
527
|
+
line-height: 15px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.help-block {
|
|
531
|
+
color: @textColor;
|
|
532
|
+
opacity: 0.6;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.form-actions {
|
|
536
|
+
background-color: transparent;
|
|
537
|
+
border-top: none;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// Warning
|
|
541
|
+
.control-group.warning {
|
|
542
|
+
.formFieldState(lighten(@warningText, 10%), lighten(@warningText, 10%), @warningBackground);
|
|
543
|
+
}
|
|
544
|
+
// Error
|
|
545
|
+
.control-group.error {
|
|
546
|
+
.formFieldState(lighten(@errorText, 10%), lighten(@errorText, 10%), @errorBackground);
|
|
547
|
+
}
|
|
548
|
+
// Success
|
|
549
|
+
.control-group.success {
|
|
550
|
+
.formFieldState(lighten(@successText, 10%), lighten(@successText, 10%), @successBackground);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
// MISCELLANEOUS
|
|
554
|
+
// --------------------------------------------------
|
|
555
|
+
|
|
556
|
+
hr, .page-header {
|
|
557
|
+
border-bottom: none;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
footer.footer {
|
|
561
|
+
border-top: 1px solid darken(@blueDark, 5%);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.well {
|
|
565
|
+
background-color: @blue;
|
|
566
|
+
border: none;
|
|
567
|
+
.box-shadow(none);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.progress {
|
|
571
|
+
background-color: darken(@blueDark, 5%);
|
|
572
|
+
background-image: none;
|
|
573
|
+
.box-shadow(none);
|
|
574
|
+
|
|
575
|
+
.bar {
|
|
576
|
+
.box-shadow(none);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.thumbnail {
|
|
581
|
+
border: none;
|
|
582
|
+
background: @blue;
|
|
583
|
+
.border-radius(3px);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.label {
|
|
587
|
+
background-color: @blue;
|
|
588
|
+
color: @textColor;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.label-important {
|
|
592
|
+
background-color: @errorText;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.label-warning {
|
|
596
|
+
background-color: @orange;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.label-success {
|
|
600
|
+
background-color: @successText;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.label-info {
|
|
604
|
+
background-color: @infoText;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.alert {
|
|
608
|
+
background-color: @blue;
|
|
609
|
+
border: none;
|
|
610
|
+
color: @textColor;
|
|
611
|
+
text-shadow: none;
|
|
612
|
+
|
|
613
|
+
a {
|
|
614
|
+
color: lighten(@orange, 12%);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.alert .alert-heading {
|
|
619
|
+
color: @orange;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.alert-success {
|
|
623
|
+
background-color: @successText;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.alert-danger,
|
|
627
|
+
.alert-error {
|
|
628
|
+
background-color: @errorText;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.alert-info {
|
|
632
|
+
background-color: @infoText;
|
|
633
|
+
}
|
|
634
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// Variables.less
|
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
|
3
|
+
// Swatch: Superhero
|
|
4
|
+
// -----------------------------------------------------
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// GLOBAL VALUES
|
|
9
|
+
// --------------------------------------------------
|
|
10
|
+
|
|
11
|
+
// Links
|
|
12
|
+
@linkColor: @orange;
|
|
13
|
+
@linkColorHover: @linkColor;
|
|
14
|
+
|
|
15
|
+
// Grays
|
|
16
|
+
@black: #000;
|
|
17
|
+
@grayDarker: #222;
|
|
18
|
+
@grayDark: #333;
|
|
19
|
+
@gray: #555;
|
|
20
|
+
@grayLight: #999;
|
|
21
|
+
@grayLighter: #eee;
|
|
22
|
+
@white: #fff;
|
|
23
|
+
|
|
24
|
+
// Accent colors
|
|
25
|
+
@blue: #45515F;
|
|
26
|
+
@blueDark: #2A333C;
|
|
27
|
+
@green: #5DA028;
|
|
28
|
+
@red: #A12932;
|
|
29
|
+
@yellow: #E6C92E;
|
|
30
|
+
@orange: #E36B23;
|
|
31
|
+
@pink: #C74871;
|
|
32
|
+
@purple: #7073CF;
|
|
33
|
+
|
|
34
|
+
// Typography
|
|
35
|
+
@baseFontSize: 15px;
|
|
36
|
+
@baseFontFamily: Georgia,Utopia,Palatino,'Palatino Linotype',serif;
|
|
37
|
+
@baseLineHeight: 20px;
|
|
38
|
+
@textColor: #ECE9D7;
|
|
39
|
+
|
|
40
|
+
// Buttons
|
|
41
|
+
@primaryButtonBackground: @linkColor;
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// COMPONENT VARIABLES
|
|
46
|
+
// --------------------------------------------------
|
|
47
|
+
|
|
48
|
+
// Z-index master list
|
|
49
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
|
50
|
+
// Try to avoid customizing these :)
|
|
51
|
+
@zindexDropdown: 1000;
|
|
52
|
+
@zindexPopover: 1010;
|
|
53
|
+
@zindexTooltip: 1020;
|
|
54
|
+
@zindexFixedNavbar: 1030;
|
|
55
|
+
@zindexModalBackdrop: 1040;
|
|
56
|
+
@zindexModal: 1050;
|
|
57
|
+
|
|
58
|
+
// Sprite icons path
|
|
59
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
|
60
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
|
61
|
+
|
|
62
|
+
// Input placeholder text color
|
|
63
|
+
@placeholderText: @textColor;
|
|
64
|
+
|
|
65
|
+
// Hr border color
|
|
66
|
+
@hrBorder: darken(@blueDark, 5%);
|
|
67
|
+
|
|
68
|
+
// Navbar
|
|
69
|
+
@navbarHeight: 40px;
|
|
70
|
+
@navbarBackground: @blueDark;
|
|
71
|
+
@navbarBackgroundHighlight: @navbarBackground;
|
|
72
|
+
@navbarLinkBackgroundHover: transparent;
|
|
73
|
+
|
|
74
|
+
@navbarText: @grayLight;
|
|
75
|
+
@navbarLinkColor: @grayLight;
|
|
76
|
+
@navbarLinkColorHover: @white;
|
|
77
|
+
|
|
78
|
+
// Form states and alerts
|
|
79
|
+
@warningText: #c09853;
|
|
80
|
+
@warningBackground: #fcf8e3;
|
|
81
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
|
82
|
+
|
|
83
|
+
@errorText: #b94a48;
|
|
84
|
+
@errorBackground: #f2dede;
|
|
85
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
|
86
|
+
|
|
87
|
+
@successText: #468847;
|
|
88
|
+
@successBackground: #dff0d8;
|
|
89
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
|
90
|
+
|
|
91
|
+
@infoText: #3a87ad;
|
|
92
|
+
@infoBackground: #d9edf7;
|
|
93
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
// GRID
|
|
98
|
+
// --------------------------------------------------
|
|
99
|
+
|
|
100
|
+
// Default 940px grid
|
|
101
|
+
@gridColumns: 12;
|
|
102
|
+
@gridColumnWidth: 60px;
|
|
103
|
+
@gridGutterWidth: 20px;
|
|
104
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
|
105
|
+
|
|
106
|
+
// Fluid grid
|
|
107
|
+
@fluidGridColumnWidth: 6.382978723%;
|
|
108
|
+
@fluidGridGutterWidth: 2.127659574%;
|