bootswatch.less 2.02 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cerulean 3.1.0
Thomas Park's avatar
Thomas Park committed
2
3
4
5
6
// Bootswatch
// -----------------------------------------------------

.btn-shadow(@color) {
	#gradient > .vertical-three-colors(lighten(@color, 8%), @color, 60%, darken(@color, 4%));
7
	filter: none;
Thomas Park's avatar
Thomas Park committed
8
9
10
11
12
13
	border-bottom: 1px solid darken(@color, 10%);
}

// Navbar =====================================================================

.navbar {
Thomas Park's avatar
Thomas Park committed
14
	.btn-shadow(@navbar-default-bg);
15
	filter: none;
Thomas Park's avatar
Thomas Park committed
16
17
18
19
	.box-shadow(0 1px 10px rgba(0, 0, 0, 0.1));

	.navbar-nav > li > a,
	&-brand {
20
		text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
Thomas Park's avatar
Thomas Park committed
21
22
23
24
	}
}

.navbar-inverse {
25
	#gradient > .vertical-three-colors(lighten(@navbar-inverse-bg, 8%), lighten(@navbar-inverse-bg, 4%), 60%, darken(@navbar-inverse-bg, 2%));
26
	filter: none;
Thomas Park's avatar
Thomas Park committed
27
28
29
30
31
32
33
	border-bottom: 1px solid darken(@navbar-inverse-bg, 10%);
}

// Buttons ====================================================================

.btn {

34
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
Thomas Park's avatar
Thomas Park committed
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

	.caret {
		border-top-color: #fff;
	}
}

.btn-default {
	
	.btn-shadow(@btn-default-bg);

	&:hover {
		color: @btn-default-color;
	}

	.caret {
		border-top-color: @text-color;
	}
}

.btn-default {
	.btn-shadow(@btn-default-bg);
}

.btn-primary {
	.btn-shadow(@btn-primary-bg);
}

.btn-success {
	.btn-shadow(@btn-success-bg);
}

.btn-info {
	.btn-shadow(@btn-info-bg);
}

.btn-warning {
	.btn-shadow(@btn-warning-bg);
}

.btn-danger {
	.btn-shadow(@btn-danger-bg);
}

// Typography =================================================================

// Tables =====================================================================

// Forms ======================================================================

// Navs =======================================================================

// Indicators =================================================================

// Progress bars ==============================================================

// Containers =================================================================

Thomas Park's avatar
Thomas Park committed
92
93
94
95
.panel-primary,
.panel-success,
.panel-warning,
.panel-danger,
Thomas Park's avatar
Thomas Park committed
96
97
.panel-info {

Thomas Park's avatar
Thomas Park committed
98
	.panel-heading,
Thomas Park's avatar
Thomas Park committed
99
100
101
	.panel-title {
		color: #fff;
	}
Thomas Park's avatar
Thomas Park committed
102
}