bootswatch.less 8.26 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Bootswatch.less
Thomas Park's avatar
Thomas Park committed
2
// Swatch: Spruce
Thomas Park's avatar
Thomas Park committed
3
// Version: 2.0.4
Thomas Park's avatar
Thomas Park committed
4
5
6
7
8
// -----------------------------------------------------

// TYPOGRAPHY
// --------------------------------------------------

Thomas Park's avatar
Thomas Park committed
9
@import url('https://fonts.googleapis.com/css?family=Josefin+Slab:400,700');
Thomas Park's avatar
Thomas Park committed
10

Thomas Park's avatar
Thomas Park committed
11
.navbar .brand, legend, .btn,
Thomas Park's avatar
Thomas Park committed
12
.navbar .nav > li > a,
13
14
div.subnav li > a,
.navbar-text  {
Thomas Park's avatar
Thomas Park committed
15
16
	font-family: @headingsFontFamily;
	font-weight: @headingsFontWeight;
Thomas Park's avatar
Thomas Park committed
17
18
19
20
21
22
23
24
25
26
27
28
}

h3 { font-size: 20px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }

h1, h2, h3, h4, h5, h6 {
	color: @yellow;
}

h1 > small, h2 > small, h3 > small, h4 > small, h5 > small, h6 > small, .muted {
	color: @linkColor;
Thomas Park's avatar
Thomas Park committed
29
30
31
32
33
	font-family: @baseFontFamily;
}

.alert-heading {
	font-family: @baseFontFamily;
Thomas Park's avatar
Thomas Park committed
34
35
36
37
38
39
40
41
}

// SCAFFOLDING
// --------------------------------------------------

body {
	#gradient > .vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
	background-size: 100% 1400px;
42
	background-repeat: repeat-y;
Thomas Park's avatar
Thomas Park committed
43
44
45
46
}

blockquote {
	border-left: 2px solid @linkColor;
Thomas Park's avatar
Thomas Park committed
47

Thomas Park's avatar
Thomas Park committed
48
49
50
	&.pull-right {
		border-right: 2px solid @linkColor;
	}
Thomas Park's avatar
Thomas Park committed
51

Thomas Park's avatar
Thomas Park committed
52
53
54
55
56
57
58
59
60
61
62
63
64
	small {
		color: @blueDark;
	}
}

code, pre {
	color: lighten(@blueDark, 10%);
	background-color: @linkColor;
}

// NAVBAR
// --------------------------------------------------

