bullframe.css 3.8.0 → 4.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 (103) hide show
  1. package/.browserslistrc +5 -5
  2. package/.stylelintrc.json +10 -0
  3. package/CHANGELOG.md +28 -7
  4. package/LICENSE +20 -20
  5. package/README.md +25 -171
  6. package/dist/css/bullframe-classless-dark-prefers.css +357 -434
  7. package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
  8. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  9. package/dist/css/bullframe-classless-dark.css +328 -421
  10. package/dist/css/bullframe-classless-dark.min.css +2 -3
  11. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +237 -302
  13. package/dist/css/bullframe-classless.min.css +2 -2
  14. package/dist/css/bullframe-classless.min.css.map +1 -1
  15. package/dist/css/bullframe-dark-prefers.css +468 -642
  16. package/dist/css/bullframe-dark-prefers.min.css +2 -2
  17. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  18. package/dist/css/bullframe-dark.css +402 -602
  19. package/dist/css/bullframe-dark.min.css +2 -2
  20. package/dist/css/bullframe-dark.min.css.map +1 -1
  21. package/dist/css/bullframe-utilities.css +87 -125
  22. package/dist/css/bullframe-utilities.min.css +1 -1
  23. package/dist/css/bullframe-utilities.min.css.map +1 -1
  24. package/dist/css/bullframe.css +288 -464
  25. package/dist/css/bullframe.min.css +1 -1
  26. package/dist/css/bullframe.min.css.map +1 -1
  27. package/docs/test/css/style.css +130 -130
  28. package/docs/test/icons/safari-pinned-tab.svg +28 -28
  29. package/docs/test/js/vendor/html5shiv.js +335 -335
  30. package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
  31. package/gulpfile.js +5 -2
  32. package/index.html +1214 -1223
  33. package/package.json +14 -7
  34. package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
  35. package/src/scss/bullframe-classless-dark.scss +5 -5
  36. package/src/scss/bullframe-classless.scss +1 -9
  37. package/src/scss/bullframe-dark-prefers.scss +4 -4
  38. package/src/scss/bullframe-dark.scss +4 -4
  39. package/src/scss/bullframe-utilities.scss +18 -18
  40. package/src/scss/bullframe.scss +0 -7
  41. package/src/scss/forms/_forms-normalization.scss +4 -2
  42. package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
  43. package/src/scss/forms/_forms-styling-range.scss +99 -103
  44. package/src/scss/forms/_forms-styling-select.scss +63 -63
  45. package/src/scss/forms/_forms-styling.scss +119 -121
  46. package/src/scss/miscellaneous/_misc-focus.scss +0 -1
  47. package/src/scss/miscellaneous/_misc-layout.scss +1 -36
  48. package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
  49. package/src/scss/mixins/_mixin-layout.scss +42 -42
  50. package/src/scss/mixins/_mixin-texts.scss +38 -37
  51. package/src/scss/typography/_typography-blockquotes.scss +23 -23
  52. package/src/scss/typography/_typography-headings.scss +43 -43
  53. package/src/scss/typography/_typography-html-body.scss +72 -72
  54. package/src/scss/typography/_typography-misc.scss +3 -3
  55. package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
  56. package/src/scss/utilities/_utility-buttons.scss +71 -71
  57. package/src/scss/utilities/_utility-embeds.scss +34 -34
  58. package/src/scss/utilities/_utility-filters.scss +24 -24
  59. package/src/scss/utilities/_utility-form-states.scss +80 -80
  60. package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
  61. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
  62. package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
  63. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
  64. package/src/scss/utilities/_utility-global-dark.scss +213 -224
  65. package/src/scss/utilities/_utility-grid-system.scss +204 -204
  66. package/src/scss/utilities/_utility-layout.scss +195 -196
  67. package/src/scss/utilities/_utility-lists.scss +17 -17
  68. package/src/scss/utilities/_utility-print.scss +101 -111
  69. package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
  70. package/src/scss/utilities/_utility-tables.scss +40 -40
  71. package/src/scss/utilities/_utility-texts.scss +199 -199
  72. package/src/scss/utilities/_utility-z-index.scss +82 -82
  73. package/src/scss/variables/_variables-breakpoints.scss +5 -5
  74. package/src/scss/variables/_variables-colors.scss +31 -31
  75. package/src/scss/variables/_variables-spacing.scss +25 -25
  76. package/src/scss/variables/_variables-texts.scss +12 -12
  77. package/dist/css/bullframe-classless-dark-ie10+.css +0 -1330
  78. package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
  79. package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
  80. package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1310
  81. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
  82. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
  83. package/dist/css/bullframe-classless-ie10+.css +0 -1093
  84. package/dist/css/bullframe-classless-ie10+.min.css +0 -3
  85. package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
  86. package/dist/css/bullframe-dark-ie10+.css +0 -2578
  87. package/dist/css/bullframe-dark-ie10+.min.css +0 -3
  88. package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
  89. package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2550
  90. package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
  91. package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
  92. package/dist/css/bullframe-ie10+.css +0 -2259
  93. package/dist/css/bullframe-ie10+.min.css +0 -2
  94. package/dist/css/bullframe-ie10+.min.css.map +0 -1
  95. package/docs/images-readme/browserstack-logo.png +0 -0
  96. package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
  97. package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
  98. package/src/scss/bullframe-classless-ie10+.scss +0 -43
  99. package/src/scss/bullframe-dark-ie10+.scss +0 -4
  100. package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
  101. package/src/scss/bullframe-ie10+.scss +0 -121
  102. package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
  103. package/src/scss/forms/_forms-styling-select-ie-hacks.scss +0 -30
