Debian Codegraph @

inst/lib/bsw3/flatly/_bootswatch.scss

raw
1 // Flatly 3.4.1
2 // Bootswatch
3 // -----------------------------------------------------
4
5 $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic" !default;
6 @import url($web-font-path);
7
8 // Navbar =====================================================================
9
10 .navbar {
11 border-width: 0;
12
13 &-default {
14
15 .badge {
16 background-color: #fff;
17 color: $navbar-default-bg;
18 }
19 }
20
21 &-inverse {
22
23 .badge {
24 background-color: #fff;
25 color: $navbar-inverse-bg;
26 }
27 }
28
29 &-brand {
30 line-height: 1;
31 }
32 }
33
34 // Buttons ====================================================================
35
36 .btn {
37 border-width: 2px;
38 }
39
40 .btn:active {
41 @include box-shadow(none);
42 }
43
44 .btn-group.open .dropdown-toggle {
45 @include box-shadow(none);
46 }
47
48 // Typography =================================================================
49
50 .text-primary,
51 .text-primary:hover {
52 color: $brand-primary;
53 }
54
55 .text-success,
56 .text-success:hover {
57 color: $brand-success;
58 }
59
60 .text-danger,
61 .text-danger:hover {
62 color: $brand-danger;
63 }
64
65 .text-warning,
66 .text-warning:hover {
67 color: $brand-warning;
68 }
69
70 .text-info,
71 .text-info:hover {
72 color: $brand-info;
73 }
74
75 // Tables =====================================================================
76
77 table,
78 .table {
79
80 a:not(.btn) {
81 text-decoration: underline;
82 }
83
84 .dropdown-menu a {
85 text-decoration: none;
86 }
87
88 .success,
89 .warning,
90 .danger,
91 .info {
92 color: #fff;
93
94 > th > a,
95 > td > a,
96 > a {
97 color: #fff;
98 }
99 }
100
101 > thead > tr > th,
102 > tbody > tr > th,
103 > tfoot > tr > th,
104 > thead > tr > td,
105 > tbody > tr > td,
106 > tfoot > tr > td {
107 border: none;
108 }
109
110 &-bordered > thead > tr > th,
111 &-bordered > tbody > tr > th,
112 &-bordered > tfoot > tr > th,
113 &-bordered > thead > tr > td,
114 &-bordered > tbody > tr > td,
115 &-bordered > tfoot > tr > td {
116 border: 1px solid $table-border-color;
117 }
118 }
119
120 // Forms ======================================================================
121
122 .form-control,
123 input {
124 border-width: 2px;
125 @include box-shadow(none);
126
127 &:focus {
128 @include box-shadow(none);
129 }
130 }
131
132 .has-warning {
133 .help-block,
134 .control-label,
135 .radio,
136 .checkbox,
137 .radio-inline,
138 .checkbox-inline,
139 &.radio label,
140 &.checkbox label,
141 &.radio-inline label,
142 &.checkbox-inline label,
143 .form-control-feedback {
144 color: $brand-warning;
145 }
146
147 .form-control,
148 .form-control:focus {
149 border: 2px solid $brand-warning;
150 }
151
152 .input-group-addon {
153 border-color: $brand-warning;
154 }
155 }
156
157 .has-error {
158 .help-block,
159 .control-label,
160 .radio,
161 .checkbox,
162 .radio-inline,
163 .checkbox-inline,
164 &.radio label,
165 &.checkbox label,
166 &.radio-inline label,
167 &.checkbox-inline label,
168 .form-control-feedback {
169 color: $brand-danger;
170 }
171
172 .form-control,
173 .form-control:focus {
174 border: 2px solid $brand-danger;
175 }
176
177 .input-group-addon {
178 border-color: $brand-danger;
179 }
180 }
181
182 .has-success {
183 .help-block,
184 .control-label,
185 .radio,
186 .checkbox,
187 .radio-inline,
188 .checkbox-inline,
189 &.radio label,
190 &.checkbox label,
191 &.radio-inline label,
192 &.checkbox-inline label,
193 .form-control-feedback {
194 color: $brand-success;
195 }
196
197 .form-control,
198 .form-control:focus {
199 border: 2px solid $brand-success;
200 }
201
202 .input-group-addon {
203 border-color: $brand-success;
204 }
205 }
206
207 // Navs =======================================================================
208
209 .nav {
210 .open > a,
211 .open > a:hover,
212 .open > a:focus {
213 border-color: transparent;
214 }
215 }
216
217 .pager {
218 a,
219 a:hover {
220 color: #fff;
221 }
222
223 .disabled {
224 &>a,
225 &>a:hover,
226 &>a:focus,
227 &>span {
228 background-color: $pagination-disabled-bg;
229 }
230 }
231 }
232
233 // Indicators =================================================================
234
235 .close {
236 color: #fff;
237 text-decoration: none;
238 opacity: 0.4;
239
240 &:hover,
241 &:focus {
242 color: #fff;
243 opacity: 1;
244 }
245 }
246
247 .alert {
248
249 .alert-link {
250 color: #fff;
251 text-decoration: underline;
252 }
253 }
254
255 // Progress bars ==============================================================
256
257 .progress {
258 height: 10px;
259 @include box-shadow(none);
260 .progress-bar {
261 font-size: 10px;
262 line-height: 10px;
263 }
264 }
265
266 // Containers =================================================================
267
268 .well {
269 @include box-shadow(none);
270 }
271
272 a.list-group-item {
273
274 &.active,
275 &.active:hover,
276 &.active:focus {
277 border-color: $list-group-border;
278 }
279
280 &-success {
281 &.active {
282 background-color: $state-success-bg;
283 }
284
285 &.active:hover,
286 &.active:focus {
287 background-color: darken($state-success-bg, 5%);
288 }
289 }
290
291 &-warning {
292 &.active {
293 background-color: $state-warning-bg;
294 }
295
296 &.active:hover,
297 &.active:focus {
298 background-color: darken($state-warning-bg, 5%);
299 }
300 }
301
302 &-danger {
303 &.active {
304 background-color: $state-danger-bg;
305 }
306
307 &.active:hover,
308 &.active:focus {
309 background-color: darken($state-danger-bg, 5%);
310 }
311 }
312 }
313
314 .panel {
315 &-default {
316 .close {
317 color: $text-color;
318 }
319 }
320 }
321
322 .modal {
323 .close {
324 color: $text-color;
325 }
326 }
327
328 .popover {
329 color: $text-color;
330 }