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