@@ -1,15 +1,5 @@
1
- /*! bullframe.css v3.8.0 | MIT License | https://github.com/marcop135/bullframe.css */
2
- /*! custom build: bullframe-classless-dark-prefers */
3
- /*! custom build: bullframe-classless */
4
- html,
5
- body {
6
- height: 100%;
7
- }
8
-
9
- body {
10
- min-height: 100%;
11
- }
12
-
1
+ /*! bullframe.css v4.0.0 | MIT License | https://github.com/marcop135/bullframe.css */
2
+ /*! custom build: bullframe-classless-dark-prefers */ /*! custom build: bullframe-classless */
13
3
  *,
14
4
  *::before,
15
5
  *::after {
@@ -36,26 +26,10 @@ template {
36
26
  display: none;
37
27
  }
38
28
 
39
- a,
40
- area,
41
- button,
42
- input,
43
- label,
44
- select,
45
- summary,
46
- textarea,
47
- [tabindex] {
48
- -ms-touch-action: manipulation;
49
- }
50
-
51
29
  [hidden] {
52
30
  display: none !important;
53
31
  }
54
32
 
55
- @-ms-viewport {
56
- width: device-width;
57
- }
58
-
59
33
  html {
60
34
  -webkit-text-size-adjust: 100%;
61
35
  -moz-text-size-adjust: 100%;
@@ -139,7 +113,7 @@ blockquote small {
139
113
  }
140
114
 
141
115
  blockquote small:before {
142
- content: '\2014 \00A0';
116
+ content: "— ";
143
117
  }
144
118
 
145
119
  q {
@@ -149,19 +123,14 @@ q {
149
123
  pre {
150
124
  margin: 0 0 20px 0;
151
125
  margin: 0 0 2rem 0;
152
- }
153
-
154
- pre {
155
126
  display: block;
156
127
  overflow: auto;
157
128
  word-break: break-all;
158
129
  word-wrap: break-word;
159
130
  white-space: pre;
160
131
  -webkit-hyphens: none;
161
- -ms-hyphens: none;
162
132
  hyphens: none;
163
133
  -ms-overflow-style: auto;
164
- display: block;
165
134
  }
166
135
 
167
136
  pre,
@@ -169,7 +138,7 @@ code,
169
138
  kbd,
170
139
  samp {
171
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";
172
- font-size: .875em;
141
+ font-size: 0.875em;
173
142
  }
174
143
 
175
144
  code {
@@ -197,7 +166,6 @@ abbr[data-original-title] {
197
166
  text-decoration: underline;
198
167
  -webkit-text-decoration: underline dotted;
199
168
  text-decoration: underline dotted;
200
- cursor: help;
201
169
  border-bottom: 0;
202
170
  }
203
171
 
@@ -217,6 +185,7 @@ strong {
217
185
  font-weight: inherit;
218
186
  }
219
187
 
188
+ /* stylelint-disable-next-line */
220
189
  b,
221
190
  strong {
222
191
  font-weight: bolder;
@@ -236,12 +205,12 @@ sup {
236
205
 
237
206
  sup {
238
207
  top: -8px;
239
- top: -.8rem;
208
+ top: -0.8rem;
240
209
  }
241
210
 
242
211
  sub {
243
212
  bottom: -4px;
244
- bottom: -.4rem;
213
+ bottom: -0.4rem;
245
214
  }
246
215
 
247
216
  small {
@@ -278,7 +247,6 @@ a {
278
247
  text-decoration: none;
279
248
  background-color: transparent;
280
249
  }
281
-
282
250
  a:hover, a:focus {
283
251
  text-decoration: underline;
284
252
  color: #0056b3;
@@ -342,7 +310,7 @@ dd {
342
310
  }
343
311
 
344
312
  nav li:before {
345
- content: '\200B';
313
+ content: "​";
346
314
  position: absolute;
347
315
  }
348
316
 
@@ -455,8 +423,8 @@ textarea {
455
423
 
456
424
  html input,
457
425
  button,
458
- [type='radio'],
459
- [type='checkbox'],
426
+ [type=radio],
427
+ [type=checkbox],
460
428
  select,
461
429
  optgroup,
462
430
  textarea {
@@ -472,12 +440,12 @@ legend {
472
440
 
473
441
  html label,
474
442
  button,
475
- [type='image'],
476
- [type='submit'],
477
- [type='reset'],
478
- html [type='button'],
479
- [type='radio'],
480
- [type='checkbox'] {
443
+ [type=image],
444
+ [type=submit],
445
+ [type=reset],
446
+ html [type=button],
447
+ [type=radio],
448
+ [type=checkbox] {
481
449
  width: auto;
482
450
  }
483
451
 
@@ -486,14 +454,14 @@ label,
486
454
  select,
487
455
  textarea,
488
456
  button,
489
- html [type='button'],
490
- [type='reset'],
491
- [type='submit'],
457
+ html [type=button],
458
+ [type=reset],
459
+ [type=submit],
492
460
  output {
493
461
  display: inline-block;
494
462
  }
495
463
 
496
- [type='file'] {
464
+ [type=file] {
497
465
  display: block;
498
466
  background-color: transparent;
499
467
  }
@@ -550,8 +518,8 @@ label textarea {
550
518
  font-size: 110%;
551
519
  }
552
520
 
553
- [type='number']::-webkit-outer-spin-button,
554
- [type='number']::-webkit-inner-spin-button {
521
+ [type=number]::-webkit-outer-spin-button,
522
+ [type=number]::-webkit-inner-spin-button {
555
523
  height: auto;
556
524
  }
557
525
 
@@ -569,7 +537,7 @@ label textarea {
569
537
  padding: 0;
570
538
  }
571
539
 
572
- [type='search'] {
540
+ [type=search] {
573
541
  outline-offset: -2.5px;
574
542
  outline-offset: -0.25rem;
575
543
  }
@@ -587,8 +555,8 @@ select {
587
555
  word-wrap: normal;
588
556
  }
589
557
 
590
- [list]::-webkit-calendar-picker-indicator {
591
- display: none;
558
+ [list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
559
+ display: none !important;
592
560
  }
593
561
 
594
562
  optgroup {
@@ -600,23 +568,23 @@ optgroup {
600
568
  }
601
569
 
602
570
  button,
603
- html [type="button"],
604
- [type="reset"],
605
- [type="submit"],
606
- [type="email"],
607
- [type="number"],
608
- [type="text"],
609
- [type="tel"],
610
- [type="date"],
611
- [type="datetime-local"],
612
- [type="month"],
613
- [type="week"],
614
- [type="url"],
615
- [type="image"],
616
- [type="password"],
617
- [type="search"],
618
- [type="search"]::-webkit-search-decoration,
619
- [type="search"]::-webkit-search-cancel-button,
571
+ html [type=button],
572
+ [type=reset],
573
+ [type=submit],
574
+ [type=email],
575
+ [type=number],
576
+ [type=text],
577
+ [type=tel],
578
+ [type=date],
579
+ [type=datetime-local],
580
+ [type=month],
581
+ [type=week],
582
+ [type=url],
583
+ [type=image],
584
+ [type=password],
585
+ [type=search],
586
+ [type=search]::-webkit-search-decoration,
587
+ [type=search]::-webkit-search-cancel-button,
620
588
  input[list],
621
589
  textarea {
622
590
  -webkit-appearance: none;
@@ -635,22 +603,22 @@ textarea {
635
603
  border-radius: 0.25rem;
636
604
  }
637
605
 
638
- [type='radio'] {
606
+ [type=radio] {
639
607
  border-radius: 50%;
640
608
  }
641
609
 
642
- [type='checkbox'] {
610
+ [type=checkbox] {
643
611
  border-radius: 5px;
644
612
  border-radius: 0.5rem;
645
613
  }
646
614
 
647
- [type='radio'],
648
- [type='checkbox'] {
615
+ [type=radio],
616
+ [type=checkbox] {
649
617
  padding: 0;
650
618
  background-color: #fff;
651
619
  }
652
620
 
653
- [type='range'] {
621
+ [type=range] {
654
622
  background-color: transparent;
655
623
  }
656
624
 
@@ -678,9 +646,9 @@ textarea {
678
646
  }
679
647
 
680
648
  button,
681
- [type='button'],
682
- [type='reset'],
683
- [type='submit'] {
649
+ [type=button],
650
+ [type=reset],
651
+ [type=submit] {
684
652
  line-height: normal;
685
653
  text-align: center;
686
654
  margin: 0;
@@ -690,34 +658,32 @@ button,
690
658
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
691
659
  -webkit-user-select: none;
692
660
  -moz-user-select: none;
693
- -ms-user-select: none;
694
661
  user-select: none;
695
662
  border: 0;
696
663
  background-image: none;
697
664
  }
698
-
699
665
  button:hover, button:active, button:focus,
700
- [type='button']:hover,
701
- [type='button']:active,
702
- [type='button']:focus,
703
- [type='reset']:hover,
704
- [type='reset']:active,
705
- [type='reset']:focus,
706
- [type='submit']:hover,
707
- [type='submit']:active,
708
- [type='submit']:focus {
666
+ [type=button]:hover,
667
+ [type=button]:active,
668
+ [type=button]:focus,
669
+ [type=reset]:hover,
670
+ [type=reset]:active,
671
+ [type=reset]:focus,
672
+ [type=submit]:hover,
673
+ [type=submit]:active,
674
+ [type=submit]:focus {
709
675
  text-decoration: none;
710
676
  color: #222;
711
677
  }
712
678
 
713
679
  button,
714
680
  select,
715
- input[type='submit'],
716
- input[type='button'],
717
- [type='checkbox'],
718
- [type='range'],
719
- [type='radio'],
720
- [role='button'] {
681
+ input[type=submit],
682
+ input[type=button],
683
+ [type=checkbox],
684
+ [type=range],
685
+ [type=radio],
686
+ [role=button] {
721
687
  cursor: pointer;
722
688
  }
723
689
 
@@ -729,10 +695,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
729
695
  color: #666;
730
696
  }
731
697
 
732
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
733
- color: #666;
734
- }
735
-
736
698
  input::placeholder,
737
699
  textarea::placeholder {
738
700
  color: #666;
@@ -742,19 +704,18 @@ textarea::placeholder {
742
704
  box-shadow: none;
743
705
  }
744
706
 
745
- [type='email'],
746
- [type='number'],
747
- [type='password'],
748
- [type='tel'],
749
- [type='search'],
750
- [type='text'],
751
- [type='date'],
752
- [type='datetime-local'],
753
- [type='month'],
754
- [type='time'],
755
- [type='week'],
756
- [type='time'],
757
- [type='url'],
707
+ [type=email],
708
+ [type=number],
709
+ [type=password],
710
+ [type=tel],
711
+ [type=search],
712
+ [type=text],
713
+ [type=date],
714
+ [type=datetime-local],
715
+ [type=month],
716
+ [type=week],
717
+ [type=time],
718
+ [type=url],
758
719
  input[list],
759
720
  select,
760
721
  textarea {
@@ -764,79 +725,75 @@ textarea {
764
725
  padding: 0.5rem 0.75rem;
765
726
  }
766
727
 
767
- [type='email']:active, [type='email']:focus,
768
- [type='number']:active,
769
- [type='number']:focus,
770
- [type='password']:active,
771
- [type='password']:focus,
772
- [type='tel']:active,
773
- [type='tel']:focus,
774
- [type='search']:active,
775
- [type='search']:focus,
776
- [type='text']:active,
777
- [type='text']:focus,
778
- [type='date']:active,
779
- [type='date']:focus,
780
- [type='datetime-local']:active,
781
- [type='datetime-local']:focus,
782
- [type='month']:active,
783
- [type='month']:focus,
784
- [type='time']:active,
785
- [type='time']:focus,
786
- [type='week']:active,
787
- [type='week']:focus,
788
- [type='time']:active,
789
- [type='time']:focus,
790
- [type='url']:active,
791
- [type='url']:focus,
728
+ [type=email]:active, [type=email]:focus,
729
+ [type=number]:active,
730
+ [type=number]:focus,
731
+ [type=password]:active,
732
+ [type=password]:focus,
733
+ [type=tel]:active,
734
+ [type=tel]:focus,
735
+ [type=search]:active,
736
+ [type=search]:focus,
737
+ [type=text]:active,
738
+ [type=text]:focus,
739
+ [type=date]:active,
740
+ [type=date]:focus,
741
+ [type=datetime-local]:active,
742
+ [type=datetime-local]:focus,
743
+ [type=month]:active,
744
+ [type=month]:focus,
745
+ [type=week]:active,
746
+ [type=week]:focus,
747
+ [type=time]:active,
748
+ [type=time]:focus,
749
+ [type=url]:active,
750
+ [type=url]:focus,
792
751
  input[list]:active,
793
752
  input[list]:focus,
794
753
  select:active,
795
754
  select:focus,
796
755
  textarea:active,
797
756
  textarea:focus,
798
- [type='radio']:active,
799
- [type='radio']:focus,
800
- [type='checkbox']:active,
801
- [type='checkbox']:focus {
802
- transition: border .2s, background-color .2s, box-shadow .2s;
757
+ [type=radio]:active,
758
+ [type=radio]:focus,
759
+ [type=checkbox]:active,
760
+ [type=checkbox]:focus {
761
+ transition: border 0.2s, background-color 0.2s, box-shadow 0.2s;
803
762
  border-color: #007bff;
804
763
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
805
764
  }
806
765
 
807
766
  button,
808
- [type='button'],
809
- [type='reset'],
810
- [type='submit'] {
767
+ [type=button],
768
+ [type=reset],
769
+ [type=submit] {
811
770
  color: #222;
812
- padding: 6.66667px 13.33333px;
813
- padding: 0.66667rem 1.33333rem;
771
+ padding: 6.6666666667px 13.3333333333px;
772
+ padding: 0.6666666667rem 1.3333333333rem;
814
773
  background: #ccc;
815
- transition: color .2s, background .2s, box-shadow .2s;
774
+ transition: color 0.2s, background 0.2s, box-shadow 0.2s;
816
775
  }
817
-
818
776
  button:hover, button:active, button:focus,
819
- [type='button']:hover,
820
- [type='button']:active,
821
- [type='button']:focus,
822
- [type='reset']:hover,
823
- [type='reset']:active,
824
- [type='reset']:focus,
825
- [type='submit']:hover,
826
- [type='submit']:active,
827
- [type='submit']:focus {
777
+ [type=button]:hover,
778
+ [type=button]:active,
779
+ [type=button]:focus,
780
+ [type=reset]:hover,
781
+ [type=reset]:active,
782
+ [type=reset]:focus,
783
+ [type=submit]:hover,
784
+ [type=submit]:active,
785
+ [type=submit]:focus {
828
786
  text-decoration: none;
829
787
  color: #222;
830
788
  background: #b3b3b3;
831
789
  }
832
-
833
790
  button:active, button:focus,
834
- [type='button']:active,
835
- [type='button']:focus,
836
- [type='reset']:active,
837
- [type='reset']:focus,
838
- [type='submit']:active,
839
- [type='submit']:focus {
791
+ [type=button]:active,
792
+ [type=button]:focus,
793
+ [type=reset]:active,
794
+ [type=reset]:focus,
795
+ [type=submit]:active,
796
+ [type=submit]:focus {
840
797
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
841
798
  }
842
799
 
@@ -864,112 +821,49 @@ input:disabled:checked,
864
821
  select:disabled,
865
822
  textarea:disabled,
866
823
  label:disabled,
867
- button[aria-disabled="true"],
868
- input[aria-disabled="true"],
869
- input[aria-disabled="true"]:after,
870
- input[aria-disabled="true"]:before,
871
- input[aria-disabled="true"]:checked,
872
- select[aria-disabled="true"],
873
- textarea[aria-disabled="true"],
874
- label[aria-disabled="true"] {
824
+ button[aria-disabled=true],
825
+ input[aria-disabled=true],
826
+ input[aria-disabled=true]:after,
827
+ input[aria-disabled=true]:before,
828
+ input[aria-disabled=true]:checked,
829
+ select[aria-disabled=true],
830
+ textarea[aria-disabled=true],
831
+ label[aria-disabled=true] {
875
832
  cursor: default !important;
876
833
  cursor: not-allowed !important;
877
834
  pointer-events: none !important;
878
835
  -webkit-user-select: none !important;
879
836
  -moz-user-select: none !important;
880
- -ms-user-select: none !important;
881
837
  user-select: none !important;
882
838
  box-shadow: none !important;
883
- opacity: .5 !important;
884
- }
885
-
886
- @media \0screen {
887
- [type='email'],
888
- [type='number'],
889
- [type='password'],
890
- [type='tel'],
891
- [type='search'],
892
- [type='text'],
893
- [type='date'],
894
- [type='datetime-local'],
895
- [type='month'],
896
- [type='time'],
897
- [type='week'],
898
- [type='time'],
899
- [type='url'],
900
- [type='range'],
901
- input[list] {
902
- padding-top: 0;
903
- padding-bottom: 0;
904
- height: 32px;
905
- line-height: 32px;
906
- }
907
- }
908
-
909
- @media screen and (min-width: 0\0) and (-webkit-min-device-pixel-ratio: 0.75), screen and (min-width: 0\0) and (min-resolution: 72dpi) {
910
- [type='email'],
911
- [type='number'],
912
- [type='password'],
913
- [type='tel'],
914
- [type='search'],
915
- [type='text'],
916
- [type='date'],
917
- [type='datetime-local'],
918
- [type='month'],
919
- [type='time'],
920
- [type='week'],
921
- [type='time'],
922
- [type='url'],
923
- [type='range'],
924
- input[list] {
925
- line-height: 1.2;
926
- }
839
+ opacity: 0.5 !important;
927
840
  }
928
841
 
929
842
  select:not([size]):not([multiple]) {
930
843
  -webkit-appearance: none;
931
844
  -moz-appearance: none;
932
845
  appearance: none;
846
+ background: #fff 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='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.85rem center/8px 10px;
847
+ padding-right: 20px;
848
+ padding-right: 2rem;
933
849
  }
934
850
 
935
851
  select::-ms-expand {
936
852
  display: none;
937
853
  }
938
854
 
939
- select:not([size]):not([multiple]) {
940
- background: #fff 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='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.85rem center/8px 10px;
941
- padding-right: 20px;
942
- padding-right: 2rem;
943
- }
944
-
945
- *[dir='rtl'] select:not([size]):not([multiple]),
946
- select[dir='rtl']:not([size]):not([multiple]) {
947
- background-position: left .85rem top 50%;
855
+ *[dir=rtl] select:not([size]):not([multiple]),
856
+ select[dir=rtl]:not([size]):not([multiple]) {
857
+ background-position: left 0.85rem top 50%;
948
858
  padding-right: 7.5px;
949
859
  padding-right: 0.75rem;
950
860
  padding-left: 20px;
951
861
  padding-left: 2rem;
952
862
  }
953
863
 
954
- @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
955
- select:not([size]):not([multiple]) {
956
- padding-right: 7.5px;
957
- }
958
- *[dir='rtl'] select:not([size]):not([multiple]),
959
- select[dir='rtl']:not([size]):not([multiple]) {
960
- padding-left: 7.5px;
961
- }
962
- select:not([size]):not([multiple]),
963
- *[dir="rtl"] select:not([size]):not([multiple]),
964
- select[dir="rtl"]:not([size]):not([multiple]) {
965
- background-image: none;
966
- background-repeat: repeat;
967
- }
968
- }
969
-
970
864
  @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
971
- [type='checkbox'],
972
- [type='radio'] {
865
+ [type=checkbox],
866
+ [type=radio] {
973
867
  -webkit-appearance: none;
974
868
  -moz-appearance: none;
975
869
  appearance: none;
@@ -979,45 +873,44 @@ select[dir='rtl']:not([size]):not([multiple]) {
979
873
  position: relative;
980
874
  border: 1px solid #999;
981
875
  }
982
- [type='checkbox'] + label,
983
- [type='radio'] + label {
876
+ [type=checkbox] + label,
877
+ [type=radio] + label {
984
878
  line-height: 1.8rem;
985
879
  vertical-align: top;
986
880
  margin-left: 5px;
987
881
  margin-left: 0.5rem;
988
882
  }
989
- *[dir='rtl'] [type='checkbox'] + label,
990
- [type='checkbox'][dir='rtl'] + label, *[dir='rtl']
991
- [type='radio'] + label,
992
- [type='radio'][dir='rtl'] + label {
883
+ *[dir=rtl] [type=checkbox] + label, [type=checkbox][dir=rtl] + label,
884
+ *[dir=rtl] [type=radio] + label,
885
+ [type=radio][dir=rtl] + label {
993
886
  margin-left: 0;
994
887
  margin-right: 5px;
995
888
  margin-right: 0.5rem;
996
889
  }
997
- [type='checkbox']:after,
998
- [type='radio']:after {
999
- content: '';
890
+ [type=checkbox]:after,
891
+ [type=radio]:after {
892
+ content: "";
1000
893
  display: block;
1001
894
  position: absolute;
1002
895
  }
1003
- [type='checkbox']:checked,
1004
- [type='radio']:checked {
896
+ [type=checkbox]:checked,
897
+ [type=radio]:checked {
1005
898
  background-color: #007bff;
1006
899
  border-color: #000;
1007
900
  }
1008
- [type='radio']:after {
901
+ [type=radio]:after {
1009
902
  width: 1.8rem;
1010
903
  height: 1.8rem;
1011
- left: -.05rem;
1012
- top: -.05rem;
904
+ left: -0.05rem;
905
+ top: -0.05rem;
1013
906
  border-radius: 50%;
1014
907
  background: #fff;
1015
908
  -webkit-transform: scale(0.35);
1016
909
  transform: scale(0.35);
1017
910
  }
1018
- [type='checkbox']:after {
1019
- width: .6rem;
1020
- height: .8rem;
911
+ [type=checkbox]:after {
912
+ width: 0.6rem;
913
+ height: 0.8rem;
1021
914
  border: 2px solid #fff;
1022
915
  border-top: 0;
1023
916
  border-left: 0;
@@ -1027,7 +920,84 @@ select[dir='rtl']:not([size]):not([multiple]) {
1027
920
  transform: rotate(43deg);
1028
921
  }
1029
922
  }
1030
-
923
+ @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
924
+ [type=range] {
925
+ -webkit-appearance: none;
926
+ -moz-appearance: none;
927
+ appearance: none;
928
+ width: 100%;
929
+ height: 1.4rem;
930
+ }
931
+ [type=range]::-webkit-slider-thumb {
932
+ border: 0;
933
+ -webkit-appearance: none;
934
+ appearance: none;
935
+ width: 1.5rem;
936
+ height: 1.5rem;
937
+ margin-top: -0.25rem;
938
+ background-color: #007bff;
939
+ border-radius: 1.5rem;
940
+ -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
941
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
942
+ }
943
+ [type=range]::-webkit-slider-thumb:active {
944
+ background-color: #007bff;
945
+ }
946
+ [type=range]::-moz-range-thumb {
947
+ border: 0;
948
+ -moz-appearance: none;
949
+ appearance: none;
950
+ width: 1.5rem;
951
+ height: 1.5rem;
952
+ background-color: #007bff;
953
+ border-radius: 1.5rem;
954
+ -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
955
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
956
+ }
957
+ [type=range]::-moz-range-thumb:active {
958
+ background-color: #007bff;
959
+ }
960
+ [type=range]::-webkit-slider-runnable-track {
961
+ color: transparent;
962
+ border-color: transparent;
963
+ width: 100%;
964
+ height: 0.65rem;
965
+ cursor: pointer;
966
+ background-color: #e9e9e9;
967
+ }
968
+ [type=range]::-moz-range-track {
969
+ color: transparent;
970
+ border-color: transparent;
971
+ width: 100%;
972
+ height: 0.65rem;
973
+ cursor: pointer;
974
+ background-color: #e9e9e9;
975
+ }
976
+ [type=range]:focus {
977
+ outline: none;
978
+ }
979
+ [type=range]:focus::-webkit-slider-thumb {
980
+ box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
981
+ }
982
+ [type=range]:focus::-moz-slider-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]::-moz-focus-outer {
986
+ border: 0;
987
+ }
988
+ [type=range]:focus::-moz-range-thumb {
989
+ box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
990
+ }
991
+ [type=range]:disabled {
992
+ pointer-events: none;
993
+ }
994
+ [type=range]:disabled::-webkit-slider-thumb {
995
+ background-color: #ccc;
996
+ }
997
+ [type=range]:disabled::-moz-slider-thumb {
998
+ background-color: #ccc;
999
+ }
1000
+ }
1031
1001
  table {
1032
1002
  max-width: 100%;
1033
1003
  border-collapse: collapse;
@@ -1070,42 +1040,6 @@ caption {
1070
1040
  font-size: 90%;
1071
1041
  }
1072
1042
 
1073
- /**
1074
- * Change the cursor on busy elements in all browsers (opinionated).
1075
- */
1076
- [aria-busy="true"] {
1077
- cursor: progress;
1078
- }
1079
-
1080
- /*
1081
- * Change the cursor on control elements in all browsers (opinionated).
1082
- */
1083
- [aria-controls] {
1084
- cursor: pointer;
1085
- }
1086
-
1087
- /*
1088
- * Change the cursor on disabled, not-editable, or otherwise
1089
- * inoperable elements in all browsers (opinionated).
1090
- */
1091
- [aria-disabled="true"],
1092
- [disabled] {
1093
- cursor: not-allowed;
1094
- }
1095
-
1096
- /*
1097
- * Change the display on visually hidden accessible elements
1098
- * in all browsers (opinionated).
1099
- */
1100
- [aria-hidden="false"][hidden] {
1101
- display: initial;
1102
- }
1103
-
1104
- [aria-hidden="false"][hidden]:not(:focus) {
1105
- clip: rect(0, 0, 0, 0);
1106
- position: absolute;
1107
- }
1108
-
1109
1043
  @media (prefers-color-scheme: dark) {
1110
1044
  html {
1111
1045
  scrollbar-color: #595959 #111;
@@ -1114,15 +1048,15 @@ caption {
1114
1048
  width: 1.5rem;
1115
1049
  height: 1.5rem;
1116
1050
  }
1051
+ ::-webkit-scrollbar-track {
1052
+ background-color: #111;
1053
+ }
1117
1054
  ::-webkit-scrollbar-thumb {
1118
1055
  background-color: #595959;
1119
1056
  }
1120
1057
  ::-webkit-scrollbar-thumb:hover {
1121
1058
  background-color: gray;
1122
1059
  }
1123
- ::-webkit-scrollbar-track {
1124
- background-color: #111;
1125
- }
1126
1060
  html {
1127
1061
  color: #f0f0f0;
1128
1062
  }
@@ -1141,183 +1075,172 @@ caption {
1141
1075
  ins {
1142
1076
  background-color: #b3b300;
1143
1077
  }
1144
- [type='email'],
1145
- [type='number'],
1146
- [type='password'],
1147
- [type='tel'],
1148
- [type='search'],
1149
- [type='text'],
1150
- [type='date'],
1151
- [type='datetime-local'],
1152
- [type='month'],
1153
- [type='time'],
1154
- [type='week'],
1155
- [type='time'],
1156
- [type='url'],
1157
- [type='range'],
1158
- input[list],
1159
- select,
1160
- select:not([size]):not([multiple]),
1161
- textarea {
1078
+ [type=email],
1079
+ [type=number],
1080
+ [type=password],
1081
+ [type=tel],
1082
+ [type=search],
1083
+ [type=text],
1084
+ [type=date],
1085
+ [type=datetime-local],
1086
+ [type=month],
1087
+ [type=week],
1088
+ [type=time],
1089
+ [type=url],
1090
+ [type=range],
1091
+ input[list],
1092
+ select,
1093
+ select:not([size]):not([multiple]),
1094
+ textarea {
1162
1095
  background-color: #111;
1163
1096
  border-color: #000;
1164
1097
  color: #ccc;
1165
1098
  }
1166
- [type='email']:active, [type='email']:focus,
1167
- [type='number']:active,
1168
- [type='number']:focus,
1169
- [type='password']:active,
1170
- [type='password']:focus,
1171
- [type='tel']:active,
1172
- [type='tel']:focus,
1173
- [type='search']:active,
1174
- [type='search']:focus,
1175
- [type='text']:active,
1176
- [type='text']:focus,
1177
- [type='date']:active,
1178
- [type='date']:focus,
1179
- [type='datetime-local']:active,
1180
- [type='datetime-local']:focus,
1181
- [type='month']:active,
1182
- [type='month']:focus,
1183
- [type='time']:active,
1184
- [type='time']:focus,
1185
- [type='week']:active,
1186
- [type='week']:focus,
1187
- [type='time']:active,
1188
- [type='time']:focus,
1189
- [type='url']:active,
1190
- [type='url']:focus,
1191
- [type='range']:active,
1192
- [type='range']:focus,
1193
- input[list]:active,
1194
- input[list]:focus,
1195
- select:active,
1196
- select:focus,
1197
- select:not([size]):not([multiple]):active,
1198
- select:not([size]):not([multiple]):focus,
1199
- textarea:active,
1200
- textarea:focus {
1099
+ [type=email]:active, [type=email]:focus,
1100
+ [type=number]:active,
1101
+ [type=number]:focus,
1102
+ [type=password]:active,
1103
+ [type=password]:focus,
1104
+ [type=tel]:active,
1105
+ [type=tel]:focus,
1106
+ [type=search]:active,
1107
+ [type=search]:focus,
1108
+ [type=text]:active,
1109
+ [type=text]:focus,
1110
+ [type=date]:active,
1111
+ [type=date]:focus,
1112
+ [type=datetime-local]:active,
1113
+ [type=datetime-local]:focus,
1114
+ [type=month]:active,
1115
+ [type=month]:focus,
1116
+ [type=week]:active,
1117
+ [type=week]:focus,
1118
+ [type=time]:active,
1119
+ [type=time]:focus,
1120
+ [type=url]:active,
1121
+ [type=url]:focus,
1122
+ [type=range]:active,
1123
+ [type=range]:focus,
1124
+ input[list]:active,
1125
+ input[list]:focus,
1126
+ select:active,
1127
+ select:focus,
1128
+ select:not([size]):not([multiple]):active,
1129
+ select:not([size]):not([multiple]):focus,
1130
+ textarea:active,
1131
+ textarea:focus {
1201
1132
  background-color: #111;
1202
1133
  border-color: #3395ff;
1203
1134
  }
1204
- [type='email']:active, [type='email']:focus,
1205
- [type='number']:active,
1206
- [type='number']:focus,
1207
- [type='password']:active,
1208
- [type='password']:focus,
1209
- [type='tel']:active,
1210
- [type='tel']:focus,
1211
- [type='search']:active,
1212
- [type='search']:focus,
1213
- [type='text']:active,
1214
- [type='text']:focus,
1215
- [type='date']:active,
1216
- [type='date']:focus,
1217
- [type='datetime-local']:active,
1218
- [type='datetime-local']:focus,
1219
- [type='month']:active,
1220
- [type='month']:focus,
1221
- [type='time']:active,
1222
- [type='time']:focus,
1223
- [type='week']:active,
1224
- [type='week']:focus,
1225
- [type='time']:active,
1226
- [type='time']:focus,
1227
- [type='url']:active,
1228
- [type='url']:focus,
1229
- input[list]:active,
1230
- input[list]:focus,
1231
- select:active,
1232
- select:focus,
1233
- select:not([size]):not([multiple]):active,
1234
- select:not([size]):not([multiple]):focus,
1235
- textarea:active,
1236
- textarea:focus {
1135
+ [type=email]:active, [type=email]:focus,
1136
+ [type=number]:active,
1137
+ [type=number]:focus,
1138
+ [type=password]:active,
1139
+ [type=password]:focus,
1140
+ [type=tel]:active,
1141
+ [type=tel]:focus,
1142
+ [type=search]:active,
1143
+ [type=search]:focus,
1144
+ [type=text]:active,
1145
+ [type=text]:focus,
1146
+ [type=date]:active,
1147
+ [type=date]:focus,
1148
+ [type=datetime-local]:active,
1149
+ [type=datetime-local]:focus,
1150
+ [type=month]:active,
1151
+ [type=month]:focus,
1152
+ [type=week]:active,
1153
+ [type=week]:focus,
1154
+ [type=time]:active,
1155
+ [type=time]:focus,
1156
+ [type=url]:active,
1157
+ [type=url]:focus,
1158
+ input[list]:active,
1159
+ input[list]:focus,
1160
+ select:active,
1161
+ select:focus,
1162
+ select:not([size]):not([multiple]):active,
1163
+ select:not([size]):not([multiple]):focus,
1164
+ textarea:active,
1165
+ textarea:focus {
1237
1166
  box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5);
1238
1167
  }
1239
1168
  select:not([size]):not([multiple]) {
1240
1169
  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");
1241
1170
  }
1242
1171
  }
1243
-
1244
- @media screen and (prefers-color-scheme: dark) and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
1172
+ @media screen and (prefers-color-scheme: dark) and (min-width: 0\0 ) and (-webkit-min-device-pixel-ratio: 0), screen and (prefers-color-scheme: dark) and (min-width: 0\0 ) and (min-resolution: 0.001dpcm) {
1245
1173
  select:not([size]):not([multiple]),
1246
- *[dir="rtl"] select:not([size]):not([multiple]),
1247
- select[dir="rtl"]:not([size]):not([multiple]) {
1174
+ *[dir=rtl] select:not([size]):not([multiple]),
1175
+ select[dir=rtl]:not([size]):not([multiple]) {
1248
1176
  background-image: none;
1249
1177
  }
1250
1178
  }
1251
-
1252
1179
  @media (prefers-color-scheme: dark) {
1253
1180
  @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
1254
- [type='range'] {
1181
+ [type=range] {
1255
1182
  background-color: transparent;
1256
1183
  }
1257
- [type='range']:focus {
1184
+ [type=range]:focus {
1258
1185
  background-color: transparent;
1259
1186
  }
1260
- [type='range']::-webkit-slider-runnable-track {
1187
+ [type=range]::-webkit-slider-runnable-track {
1261
1188
  background-color: #111;
1262
1189
  }
1263
- [type='range']::-moz-range-track {
1190
+ [type=range]::-moz-range-track {
1264
1191
  background-color: #111;
1265
1192
  }
1266
1193
  }
1194
+ }
1195
+ @media (prefers-color-scheme: dark) {
1267
1196
  input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
1268
1197
  color: #999;
1269
1198
  }
1270
1199
  input::-moz-placeholder, textarea::-moz-placeholder {
1271
1200
  color: #999;
1272
1201
  }
1273
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
1274
- color: #999;
1275
- }
1276
1202
  input::placeholder,
1277
- textarea::placeholder {
1203
+ textarea::placeholder {
1278
1204
  color: #999;
1279
1205
  }
1206
+ }
1207
+ @media (prefers-color-scheme: dark) {
1280
1208
  button,
1281
- [type='button'],
1282
- [type='reset'],
1283
- [type='submit'] {
1209
+ [type=button],
1210
+ [type=reset],
1211
+ [type=submit] {
1284
1212
  background: #ccc;
1285
1213
  }
1286
1214
  button:hover, button:active, button:focus,
1287
- [type='button']:hover,
1288
- [type='button']:active,
1289
- [type='button']:focus,
1290
- [type='reset']:hover,
1291
- [type='reset']:active,
1292
- [type='reset']:focus,
1293
- [type='submit']:hover,
1294
- [type='submit']:active,
1295
- [type='submit']:focus {
1215
+ [type=button]:hover,
1216
+ [type=button]:active,
1217
+ [type=button]:focus,
1218
+ [type=reset]:hover,
1219
+ [type=reset]:active,
1220
+ [type=reset]:focus,
1221
+ [type=submit]:hover,
1222
+ [type=submit]:active,
1223
+ [type=submit]:focus {
1296
1224
  background: #b3b3b3;
1297
1225
  }
1298
1226
  button:active, button:focus,
1299
- [type='button']:active,
1300
- [type='button']:focus,
1301
- [type='reset']:active,
1302
- [type='reset']:focus,
1303
- [type='submit']:active,
1304
- [type='submit']:focus {
1305
- box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
1306
- }
1307
- button:active, button:focus,
1308
- [type='button']:active,
1309
- [type='button']:focus,
1310
- [type='reset']:active,
1311
- [type='reset']:focus,
1312
- [type='submit']:active,
1313
- [type='submit']:focus {
1227
+ [type=button]:active,
1228
+ [type=button]:focus,
1229
+ [type=reset]:active,
1230
+ [type=reset]:focus,
1231
+ [type=submit]:active,
1232
+ [type=submit]:focus {
1314
1233
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
1315
1234
  }
1235
+ }
1236
+ @media (prefers-color-scheme: dark) {
1316
1237
  a:focus,
1317
- input:focus {
1238
+ input:focus {
1318
1239
  outline-color: #b37400;
1319
1240
  }
1241
+ }
1242
+ @media (prefers-color-scheme: dark) {
1320
1243
  :focus-visible {
1321
1244
  outline-color: #b37400;
1322
1245
  }
1323
- }
1246
+ }