Debian Codegraph @

inst/lib/bsw4/dist/minty/_bootswatch.scss

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