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