bullframe.css 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.stylelintignore +1 -1
- package/CHANGELOG.md +242 -233
- package/LICENSE +21 -0
- package/README.md +18 -15
- package/dist/css/bullframe-classless-dark-prefers.css +145 -205
- package/dist/css/bullframe-classless-dark-prefers.css.map +1 -1
- package/dist/css/bullframe-classless-dark-prefers.min.css +1 -1
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-classless-dark.css +316 -391
- package/dist/css/bullframe-classless-dark.css.map +1 -1
- package/dist/css/bullframe-classless-dark.min.css +1 -1
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.css +145 -205
- package/dist/css/bullframe-classless-system-default.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.min.css +1 -1
- package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +133 -195
- package/dist/css/bullframe-classless.css.map +1 -1
- package/dist/css/bullframe-classless.min.css +1 -1
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark-prefers.css +145 -205
- package/dist/css/bullframe-dark-prefers.css.map +1 -1
- package/dist/css/bullframe-dark-prefers.min.css +1 -1
- package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +386 -466
- package/dist/css/bullframe-dark.css.map +1 -1
- package/dist/css/bullframe-dark.min.css +1 -1
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-system-default.css +142 -204
- package/dist/css/bullframe-system-default.css.map +1 -1
- package/dist/css/bullframe-system-default.min.css +1 -1
- package/dist/css/bullframe-system-default.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +4 -2
- package/dist/css/bullframe-utilities.css.map +1 -1
- package/dist/css/bullframe-utilities.min.css +1 -1
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +133 -195
- package/dist/css/bullframe.css.map +1 -1
- package/dist/css/bullframe.min.css +1 -1
- package/dist/css/bullframe.min.css.map +1 -1
- package/dist/docs/demo/index.html +15 -13
- package/dist/index.css +1 -0
- package/dist/index.js.map +1 -0
- package/package.json +4 -4
- package/src/scss/forms/_forms-normalization.scss +84 -100
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +11 -12
- package/src/scss/forms/_forms-styling-range.scss +19 -26
- package/src/scss/forms/_forms-styling-select.scss +9 -16
- package/src/scss/forms/_forms-styling.scss +81 -94
- package/src/scss/miscellaneous/_misc-focus.scss +29 -28
- package/src/scss/mixins/_mixin-dark-prefers.scss +14 -15
- package/src/scss/mixins/_mixin-dark.scss +330 -311
- package/vite.config.js +65 -33
- package/.gitattributes +0 -1
- package/dist/docs/demo/css/style.css +0 -131
- package/dist/docs/demo/icons/android-chrome-192x192.png +0 -0
- package/dist/docs/demo/icons/android-chrome-384x384.png +0 -0
- package/dist/docs/demo/icons/mstile-150x150.png +0 -0
- package/dist/docs/demo/icons/safari-pinned-tab.svg +0 -28
- package/dist/docs/demo/images/logo.png +0 -0
- package/dist/docs/demo/images/placeholder-img-130x140.jpg +0 -0
- package/dist/docs/demo/images/placeholder-img-16x16.jpg +0 -0
- package/dist/docs/github-readme/bf-logo-full-dark.png +0 -0
- package/dist/docs/github-readme/bf-logo-full-light.png +0 -0
- package/src/docs/demo/css/style.css +0 -131
- package/src/docs/demo/icons/android-chrome-192x192.png +0 -0
- package/src/docs/demo/icons/android-chrome-384x384.png +0 -0
- package/src/docs/demo/icons/apple-touch-icon.png +0 -0
- package/src/docs/demo/icons/favicon-16x16.png +0 -0
- package/src/docs/demo/icons/favicon-32x32.png +0 -0
- package/src/docs/demo/icons/favicon.ico +0 -0
- package/src/docs/demo/icons/mstile-150x150.png +0 -0
- package/src/docs/demo/icons/safari-pinned-tab.svg +0 -28
- package/src/docs/demo/images/logo.png +0 -0
- package/src/docs/demo/images/placeholder-img-130x140.jpg +0 -0
- package/src/docs/demo/images/placeholder-img-16x16.jpg +0 -0
- package/src/docs/demo/images/placeholder-img-800x400.jpg +0 -0
- package/src/docs/demo/images/video-poster.png +0 -0
- package/src/docs/demo/index.html +0 -1152
- package/src/docs/github-readme/bf-logo-full-dark.png +0 -0
- package/src/docs/github-readme/bf-logo-full-light.png +0 -0
- /package/dist/{docs/demo/icons/apple-touch-icon.png → apple-touch-icon.png} +0 -0
- /package/dist/{docs/demo/icons/favicon-16x16.png → favicon-16x16.png} +0 -0
- /package/dist/{docs/demo/icons/favicon-32x32.png → favicon-32x32.png} +0 -0
- /package/dist/{docs/demo/icons/favicon.ico → favicon.ico} +0 -0
- /package/dist/{docs/demo/images/placeholder-img-800x400.jpg → placeholder-img-800x400.jpg} +0 -0
- /package/dist/{docs/demo/images/video-poster.png → video-poster.png} +0 -0
|
@@ -6,391 +6,410 @@
|
|
|
6
6
|
@use "sass:color";
|
|
7
7
|
|
|
8
8
|
@mixin bf-global-dark {
|
|
9
|
-
|
|
9
|
+
@media (prefers-color-scheme: dark) {
|
|
10
|
+
// these are global styles tha that ovveride all the "light" styles
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
// the basics: background and texts
|
|
13
|
+
html {
|
|
14
|
+
color: bf-v-color.$bf-light;
|
|
15
|
+
}
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
body {
|
|
18
|
+
background-color: color.adjust(
|
|
19
|
+
bf-v-color.$bf-dark-extra,
|
|
20
|
+
$lightness: 7.5%
|
|
21
|
+
);
|
|
22
|
+
}
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
// anchors
|
|
25
|
+
a {
|
|
26
|
+
color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
&:hover,
|
|
29
|
+
&:focus {
|
|
30
|
+
color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
|
|
31
|
+
}
|
|
27
32
|
}
|
|
28
|
-
}
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
// typography elements that need tiny adjustments
|
|
35
|
+
mark {
|
|
36
|
+
background-color: color.adjust(bf-v-color.$bf-yellow, $lightness: -10%);
|
|
37
|
+
}
|
|
34
38
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
ins {
|
|
40
|
+
background-color: color.adjust(
|
|
41
|
+
bf-v-color.$bf-yellow-light,
|
|
42
|
+
$lightness: 45%
|
|
43
|
+
);
|
|
44
|
+
}
|
|
41
45
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
62
|
-
border-color: bf-v-color.$bf-black;
|
|
63
|
-
color: bf-v-color.$bf-gray-light;
|
|
64
|
-
|
|
65
|
-
&:active,
|
|
66
|
-
&:focus {
|
|
46
|
+
// forms
|
|
47
|
+
|
|
48
|
+
[type="email"],
|
|
49
|
+
[type="number"],
|
|
50
|
+
[type="password"],
|
|
51
|
+
[type="tel"],
|
|
52
|
+
[type="search"],
|
|
53
|
+
[type="text"],
|
|
54
|
+
[type="date"],
|
|
55
|
+
[type="datetime-local"],
|
|
56
|
+
[type="month"],
|
|
57
|
+
[type="week"],
|
|
58
|
+
[type="time"],
|
|
59
|
+
[type="url"],
|
|
60
|
+
[type="range"],
|
|
61
|
+
input[list],
|
|
62
|
+
select,
|
|
63
|
+
select:not([size], select[multiple]),
|
|
64
|
+
textarea {
|
|
67
65
|
background-color: bf-v-color.$bf-dark-extra;
|
|
68
|
-
border-color:
|
|
66
|
+
border-color: bf-v-color.$bf-black;
|
|
67
|
+
color: bf-v-color.$bf-gray-light;
|
|
68
|
+
|
|
69
|
+
&:active,
|
|
70
|
+
&:focus {
|
|
71
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
72
|
+
border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
|
|
73
|
+
}
|
|
69
74
|
}
|
|
70
|
-
}
|
|
71
75
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
76
|
+
[type="email"],
|
|
77
|
+
[type="number"],
|
|
78
|
+
[type="password"],
|
|
79
|
+
[type="tel"],
|
|
80
|
+
[type="search"],
|
|
81
|
+
[type="text"],
|
|
82
|
+
[type="date"],
|
|
83
|
+
[type="datetime-local"],
|
|
84
|
+
[type="month"],
|
|
85
|
+
[type="week"],
|
|
86
|
+
[type="time"],
|
|
87
|
+
[type="url"],
|
|
88
|
+
input[list],
|
|
89
|
+
select,
|
|
90
|
+
select:not([size], select[multiple]),
|
|
91
|
+
textarea {
|
|
92
|
+
&:active,
|
|
93
|
+
&:focus {
|
|
94
|
+
box-shadow: 0 0 0 3px rgb(3 102 214 / 50%);
|
|
95
|
+
}
|
|
91
96
|
}
|
|
92
|
-
}
|
|
93
97
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
+
.bf-focused {
|
|
99
|
+
border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
|
|
100
|
+
box-shadow: 0 0 0 3px rgb(3 102 214 / 50%) !important;
|
|
101
|
+
}
|
|
98
102
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
.bf-invalid,
|
|
104
|
+
.bf-invalid:focus {
|
|
105
|
+
color: color.adjust(bf-v-color.$bf-red, $lightness: 7.5%) !important;
|
|
106
|
+
border-color: color.adjust(
|
|
107
|
+
bf-v-color.$bf-red,
|
|
108
|
+
$lightness: 7.5%
|
|
109
|
+
) !important;
|
|
110
|
+
}
|
|
104
111
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
select:not([size], select[multiple]) {
|
|
113
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23f0f0f0' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
|
|
114
|
+
}
|
|
108
115
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
/* stylelint-disable-next-line */
|
|
117
|
+
@media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
|
|
118
|
+
// hide custom arrow
|
|
119
|
+
select:not([size], select[multiple]),
|
|
113
120
|
/* RTL*/
|
|
114
|
-
*[dir="rtl"] select:not([size], [multiple]),
|
|
115
|
-
select[dir="rtl"]:not([size], [multiple]) {
|
|
116
|
-
|
|
121
|
+
*[dir="rtl"] select:not([size], select[multiple]),
|
|
122
|
+
select[dir="rtl"]:not([size], select[multiple]) {
|
|
123
|
+
background-image: none;
|
|
124
|
+
}
|
|
117
125
|
}
|
|
118
|
-
}
|
|
119
126
|
|
|
120
|
-
|
|
127
|
+
// range
|
|
121
128
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
background-color: transparent;
|
|
125
|
-
|
|
126
|
-
&:focus {
|
|
129
|
+
// override above declaration
|
|
130
|
+
[type="range"] {
|
|
127
131
|
background-color: transparent;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// darker background
|
|
132
|
-
// the rulesets must be separated
|
|
133
|
-
[type="range"]::-webkit-slider-runnable-track {
|
|
134
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
135
|
-
}
|
|
136
132
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
&:focus {
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
140
137
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
138
|
+
// darker background
|
|
139
|
+
// the rulesets must be separated
|
|
140
|
+
[type="range"]::-webkit-slider-runnable-track {
|
|
141
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
142
|
+
}
|
|
145
143
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
[type="submit"],
|
|
150
|
-
.bf-btn,
|
|
151
|
-
button.bf-disabled,
|
|
152
|
-
[type="button"].bf-disabled,
|
|
153
|
-
[type="reset"].bf-disabled,
|
|
154
|
-
[type="submit"].bf-disabled,
|
|
155
|
-
.bf-btn.bf-disabled {
|
|
156
|
-
background: bf-v-color.$bf-gray-light;
|
|
144
|
+
[type="range"]::-moz-range-track {
|
|
145
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
146
|
+
}
|
|
157
147
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
|
|
148
|
+
input::placeholder,
|
|
149
|
+
textarea::placeholder {
|
|
150
|
+
color: bf-v-color.$bf-gray;
|
|
162
151
|
}
|
|
163
152
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
153
|
+
button,
|
|
154
|
+
[type="button"],
|
|
155
|
+
[type="reset"],
|
|
156
|
+
[type="submit"],
|
|
157
|
+
.bf-btn,
|
|
158
|
+
button.bf-disabled,
|
|
159
|
+
[type="button"].bf-disabled,
|
|
160
|
+
[type="reset"].bf-disabled,
|
|
161
|
+
[type="submit"].bf-disabled,
|
|
162
|
+
.bf-btn.bf-disabled {
|
|
163
|
+
background: bf-v-color.$bf-gray-light;
|
|
164
|
+
|
|
165
|
+
&:hover,
|
|
166
|
+
&:active,
|
|
167
|
+
&:focus {
|
|
168
|
+
background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:active,
|
|
172
|
+
&:focus {
|
|
173
|
+
box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
|
|
174
|
+
}
|
|
167
175
|
}
|
|
168
|
-
}
|
|
169
176
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
button,
|
|
178
|
+
[type="button"],
|
|
179
|
+
[type="reset"],
|
|
180
|
+
[type="submit"],
|
|
181
|
+
.bf-btn {
|
|
182
|
+
&:active,
|
|
183
|
+
&:focus {
|
|
184
|
+
box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
|
|
185
|
+
}
|
|
178
186
|
}
|
|
179
|
-
}
|
|
180
187
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
.bf-btn--primary.bf-disabled,
|
|
189
|
+
.bf-btn.bf-btn--primary {
|
|
190
|
+
background: bf-v-color.$bf-blue;
|
|
184
191
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
&:hover,
|
|
193
|
+
&:active,
|
|
194
|
+
&:focus {
|
|
195
|
+
background: color.adjust(bf-v-color.$bf-blue, $lightness: -5%);
|
|
196
|
+
}
|
|
190
197
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
198
|
+
&:active,
|
|
199
|
+
&:focus {
|
|
200
|
+
box-shadow: 0 0 0 3px rgb(0 86 179 / 75%);
|
|
201
|
+
}
|
|
194
202
|
}
|
|
195
|
-
}
|
|
196
203
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
204
|
+
// focus
|
|
205
|
+
a:focus,
|
|
206
|
+
input:focus {
|
|
207
|
+
outline-color: color.adjust(orange, $lightness: -15%);
|
|
208
|
+
}
|
|
202
209
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
210
|
+
:focus-visible {
|
|
211
|
+
outline-color: color.adjust(orange, $lightness: -15%);
|
|
212
|
+
}
|
|
206
213
|
|
|
207
|
-
|
|
214
|
+
// tables
|
|
208
215
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
216
|
+
.bf-table th,
|
|
217
|
+
.bf-table td {
|
|
218
|
+
border-color: bf-v-color.$bf-gray-dark;
|
|
219
|
+
}
|
|
213
220
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
221
|
+
.bf-table--zebra tbody tr:nth-child(odd),
|
|
222
|
+
.bf-table-responsive--zebra tbody tr:nth-child(odd) {
|
|
223
|
+
background-color: bf-v-color.$bf-gray-dark-extra;
|
|
224
|
+
}
|
|
218
225
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
226
|
+
dialog {
|
|
227
|
+
color: bf-v-color.$bf-light;
|
|
228
|
+
// match body background color
|
|
229
|
+
background-color: color.adjust(
|
|
230
|
+
bf-v-color.$bf-dark-extra,
|
|
231
|
+
$lightness: 7.5%
|
|
232
|
+
);
|
|
233
|
+
}
|
|
223
234
|
}
|
|
224
235
|
}
|
|
225
236
|
|
|
226
237
|
@mixin bf-global-dark-classless {
|
|
227
|
-
|
|
238
|
+
@media (prefers-color-scheme: dark) {
|
|
239
|
+
// these are global styles tha that ovveride all the "light" styles
|
|
228
240
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
241
|
+
// the basics: background and texts
|
|
242
|
+
html {
|
|
243
|
+
color: bf-v-color.$bf-light;
|
|
244
|
+
}
|
|
233
245
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
246
|
+
body {
|
|
247
|
+
background-color: color.adjust(
|
|
248
|
+
bf-v-color.$bf-dark-extra,
|
|
249
|
+
$lightness: 7.5%
|
|
250
|
+
);
|
|
251
|
+
}
|
|
237
252
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
253
|
+
// anchors
|
|
254
|
+
a {
|
|
255
|
+
color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
|
|
241
256
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
257
|
+
&:hover,
|
|
258
|
+
&:focus {
|
|
259
|
+
color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
|
|
260
|
+
}
|
|
245
261
|
}
|
|
246
|
-
}
|
|
247
262
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
263
|
+
// typography elements that need tiny adjustments
|
|
264
|
+
mark {
|
|
265
|
+
background-color: color.adjust(bf-v-color.$bf-yellow, $lightness: -10%);
|
|
266
|
+
}
|
|
252
267
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
268
|
+
ins {
|
|
269
|
+
background-color: color.adjust(
|
|
270
|
+
bf-v-color.$bf-yellow-light,
|
|
271
|
+
$lightness: 45%
|
|
272
|
+
);
|
|
273
|
+
}
|
|
259
274
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
280
|
-
border-color: bf-v-color.$bf-black;
|
|
281
|
-
color: bf-v-color.$bf-gray-light;
|
|
282
|
-
|
|
283
|
-
&:active,
|
|
284
|
-
&:focus {
|
|
275
|
+
// forms
|
|
276
|
+
|
|
277
|
+
[type="email"],
|
|
278
|
+
[type="number"],
|
|
279
|
+
[type="password"],
|
|
280
|
+
[type="tel"],
|
|
281
|
+
[type="search"],
|
|
282
|
+
[type="text"],
|
|
283
|
+
[type="date"],
|
|
284
|
+
[type="datetime-local"],
|
|
285
|
+
[type="month"],
|
|
286
|
+
[type="week"],
|
|
287
|
+
[type="time"],
|
|
288
|
+
[type="url"],
|
|
289
|
+
[type="range"],
|
|
290
|
+
input[list],
|
|
291
|
+
select,
|
|
292
|
+
select:not([size], select[multiple]),
|
|
293
|
+
textarea {
|
|
285
294
|
background-color: bf-v-color.$bf-dark-extra;
|
|
286
|
-
border-color:
|
|
295
|
+
border-color: bf-v-color.$bf-black;
|
|
296
|
+
color: bf-v-color.$bf-gray-light;
|
|
297
|
+
|
|
298
|
+
&:active,
|
|
299
|
+
&:focus {
|
|
300
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
301
|
+
border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
|
|
302
|
+
}
|
|
287
303
|
}
|
|
288
|
-
}
|
|
289
304
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
305
|
+
[type="email"],
|
|
306
|
+
[type="number"],
|
|
307
|
+
[type="password"],
|
|
308
|
+
[type="tel"],
|
|
309
|
+
[type="search"],
|
|
310
|
+
[type="text"],
|
|
311
|
+
[type="date"],
|
|
312
|
+
[type="datetime-local"],
|
|
313
|
+
[type="month"],
|
|
314
|
+
[type="week"],
|
|
315
|
+
[type="time"],
|
|
316
|
+
[type="url"],
|
|
317
|
+
input[list],
|
|
318
|
+
select,
|
|
319
|
+
select:not([size], select[multiple]),
|
|
320
|
+
textarea {
|
|
321
|
+
&:active,
|
|
322
|
+
&:focus {
|
|
323
|
+
box-shadow: 0 0 0 3px rgb(3 102 214 / 50%);
|
|
324
|
+
}
|
|
309
325
|
}
|
|
310
|
-
}
|
|
311
326
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
327
|
+
select:not([size], select[multiple]) {
|
|
328
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23f0f0f0' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
|
|
329
|
+
}
|
|
315
330
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
331
|
+
/* stylelint-disable-next-line */
|
|
332
|
+
@media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
|
|
333
|
+
// hide custom arrow
|
|
334
|
+
select:not([size], select[multiple]),
|
|
320
335
|
/* RTL*/
|
|
321
|
-
*[dir="rtl"] select:not([size], [multiple]),
|
|
322
|
-
select[dir="rtl"]:not([size], [multiple]) {
|
|
323
|
-
|
|
336
|
+
*[dir="rtl"] select:not([size], select[multiple]),
|
|
337
|
+
select[dir="rtl"]:not([size], select[multiple]) {
|
|
338
|
+
background-image: none;
|
|
339
|
+
}
|
|
324
340
|
}
|
|
325
|
-
}
|
|
326
341
|
|
|
327
|
-
|
|
342
|
+
// range
|
|
328
343
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
background-color: transparent;
|
|
332
|
-
|
|
333
|
-
&:focus {
|
|
344
|
+
// override above declaration
|
|
345
|
+
[type="range"] {
|
|
334
346
|
background-color: transparent;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
// darker background
|
|
339
|
-
// the rulesets must be separated
|
|
340
|
-
[type="range"]::-webkit-slider-runnable-track {
|
|
341
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
342
|
-
}
|
|
343
347
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
348
|
+
&:focus {
|
|
349
|
+
background-color: transparent;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
347
352
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
353
|
+
// darker background
|
|
354
|
+
// the rulesets must be separated
|
|
355
|
+
[type="range"]::-webkit-slider-runnable-track {
|
|
356
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
357
|
+
}
|
|
352
358
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
[type="submit"] {
|
|
357
|
-
background: bf-v-color.$bf-gray-light;
|
|
359
|
+
[type="range"]::-moz-range-track {
|
|
360
|
+
background-color: bf-v-color.$bf-dark-extra;
|
|
361
|
+
}
|
|
358
362
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
|
|
363
|
+
input::placeholder,
|
|
364
|
+
textarea::placeholder {
|
|
365
|
+
color: bf-v-color.$bf-gray;
|
|
363
366
|
}
|
|
364
367
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
+
button,
|
|
369
|
+
[type="button"],
|
|
370
|
+
[type="reset"],
|
|
371
|
+
[type="submit"] {
|
|
372
|
+
background: bf-v-color.$bf-gray-light;
|
|
373
|
+
|
|
374
|
+
&:hover,
|
|
375
|
+
&:active,
|
|
376
|
+
&:focus {
|
|
377
|
+
background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
&:active,
|
|
381
|
+
&:focus {
|
|
382
|
+
box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
|
|
383
|
+
}
|
|
368
384
|
}
|
|
369
|
-
}
|
|
370
385
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
386
|
+
button,
|
|
387
|
+
[type="button"],
|
|
388
|
+
[type="reset"],
|
|
389
|
+
[type="submit"] {
|
|
390
|
+
&:active,
|
|
391
|
+
&:focus {
|
|
392
|
+
box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
|
|
393
|
+
}
|
|
378
394
|
}
|
|
379
|
-
}
|
|
380
395
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
396
|
+
// focus
|
|
397
|
+
a:focus,
|
|
398
|
+
input:focus {
|
|
399
|
+
outline-color: color.adjust(orange, $lightness: -15%);
|
|
400
|
+
}
|
|
386
401
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
402
|
+
:focus-visible {
|
|
403
|
+
outline-color: color.adjust(orange, $lightness: -15%);
|
|
404
|
+
}
|
|
390
405
|
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
406
|
+
dialog {
|
|
407
|
+
color: bf-v-color.$bf-light;
|
|
408
|
+
// match body background color
|
|
409
|
+
background-color: color.adjust(
|
|
410
|
+
bf-v-color.$bf-dark-extra,
|
|
411
|
+
$lightness: 7.5%
|
|
412
|
+
);
|
|
413
|
+
}
|
|
395
414
|
}
|
|
396
415
|
}
|