65
.navbar {
Thomas Park's avatar
Thomas Park committed
66

67
68
69
70
	.navbar-inner {
		background-image: none;
		.box-shadow(none);
	}
Thomas Park's avatar
Thomas Park committed
71

72
73
74
75
	.brand {
		font-size: 26px;
		padding: 18px 20px 12px;
	}
Thomas Park's avatar
Thomas Park committed
76

77
78
79
80
	.nav > li > a {
		font-size: 20px;
		padding: 22px 10px 11px;
	}
Thomas Park's avatar
Thomas Park committed
81

82
83
	.nav .active > a,
	.nav .active > a:hover {
Thomas Park's avatar
Thomas Park committed
84
85
		color: @yellow;
	}
Thomas Park's avatar
Thomas Park committed
86

87
88
	.navbar-text {
		font-size: 20px;
89
		padding: 11px 10px 0;
90
	}
Thomas Park's avatar
Thomas Park committed
91

92
93
94
	.navbar-search {
		margin-top: 12px;
	}
Thomas Park's avatar
Thomas Park committed
95

96
97
98
99
100
	.navbar-search .search-query {
		border-color: transparent;
		padding: 6px 9px 2px 9px;
		background-color: rgba(255, 255, 255, 0.4);
	}
Thomas Park's avatar
Thomas Park committed
101

102
103
104
	.nav > .open > a {
		color: @yellow;
	}
Thomas Park's avatar
Thomas Park committed
105

106
107
108
109
110
	.nav > .open > .dropdown-menu {
		background-color: @linkColor;
		color: @textColor;
		border-color: transparent;
	}
Thomas Park's avatar
Thomas Park committed
111

112
113
114
115
	.nav > .open > .dropdown-menu a:hover {
		background-color: darken(#90A38F, 10%);
		color: @linkColor;
	}
Thomas Park's avatar
Thomas Park committed
116

117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
	.btn-navbar {
		margin-top: 14px;
	}

	.nav-collapse.in .nav li > a {
		color: @linkColor;

		&:hover {
			color: @yellow;
			background-color: @blue;
		}
	}

	.navbar-form, .navbar-search {
		border-color: transparent;
		.box-shadow(none);
	}
Thomas Park's avatar
Thomas Park committed
134
135
136
137
138
139
140
}

div.subnav {
	background-color: @green;
	background-image: none;
	border-color: transparent;
	.box-shadow(0 1px 5px rgba(0,0,0,.1));
Thomas Park's avatar
Thomas Park committed
141
	font-size: 18px;
Thomas Park's avatar
Thomas Park committed
142

143
	.nav > li > a {
144
		padding: 13px 12px 9px;
145
146
		border-color: transparent;
		background-color: transparent;
147
		color: @linkColor;
148
	}
Thomas Park's avatar
Thomas Park committed
149

150
151
152
	.nav > li + li > a {
		border-color: transparent;
	}
Thomas Park's avatar
Thomas Park committed
153

154
155
156
157
158
159
160
161
162
163
	.nav > li.active > a,
	.nav > li > a:hover,
	.nav > li.active > a:hover,
	.dropdown.open .dropdown-toggle,
	.dropdown.open.active .dropdown-toggle:hover {
		.box-shadow(none);
		background-color: transparent;
		border-color: transparent;
		color: @yellow;
	}
Thomas Park's avatar
Thomas Park committed
164

165
166
167
168
169
	.dropdown.open > .dropdown-menu {
		background-color: @linkColor;
		color: @textColor;
		border-color: transparent;
	}
Thomas Park's avatar
Thomas Park committed
170

171
172
173
	.dropdown.open > .dropdown-menu a:hover {
		background-color: darken(#90A38F, 10%);
		color: @linkColor;
Thomas Park's avatar
Thomas Park committed
174
	}
Thomas Park's avatar
Thomas Park committed
175

176
177
178
	&.subnav-fixed {
		top: 54px;
	}
Thomas Park's avatar
Thomas Park committed
179
180
}

Thomas Park's avatar
Thomas Park committed
181
182
183
// TABLES
// --------------------------------------------------

Thomas Park's avatar
Thomas Park committed
184
185
186
187
.table,
.table.table-bordered,
.table.table-striped {
	.border-radius(0 0 8px 8px);
Thomas Park's avatar
Thomas Park committed
188
189
}

Thomas Park's avatar
Thomas Park committed
190
191
192
193
194
195
196
197
198
199
200
201
202
.table-bordered thead:first-child tr:first-child th:first-child,
.table-bordered tbody:first-child tr:first-child td:first-child,
.table-bordered thead:first-child tr:first-child th:last-child,
.table-bordered tbody:first-child tr:first-child td:last-child {
	.border-radius(0);
}

.table-striped tbody:last-child tr:last-child td:first-child {
	.border-radius(0 0 0 8px);
}

.table-striped tbody:last-child tr:last-child td:last-child {
	.border-radius(0 0 8px 0);
Thomas Park's avatar
Thomas Park committed
203
204
}

Thomas Park's avatar
Thomas Park committed
205
206
.table-bordered {
	border: none;
Thomas Park's avatar
Thomas Park committed
207
208
}

Thomas Park's avatar
Thomas Park committed
209
210
211
.table thead tr th:first-child,
.table tbody tr td:first-child {
	border-left: none;
Thomas Park's avatar
Thomas Park committed
212
213
}

Thomas Park's avatar
Thomas Park committed
214
215
216
217
.table th,
.table-striped tbody tr:nth-child(odd) th {
	background-color: darken(#90A38F, 10%);
	color: @linkColor;
Thomas Park's avatar
Thomas Park committed
218
219
220
221
222
223
224
225
226
227
228
}

// BUTTONS
// --------------------------------------------------

.btn {
  .buttonBackground(lighten(@blueDark, 5%), @blueDark);
    text-shadow: none;
    color: @white;
	border-color: transparent;
	.box-shadow(none);
Thomas Park's avatar
Thomas Park committed
229

Thomas Park's avatar
Thomas Park committed
230
231
232
233
234
235
236
237
238
239
240
241
	&:hover {
		color: @grayLighter;
	}
}

.btn-large {
	font-size: 18px;
}

.btn-primary {
	.buttonBackground(lighten(@blue, 10%), lighten(@blue, 5%));
}
Thomas Park's avatar
Thomas Park committed
242

Thomas Park's avatar
Thomas Park committed
243
244
245
.btn-warning {
  .buttonBackground(@orange, darken(@orange, 5%));
}
Thomas Park's avatar
Thomas Park committed
246

Thomas Park's avatar
Thomas Park committed
247
248
249
.btn-danger {
  .buttonBackground(lighten(@red, 5%), @red);
}
Thomas Park's avatar
Thomas Park committed
250

Thomas Park's avatar
Thomas Park committed
251
252
253
.btn-success {
  .buttonBackground(#62c462, #51a351);
}
Thomas Park's avatar
Thomas Park committed
254

Thomas Park's avatar
Thomas Park committed
255
256
257
.btn-info {
  .buttonBackground(#5bc0de, #2f96b4);
}
Thomas Park's avatar
Thomas Park committed
258

Thomas Park's avatar
Thomas Park committed
259
260
261
262
263
264
265
266
267
268
269
.btn-inverse {
  .buttonBackground(@yellow, darken(@yellow, 5%));
}

.btn-group .dropdown-toggle {
	.box-shadow(none);
}

// NAVIGATION
// --------------------------------------------------

270
.breadcrumb {
Thomas Park's avatar
Thomas Park committed
271
272
273
274
	background-color: darken(#90A38F, 10%);
	background-image: none;
	border-color: transparent;
	.box-shadow(none);
Thomas Park's avatar
Thomas Park committed
275

276
	li {
Thomas Park's avatar
Thomas Park committed
277
		color: @yellow;
278
279
280
281
282
283
284
285
286
287
288
289
290
		text-shadow: none;

		a {
			color: @linkColor;
		}

		a:hover {
			color: @yellow;
		}

		.divider {
			color: @blue;
		}
Thomas Park's avatar
Thomas Park committed
291
	}
Thomas Park's avatar
Thomas Park committed
292
293
}

294
295
296
297
298
299
300
.pagination > ul {
	background-color: darken(#90A38F, 10%);
	background-image: none;
	border-color: transparent;
	.box-shadow(none);
}

Thomas Park's avatar
Thomas Park committed
301
302
303
.pagination a {
	color: @linkColor;
	border-color: transparent;
Thomas Park's avatar
Thomas Park committed
304

Thomas Park's avatar
Thomas Park committed
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
	&:hover {
		color: @yellow;
		background-color: #748C73;
	}
}

.pagination .active a {
	color: @blue;
	background-color: #A2CDB5;
}

.pagination .disabled a,
.pagination .disabled a:hover {
	color: @blue;
}

321
.nav-list {
Thomas Park's avatar
Thomas Park committed
322

323
324
325
326
	li > a,
	.nav-header {
		text-shadow: none;
	}
Thomas Park's avatar
Thomas Park committed
327

328
329
330
	li > a:hover {
		background-color: transparent;
	}
Thomas Park's avatar
Thomas Park committed
331

332
333
334
335
336
	li.active > a,
	li.active > a:hover {
		background-color: #A2CDB5;
		text-shadow: none;
	}
Thomas Park's avatar
Thomas Park committed
337

338
339
340
341
	.divider {
		background-color: transparent;
		border-bottom: 1px solid @linkColor;
	}
Thomas Park's avatar
Thomas Park committed
342
343
344
345
346
347
348
349
350
}

.nav-tabs {
	border-color: transparent;
}

.nav-tabs > li > a,
.nav-pills > li > a {
	background-color: #748C73;
Thomas Park's avatar
Thomas Park committed
351

Thomas Park's avatar
Thomas Park committed
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
	&:hover {
		background-color: #748C73;
		border-color: transparent;
	}
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-pills .active > a,
.nav-pills .active > a:hover {
	background-color: #A2CDB5;
	border-color: transparent;
	color: @blue;
}

.nav-tabs.nav-stacked > li > a {
	border-color: transparent;
Thomas Park's avatar
Thomas Park committed
369

Thomas Park's avatar
Thomas Park committed
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
	&:hover {
		border-color: transparent;
	}
}

.nav-tabs .open .dropdown-toggle,
.nav-pills .open .dropdown-toggle  {
	background-color: #748C73;
	border-color: transparent;
	color: @yellow;
}

.nav-tabs .active.open .dropdown-toggle,
.nav-pills .active.open .dropdown-toggle {
	background-color: #A2CDB5;
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu {
	background-color: @linkColor;
	color: @textColor;
	border-color: transparent;
Thomas Park's avatar
Thomas Park committed
392

Thomas Park's avatar
Thomas Park committed
393
394
395
396
397
398
399
400
401
402
	a:hover {
		background-color: #A2CDB5;
		color: @linkColor;
	}
}

.nav .nav-header {
	color: @blue;
}

403
404
405
406
407
408
409
410
.tabbable {
	.nav-tabs,
	.nav-tabs > li > a,
	.nav-tabs > li > a:hover,
	.nav-tabs > li.active > a,
	.nav-tabs > li.active > a:hover  {
		border-color: transparent;
	}
Thomas Park's avatar
Thomas Park committed
411
412
413
414
415
}

.pager a {
	border: none;
	background-color: #748C73;
Thomas Park's avatar
Thomas Park committed
416

Thomas Park's avatar
Thomas Park committed
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
	&:hover {
		background-color: transparent;
		background-color: #748C73;
	}
}

// FORMS
// --------------------------------------------------

legend {
	color: @yellow;
}

label, .help-block, input[type="file"] {
	color: @linkColor;
}

input, textarea, select {
	color: @textColor;
}

.uneditable-input {
	color: @gray;
}

legend {
	border-bottom: 2px solid @white;
}

.form-actions {
	border-top: none;
	.border-radius(4px);
}

Thomas Park's avatar
Thomas Park committed
451
452
453
454
// MODALS
// --------------------------------------------------

.modal-header {
455
	padding: 12px 15px 6px;
Thomas Park's avatar
Thomas Park committed
456
457
458
459
460
461
462
463
	background-color: @green;
}

.modal-body,
.modal-footer {
	background-color: @linkColor;
	border: none;
	.box-shadow(none);
464
465
466
467

	label {
		color: @textColor;
	}
Thomas Park's avatar
Thomas Park committed
468
469
470
471
472
473
}

.modal-footer {
	.border-radius(0 0 4px 4px);
}

Thomas Park's avatar
Thomas Park committed
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
// MISCELLANEOUS
// --------------------------------------------------

.alert {
	text-shadow: none;
	border: none;
}

.label {
	color: @linkColor;
	opacity: 1;
	text-shadow: none;
}

.progress {
	background-color: darken(#90A38F, 10%);
	background-image: none;
	.box-shadow(none);
Thomas Park's avatar
Thomas Park committed
492

Thomas Park's avatar
Thomas Park committed
493
	.bar {
Thomas Park's avatar
Thomas Park committed
494
		background-image: none;
Thomas Park's avatar
Thomas Park committed
495
496
497
498
499
500
501
502
503
504
505
506
507
		background-color: #A2CDB5;
	}
}

.well {
	background-color: darken(#90A38F, 10%);
	border: none;
	.box-shadow(none);
}

.thumbnail {
	border: none;
	.box-shadow(none);
Thomas Park's avatar
Thomas Park committed
508

Thomas Park's avatar
Thomas Park committed
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
	img {
		.border-radius(4px);
	}
}

hr {
	border-top: none;
	border-bottom: 2px solid @linkColor;
}

.page-header {
	border-bottom: 2px solid @linkColor;
	padding-bottom: 5px;
}

footer.footer {
	border-top: 2px solid @linkColor;
}