bullframe.css 3.8.1 → 4.0.1

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 +10 -6
  2. package/.stylelintrc.json +10 -0
  3. package/CHANGELOG.md +20 -4
  4. package/LICENSE +20 -20
  5. package/README.md +28 -179
  6. package/dist/css/bullframe-classless-dark-prefers.css +357 -425
  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 -412
  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 -293
  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 -633
  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 -593
  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 -455
  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 -11
  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 +1 -1
  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 -24
  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 -1321
  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 -1301
  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 -1084
  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 -2569
  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 -2541
  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 -2250
  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,4 +1,4 @@
1
- /*! bullframe.css v3.8.0 | MIT License | https://github.com/marcop135/bullframe.css */
1
+ /*! bullframe.css v4.0.1 | MIT License | https://github.com/marcop135/bullframe.css */
2
2
  /*! custom build: bullframe-classless */
3
3
  *,
4
4
  *::before,
@@ -26,26 +26,10 @@ template {
26
26
  display: none;
27
27
  }
28
28
 
29
- a,
30
- area,
31
- button,
32
- input,
33
- label,
34
- select,
35
- summary,
36
- textarea,
37
- [tabindex] {
38
- -ms-touch-action: manipulation;
39
- }
40
-
41
29
  [hidden] {
42
30
  display: none !important;
43
31
  }
44
32
 
