bullframe.css 4.2.1 → 5.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 (144) hide show
  1. package/.browserslistrc +2 -3
  2. package/.editorconfig +15 -0
  3. package/.gitattributes +1 -0
  4. package/.htmlhintrc +12 -0
  5. package/.prettierignore +1 -0
  6. package/.stylelintignore +3 -0
  7. package/.stylelintrc.json +21 -5
  8. package/CHANGELOG.md +289 -301
  9. package/README.md +371 -327
  10. package/dist/css/bullframe-classless-dark-prefers.css +378 -267
  11. package/dist/css/bullframe-classless-dark-prefers.css.map +1 -0
  12. package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
  13. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  14. package/dist/css/bullframe-classless-dark.css +384 -251
  15. package/dist/css/bullframe-classless-dark.css.map +1 -0
  16. package/dist/css/bullframe-classless-dark.min.css +2 -3
  17. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  18. package/dist/css/bullframe-classless-system-default.css +378 -267
  19. package/dist/css/bullframe-classless-system-default.css.map +1 -0
  20. package/dist/css/bullframe-classless-system-default.min.css +2 -3
  21. package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
  22. package/dist/css/bullframe-classless.css +343 -227
  23. package/dist/css/bullframe-classless.css.map +1 -0
  24. package/dist/css/bullframe-classless.min.css +2 -2
  25. package/dist/css/bullframe-classless.min.css.map +1 -1
  26. package/dist/css/bullframe-dark-prefers.css +399 -462
  27. package/dist/css/bullframe-dark-prefers.css.map +1 -0
  28. package/dist/css/bullframe-dark-prefers.min.css +2 -2
  29. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  30. package/dist/css/bullframe-dark.css +401 -373
  31. package/dist/css/bullframe-dark.css.map +1 -0
  32. package/dist/css/bullframe-dark.min.css +2 -2
  33. package/dist/css/bullframe-dark.min.css.map +1 -1
  34. package/dist/css/bullframe-system-default.css +396 -389
  35. package/dist/css/bullframe-system-default.css.map +1 -0
  36. package/dist/css/bullframe-system-default.min.css +2 -2
  37. package/dist/css/bullframe-system-default.min.css.map +1 -1
  38. package/dist/css/bullframe-utilities.css +69 -109
  39. package/dist/css/bullframe-utilities.css.map +1 -0
  40. package/dist/css/bullframe-utilities.min.css +1 -1
  41. package/dist/css/bullframe-utilities.min.css.map +1 -1
  42. package/dist/css/bullframe.css +370 -348
  43. package/dist/css/bullframe.css.map +1 -0
  44. package/dist/css/bullframe.min.css +2 -1
  45. package/dist/css/bullframe.min.css.map +1 -1
  46. package/dist/docs/demo/css/style.css +131 -0
  47. package/{docs/test-page → dist/docs/demo}/index.html +166 -358
  48. package/dist/docs/github-readme/bf-logo-full-dark.png +0 -0
  49. package/package.json +26 -30
  50. package/prettier.config.js +26 -0
  51. package/src/docs/demo/css/style.css +131 -0
  52. package/src/docs/demo/icons/android-chrome-192x192.png +0 -0
  53. package/src/docs/demo/icons/android-chrome-384x384.png +0 -0
  54. package/src/docs/demo/icons/apple-touch-icon.png +0 -0
  55. package/src/docs/demo/icons/favicon-16x16.png +0 -0
  56. package/src/docs/demo/icons/favicon-32x32.png +0 -0
  57. package/src/docs/demo/icons/favicon.ico +0 -0
  58. package/src/docs/demo/icons/mstile-150x150.png +0 -0
  59. package/src/docs/demo/icons/safari-pinned-tab.svg +28 -0
  60. package/src/docs/demo/images/logo.png +0 -0
  61. package/src/docs/demo/images/placeholder-img-130x140.jpg +0 -0
  62. package/src/docs/demo/images/placeholder-img-16x16.jpg +0 -0
  63. package/src/docs/demo/images/placeholder-img-800x400.jpg +0 -0
  64. package/src/docs/demo/images/video-poster.png +0 -0
  65. package/src/docs/demo/index.html +1152 -0
  66. package/src/docs/github-readme/bf-logo-full-dark.png +0 -0
  67. package/src/docs/github-readme/bf-logo-full-light.png +0 -0
  68. package/src/scss/bullframe-classless-dark-prefers.scss +2 -5
  69. package/src/scss/bullframe-classless-dark.scss +2 -5
  70. package/src/scss/bullframe-classless-system-default.scss +2 -5
  71. package/src/scss/bullframe-classless.scss +49 -43
  72. package/src/scss/bullframe-dark-prefers.scss +2 -4
  73. package/src/scss/bullframe-dark.scss +2 -4
  74. package/src/scss/bullframe-system-default.scss +2 -4
  75. package/src/scss/bullframe-utilities.scss +21 -61
  76. package/src/scss/bullframe.scss +49 -121
  77. package/src/scss/custom/_author-styles.scss +5 -0
  78. package/src/scss/forms/_forms-normalization.scss +68 -58
  79. package/src/scss/forms/_forms-styling-radio-checkbox.scss +64 -66
  80. package/src/scss/forms/_forms-styling-range.scss +88 -74
  81. package/src/scss/forms/_forms-styling-select.scss +18 -16
  82. package/src/scss/forms/_forms-styling.scss +38 -26
  83. package/src/scss/miscellaneous/_misc-accessibility.scss +10 -16
  84. package/src/scss/miscellaneous/_misc-anchors.scss +15 -13
  85. package/src/scss/miscellaneous/_misc-embedded-content.scss +14 -21
  86. package/src/scss/miscellaneous/_misc-focus.scss +0 -21
  87. package/src/scss/miscellaneous/_misc-interactive.scss +48 -0
  88. package/src/scss/miscellaneous/_misc-lists.scss +9 -5
  89. package/src/scss/miscellaneous/_misc-scrolling.scss +5 -0
  90. package/src/scss/miscellaneous/_misc-shame.scss +6 -0
  91. package/src/scss/miscellaneous/_misc-tables.scss +17 -5
  92. package/src/scss/mixins/_mixin-dark-prefers.scss +414 -0
  93. package/src/scss/mixins/_mixin-dark.scss +396 -0
  94. package/src/scss/mixins/_mixin-grid-flex.scss +0 -3
  95. package/src/scss/mixins/_mixin-layout.scss +1 -1
  96. package/src/scss/mixins/_mixin-texts.scss +2 -3
  97. package/src/scss/typography/_typography-blockquotes.scss +10 -5
  98. package/src/scss/typography/_typography-headings.scss +9 -8
  99. package/src/scss/typography/_typography-html-body.scss +17 -14
  100. package/src/scss/typography/_typography-misc.scss +19 -22
  101. package/src/scss/typography/_typography-monospaced-elements.scss +21 -12
  102. package/src/scss/utilities/_utility-buttons.scss +20 -18
  103. package/src/scss/utilities/_utility-debugging.scss +2 -88
  104. package/src/scss/utilities/_utility-embeds.scss +1 -1
  105. package/src/scss/utilities/_utility-filters.scss +0 -3
  106. package/src/scss/utilities/_utility-form-states.scss +30 -21
  107. package/src/scss/utilities/_utility-global-dark-classless.scss +3 -157
  108. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
  109. package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
  110. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +11 -6
  111. package/src/scss/utilities/_utility-global-dark.scss +4 -213
  112. package/src/scss/utilities/_utility-global-system-default-classless.scss +3 -3
  113. package/src/scss/utilities/_utility-global-system-default.scss +3 -3
  114. package/src/scss/utilities/_utility-grid-system.scss +51 -115
  115. package/src/scss/utilities/_utility-layout.scss +7 -15
  116. package/src/scss/utilities/_utility-print.scss +5 -5
  117. package/src/scss/utilities/_utility-spacing.scss +42 -40
  118. package/src/scss/utilities/_utility-tables.scss +12 -18
  119. package/src/scss/utilities/_utility-texts.scss +48 -22
  120. package/src/scss/utilities/_utility-z-index.scss +1 -1
  121. package/src/scss/variables/_variables-breakpoints.scss +1 -0
  122. package/src/scss/variables/_variables-colors.scss +8 -5
  123. package/src/scss/variables/_variables-spacing.scss +3 -5
  124. package/src/scss/variables/_variables-texts.scss +5 -9
  125. package/vite.config.js +116 -0
  126. package/.nvmrc +0 -1
  127. package/LICENSE +0 -21
  128. package/gulpfile.js +0 -74
  129. package/netlify.toml +0 -3
  130. package/src/scss/miscellaneous/_misc-author-styles-in-css.scss +0 -76
  131. /package/{docs/test-page/assets → dist/docs/demo}/icons/android-chrome-192x192.png +0 -0
  132. /package/{docs/test-page/assets → dist/docs/demo}/icons/android-chrome-384x384.png +0 -0
  133. /package/{docs/test-page/assets → dist/docs/demo}/icons/apple-touch-icon.png +0 -0
  134. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon-16x16.png +0 -0
  135. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon-32x32.png +0 -0
  136. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon.ico +0 -0
  137. /package/{docs/test-page/assets → dist/docs/demo}/icons/mstile-150x150.png +0 -0
  138. /package/{docs/test-page/assets → dist/docs/demo}/icons/safari-pinned-tab.svg +0 -0
  139. /package/{docs/test-page/assets → dist/docs/demo}/images/logo.png +0 -0
  140. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-130x140.jpg +0 -0
  141. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-16x16.jpg +0 -0
  142. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-800x400.jpg +0 -0
  143. /package/{docs/test-page/assets → dist/docs/demo}/images/video-poster.png +0 -0
  144. /package/{docs/assets/images/branding/logo-full.png → dist/docs/github-readme/bf-logo-full-light.png} +0 -0
