Skip to content

Commit aadb190

Browse files
committed
Fix sketchy
1 parent 591bae8 commit aadb190

1 file changed

Lines changed: 105 additions & 103 deletions

File tree

‎src/resources/formats/html/bootstrap/themes/sketchy.scss‎

Lines changed: 105 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $theme: "sketchy" !default;
66
// Color system
77
//
88

9-
$white: #fff !default;
9+
$white: #fff !default;
1010
$gray-100: #f8f9fa !default;
1111
$gray-200: #f7f7f9 !default;
1212
$gray-300: #dee2e6 !default;
@@ -16,153 +16,151 @@ $gray-600: #868e96 !default;
1616
$gray-700: #555 !default;
1717
$gray-800: #333 !default;
1818
$gray-900: #212529 !default;
19-
$black: #000 !default;
20-
21-
$blue: #007bff !default;
22-
$indigo: #6610f2 !default;
23-
$purple: #6f42c1 !default;
24-
$pink: #e83e8c !default;
25-
$red: #dc3545 !default;
26-
$orange: #fd7e14 !default;
27-
$yellow: #ffc107 !default;
28-
$green: #28a745 !default;
29-
$teal: #20c997 !default;
30-
$cyan: #17a2b8 !default;
31-
32-
$primary: $gray-800 !default;
33-
$secondary: $gray-700 !default;
34-
$success: $green !default;
35-
$info: $cyan !default;
36-
$warning: $yellow !default;
37-
$danger: $red !default;
38-
$light: $white !default;
39-
$dark: $gray-700 !default;
40-
41-
$min-contrast-ratio: 1.6 !default;
19+
$black: #000 !default;
20+
21+
$blue: #007bff !default;
22+
$indigo: #6610f2 !default;
23+
$purple: #6f42c1 !default;
24+
$pink: #e83e8c !default;
25+
$red: #dc3545 !default;
26+
$orange: #fd7e14 !default;
27+
$yellow: #ffc107 !default;
28+
$green: #28a745 !default;
29+
$teal: #20c997 !default;
30+
$cyan: #17a2b8 !default;
31+
32+
$primary: $gray-800 !default;
33+
$secondary: $gray-700 !default;
34+
$success: $green !default;
35+
$info: $cyan !default;
36+
$warning: $yellow !default;
37+
$danger: $red !default;
38+
$light: $white !default;
39+
$dark: $gray-700 !default;
40+
41+
$min-contrast-ratio: 1.6 !default;
4242

4343
// Links
4444

45-
$link-decoration: underline !default;
45+
$link-decoration: underline !default;
4646

4747
// Components
4848

49-
$border-width: 2px !default;
50-
$border-radius: 25px !default;
51-
$border-radius-lg: 35px !default;
52-
$border-radius-sm: 15px !default;
49+
$border-width: 2px !default;
50+
$border-radius: 25px !default;
51+
$border-radius-lg: 35px !default;
52+
$border-radius-sm: 15px !default;
5353

5454
// Fonts
5555

5656
// stylelint-disable-next-line value-keyword-case
57-
$font-family-sans-serif: Neucha, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
58-
$font-weight-base: 700 !default;
59-
$headings-font-family: "Cabin Sketch", cursive !default;
57+
$font-family-sans-serif: Neucha, -apple-system, system-ui, BlinkMacSystemFont,
58+
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
59+
$font-weight-base: 700 !default;
60+
$headings-font-family: "Cabin Sketch", cursive !default;
6061

61-
$blockquote-small-color: $gray-800 !default;
62+
$blockquote-small-color: $gray-800 !default;
6263

6364
// Tables
6465

65-
$table-hover-bg: $white !default;
66-
$table-border-width: 2px !default;
67-
$table-border-color: $gray-800 !default;
66+
$table-hover-bg: $white !default;
67+
$table-border-width: 2px !default;
68+
$table-border-color: $gray-800 !default;
6869

6970
// Forms
7071

71-
$input-border-color: $gray-800 !default;
72-
$input-focus-border-color: $input-border-color !default;
72+
$input-border-color: $gray-800 !default;
73+
$input-focus-border-color: $input-border-color !default;
7374

7475
// Dropdowns
7576

76-
$dropdown-border-color: $gray-800 !default;
77-
$dropdown-divider-bg: $gray-800 !default;
78-
$dropdown-link-hover-color: $white !default;
79-
$dropdown-link-hover-bg: $gray-800 !default;
77+
$dropdown-border-color: $gray-800 !default;
78+
$dropdown-divider-bg: $gray-800 !default;
79+
$dropdown-link-hover-color: $white !default;
80+
$dropdown-link-hover-bg: $gray-800 !default;
8081

8182
// Navs
8283