45
- @-ms-viewport {
46
- width: device-width;
47
- }
48
-
49
33
  html {
50
34
  -webkit-text-size-adjust: 100%;
51
35
  -moz-text-size-adjust: 100%;
@@ -129,7 +113,7 @@ blockquote small {
129
113
  }
130
114
 
131
115
  blockquote small:before {
132
- content: '\2014 \00A0';
116
+ content: "— ";
133
117
  }
134
118
 
135
119
  q {
@@ -139,19 +123,14 @@ q {
139
123
  pre {
140
124
  margin: 0 0 20px 0;
141
125
  margin: 0 0 2rem 0;
142
- }
143
-
144
- pre {
145
126
  display: block;
146
127
  overflow: auto;
147
128
  word-break: break-all;
148
129
  word-wrap: break-word;
149
130
  white-space: pre;
150
131
  -webkit-hyphens: none;
151
- -ms-hyphens: none;
152
132
  hyphens: none;
153
133
  -ms-overflow-style: auto;
154
- display: block;
155
134
  }
156
135
 
157
136
  pre,
@@ -159,7 +138,7 @@ code,
159
138
  kbd,
160
139
  samp {
161
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";
162
- font-size: .875em;
141
+ font-size: 0.875em;
163
142
  }
164
143
 
165
144
  code {
@@ -187,7 +166,6 @@ abbr[data-original-title] {
187
166
  text-decoration: underline;
188
167
  -webkit-text-decoration: underline dotted;
189
168
  text-decoration: underline dotted;
190
- cursor: help;
191
169
  border-bottom: 0;
192
170
  }
193
171
 
@@ -207,6 +185,7 @@ strong {
207
185
  font-weight: inherit;
208
186
  }
209
187
 
188
+ /* stylelint-disable-next-line */
210
189
  b,
211
190
  strong {
212
191
  font-weight: bolder;
@@ -226,12 +205,12 @@ sup {
226
205
 
227
206
  sup {
228
207
  top: -8px;
229
- top: -.8rem;
208
+ top: -0.8rem;
230
209
  }
231
210
 
232
211
  sub {
233
212
  bottom: -4px;
234
- bottom: -.4rem;
213
+ bottom: -0.4rem;
235
214
  }
236
215
 
237
216
  small {
@@ -268,7 +247,6 @@ a {
268
247
  text-decoration: none;
269
248
  background-color: transparent;
270
249
  }
271
-
272
250
  a:hover, a:focus {
273
251
  text-decoration: underline;
274
252
  color: #0056b3;
@@ -332,7 +310,7 @@ dd {
332
310
  }
333
311
 
334
312
  nav li:before {
335
- content: '\200B';
313
+ content: "​";
336
314
  position: absolute;
337
315
  }
338
316
 
@@ -445,8 +423,8 @@ textarea {
445
423
 
446
424
  html input,
447
425
  button,
448
- [type='radio'],
449
- [type='checkbox'],
426
+ [type=radio],
427
+ [type=checkbox],
450
428
  select,
451
429
  optgroup,
452
430
  textarea {
@@ -462,12 +440,12 @@ legend {
462
440
 
463
441
  html label,
464
442
  button,
465
- [type='image'],
466
- [type='submit'],
467
- [type='reset'],
468
- html [type='button'],
469
- [type='radio'],
470
- [type='checkbox'] {
443
+ [type=image],
444
+ [type=submit],
445
+ [type=reset],
446
+ html [type=button],
447
+ [type=radio],
448
+ [type=checkbox] {
471
449
  width: auto;
472
450
  }
473
451
 
@@ -476,14 +454,14 @@ label,
476
454
  select,
477
455
  textarea,
478
456
  button,
479
- html [type='button'],
480
- [type='reset'],
481
- [type='submit'],
457
+ html [type=button],
458
+ [type=reset],
459
+ [type=submit],
482
460
  output {
483
461
  display: inline-block;
484
462
  }
485
463
 
486
- [type='file'] {
464
+ [type=file] {
487
465
  display: block;
488
466
  background-color: transparent;
489
467
  }
@@ -540,8 +518,8 @@ label textarea {
540
518
  font-size: 110%;
541
519
  }
542
520
 
543
- [type='number']::-webkit-outer-spin-button,
544
- [type='number']::-webkit-inner-spin-button {
521
+ [type=number]::-webkit-outer-spin-button,
522
+ [type=number]::-webkit-inner-spin-button {
545
523
  height: auto;
546
524
  }
547
525
 
@@ -559,7 +537,7 @@ label textarea {
559
537
  padding: 0;
560
538
  }
561
539
 
562
- [type='search'] {
540
+ [type=search] {
563
541
  outline-offset: -2.5px;
564
542
  outline-offset: -0.25rem;
565
543
  }
@@ -577,8 +555,8 @@ select {
577
555
  word-wrap: normal;
578
556
  }
579
557
 
580
- [list]::-webkit-calendar-picker-indicator {
581
- 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;
582
560
  }
583
561
 
584
562
  optgroup {
@@ -590,23 +568,23 @@ optgroup {
590
568
  }
591
569
 
592
570
  button,
593
- html [type="button"],
594
- [type="reset"],
595
- [type="submit"],
596
- [type="email"],
597
- [type="number"],
598
- [type="text"],
599
- [type="tel"],
600
- [type="date"],
601
- [type="datetime-local"],
602
- [type="month"],
603
- [type="week"],
604
- [type="url"],
605
- [type="image"],
606
- [type="password"],
607
- [type="search"],
608
- [type="search"]::-webkit-search-decoration,
609
- [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,
610
588
  input[list],
611
589
  textarea {
612
590
  -webkit-appearance: none;
@@ -625,22 +603,22 @@ textarea {
625
603
  border-radius: 0.25rem;
626
604
  }
627
605
 
628
- [type='radio'] {
606
+ [type=radio] {
629
607
  border-radius: 50%;
630
608
  }
631
609
 
632
- [type='checkbox'] {
610
+ [type=checkbox] {
633
611
  border-radius: 5px;
634
612
  border-radius: 0.5rem;
635
613
  }
636
614
 
637
- [type='radio'],
638
- [type='checkbox'] {
615
+ [type=radio],
616
+ [type=checkbox] {
639
617
  padding: 0;
640
618
  background-color: #fff;
641
619
  }
642
620
 
643
- [type='range'] {
621
+ [type=range] {
644
622
  background-color: transparent;
645
623
  }
646
624
 
@@ -668,9 +646,9 @@ textarea {
668
646
  }
669
647
 
670
648
  button,
671
- [type='button'],
672
- [type='reset'],
673
- [type='submit'] {
649
+ [type=button],
650
+ [type=reset],
651
+ [type=submit] {
674
652
  line-height: normal;
675
653
  text-align: center;
676
654
  margin: 0;
@@ -680,34 +658,32 @@ button,
680
658
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
681
659
  -webkit-user-select: none;
682
660
  -moz-user-select: none;
683
- -ms-user-select: none;
684
661
  user-select: none;
685
662
  border: 0;
686
663
  background-image: none;
687
664
  }
688
-
689
665
  button:hover, button:active, button:focus,
690
- [type='button']:hover,
691
- [type='button']:active,
692
- [type='button']:focus,
693
- [type='reset']:hover,
694
- [type='reset']:active,
695
- [type='reset']:focus,
696
- [type='submit']:hover,
697
- [type='submit']:active,
698
- [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 {
699
675
  text-decoration: none;
700
676
  color: #222;
701
677
  }
702
678
 
703
679
  button,
704
680
  select,
705
- input[type='submit'],
706
- input[type='button'],
707
- [type='checkbox'],
708
- [type='range'],
709
- [type='radio'],
710
- [role='button'] {
681
+ input[type=submit],
682
+ input[type=button],
683
+ [type=checkbox],
684
+ [type=range],
685
+ [type=radio],
686
+ [role=button] {
711
687
  cursor: pointer;
712
688
  }
713
689
 
@@ -719,10 +695,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
719
695
  color: #666;
720
696
  }
721
697
 
722
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
723
- color: #666;
724
- }
725
-
726
698
  input::placeholder,
727
699
  textarea::placeholder {
728
700
  color: #666;
@@ -732,19 +704,18 @@ textarea::placeholder {
732
704
  box-shadow: none;
733
705
  }
734
706
 
735
- [type='email'],
736
- [type='number'],
737
- [type='password'],
738
- [type='tel'],
739
- [type='search'],
740
- [type='text'],
741
- [type='date'],
742
- [type='datetime-local'],
743
- [type='month'],
744
- [type='time'],
745
- [type='week'],
746
- [type='time'],
747
- [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],
748
719
  input[list],
749
720
  select,
750
721
  textarea {
@@ -754,79 +725,75 @@ textarea {
754
725
  padding: 0.5rem 0.75rem;
755
726
  }
756
727
 
757
- [type='email']:active, [type='email']:focus,
758
- [type='number']:active,
759
- [type='number']:focus,
760
- [type='password']:active,
761
- [type='password']:focus,
762
- [type='tel']:active,
763
- [type='tel']:focus,
764
- [type='search']:active,
765
- [type='search']:focus,
766
- [type='text']:active,
767
- [type='text']:focus,
768
- [type='date']:active,
769
- [type='date']:focus,
770
- [type='datetime-local']:active,
771
- [type='datetime-local']:focus,
772
- [type='month']:active,
773
- [type='month']:focus,
774
- [type='time']:active,
775
- [type='time']:focus,
776
- [type='week']:active,
777
- [type='week']:focus,
778
- [type='time']:active,
779
- [type='time']:focus,
780
- [type='url']:active,
781
- [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,
782
751
  input[list]:active,
783
752
  input[list]:focus,
784
753
  select:active,
785
754
  select:focus,
786
755
  textarea:active,
787
756
  textarea:focus,
788
- [type='radio']:active,
789
- [type='radio']:focus,
790
- [type='checkbox']:active,
791
- [type='checkbox']:focus {
792
- 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;
793
762
  border-color: #007bff;
794
763
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
795
764
  }
796
765
 
797
766
  button,
798
- [type='button'],
799
- [type='reset'],
800
- [type='submit'] {
767
+ [type=button],
768
+ [type=reset],
769
+ [type=submit] {
801
770
  color: #222;
802
- padding: 6.66667px 13.33333px;
803
- padding: 0.66667rem 1.33333rem;
771
+ padding: 6.6666666667px 13.3333333333px;
772
+ padding: 0.6666666667rem 1.3333333333rem;
804
773
  background: #ccc;
805
- transition: color .2s, background .2s, box-shadow .2s;
774
+ transition: color 0.2s, background 0.2s, box-shadow 0.2s;
806
775
  }
807
-
808
776
  button:hover, button:active, button:focus,
809
- [type='button']:hover,
810
- [type='button']:active,
811
- [type='button']:focus,
812
- [type='reset']:hover,
813
- [type='reset']:active,
814
- [type='reset']:focus,
815
- [type='submit']:hover,
816
- [type='submit']:active,
817
- [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 {
818
786
  text-decoration: none;
819
787
  color: #222;
820
788
  background: #b3b3b3;
821
789
  }
822
-
823
790
  button:active, button:focus,
824
- [type='button']:active,
825
- [type='button']:focus,
826
- [type='reset']:active,
827
- [type='reset']:focus,
828
- [type='submit']:active,
829
- [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 {
830
797
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
831
798
  }
832
799
 
@@ -854,112 +821,49 @@ input:disabled:checked,
854
821
  select:disabled,
855
822
  textarea:disabled,
856
823
  label:disabled,
857
- button[aria-disabled="true"],
858
- input[aria-disabled="true"],
859
- input[aria-disabled="true"]:after,
860
- input[aria-disabled="true"]:before,
861
- input[aria-disabled="true"]:checked,
862
- select[aria-disabled="true"],
863
- textarea[aria-disabled="true"],
864
- 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] {
865
832
  cursor: default !important;
866
833
  cursor: not-allowed !important;
867
834
  pointer-events: none !important;
868
835
  -webkit-user-select: none !important;
869
836
  -moz-user-select: none !important;
870
- -ms-user-select: none !important;
871
837
  user-select: none !important;
872
838
  box-shadow: none !important;
873
- opacity: .5 !important;
874
- }
875
-
876
- @media \0screen {
877
- [type='email'],
878
- [type='number'],
879
- [type='password'],
880
- [type='tel'],
881
- [type='search'],
882
- [type='text'],
883
- [type='date'],
884
- [type='datetime-local'],
885
- [type='month'],
886
- [type='time'],
887
- [type='week'],
888
- [type='time'],
889
- [type='url'],
890
- [type='range'],
891
- input[list] {
892
- padding-top: 0;
893
- padding-bottom: 0;
894
- height: 32px;
895
- line-height: 32px;
896
- }
897
- }
898
-
899
- @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) {
900
- [type='email'],
901
- [type='number'],
902
- [type='password'],
903
- [type='tel'],
904
- [type='search'],
905
- [type='text'],
906
- [type='date'],
907
- [type='datetime-local'],
908
- [type='month'],
909
- [type='time'],
910
- [type='week'],
911
- [type='time'],
912
- [type='url'],
913
- [type='range'],
914
- input[list] {
915
- line-height: 1.2;
916
- }
839
+ opacity: 0.5 !important;
917
840
  }
918
841
 
919
842
  select:not([size]):not([multiple]) {
920
843
  -webkit-appearance: none;
921
844
  -moz-appearance: none;
922
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;
923
849
  }
924
850
 
925
851
  select::-ms-expand {
926
852
  display: none;
927
853
  }
928
854
 
929
- select:not([size]):not([multiple]) {
930
- 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;
931
- padding-right: 20px;
932
- padding-right: 2rem;
933
- }
934
-
935
- *[dir='rtl'] select:not([size]):not([multiple]),
936
- select[dir='rtl']:not([size]):not([multiple]) {
937
- 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%;
938
858
  padding-right: 7.5px;
939
859
  padding-right: 0.75rem;
940
860
  padding-left: 20px;
941
861
  padding-left: 2rem;
942
862
  }
943
863
 
944
- @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
945
- select:not([size]):not([multiple]) {
946
- padding-right: 7.5px;
947
- }
948
- *[dir='rtl'] select:not([size]):not([multiple]),
949
- select[dir='rtl']:not([size]):not([multiple]) {
950
- padding-left: 7.5px;
951
- }
952
- select:not([size]):not([multiple]),
953
- *[dir="rtl"] select:not([size]):not([multiple]),
954
- select[dir="rtl"]:not([size]):not([multiple]) {
955
- background-image: none;
956
- background-repeat: repeat;
957
- }
958
- }
959
-
960
864
  @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
961
- [type='checkbox'],
962
- [type='radio'] {
865
+ [type=checkbox],
866
+ [type=radio] {
963
867
  -webkit-appearance: none;
964
868
  -moz-appearance: none;
965
869
  appearance: none;
@@ -969,45 +873,44 @@ select[dir='rtl']:not([size]):not([multiple]) {
969
873
  position: relative;
970
874
  border: 1px solid #999;
971
875
  }
972
- [type='checkbox'] + label,
973
- [type='radio'] + label {
876
+ [type=checkbox] + label,
877
+ [type=radio] + label {
974
878
  line-height: 1.8rem;
975
879
  vertical-align: top;
976
880
  margin-left: 5px;
977
881
  margin-left: 0.5rem;
978
882
  }
979
- *[dir='rtl'] [type='checkbox'] + label,
980
- [type='checkbox'][dir='rtl'] + label, *[dir='rtl']
981
- [type='radio'] + label,
982
- [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 {
983
886
  margin-left: 0;
984
887
  margin-right: 5px;
985
888
  margin-right: 0.5rem;
986
889
  }
987
- [type='checkbox']:after,
988
- [type='radio']:after {
989
- content: '';
890
+ [type=checkbox]:after,
891
+ [type=radio]:after {
892
+ content: "";
990
893
  display: block;
991
894
  position: absolute;
992
895
  }
993
- [type='checkbox']:checked,
994
- [type='radio']:checked {
896
+ [type=checkbox]:checked,
897
+ [type=radio]:checked {
995
898
  background-color: #007bff;
996
899
  border-color: #000;
997
900
  }
998
- [type='radio']:after {
901
+ [type=radio]:after {
999
902
  width: 1.8rem;
1000
903
  height: 1.8rem;
1001
- left: -.05rem;
1002
- top: -.05rem;
904
+ left: -0.05rem;
905
+ top: -0.05rem;
1003
906
  border-radius: 50%;
1004
907
  background: #fff;
1005
908
  -webkit-transform: scale(0.35);
1006
909
  transform: scale(0.35);
1007
910
  }
1008
- [type='checkbox']:after {
1009
- width: .6rem;
1010
- height: .8rem;
911
+ [type=checkbox]:after {
912
+ width: 0.6rem;
913
+ height: 0.8rem;
1011
914
  border: 2px solid #fff;
1012
915
  border-top: 0;
1013
916
  border-left: 0;
@@ -1017,7 +920,84 @@ select[dir='rtl']:not([size]):not([multiple]) {
1017
920
  transform: rotate(43deg);
1018
921
  }
1019
922
  }
1020
-
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
+ }
1021
1001
  table {
1022
1002
  max-width: 100%;
1023
1003
  border-collapse: collapse;
@@ -1058,40 +1038,4 @@ caption {
1058
1038
  caption-side: bottom;
1059
1039
  line-height: 1.375;
1060
1040
  font-size: 90%;
1061
- }
1062
-
1063
- /**
1064
- * Change the cursor on busy elements in all browsers (opinionated).
1065
- */
1066
- [aria-busy="true"] {
1067
- cursor: progress;
1068
- }
1069
-
1070
- /*
1071
- * Change the cursor on control elements in all browsers (opinionated).
1072
- */
1073
- [aria-controls] {
1074
- cursor: pointer;
1075
- }
1076
-
1077
- /*
1078
- * Change the cursor on disabled, not-editable, or otherwise
1079
- * inoperable elements in all browsers (opinionated).
1080
- */
1081
- [aria-disabled="true"],
1082
- [disabled] {
1083
- cursor: not-allowed;
1084
- }
1085
-
1086
- /*
1087
- * Change the display on visually hidden accessible elements
1088
- * in all browsers (opinionated).
1089
- */
1090
- [aria-hidden="false"][hidden] {
1091
- display: initial;
1092
- }
1093
-
1094
- [aria-hidden="false"][hidden]:not(:focus) {
1095
- clip: rect(0, 0, 0, 0);
1096
- position: absolute;
1097
- }
1041
+ }