Debian Codegraph @

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

raw
1 // Sketchy 4.6.0
2 // Bootswatch
3
4
5 // Variables ===================================================================
6
7 $web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&display=swap" !default;
8 @import url($web-font-path);
9
10 // stylelint-disable scss/dollar-variable-default
11 $border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
12 $border-radius-lg-sketchy: 555px 25px 15px 25px / 25px 5px 35px 555px;
13 $border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
14 // style-enable scss/dollar-variable-default
15
16 // Navbar ======================================================================
17
18 .navbar {
19 border-width: 2px;
20 border-style: solid;
21 border-radius: 25px 25px 55px 5px/5px 55px 25px 25px;
22
23 &.bg-light {
24 border-color: $gray-800;
25 }
26
27 &.fixed-top {
28 border-radius: 0 25px 225px 0/25px 0 25px 255px;
29 border-width: 0 0 2px;
30 }
31
32 &.fixed-bottom {
33 border-radius: 255px 25px 0 25px/25px 225px 25px 0;
34 border-width: 2px 0 0;
35 }
36
37 &-brand {
38 font-family: $headings-font-family;
39 font-weight: 400;
40 text-decoration: none;
41 }
42 }
43
44 // Buttons =====================================================================
45
46 .btn {
47 border-radius: $border-radius-sketchy;
48 text-decoration: none;
49
50 &-lg {
51 border-radius: $border-radius-lg-sketchy;
52 }
53
54 &-sm {
55 border-radius: $border-radius-sm-sketchy;
56 }
57 }
58
59 // Typography ==================================================================
60
61 button,
62 input,
63 optgroup,
64 select,
65 textarea {
66 font-family: $font-family-sans-serif;
67 }
68
69 blockquote {
70 border-radius: 15px 27px 25px 25px/25px 25px 305px 635px;
71 }
72
73 // Tables ======================================================================
74
75 table {
76 th,
77 td {
78 background-color: $white;
79 }
80 }
81
82 .table-bordered {
83 background-color: $gray-800;
84 border-collapse: separate;
85 border-spacing: 0;
86 border-radius: 5px 25px 5px 25px/25px 5px 25px 5px;
87 overflow: hidden;
88
89 th,
90 td {
91 border-radius: 5px 5px 25px 4px/5px 4px 3px 5px;
92 }
93
94 .table-success,
95 .table-success:hover {
96 td,
97 th {
98 background-color: $success;
99 color: $white;
100 }
101 }
102
103 .table-info,
104 .table-info:hover {
105 td,
106 th {
107 background-color: $info;
108 color: $white;
109 }
110 }
111
112 .table-warning,
113 .table-warning:hover {
114 td,
115 th {
116 background-color: $warning;
117 color: $white;
118 }
119 }
120
121 .table-danger,
122 .table-danger:hover {
123 td,
124 th {
125 background-color: $danger;
126 color: $white;
127 }
128 }
129 }
130
131 .table-dark {
132 th,
133 td,
134 &.table-hover .table-active:hover > th,
135 &.table-hover .table-active:hover > td {
136 background-color: $gray-800;
137 }
138 }
139
140
141 // Forms =======================================================================
142
143 input,
144 .form-control,
145 .input-group-text,
146 .custom-file-label {
147 border-radius: $border-radius-sketchy;
148 }
149
150 textarea,
151 textarea.form-control,
152 select,
153 select.form-control {
154 border-radius: $border-radius-lg-sketchy !important;
155 }
156
157 [type="checkbox"] {
158 position: relative !important;
159 appearance: none;
160 -webkit-appearance: none;
161 -moz-appearance: none;
162 -ms-appearance: none;
163 -o-appearance: none;
164 width: 0;
165 height: 0;
166 border: none;
167 cursor: pointer;
168
169 &::before {
170 content: "";
171 position: absolute;
172 left: -1.2em;
173 top: -.9em;
174 display: inline-block;
175 width: 15px;
176 height: 16px;
177 border: 2px solid $gray-800;
178 border-radius: 2px 8px 2px 4px / 5px 3px 5px 3px;
179 }
180
181 &:checked::after {
182 content: "x";
183 position: absolute;
184 left: -.64em;
185 top: -.48em;
186 font-size: 1.5rem;
187 line-height: .5;
188 color: $gray-800;
189 }
190
191 &:disabled {
192 &::before {
193 border: 2px solid $gray-500;
194 }
195 }
196 }
197
198 [type="radio"] {
199 position: relative !important;
200 appearance: none;
201 -webkit-appearance: none;
202 -moz-appearance: none;
203 -ms-appearance: none;
204 -o-appearance: none;
205 width: 0;
206 height: 0;
207 border: none;
208 cursor: pointer;
209
210 &::before {
211 content: "";
212 position: absolute;
213 left: -1.2em;
214 top: -.9em;
215 display: inline-block;
216 width: 16px;
217 height: 16px;
218 border: 2px solid $gray-800;
219 border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
220 }
221
222 &:checked::before {
223 background-color: $gray-800;
224 }
225
226 &:disabled {
227 &::before {
228 border: 2px solid $gray-500;
229 }
230 }
231 }
232
233 .form-check-label {
234 padding-left: 2.5rem;
235 }
236
237 .form-check-inline {
238 [type="checkbox"] {
239 &::before {
240 left: 0;
241 top: 0;
242 }
243
244 &::after {
245 left: .14em;
246 top: .12em;
247 }
248 }
249
250 [type="radio"] {
251 &::before {
252 left: 0;
253 top: 0;
254 }
255 }
256
257 .form-check-label {
258 padding-left: 1rem;
259 padding-right: 1rem;
260 }
261 }
262
263 // Navs ========================================================================
264
265 .dropdown-menu {
266 border-radius: 555px 25px 25px 25px/25px 25px 25px 555px;
267 overflow: hidden;
268 }
269
270 .dropdown-divider {
271 border-top-width: 2px;
272 }
273
274 .list-group {
275 background-color: $gray-800;
276 border: 2px solid $gray-800;
277 border-radius: 45px 15px 35px 5px/15px 5px 15px 65px;
278 overflow: hidden;
279
280 &-item {
281 border-left: none;
282 border-right: none;
283 border-top: 2px solid $gray-800;
284 border-radius: 255px 5px 225px 5px/25px 225px 25px 255px;
285
286 &:first-child {
287 border-top: none;
288 }
289
290 &:last-child {
291 border-bottom: none;
292 }
293 }
294 }
295
296 .nav-pills .nav-link, {
297 border-radius: $border-radius-sketchy;
298 }
299
300 .nav-link,
301 .page-link,
302 .list-group-item,
303 .dropdown-item {
304 text-decoration: none;
305 }
306
307 .nav-tabs {
308 .nav-link {
309 border-radius: 45px 15px 225px 5px/25px 225px 25px 255px;
310 }
311 }
312
313 .breadcrumb {
314 border: 2px solid $gray-800;
315 border-radius: $border-radius-sketchy;
316 }
317
318 .pagination {
319 .page-link {
320 border-radius: 425px 255px 25px 25px/25px 25px 5px 25px;
321 }
322 }
323
324 // Indicators ==================================================================
325
326 .badge {
327 border-radius: $border-radius-sm-sketchy;
328
329 &-pill {
330 border-radius: 7rem 8rem 8rem 8rem / 4rem 5rem 6rem 6rem;
331 }
332
333 &-warning {
334 color: $white;
335 }
336 }
337
338 .alert {
339 border-radius: $border-radius-sketchy;
340
341 &-dismissible {
342 .close {
343 color: transparent;
344
345 &::before {
346 right: 1rem;
347 top: .8rem;
348 }
349 }
350
351 &.alert-success {
352 border-color: $success;
353
354 &,
355 .alert-link,
356 .close::before {
357 color: $success;
358 }
359 }
360
361 &.alert-info {
362 border-color: $info;
363
364 &,
365 .alert-link,
366 .close::before {
367 color: $info;
368 }
369 }
370
371 &.alert-warning {
372 border-color: $warning;
373
374 &,
375 .alert-link,
376 .close::before {
377 color: $warning;
378 }
379 }
380
381 &.alert-danger {
382 border-color: $danger;
383
384 &,
385 .alert-link,
386 .close::before {
387 color: $danger;
388 }
389 }
390 }
391 }
392
393 // Progress bars ===============================================================
394
395 .progress {
396 border: 2px solid $gray-800;
397 border-radius: $border-radius-sm-sketchy;
398 }
399
400 // Containers ==================================================================
401
402 .card {
403 border-radius: 5px 5px 5px 5px/25px 25px 25px 5px;
404
405 &-outline {
406 &-primary,
407 &-success,
408 &-info,
409 &-warning,
410 &-danger {
411 border-width: 2px;
412 }
413 }
414
415 &-header {
416 border-bottom-width: 2px;
417 border-color: inherit;
418
419 &:first-child {
420 border-radius: 3px 3px 0 0/23px 23px 0 0;
421 }
422 }
423
424 &-footer {
425 border-top-width: 2px;
426 }
427 }
428
429 .jumbotron {
430 border: 2px solid $gray-800;
431 border-radius: $border-radius-lg-sketchy;
432 }
433
434 .toast {
435 border-radius: 10px 10px 15px 5px/5px 15px 5px 15px;
436
437 &-header {
438 font-family: $headings-font-family;
439 }
440 }
441
442 .modal {
443 &-content {
444 border-radius: 15px 5px 5px 25px/5px 25px 25px 5px;
445 }
446 }
447
448 .popover {
449 padding: 0;
450 border-radius: 45px 85px 15px 25px/15px 10px 35px 555px;
451
452 &-title {
453 border-bottom: 2px solid $gray-800;
454 }
455
456 &.popover-left::before,
457 &.bs-tether-element-attached-right::before {
458 right: -13px;
459 }
460
461 &.popover-top::before,
462 &.bs-tether-element-attached-bottom::before {
463 bottom: -13px;
464 }
465
466 &.popover-bottom::before,
467 &.bs-tether-element-attached-top::before {
468 top: -13px;
469 }
470
471 &.popover-right::before,
472 &.bs-tether-element-attached-left::before {
473 left: -13px;
474 }
475 }
476
477 .tooltip {
478 &-inner {
479 border-radius: $border-radius-sm-sketchy;
480 }
481 }
482
483 pre {
484 border: 2px solid $gray-800;
485 border-radius: 15px 5px 5px 25px/5px 25px 25px 5px;
486 }
487
488 .close,
489 .close:hover,
490 .close:focus,
491 .close:active {
492 opacity: 1;
493
494 &::before {
495 position: absolute;
496 content: "X";
497 color: $gray-800;
498 }
499 }
500
501 .img {
502 &-thumbnail {
503 border-radius: $border-radius-sketchy;
504 }
505 }