83-
$nav-tabs-border-color: $gray-800 !default;
84-
$nav-tabs-link-hover-border-color: $gray-800 !default;
85-
$nav-tabs-link-active-color: $gray-800 !default;
84+
$nav-tabs-border-color: $gray-800 !default;
85+
$nav-tabs-link-hover-border-color: $gray-800 !default;
86+
$nav-tabs-link-active-color: $gray-800 !default;
8687
$nav-tabs-link-active-border-color: $gray-800 !default;
8788

8889
// Navbar
8990

90-
$navbar-dark-color: $white !default;
91-
$navbar-dark-hover-color: $white !default;
92-
$navbar-dark-toggler-border-color: $white !default;
93-
$navbar-light-color: $gray-800 !default;
94-
$navbar-light-hover-color: $gray-800 !default;
95-
$navbar-light-active-color: $gray-800 !default;
91+
$navbar-dark-color: $white !default;
92+
$navbar-dark-hover-color: $white !default;
93+
$navbar-dark-toggler-border-color: $white !default;
94+
$navbar-light-color: $gray-800 !default;
95+
$navbar-light-hover-color: $gray-800 !default;
96+
$navbar-light-active-color: $gray-800 !default;
9697
$navbar-light-toggler-border-color: $gray-800 !default;
9798

9899
// Pagination
99100

100-
$pagination-border-color: $gray-800 !default;
101-
$pagination-hover-color: $white !default;
102-
$pagination-hover-bg: $gray-800 !default;
103-
$pagination-hover-border-color: $gray-800 !default;
104-
$pagination-disabled-color: $gray-400 !default;
105-
$pagination-disabled-border-color: $gray-800 !default;
101+
$pagination-border-color: $gray-800 !default;
102+
$pagination-hover-color: $white !default;
103+
$pagination-hover-bg: $gray-800 !default;
104+
$pagination-hover-border-color: $gray-800 !default;
105+
$pagination-disabled-color: $gray-400 !default;
106+
$pagination-disabled-border-color: $gray-800 !default;
106107

107108
// Cards
108109

109-
$card-border-width: 2px !default;
110-
$card-border-color: $gray-800 !default;
110+
$card-border-width: 2px !default;
111+
$card-border-color: $gray-800 !default;
111112

112113
// Popovers
113114

114-
$popover-border-color: $gray-800 !default;
115+
$popover-border-color: $gray-800 !default;
115116

116117
// Badges
117118

118-
$badge-padding-y: .5em !default;
119-
$badge-padding-x: 1.2em !default;
119+
$badge-padding-y: 0.5em !default;
120+
$badge-padding-x: 1.2em !default;
120121

121122
// Toasts
122123

123-
$toast-border-width: 2px !default;
124-
$toast-border-color: $gray-800 !default;
125-
$toast-header-color: $gray-800 !default;
126-
$toast-header-border-color: $toast-border-color !default;
124+
$toast-border-width: 2px !default;
125+
$toast-border-color: $gray-800 !default;
126+
$toast-header-color: $gray-800 !default;
127+
$toast-header-border-color: $toast-border-color !default;
127128

128129
// Modals
129130

130-
$modal-content-border-color: $gray-800 !default;
131-
$modal-header-border-color: $gray-800 !default;
131+
$modal-content-border-color: $gray-800 !default;
132+
$modal-header-border-color: $gray-800 !default;
132133

133134
// Progress bars
134135

135-
$progress-bg: $white !default;
136-
$progress-bar-bg: $gray-400 !default;
136+
$progress-bg: $white !default;
137+
$progress-bar-bg: $gray-400 !default;
137138

138139
// List group
139140

140-
$list-group-border-color: $gray-800 !default;
141-
$list-group-hover-bg: $gray-300 !default;
142-
$list-group-active-color: $white !default;
143-
$list-group-active-bg: $gray-800 !default;
144-
$list-group-action-color: $gray-800 !default;
141+
$list-group-border-color: $gray-800 !default;
142+
$list-group-hover-bg: $gray-300 !default;
143+
$list-group-active-color: $white !default;
144+
$list-group-active-bg: $gray-800 !default;
145+
$list-group-action-color: $gray-800 !default;
145146

146147
// Breadcrumbs
147148

148-
$breadcrumb-padding-y: .375rem !default;
149-
$breadcrumb-padding-x: .75rem !default;
150-
$breadcrumb-divider-color: $gray-800 !default;
151-
$breadcrumb-active-color: $gray-800 !default;
152-
$breadcrumb-border-radius: .25rem !default;
149+
$breadcrumb-padding-y: 0.375rem !default;
150+
$breadcrumb-padding-x: 0.75rem !default;
151+
$breadcrumb-divider-color: $gray-800 !default;
152+
$breadcrumb-active-color: $gray-800 !default;
153+
$breadcrumb-border-radius: 0.25rem !default;
153154

