bullframe.css 5.1.0 → 6.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/CHANGELOG.md +63 -2
- package/LICENSE +1 -1
- package/README.md +81 -445
- package/dist/css/bullframe-classless-dark.css +1260 -892
- package/dist/css/bullframe-classless-dark.css.map +1 -1
- package/dist/css/bullframe-classless-dark.min.css +1 -3
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.css +1307 -908
- package/dist/css/bullframe-classless-system-default.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.min.css +1 -3
- package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +1083 -713
- package/dist/css/bullframe-classless.css.map +1 -1
- package/dist/css/bullframe-classless.min.css +1 -3
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +2166 -1541
- package/dist/css/bullframe-dark.css.map +1 -1
- package/dist/css/bullframe-dark.min.css +1 -3
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-system-default.css +2083 -1438
- package/dist/css/bullframe-system-default.css.map +1 -1
- package/dist/css/bullframe-system-default.min.css +1 -3
- package/dist/css/bullframe-system-default.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +846 -503
- package/dist/css/bullframe-utilities.css.map +1 -1
- package/dist/css/bullframe-utilities.min.css +1 -2
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +1963 -1328
- package/dist/css/bullframe.css.map +1 -1
- package/dist/css/bullframe.min.css +1 -3
- package/dist/css/bullframe.min.css.map +1 -1
- package/package.json +74 -28
- package/.browserslistrc +0 -3
- package/.editorconfig +0 -15
- package/.htmlhintrc +0 -12
- package/.prettierignore +0 -1
- package/.stylelintignore +0 -3
- package/.stylelintrc.json +0 -26
- package/dist/apple-touch-icon.png +0 -0
- package/dist/css/bullframe-classless-dark-prefers.css +0 -1280
- package/dist/css/bullframe-classless-dark-prefers.css.map +0 -1
- package/dist/css/bullframe-classless-dark-prefers.min.css +0 -3
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +0 -1
- package/dist/css/bullframe-dark-prefers.css +0 -2296
- package/dist/css/bullframe-dark-prefers.css.map +0 -1
- package/dist/css/bullframe-dark-prefers.min.css +0 -3
- package/dist/css/bullframe-dark-prefers.min.css.map +0 -1
- package/dist/docs/demo/index.html +0 -1154
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.css +0 -1
- package/dist/index.js.map +0 -1
- package/dist/placeholder-img-800x400.jpg +0 -0
- package/dist/video-poster.png +0 -0
- package/prettier.config.js +0 -26
- package/src/scss/bullframe-classless-dark-prefers.scss +0 -2
- package/src/scss/bullframe-classless-dark.scss +0 -2
- package/src/scss/bullframe-classless-system-default.scss +0 -2
- package/src/scss/bullframe-classless.scss +0 -49
- package/src/scss/bullframe-dark-prefers.scss +0 -2
- package/src/scss/bullframe-dark.scss +0 -2
- package/src/scss/bullframe-system-default.scss +0 -2
- package/src/scss/bullframe-utilities.scss +0 -21
- package/src/scss/bullframe.scss +0 -49
- package/src/scss/custom/_author-styles.scss +0 -5
- package/src/scss/forms/_forms-normalization.scss +0 -300
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +0 -81
- package/src/scss/forms/_forms-styling-range.scss +0 -106
- package/src/scss/forms/_forms-styling-select.scss +0 -58
- package/src/scss/forms/_forms-styling.scss +0 -118
- package/src/scss/miscellaneous/_misc-accessibility.scss +0 -36
- package/src/scss/miscellaneous/_misc-anchors.scss +0 -37
- package/src/scss/miscellaneous/_misc-embedded-content.scss +0 -117
- package/src/scss/miscellaneous/_misc-focus.scss +0 -80
- package/src/scss/miscellaneous/_misc-interactive.scss +0 -48
- package/src/scss/miscellaneous/_misc-layout.scss +0 -30
- package/src/scss/miscellaneous/_misc-lists.scss +0 -53
- package/src/scss/miscellaneous/_misc-scrolling.scss +0 -5
- package/src/scss/miscellaneous/_misc-shame.scss +0 -37
- package/src/scss/miscellaneous/_misc-tables.scss +0 -53
- package/src/scss/mixins/_mixin-dark-prefers.scss +0 -413
- package/src/scss/mixins/_mixin-dark.scss +0 -415
- package/src/scss/mixins/_mixin-grid-flex.scss +0 -80
- package/src/scss/mixins/_mixin-layout.scss +0 -42
- package/src/scss/mixins/_mixin-texts.scss +0 -37
- package/src/scss/typography/_typography-blockquotes.scss +0 -28
- package/src/scss/typography/_typography-headings.scss +0 -45
- package/src/scss/typography/_typography-html-body.scss +0 -75
- package/src/scss/typography/_typography-misc.scss +0 -90
- package/src/scss/typography/_typography-monospaced-elements.scss +0 -59
- package/src/scss/utilities/_utility-buttons.scss +0 -73
- package/src/scss/utilities/_utility-debugging.scss +0 -31
- package/src/scss/utilities/_utility-embeds.scss +0 -34
- package/src/scss/utilities/_utility-filters.scss +0 -21
- package/src/scss/utilities/_utility-form-states.scss +0 -89
- package/src/scss/utilities/_utility-global-dark-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-prefers.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-scrollbars.scss +0 -34
- package/src/scss/utilities/_utility-global-dark.scss +0 -4
- package/src/scss/utilities/_utility-global-system-default-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-system-default.scss +0 -3
- package/src/scss/utilities/_utility-grid-system.scss +0 -140
- package/src/scss/utilities/_utility-layout.scss +0 -187
- package/src/scss/utilities/_utility-lists.scss +0 -17
- package/src/scss/utilities/_utility-print.scss +0 -101
- package/src/scss/utilities/_utility-reduced-motion.scss +0 -29
- package/src/scss/utilities/_utility-spacing.scss +0 -148
- package/src/scss/utilities/_utility-tables.scss +0 -34
- package/src/scss/utilities/_utility-texts.scss +0 -225
- package/src/scss/utilities/_utility-z-index.scss +0 -83
- package/src/scss/variables/_variables-breakpoints.scss +0 -6
- package/src/scss/variables/_variables-colors.scss +0 -34
- package/src/scss/variables/_variables-spacing.scss +0 -24
- package/src/scss/variables/_variables-texts.scss +0 -8
- package/vite.config.js +0 -148
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
@use "../variables/variables-colors" as bf-v-color;
|
|
2
|
-
@use "../variables/variables-texts" as bf-v-text;
|
|
3
|
-
@use "../variables/variables-spacing" as bf-v-space;
|
|
4
|
-
@use "../variables/variables-breakpoints" as bf-v-bp;
|
|
5
|
-
@use "../utilities/utility-global-dark-scrollbars" as bfUtilGlobalDarkScrollbars;
|
|
6
|
-
@use "sass:color";
|
|
7
|
-
|
|
8
|
-
@mixin bf-global-dark {
|
|
9
|
-
@media (prefers-color-scheme: dark) {
|
|
10
|
-
// these are global styles tha that ovveride all the "light" styles
|
|
11
|
-
|
|
12
|
-
// the basics: background and texts
|
|
13
|
-
html {
|
|
14
|
-
color: bf-v-color.$bf-light;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
body {
|
|
18
|
-
background-color: color.adjust(
|
|
19
|
-
bf-v-color.$bf-dark-extra,
|
|
20
|
-
$lightness: 7.5%
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// anchors
|
|
25
|
-
a {
|
|
26
|
-
color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
|
|
27
|
-
|
|
28
|
-
&:hover,
|
|
29
|
-
&:focus {
|
|
30
|
-
color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
|
|
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
|
-
}
|
|
38
|
-
|
|
39
|
-
ins {
|
|
40
|
-
background-color: color.adjust(
|
|
41
|
-
bf-v-color.$bf-yellow-light,
|
|
42
|
-
$lightness: 45%
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
|
|
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 {
|
|
65
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
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
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
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
|
-
}
|
|
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
|
-
}
|
|
102
|
-
|
|
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
|
-
}
|
|
111
|
-
|
|
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
|
-
}
|
|
115
|
-
|
|
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]),
|
|
120
|
-
/* RTL*/
|
|
121
|
-
*[dir="rtl"] select:not([size], select[multiple]),
|
|
122
|
-
select[dir="rtl"]:not([size], select[multiple]) {
|
|
123
|
-
background-image: none;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// range
|
|
128
|
-
|
|
129
|
-
// override above declaration
|
|
130
|
-
[type="range"] {
|
|
131
|
-
background-color: transparent;
|
|
132
|
-
|
|
133
|
-
&:focus {
|
|
134
|
-
background-color: transparent;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
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
|
-
}
|
|
143
|
-
|
|
144
|
-
[type="range"]::-moz-range-track {
|
|
145
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
input::placeholder,
|
|
149
|
-
textarea::placeholder {
|
|
150
|
-
color: bf-v-color.$bf-gray;
|
|
151
|
-
}
|
|
152
|
-
|
|
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
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
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
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.bf-btn--primary.bf-disabled,
|
|
189
|
-
.bf-btn.bf-btn--primary {
|
|
190
|
-
background: bf-v-color.$bf-blue;
|
|
191
|
-
|
|
192
|
-
&:hover,
|
|
193
|
-
&:active,
|
|
194
|
-
&:focus {
|
|
195
|
-
background: color.adjust(bf-v-color.$bf-blue, $lightness: -5%);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&:active,
|
|
199
|
-
&:focus {
|
|
200
|
-
box-shadow: 0 0 0 3px rgb(0 86 179 / 75%);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// focus
|
|
205
|
-
a:focus,
|
|
206
|
-
input:focus {
|
|
207
|
-
outline-color: color.adjust(orange, $lightness: -15%);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
:focus-visible {
|
|
211
|
-
outline-color: color.adjust(orange, $lightness: -15%);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// tables
|
|
215
|
-
|
|
216
|
-
.bf-table th,
|
|
217
|
-
.bf-table td {
|
|
218
|
-
border-color: bf-v-color.$bf-gray-dark;
|
|
219
|
-
}
|
|
220
|
-
|
|
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
|
-
}
|
|
225
|
-
|
|
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
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
@mixin bf-global-dark-classless {
|
|
238
|
-
@media (prefers-color-scheme: dark) {
|
|
239
|
-
// these are global styles tha that ovveride all the "light" styles
|
|
240
|
-
|
|
241
|
-
// the basics: background and texts
|
|
242
|
-
html {
|
|
243
|
-
color: bf-v-color.$bf-light;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
body {
|
|
247
|
-
background-color: color.adjust(
|
|
248
|
-
bf-v-color.$bf-dark-extra,
|
|
249
|
-
$lightness: 7.5%
|
|
250
|
-
);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// anchors
|
|
254
|
-
a {
|
|
255
|
-
color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
|
|
256
|
-
|
|
257
|
-
&:hover,
|
|
258
|
-
&:focus {
|
|
259
|
-
color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
// typography elements that need tiny adjustments
|
|
264
|
-
mark {
|
|
265
|
-
background-color: color.adjust(bf-v-color.$bf-yellow, $lightness: -10%);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
ins {
|
|
269
|
-
background-color: color.adjust(
|
|
270
|
-
bf-v-color.$bf-yellow-light,
|
|
271
|
-
$lightness: 45%
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
|
|
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 {
|
|
294
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
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
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
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
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
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
|
-
}
|
|
330
|
-
|
|
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]),
|
|
335
|
-
/* RTL*/
|
|
336
|
-
*[dir="rtl"] select:not([size], select[multiple]),
|
|
337
|
-
select[dir="rtl"]:not([size], select[multiple]) {
|
|
338
|
-
background-image: none;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// range
|
|
343
|
-
|
|
344
|
-
// override above declaration
|
|
345
|
-
[type="range"] {
|
|
346
|
-
background-color: transparent;
|
|
347
|
-
|
|
348
|
-
&:focus {
|
|
349
|
-
background-color: transparent;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
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
|
-
}
|
|
358
|
-
|
|
359
|
-
[type="range"]::-moz-range-track {
|
|
360
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
input::placeholder,
|
|
364
|
-
textarea::placeholder {
|
|
365
|
-
color: bf-v-color.$bf-gray;
|
|
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
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
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
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
// focus
|
|
397
|
-
a:focus,
|
|
398
|
-
input:focus {
|
|
399
|
-
outline-color: color.adjust(orange, $lightness: -15%);
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
:focus-visible {
|
|
403
|
-
outline-color: color.adjust(orange, $lightness: -15%);
|
|
404
|
-
}
|
|
405
|
-
|
|
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
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@mixin flex-container {
|
|
2
|
-
display: flex !important;
|
|
3
|
-
flex-wrap: wrap !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@mixin flex-100 {
|
|
7
|
-
flex: 0 0 100% !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin flex-80 {
|
|
11
|
-
flex: 0 0 80% !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin flex-75 {
|
|
15
|
-
flex: 0 0 75% !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin flex-70 {
|
|
19
|
-
flex: 0 0 70% !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin flex-66 {
|
|
23
|
-
flex: 0 0 66.6666% !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin flex-65 {
|
|
27
|
-
flex: 0 0 65% !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@mixin flex-60 {
|
|
31
|
-
flex: 0 0 60% !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@mixin flex-55 {
|
|
35
|
-
flex: 0 0 55% !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin flex-50 {
|
|
39
|
-
flex: 0 0 50% !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@mixin flex-45 {
|
|
43
|
-
flex: 0 0 45% !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin flex-40 {
|
|
47
|
-
flex: 0 0 40% !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin flex-33 {
|
|
51
|
-
flex: 0 0 33.3333% !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin flex-30 {
|
|
55
|
-
flex: 0 0 30% !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@mixin flex-25 {
|
|
59
|
-
flex: 0 0 25% !important;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin flex-20 {
|
|
63
|
-
flex: 0 0 20% !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin flex-17 {
|
|
67
|
-
flex: 0 0 17% !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@mixin flex-16 {
|
|
71
|
-
flex: 0 0 16.6666% !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@mixin flex-15 {
|
|
75
|
-
flex: 0 0 15% !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@mixin flex-11 {
|
|
79
|
-
flex: 0 0 11% !important;
|
|
80
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
@mixin bf-hidden {
|
|
2
|
-
display: none !important;
|
|
3
|
-
visibility: hidden !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@mixin bf-sr-only {
|
|
7
|
-
position: absolute !important;
|
|
8
|
-
width: 1px !important;
|
|
9
|
-
height: 1px !important;
|
|
10
|
-
padding: 0 !important;
|
|
11
|
-
margin: -1px !important;
|
|
12
|
-
overflow: hidden !important;
|
|
13
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
14
|
-
white-space: nowrap !important;
|
|
15
|
-
border: 0 !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin bf-sr-only-focusable {
|
|
19
|
-
&:active,
|
|
20
|
-
&:focus {
|
|
21
|
-
@include bf-sr-only;
|
|
22
|
-
clip: auto !important;
|
|
23
|
-
height: auto !important;
|
|
24
|
-
margin: 0 !important;
|
|
25
|
-
overflow: visible !important;
|
|
26
|
-
position: static !important;
|
|
27
|
-
white-space: inherit !important;
|
|
28
|
-
width: auto !important;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin bf-clearfix {
|
|
33
|
-
&::before,
|
|
34
|
-
&::after {
|
|
35
|
-
content: ' ';
|
|
36
|
-
display: table !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&::after {
|
|
40
|
-
clear: both !important;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@mixin bf-text-hide {
|
|
2
|
-
/* stylelint-disable-next-line */
|
|
3
|
-
font: 0/0 a !important;
|
|
4
|
-
color: transparent !important;
|
|
5
|
-
text-shadow: none !important;
|
|
6
|
-
background-color: transparent !important;
|
|
7
|
-
border: 0 !important;
|
|
8
|
-
margin: 0 !important;
|
|
9
|
-
padding: 0 !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin bf-text-truncate {
|
|
13
|
-
max-width: 100% !important;
|
|
14
|
-
overflow: hidden !important;
|
|
15
|
-
text-overflow: ellipsis !important;
|
|
16
|
-
white-space: nowrap !important;
|
|
17
|
-
word-wrap: normal !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// truncate a multiline text via line-clamp
|
|
21
|
-
//
|
|
22
|
-
// demo https://codepen.io/devam-soni/pen/PoqaKWm
|
|
23
|
-
|
|
24
|
-
@mixin bf-text-truncate--multiline-2 {
|
|
25
|
-
overflow: hidden !important;
|
|
26
|
-
text-overflow: ellipsis !important;
|
|
27
|
-
display: -webkit-box !important;
|
|
28
|
-
-webkit-line-clamp: 2 !important;
|
|
29
|
-
line-clamp: 3 !important;
|
|
30
|
-
-webkit-box-orient: vertical !important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin bf-text-truncate--multiline-3 {
|
|
34
|
-
@include bf-text-truncate--multiline-2;
|
|
35
|
-
-webkit-line-clamp: 3 !important;
|
|
36
|
-
line-clamp: 3 !important;
|
|
37
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
blockquote {
|
|
8
|
-
margin-bottom: bf-v-space.$bf-spacing-xl-rem;
|
|
9
|
-
padding-left: 0;
|
|
10
|
-
font-style: italic;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
blockquote p {
|
|
14
|
-
margin-bottom: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
blockquote small {
|
|
18
|
-
color: bf-v-color.$bf-gray;
|
|
19
|
-
display: block;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
blockquote small::before {
|
|
23
|
-
content: '\2014 \00A0';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
q {
|
|
27
|
-
quotes: '\201C' '\201D' '\2018' '\2019';
|
|
28
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
h1,
|
|
8
|
-
h2,
|
|
9
|
-
h3,
|
|
10
|
-
h4,
|
|
11
|
-
h5,
|
|
12
|
-
h6 {
|
|
13
|
-
margin-top: 0; // fallback
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
font-family: inherit;
|
|
16
|
-
color: inherit;
|
|
17
|
-
line-height: 1.25;
|
|
18
|
-
margin-bottom: bf-v-space.$bf-spacing-lg-rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
h1 {
|
|
22
|
-
font-size: 36px;
|
|
23
|
-
font-size: 3.6rem;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
h2 {
|
|
27
|
-
font-size: 30px;
|
|
28
|
-
font-size: 3rem;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
h3 {
|
|
32
|
-
font-size: 24px;
|
|
33
|
-
font-size: 2.4rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
h4 {
|
|
37
|
-
font-size: 20px;
|
|
38
|
-
font-size: 2rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
h5,
|
|
42
|
-
h6 {
|
|
43
|
-
font-size: 16px;
|
|
44
|
-
font-size: 1.6rem;
|
|
45
|
-
}
|