bootswatch.less 2.14 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cosmo 3.0.2
Thomas Park's avatar
Thomas Park committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Bootswatch
// -----------------------------------------------------

@import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");

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

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

.btn {
	border: none;
}

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

17
18
.text-primary,
.text-primary:hover {
Thomas Park's avatar
Thomas Park committed
19
20
21
	color: @brand-primary;
}

22
23
.text-success,
.text-success:hover {
Thomas Park's avatar
Thomas Park committed
24
25
26
	color: @brand-success;
}

27
28
.text-danger,
.text-danger:hover {
Thomas Park's avatar
Thomas Park committed
29
30
31
	color: @brand-danger;
}

32
33
.text-warning,
.text-warning:hover {
Thomas Park's avatar
Thomas Park committed
34
35
36
	color: @brand-warning;
}

37
38
.text-info,
.text-info:hover {
39
40
41
	color: @brand-info;
}

Thomas Park's avatar
Thomas Park committed
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Tables =====================================================================

.table {

	tr.success,
	tr.warning,
	tr.danger {
		color: #fff;
	}
}

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


.has-warning {
	.help-block,
	.control-label {
		color: @brand-warning;
	}

	.form-control,
	.form-control:focus {
		border: 1px solid @brand-warning;
	}
}

.has-error {
	.help-block,
	.control-label {
		color: @brand-danger;
	}

	.form-control,
	.form-control:focus {
		border: 1px solid @brand-danger;
	}
}

.has-success {
	.help-block,
	.control-label {
		color: @brand-success;
	}

	.form-control,
	.form-control:focus {
		border: 1px solid @brand-success;
	}
}

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

.nav-pills {

	& > li > a {
		border-radius: 0;
	}
}

.dropdown-menu {

	& > li > a:hover,
	& > li > a:focus {
		background-image: none;
	}
}

109
110
111
112
113
114
115
116
.pagination {

	.active > a,
	.active > a:hover {
		border-color: #ddd;
	}
}

Thomas Park's avatar
Thomas Park committed
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// Indicators =================================================================

.alert {
	border: none;

	.alert-link {
		text-decoration: underline;
		color: #fff;
	}
}

.label {
	border-radius: 0;
}

.close {
	opacity: 1;
}

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

.progress {
	height: 8px;
	.box-shadow(none);
}

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