154155
// Close
155156

156-
$btn-close-color: inherit !default;
157-
$btn-close-opacity: 1 !default;
158-
$btn-close-hover-opacity: 1 !default;
159-
$btn-close-focus-shadow: none !default;
160-
161-
157+
$btn-close-color: inherit !default;
158+
$btn-close-opacity: 1 !default;
159+
$btn-close-hover-opacity: 1 !default;
160+
$btn-close-focus-shadow: none !default;
162161

163162
/*-- scss:rules --*/
164163

165-
166164
// Variables
167165

168166
$web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&display=swap" !default;
@@ -171,7 +169,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&dis
171169
}
172170

173171
// stylelint-disable scss/dollar-variable-default
174-
$border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
172+
$border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
175173
$border-radius-lg-sketchy: 55px 225px 15px 25px / 25px 25px 35px 355px;
176174
$border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
177175
// style-enable scss/dollar-variable-default
@@ -314,7 +312,6 @@ table {
314312
}
315313
}
316314

317-
318315
// Forms
319316

320317
input,
@@ -330,7 +327,9 @@ select.form-control {
330327
border-radius: $border-radius-lg-sketchy !important;
331328
}
332329

333-
[type="checkbox"], #{$shiny-check} input, #{$shiny-check-inline} input {
330+
[type="checkbox"],
331+
#{$shiny-check} input,
332+
#{$shiny-check-inline} input {
334333
position: relative;
335334
width: 0;
336335
height: 0;
@@ -344,7 +343,7 @@ select.form-control {
344343

345344
&::before {
346345
position: absolute;
347-
top: -.1em;
346+
top: -0.1em;
348347
left: 0;
349348
display: inline-block;
350349
width: 15px;
@@ -355,15 +354,15 @@ select.form-control {
355354
}
356355

357356
&:focus::before {
358-
box-shadow: 0 0 0 .25rem rgb(51, 51, 51 / 25%);
357+
box-shadow: 0 0 0 0.25rem rgb(51, 51, 51, 0.25);
359358
}
360359

361360
&:checked::after {
362361
position: absolute;
363362
top: 0;
364-
left: .1em;
363+
left: 0.1em;
365364
font-size: 1.5rem;
366-
line-height: .5;
365+
line-height: 0.5;
367366
color: $gray-800;
368367
content: "x";
369368
}
@@ -375,7 +374,9 @@ select.form-control {
375374
}
376375
}
377376

378-
[type="radio"], #{$shiny-radio} input, #{$shiny-radio-inline} input {
377+
[type="radio"],
378+
#{$shiny-radio} input,
379+
#{$shiny-radio-inline} input {
379380
position: relative;
380381
width: 0;
381382
height: 0;
@@ -389,7 +390,7 @@ select.form-control {
389390

390391
&::before {
391392
position: absolute;
392-
top: -.1em;
393+
top: -0.1em;
393394
left: 0;
394395
display: inline-block;
395396
width: 16px;
@@ -400,7 +401,7 @@ select.form-control {
400401
}
401402

402403
&:focus::before {
403-
box-shadow: 0 0 0 .25rem rgb(51, 51, 51 / 25%);
404+
box-shadow: 0 0 0 0.25rem rgb(51, 51, 51, 0.25);
404405
}
405406

406407
&:checked::before {
@@ -414,7 +415,10 @@ select.form-control {
414415
}
415416
}
416417

417-
#{$shiny-check}, #{$shiny-check-inline}, #{$shiny-radio}, #{$shiny-radio-inline} {
418+
#{$shiny-check},
419+
#{$shiny-check-inline},
420+
#{$shiny-radio},
421+
#{$shiny-radio-inline} {
418422
span {
419423
padding-left: 1rem;
420424
}
@@ -449,7 +453,7 @@ select.form-control {
449453
background-color: $white;
450454
border: 2px solid #333;
451455
border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
452-
transition: left .15s ease-in-out;
456+
transition: left 0.15s ease-in-out;
453457
}
454458

455459
&:checked::after {
@@ -460,7 +464,7 @@ select.form-control {
460464
}
461465

462466
.form-check-label {
463-
margin-left: .5em;
467+
margin-left: 0.5em;
464468
}
465469
}
466470

@@ -644,7 +648,7 @@ pre {
644648

645649
&::before {
646650
position: absolute;
647-
top: .8rem;
651+
top: 0.8rem;
648652
right: 1rem;
649653
content: "X";
650654
}
@@ -655,5 +659,3 @@ pre {
655659
border-radius: $border-radius-sketchy;
656660
}
657661
}
658-
659-

0 commit comments

Comments
 (0)