@@ -1,6 +1,5 @@
1
- /*! bullframe.css v4.2.1 | MIT License | https://github.com/marcop135/bullframe.css */
2
- /*! custom build: bullframe-classless-system-default */
3
- /*! custom build: bullframe-classless */
1
+ /*! Bullframe CSS v5.0.0 | MIT License | https://github.com/marcop135/bullframe.css */
2
+ @charset "UTF-8";
4
3
  *,
5
4
  *::before,
6
5
  *::after {
@@ -44,7 +43,6 @@ html {
44
43
 
45
44
  body {
46
45
  margin: 0;
47
- font-size: 16px;
48
46
  font-size: 1.6rem;
49
47
  line-height: 1.5;
50
48
  font-weight: 400;
@@ -62,12 +60,10 @@ h4,
62
60
  h5,
63
61
  h6 {
64
62
  margin-top: 0;
65
- font-weight: 700;
66
63
  font-weight: 600;
67
64
  font-family: inherit;
68
65
  color: inherit;
69
66
  line-height: 1.25;
70
- margin-bottom: 10px;
71
67
  margin-bottom: 1rem;
72
68
  }
73
69
 
@@ -98,7 +94,6 @@ h6 {
98
94
  }
99
95
 
100
96
  blockquote {
101
- margin: 0 0 20px 0;
102
97
  margin-bottom: 2rem;
103
98
  padding-left: 0;
104
99
  font-style: italic;
@@ -113,7 +108,7 @@ blockquote small {
113
108
  display: block;
114
109
  }
115
110
 
116
- blockquote small:before {
111
+ blockquote small::before {
117
112
  content: "— ";
118
113
  }
119
114
 
@@ -122,14 +117,14 @@ q {
122
117
  }
123
118
 
124
119
  pre {
125
- margin: 0 0 20px 0;
126
120
  margin: 0 0 2rem 0;
127
121
  display: block;
128
122
  overflow: auto;
129
123
  word-break: break-all;
130
124
  word-wrap: break-word;
131
125
  white-space: pre;
132
- hyphens: none;
126
+ -webkit-hyphens: none;
127
+ hyphens: none;
133
128
  -ms-overflow-style: auto;
134
129
  }
135
130
 
@@ -137,7 +132,7 @@ pre,
137
132
  code,
138
133
  kbd,
139
134
  samp {
140
- font-family: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
135
+ font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
141
136
  font-size: 0.875em;
142
137
  }
143
138
 
@@ -156,7 +151,6 @@ pre code {
156
151
  }
157
152
 
158
153
  p {
159
- margin: 0 0 20px 0;
160
154
  margin: 0 0 2rem 0;
161
155
  }
162
156
 
@@ -185,9 +179,9 @@ strong {
185
179
  font-weight: inherit;
186
180
  }
187
181
 
188
- /* stylelint-disable-next-line */
189
182
  b,
190
183
  strong {
184
+ /* stylelint-disable-next-line */
191
185
  font-weight: bolder;
192
186
  }
193
187
 
@@ -217,6 +211,10 @@ small {
217
211
  font-size: 80%;
218
212
  }
219
213
 
214
+ p:has(small) {
215
+ line-height: 1.25;
216
+ }
217
+
220
218
  hr {
221
219
  box-sizing: content-box;
222
220
  display: block;
@@ -224,24 +222,11 @@ hr {
224
222
  border-style: solid;
225
223
  border-width: 1px 0 0;
226
224
  color: inherit;
227
- margin: 20px 0;
228
225
  margin: 2rem 0;
229
226
  padding: 0;
230
227
  overflow: visible;
231
228
  }
232
229
 
233
- address {
234
- font-style: normal;
235
- margin-bottom: 10px;
236
- margin-bottom: 1rem;
237
- line-height: inherit;
238
- }
239
-
240
- summary {
241
- display: list-item;
242
- cursor: pointer;
243
- }
244
-
245
230
  a {
246
231
  color: #007bff;
247
232
  text-decoration: none;
@@ -252,20 +237,59 @@ a:hover, a:focus {
252
237
  color: #0056b3;
253
238
  }
254
239
 
255
- a:not([href]):not([tabindex]) {
240
+ a:not([href], [tabindex]) {
256
241
  color: inherit;
257
242
  text-decoration: none;
258
243
  }
259
244
 
260
- a:not([href]):not([tabindex]):hover,
261
- a:not([href]):not([tabindex]):focus,
262
- a:not([href]):not([class]),
263
- a:not([href]):not([class]):hover {
245
+ a:not([href], [class]),
246
+ a:not([href], [class]):hover {
264
247
  color: inherit;
265
248
  text-decoration: none;
266
249
  }
267
250
 
268
- a:not([href]):not([tabindex]):focus {
251
+ a:not([href], [tabindex]):focus {
252
+ outline: 0;
253
+ }
254
+
255
+ :focus:not(:focus-visible) {
256
+ outline: none;
257
+ }
258
+
259
+ [tabindex="-1"]:focus:not(:focus-visible) {
260
+ outline: 0 !important;
261
+ }
262
+
263
+ a:focus,
264
+ input:focus {
265
+ outline: 2px solid orange;
266
+ }
267
+
268
+ :focus-visible {
269
+ outline: 2px solid orange;
270
+ }
271
+
272
+ button:focus,
273
+ [type=button]:focus,
274
+ [type=reset]:focus,
275
+ [type=submit]:focus,
276
+ [type=email]:focus,
277
+ [type=number]:focus,
278
+ [type=password]:focus,
279
+ [type=tel]:focus,
280
+ [type=search]:focus,
281
+ [type=text]:focus,
282
+ [type=date]:focus,
283
+ [type=datetime-local]:focus,
284
+ [type=month]:focus,
285
+ [type=time]:focus,
286
+ [type=week]:focus,
287
+ [type=url]:focus,
288
+ [type=radio]:focus,
289
+ [type=checkbox]:focus,
290
+ input[list]:focus,
291
+ select:focus,
292
+ textarea:focus {
269
293
  outline: 0;
270
294
  }
271
295
 
@@ -273,7 +297,6 @@ menu,
273
297
  ol,
274
298
  ul,
275
299
  dl {
276
- margin: 0 0 20px 0;
277
300
  margin: 0 0 2rem 0;
278
301
  padding: 0;
279
302
  }
@@ -290,7 +313,6 @@ dd {
290
313
 
291
314
  ul,
292
315
  ol {
293
- margin-left: 20px;
294
316
  margin-left: 2rem;
295
317
  }
296
318
 
@@ -309,7 +331,7 @@ dd {
309
331
  margin-left: 0;
310
332
  }
311
333
 
312
- nav li:before {
334
+ nav li::before {
313
335
  content: "​";
314
336
  position: absolute;
315
337
  }
@@ -410,6 +432,128 @@ iframe {
410
432
  border-style: none;
411
433
  }
412
434
 
435
+ address {
436
+ font-style: normal;
437
+ margin-bottom: 10px;
438
+ margin-bottom: 1rem;
439
+ line-height: inherit;
440
+ }
441
+
442
+ details > summary:first-of-type {
443
+ display: list-item;
444
+ }
445
+
446
+ summary {
447
+ cursor: pointer;
448
+ font-weight: 700;
449
+ word-break: break-all;
450
+ }
451
+
452
+ dialog {
453
+ background-color: #fff;
454
+ color: #222;
455
+ border: none;
456
+ border-radius: 0.25rem;
457
+ padding: 20px;
458
+ padding: 2rem;
459
+ height: -moz-fit-content;
460
+ height: fit-content;
461
+ min-width: 25rem;
462
+ max-width: calc(100vw - 3rem);
463
+ }
464
+ @media (min-width: 768px) {
465
+ dialog {
466
+ max-width: 50rem;
467
+ }
468
+ }
469
+
470
+ dialog[open] {
471
+ display: block !important;
472
+ }
473
+
474
+ dialog::backdrop {
475
+ background: rgba(0, 0, 0, 0.4);
476
+ }
477
+
478
+ @media (prefers-reduced-motion: no-preference) {
479
+ :root {
480
+ scroll-behavior: smooth;
481
+ }
482
+ }
483
+ table {
484
+ caption-side: bottom;
485
+ max-width: 100%;
486
+ border-collapse: collapse;
487
+ border-color: currentcolor;
488
+ text-indent: 0;
489
+ }
490
+
491
+ thead,
492
+ tbody,
493
+ tfoot,
494
+ tr,
495
+ td,
496
+ th {
497
+ border-color: inherit;
498
+ border-style: solid;
499
+ border-width: 0;
500
+ }
501
+
502
+ thead th {
503
+ vertical-align: bottom;
504
+ }
505
+
506
+ th,
507
+ td {
508
+ vertical-align: top;
509
+ }
510
+
511
+ th {
512
+ text-align: inherit;
513
+ text-align: -webkit-match-parent;
514
+ font-weight: 700;
515
+ }
516
+
517
+ caption {
518
+ padding-top: 0.5rem;
519
+ padding-bottom: 0.5rem;
520
+ color: #999;
521
+ text-align: left;
522
+ caption-side: bottom;
523
+ line-height: 1.375;
524
+ font-size: 90%;
525
+ }
526
+
527
+ /* Accessibility
528
+ * ========================================================================== */
529
+ /**
530
+ * Change the cursor on busy elements in all browsers (opinionated).
531
+ */
532
+ :where([aria-busy=true i]) {
533
+ cursor: progress;
534
+ }
535
+
536
+ /*
537
+ * Change the cursor on disabled, not-editable, or otherwise
538
+ * inoperable elements in all browsers (opinionated).
539
+ */
540
+ :where([aria-disabled=true i], [disabled]) {
541
+ cursor: not-allowed;
542
+ }
543
+
544
+ /*
545
+ * Change the display on visually hidden accessible elements
546
+ * in all browsers (opinionated).
547
+ */
548
+ :where([aria-hidden=false i][hidden]) {
549
+ display: initial;
550
+ }
551
+
552
+ :where([aria-hidden=false i][hidden]:not(:focus)) {
553
+ clip: rect(0, 0, 0, 0);
554
+ position: absolute;
555
+ }
556
+
413
557
  html input,
414
558
  button,
415
559
  select,
@@ -518,8 +662,7 @@ label textarea {
518
662
  font-size: 110%;
519
663
  }
520
664
 
521
- [type=number]::-webkit-outer-spin-button,
522
- [type=number]::-webkit-inner-spin-button {
665
+ ::-webkit-inner-spin-button {
523
666
  height: auto;
524
667
  }
525
668
 
@@ -538,7 +681,6 @@ label textarea {
538
681
  }
539
682
 
540
683
  [type=search] {
541
- outline-offset: -2.5px;
542
684
  outline-offset: -0.25rem;
543
685
  }
544
686
 
@@ -555,7 +697,11 @@ select {
555
697
  word-wrap: normal;
556
698
  }
557
699
 
558
- [list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
700
+ [list]:not([type=date],
701
+ [type=datetime-local],
702
+ [type=month],
703
+ [type=week],
704
+ [type=time])::-webkit-calendar-picker-indicator {
559
705
  display: none !important;
560
706
  }
561
707
 
@@ -563,7 +709,6 @@ optgroup {
563
709
  font-family: inherit;
564
710
  font-size: inherit;
565
711
  font-style: inherit;
566
- font-weight: 700;
567
712
  font-weight: 600;
568
713
  }
569
714
 
@@ -588,18 +733,20 @@ html [type=button],
588
733
  input[list],
589
734
  textarea {
590
735
  -webkit-appearance: none;
736
+ appearance: none;
591
737
  }
592
738
 
593
- ::-webkit-file-upload-button {
594
- -webkit-appearance: button;
739
+ ::file-selector-button {
595
740
  font: inherit;
741
+ -webkit-appearance: auto;
742
+ -moz-appearance: auto;
743
+ appearance: auto;
596
744
  }
597
745
 
598
746
  button,
599
747
  input,
600
748
  select,
601
749
  textarea {
602
- border-radius: 2.5px;
603
750
  border-radius: 0.25rem;
604
751
  }
605
752
 
@@ -608,7 +755,6 @@ textarea {
608
755
  }
609
756
 
610
757
  [type=checkbox] {
611
- border-radius: 5px;
612
758
  border-radius: 0.5rem;
613
759
  }
614
760
 
@@ -618,7 +764,7 @@ textarea {
618
764
  background-color: #fff;
619
765
  }
620
766
 
621
- [type=range] {
767
+ [type=range i] {
622
768
  background-color: transparent;
623
769
  }
624
770
 
@@ -676,14 +822,10 @@ button:hover, button:active, button:focus,
676
822
  color: #222;
677
823
  }
678
824
 
679
- button,
680
- select,
681
- input[type=submit],
682
- input[type=button],
683
- [type=checkbox],
684
- [type=range],
685
- [type=radio],
686
- [role=button] {
825
+ button:not(:disabled),
826
+ [type=button]:not(:disabled),
827
+ [type=reset]:not(:disabled),
828
+ [type=submit]:not(:disabled) {
687
829
  cursor: pointer;
688
830
  }
689
831
 
@@ -696,6 +838,13 @@ textarea::placeholder {
696
838
  color: #666;
697
839
  }
698
840
 
841
+ /*
842
+ Use the modern Firefox focus style for all focusable elements.
843
+ */
844
+ :-moz-focusring {
845
+ outline: auto;
846
+ }
847
+
699
848
  :-moz-ui-invalid {
700
849
  box-shadow: none;
701
850
  }
@@ -716,7 +865,7 @@ input[list],
716
865
  select,
717
866
  textarea {
718
867
  background-color: #fff;
719
- border: 1px solid #999;
868
+ border: 1px solid/#999;
720
869
  padding: 5px 7.5px;
721
870
  padding: 0.5rem 0.75rem;
722
871
  }
@@ -795,32 +944,32 @@ button:active, button:focus,
795
944
 
796
945
  fieldset[disabled] button,
797
946
  fieldset[disabled] input,
798
- fieldset[disabled] input:after,
799
- fieldset[disabled] input:before,
947
+ fieldset[disabled] input::after,
948
+ fieldset[disabled] input::before,
800
949
  fieldset[disabled] input:checked,
801
950
  fieldset[disabled] select,
802
951
  fieldset[disabled] textarea,
803
952
  fieldset[disabled] label,
804
953
  button[disabled],
805
954
  input[disabled],
806
- input[disabled]:after,
807
- input[disabled]:before,
955
+ input[disabled]::after,
956
+ input[disabled]::before,
808
957
  input[disabled]:checked,
809
958
  select[disabled],
810
959
  textarea[disabled],
811
960
  label[disabled],
812
961
  button:disabled,
813
962
  input:disabled,
814
- input:disabled:after,
815
- input:disabled:before,
963
+ input:disabled::after,
964
+ input:disabled::before,
816
965
  input:disabled:checked,
817
966
  select:disabled,
818
967
  textarea:disabled,
819
968
  label:disabled,
820
969
  button[aria-disabled=true],
821
970
  input[aria-disabled=true],
822
- input[aria-disabled=true]:after,
823
- input[aria-disabled=true]:before,
971
+ input[aria-disabled=true]::after,
972
+ input[aria-disabled=true]::before,
824
973
  input[aria-disabled=true]:checked,
825
974
  select[aria-disabled=true],
826
975
  textarea[aria-disabled=true],
@@ -835,7 +984,7 @@ label[aria-disabled=true] {
835
984
  opacity: 0.5 !important;
836
985
  }
837
986
 
838
- select:not([size]):not([multiple]) {
987
+ select:not([size], [multiple]) {
839
988
  -webkit-appearance: none;
840
989
  -moz-appearance: none;
841
990
  appearance: none;
@@ -848,8 +997,8 @@ select::-ms-expand {
848
997
  display: none;
849
998
  }
850
999
 
851
- *[dir=rtl] select:not([size]):not([multiple]),
852
- select[dir=rtl]:not([size]):not([multiple]) {
1000
+ *[dir=rtl] select:not([size], [multiple]),
1001
+ select[dir=rtl]:not([size], [multiple]) {
853
1002
  background-position: left 0.85rem top 50%;
854
1003
  padding-right: 7.5px;
855
1004
  padding-right: 0.75rem;
@@ -857,200 +1006,150 @@ select[dir=rtl]:not([size]):not([multiple]) {
857
1006
  padding-left: 2rem;
858
1007
  }
859
1008
 
860
- @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
861
- [type=checkbox],
862
- [type=radio] {
863
- -webkit-appearance: none;
864
- -moz-appearance: none;
865
- appearance: none;
866
- height: 1.8rem;
867
- width: 1.8rem;
868
- vertical-align: top;
869
- position: relative;
870
- border: 1px solid #999;
871
- }
872
- [type=checkbox] + label,
873
- [type=radio] + label {
874
- line-height: 1.8rem;
875
- vertical-align: top;
876
- margin-left: 5px;
877
- margin-left: 0.5rem;
878
- }
879
- *[dir=rtl] [type=checkbox] + label, [type=checkbox][dir=rtl] + label,
880
- *[dir=rtl] [type=radio] + label,
881
- [type=radio][dir=rtl] + label {
882
- margin-left: 0;
883
- margin-right: 5px;
884
- margin-right: 0.5rem;
885
- }
886
- [type=checkbox]:after,
887
- [type=radio]:after {
888
- content: "";
889
- display: block;
890
- position: absolute;
891
- }
892
- [type=checkbox]:checked,
893
- [type=radio]:checked {
894
- background-color: #007bff;
895
- border-color: #000;
896
- }
897
- [type=radio]:after {
898
- width: 1.8rem;
899
- height: 1.8rem;
900
- left: -0.05rem;
901
- top: -0.05rem;
902
- border-radius: 50%;
903
- background: #fff;
904
- transform: scale(0.35);
905
- }
906
- [type=checkbox]:after {
907
- width: 0.6rem;
908
- height: 0.8rem;
909
- border: 2px solid #fff;
910
- border-top: 0;
911
- border-left: 0;
912
- left: 35%;
913
- top: 20%;
914
- transform: rotate(43deg);
915
- }
1009
+ [type=checkbox],
1010
+ [type=radio] {
1011
+ -webkit-appearance: none;
1012
+ -moz-appearance: none;
1013
+ appearance: none;
1014
+ height: 1.8rem;
1015
+ width: 1.8rem;
1016
+ vertical-align: top;
1017
+ position: relative;
1018
+ border: 1px solid/#999;
916
1019
  }
917
- @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
918
- [type=range] {
919
- -webkit-appearance: none;
920
- -moz-appearance: none;
921
- appearance: none;
922
- width: 100%;
923
- height: 1.4rem;
924
- }
925
- [type=range]::-webkit-slider-thumb {
926
- border: 0;
927
- -webkit-appearance: none;
928
- appearance: none;
929
- width: 1.5rem;
930
- height: 1.5rem;
931
- margin-top: -0.25rem;
932
- background-color: #007bff;
933
- border-radius: 1.5rem;
934
- -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
935
- transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
936
- }
937
- [type=range]::-webkit-slider-thumb:active {
938
- background-color: #007bff;
939
- }
940
- [type=range]::-moz-range-thumb {
941
- border: 0;
942
- -moz-appearance: none;
943
- appearance: none;
944
- width: 1.5rem;
945
- height: 1.5rem;
946
- background-color: #007bff;
947
- border-radius: 1.5rem;
948
- -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
949
- transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
950
- }
951
- [type=range]::-moz-range-thumb:active {
952
- background-color: #007bff;
953
- }
954
- [type=range]::-webkit-slider-runnable-track {
955
- color: transparent;
956
- border-color: transparent;
957
- width: 100%;
958
- height: 0.65rem;
959
- cursor: pointer;
960
- background-color: #e9e9e9;
961
- }
962
- [type=range]::-moz-range-track {
963
- color: transparent;
964
- border-color: transparent;
965
- width: 100%;
966
- height: 0.65rem;
967
- cursor: pointer;
968
- background-color: #e9e9e9;
969
- }
970
- [type=range]:focus {
971
- outline: none;
972
- }
973
- [type=range]:focus::-webkit-slider-thumb {
974
- box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
975
- }
976
- [type=range]:focus::-moz-slider-thumb {
977
- box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
978
- }
979
- [type=range]::-moz-focus-outer {
980
- border: 0;
981
- }
982
- [type=range]:focus::-moz-range-thumb {
983
- box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
984
- }
985
- [type=range]:disabled {
986
- pointer-events: none;
987
- }
988
- [type=range]:disabled::-webkit-slider-thumb {
989
- background-color: #ccc;
990
- }
991
- [type=range]:disabled::-moz-slider-thumb {
992
- background-color: #ccc;
993
- }
1020
+ [type=checkbox] + label,
1021
+ [type=radio] + label {
1022
+ line-height: 1.8rem;
1023
+ vertical-align: top;
1024
+ margin-left: 5px;
1025
+ margin-left: 0.5rem;
994
1026
  }
995
- table {
996
- max-width: 100%;
997
- border-collapse: collapse;
1027
+ *[dir=rtl] [type=checkbox] + label, [type=checkbox][dir=rtl] + label,
1028
+ *[dir=rtl] [type=radio] + label,
1029
+ [type=radio][dir=rtl] + label {
1030
+ margin-left: 0;
1031
+ margin-right: 5px;
1032
+ margin-right: 0.5rem;
1033
+ }
1034
+ [type=checkbox]::after,
1035
+ [type=radio]::after {
1036
+ content: "";
1037
+ display: block;
1038
+ position: absolute;
1039
+ }
1040
+ [type=checkbox]:checked,
1041
+ [type=radio]:checked {
1042
+ background-color: #007bff;
1043
+ border-color: #000;
998
1044
  }
999
1045
 
1000
- thead,
1001
- tbody,
1002
- tfoot,
1003
- tr,
1004
- td,
1005
- th {
1006
- border-color: inherit;
1007
- border-style: solid;
1008
- border-width: 0;
1046
+ [type=radio]::after {
1047
+ width: 1.8rem;
1048
+ height: 1.8rem;
1049
+ left: -0.05rem;
1050
+ top: -0.05rem;
1051
+ border-radius: 50%;
1052
+ background: #fff;
1053
+ transform: scale(0.35);
1009
1054
  }
1010
1055
 
1011
- thead th {
1012
- vertical-align: bottom;
1056
+ [type=checkbox]::after {
1057
+ width: 0.6rem;
1058
+ height: 0.8rem;
1059
+ border: 2px solid/#fff;
1060
+ border-top: 0;
1061
+ border-left: 0;
1062
+ left: 35%;
1063
+ top: 20%;
1064
+ transform: rotate(43deg);
1013
1065
  }
1014
1066
 
1015
- th,
1016
- td {
1017
- vertical-align: top;
1067
+ [type=range] {
1068
+ -webkit-appearance: none;
1069
+ -moz-appearance: none;
1070
+ appearance: none;
1071
+ width: 100%;
1072
+ height: 1.4rem;
1018
1073
  }
1019
1074
 
1020
- th {
1021
- text-align: inherit;
1022
- font-weight: 700;
1075
+ [type=range]::-webkit-slider-thumb {
1076
+ border: 0;
1077
+ -webkit-appearance: none;
1078
+ appearance: none;
1079
+ width: 1.5rem;
1080
+ height: 1.5rem;
1081
+ margin-top: -0.25rem;
1082
+ background-color: #007bff;
1083
+ border-radius: 1.5rem;
1084
+ -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
1085
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
1086
+ }
1087
+ [type=range]::-webkit-slider-thumb:active {
1088
+ background-color: #007bff;
1023
1089
  }
1024
1090
 
1025
- caption {
1026
- padding-top: 5px;
1027
- padding-top: 0.5rem;
1028
- padding-bottom: 5px;
1029
- padding-bottom: 0.5rem;
1030
- color: #999;
1031
- text-align: left;
1032
- caption-side: bottom;
1033
- line-height: 1.375;
1034
- font-size: 90%;
1091
+ [type=range]::-moz-range-thumb {
1092
+ border: 0;
1093
+ -moz-appearance: none;
1094
+ appearance: none;
1095
+ width: 1.5rem;
1096
+ height: 1.5rem;
1097
+ background-color: #007bff;
1098
+ border-radius: 1.5rem;
1099
+ -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
1100
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
1101
+ }
1102
+ [type=range]::-moz-range-thumb:active {
1103
+ background-color: #007bff;
1104
+ }
1105
+
1106
+ [type=range]::-webkit-slider-runnable-track {
1107
+ color: transparent;
1108
+ border-color: transparent;
1109
+ width: 100%;
1110
+ height: 0.65rem;
1111
+ cursor: pointer;
1112
+ background-color: #e9e9e9;
1113
+ }
1114
+
1115
+ [type=range]::-moz-range-track {
1116
+ color: transparent;
1117
+ border-color: transparent;
1118
+ width: 100%;
1119
+ height: 0.65rem;
1120
+ cursor: pointer;
1121
+ background-color: #e9e9e9;
1122
+ }
1123
+
1124
+ [type=range]:focus {
1125
+ outline: none;
1126
+ }
1127
+ [type=range]:focus::-webkit-slider-thumb {
1128
+ box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
1129
+ }
1130
+ [type=range]:focus::-moz-slider-thumb {
1131
+ box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
1132
+ }
1133
+
1134
+ [type=range]::-moz-focus-outer {
1135
+ border: 0;
1136
+ }
1137
+
1138
+ [type=range]:focus::-moz-range-thumb {
1139
+ box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
1140
+ }
1141
+
1142
+ [type=range]:disabled {
1143
+ pointer-events: none;
1144
+ }
1145
+ [type=range]:disabled::-webkit-slider-thumb {
1146
+ background-color: #ccc;
1147
+ }
1148
+ [type=range]:disabled::-moz-slider-thumb {
1149
+ background-color: #ccc;
1035
1150
  }
1036
1151
 
1037
1152
  @media (prefers-color-scheme: dark) {
1038
- html {
1039
- scrollbar-color: rgb(89.25, 89.25, 89.25) #111;
1040
- }
1041
- ::-webkit-scrollbar {
1042
- width: 1.5rem;
1043
- height: 1.5rem;
1044
- }
1045
- ::-webkit-scrollbar-track {
1046
- background-color: #111;
1047
- }
1048
- ::-webkit-scrollbar-thumb {
1049
- background-color: rgb(89.25, 89.25, 89.25);
1050
- }
1051
- ::-webkit-scrollbar-thumb:hover {
1052
- background-color: rgb(127.5, 127.5, 127.5);
1053
- }
1054
1153
  html {
1055
1154
  color: #f0f0f0;
1056
1155
  }
@@ -1067,7 +1166,7 @@ caption {
1067
1166
  background-color: #cccc00;
1068
1167
  }
1069
1168
  ins {
1070
- background-color: rgb(178.5, 178.5, 0);
1169
+ background-color: hsl(60, 100%, 125%);
1071
1170
  }
1072
1171
  [type=email],
1073
1172
  [type=number],
@@ -1084,7 +1183,7 @@ caption {
1084
1183
  [type=range],
1085
1184
  input[list],
1086
1185
  select,
1087
- select:not([size]):not([multiple]),
1186
+ select:not([size], [multiple]),
1088
1187
  textarea {
1089
1188
  background-color: #111;
1090
1189
  border-color: #000;
@@ -1119,8 +1218,8 @@ caption {
1119
1218
  input[list]:focus,
1120
1219
  select:active,
1121
1220
  select:focus,
1122
- select:not([size]):not([multiple]):active,
1123
- select:not([size]):not([multiple]):focus,
1221
+ select:not([size], [multiple]):active,
1222
+ select:not([size], [multiple]):focus,
1124
1223
  textarea:active,
1125
1224
  textarea:focus {
1126
1225
  background-color: #111;
@@ -1153,37 +1252,36 @@ caption {
1153
1252
  input[list]:focus,
1154
1253
  select:active,
1155
1254
  select:focus,
1156
- select:not([size]):not([multiple]):active,
1157
- select:not([size]):not([multiple]):focus,
1255
+ select:not([size], [multiple]):active,
1256
+ select:not([size], [multiple]):focus,
1158
1257
  textarea:active,
1159
1258
  textarea:focus {
1160
1259
  box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5);
1161
1260
  }
1162
- select:not([size]):not([multiple]) {
1261
+ select:not([size], [multiple]) {
1163
1262
  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");
1164
1263
  }
1264
+ /* stylelint-disable-next-line */
1165
1265
  }
1166
1266
  @media screen and (prefers-color-scheme: dark) and (min-width: 0\0 ) and (min-resolution: 0.001dpcm) {
1167
- select:not([size]):not([multiple]),
1168
- *[dir=rtl] select:not([size]):not([multiple]),
1169
- select[dir=rtl]:not([size]):not([multiple]) {
1267
+ select:not([size], [multiple]),
1268
+ *[dir=rtl] select:not([size], [multiple]),
1269
+ select[dir=rtl]:not([size], [multiple]) {
1170
1270
  background-image: none;
1171
1271
  }
1172
1272
  }
1173
1273
  @media (prefers-color-scheme: dark) {
1174
- @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
1175
- [type=range] {
1176
- background-color: transparent;
1177
- }
1178
- [type=range]:focus {
1179
- background-color: transparent;
1180
- }
1181
- [type=range]::-webkit-slider-runnable-track {
1182
- background-color: #111;
1183
- }
1184
- [type=range]::-moz-range-track {
1185
- background-color: #111;
1186
- }
1274
+ [type=range] {
1275
+ background-color: transparent;
1276
+ }
1277
+ [type=range]:focus {
1278
+ background-color: transparent;
1279
+ }
1280
+ [type=range]::-webkit-slider-runnable-track {
1281
+ background-color: #111;
1282
+ }
1283
+ [type=range]::-moz-range-track {
1284
+ background-color: #111;
1187
1285
  }
1188
1286
  input::-moz-placeholder, textarea::-moz-placeholder {
1189
1287
  color: #999;
@@ -1219,6 +1317,15 @@ caption {
1219
1317
  [type=submit]:focus {
1220
1318
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
1221
1319
  }
1320
+ button:active, button:focus,
1321
+ [type=button]:active,
1322
+ [type=button]:focus,
1323
+ [type=reset]:active,
1324
+ [type=reset]:focus,
1325
+ [type=submit]:active,
1326
+ [type=submit]:focus {
1327
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
1328
+ }
1222
1329
  a:focus,
1223
1330
  input:focus {
1224
1331
  outline-color: rgb(178.5, 115.5, 0);
@@ -1226,4 +1333,8 @@ caption {
1226
1333
  :focus-visible {
1227
1334
  outline-color: rgb(178.5, 115.5, 0);
1228
1335
  }
1336
+ dialog {
1337
+ color: #f0f0f0;
1338
+ background-color: rgb(36.125, 36.125, 36.125);
1339
+ }
1229
1340
  }