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,224 +1,213 @@
1
- // these are global stylest tha that ovveride all the "light" styles
2
-
3
- // import dark scrollbars utility module
4
- @import 'utility-global-dark-scrollbars';
5
-
6
- // the basics: background and texts
7
- html {
8
- color: $bf-light;
9
- }
10
-
11
- body {
12
- background-color: lighten($bf-dark-extra, 7.5%);
13
- }
14
-
15
- // anchors
16
- a {
17
- color: lighten($bf-blue, 20%);
18
-
19
- &:hover,
20
- &:focus {
21
- color: lighten($bf-blue-light, 20%);
22
- }
23
- }
24
-
25
- // typography elements that need tiny adjustments
26
- mark {
27
- background-color: darken($bf-yellow, 10%);
28
- }
29
-
30
- ins {
31
- background-color: darken($bf-yellow-light, 45%);
32
- }
33
-
34
- // tables
35
- .bf-table th,
36
- .bf-table td {
37
- border-color: $bf-gray-dark;
38
- }
39
-
40
- // forms
41
-
42
- [type='email'],
43
- [type='number'],
44
- [type='password'],
45
- [type='tel'],
46
- [type='search'],
47
- [type='text'],
48
- [type='date'],
49
- [type='datetime-local'],
50
- [type='month'],
51
- [type='time'],
52
- [type='week'],
53
- [type='time'],
54
- [type='url'],
55
- [type='range'],
56
- input[list],
57
- select,
58
- select:not([size]):not([multiple]),
59
- textarea {
60
- background-color: $bf-dark-extra;
61
- border-color: $bf-black;
62
- color: $bf-gray-light;
63
-
64
- &:active,
65
- &:focus {
66
- background-color: $bf-dark-extra;
67
- border-color: lighten($bf-blue, 10%);
68
- }
69
- }
70
-
71
- [type='email'],
72
- [type='number'],
73
- [type='password'],
74
- [type='tel'],
75
- [type='search'],
76
- [type='text'],
77
- [type='date'],
78
- [type='datetime-local'],
79
- [type='month'],
80
- [type='time'],
81
- [type='week'],
82
- [type='time'],
83
- [type='url'],
84
- input[list],
85
- select,
86
- select:not([size]):not([multiple]),
87
- textarea {
88
- &:active,
89
- &:focus {
90
- box-shadow: 0 0 0 3px rgba(3, 102, 214, .5);
91
- }
92
- }
93
-
94
- .bf-focused {
95
- border-color: lighten($bf-blue, 10%);
96
- box-shadow: 0 0 0 3px rgba(3, 102, 214, .5) !important;
97
- }
98
-
99
- .bf-invalid,
100
- .bf-invalid:focus {
101
- color: lighten($bf-red, 7.5%) !important;
102
- border-color: lighten($bf-red, 7.5%) !important;
103
- }
104
-
105
- select:not([size]):not([multiple]) {
106
- 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");
107
- }
108
-
109
- // IE9 only hack
110
- // https://gist.github.com/marcop135/cf5163ab23d1cb208248b955c990b2ea#ie-9-only
111
- @media screen and (min-width: 0\0) and (min-resolution: .001dpcm) {
112
- // hide custom arrow
113
- select:not([size]):not([multiple]),
114
- // RTL
115
- *[dir="rtl"] select:not([size]):not([multiple]),
116
- select[dir="rtl"]:not([size]):not([multiple]) {
117
- background-image: none;
118
- }
119
- }
120
-
121
- // range
122
-
123
- // all modern browsers but not IE
124
- @supports (appearance: none) {
125
- // override above declaration
126
- [type='range'] {
127
- background-color: transparent;
128
-
129
- &:focus {
130
- background-color: transparent;
131
- }
132
- }
133
-
134
- // darker background
135
- // the rulesets must be separated
136
- [type='range']::-webkit-slider-runnable-track {
137
- background-color: $bf-dark-extra;
138
- }
139
-
140
- [type='range']::-moz-range-track {
141
- background-color: $bf-dark-extra;
142
- }
143
- }
144
-
145
- input::placeholder,
146
- textarea::placeholder {
147
- color: $bf-gray;
148
- }
149
-
150
- button,
151
- [type='button'],
152
- [type='reset'],
153
- [type='submit'],
154
- .bf-btn,
155
- button.bf-disabled,
156
- [type='button'].bf-disabled,
157
- [type='reset'].bf-disabled,
158
- [type='submit'].bf-disabled,
159
- .bf-btn.bf-disabled {
160
- background: $bf-gray-light;
161
-
162
- &:hover,
163
- &:active,
164
- &:focus {
165
- background: darken($bf-gray-light, 10%);
166
- }
167
-
168
- &:active,
169
- &:focus {
170
- box-shadow: 0 0 0 3px rgba(255, 255, 255, .45);
171
- }
172
- }
173
-
174
- button,
175
- [type='button'],
176
- [type='reset'],
177
- [type='submit'],
178
- .bf-btn {
179
- &:active,
180
- &:focus {
181
- box-shadow: 0 0 0 3px rgba(255, 255, 255, .45);
182
- }
183
- }
184
-
185
- .bf-btn--primary.bf-disabled,
186
- .bf-btn.bf-btn--primary {
187
- background: $bf-blue;
188
-
189
- &:hover,
190
- &:active,
191
- &:focus {
192
- background: darken($bf-blue, 5%);
193
- }
194
- }
195
-
196
- .bf-btn--primary.bf-disabled,
197
- .bf-btn.bf-btn--primary {
198
- &:active,
199
- &:focus {
200
- box-shadow: 0 0 0 3px rgba(0, 86, 179, .75);
201
- }
202
- }
203
-
204
- // focus
205
- a:focus,
206
- input:focus {
207
- outline-color: darken(orange, 15%);
208
- }
209
-
210
- :focus-visible {
211
- outline-color: darken(orange, 15%);
212
- }
213
-
214
- // tables
215
-
216
- .bf-table th,
217
- .bf-table td {
218
- border-color: $bf-gray-dark;
219
- }
220
-
221
- .bf-table--zebra tbody tr:nth-child(odd),
222
- .bf-table-responsive--zebra tbody tr:nth-child(odd) {
223
- background-color: $bf-gray-dark-extra;
224
- }
1
+ // these are global stylest tha that ovveride all the "light" styles
2
+
3
+ // import dark scrollbars utility module
4
+ @import 'utility-global-dark-scrollbars';
5
+
6
+ // the basics: background and texts
7
+ html {
8
+ color: $bf-light;
9
+ }
10
+
11
+ body {
12
+ background-color: lighten($bf-dark-extra, 7.5%);
13
+ }
14
+
15
+ // anchors
16
+ a {
17
+ color: lighten($bf-blue, 20%);
18
+
19
+ &:hover,
20
+ &:focus {
21
+ color: lighten($bf-blue-light, 20%);
22
+ }
23
+ }
24
+
25
+ // typography elements that need tiny adjustments
26
+ mark {
27
+ background-color: darken($bf-yellow, 10%);
28
+ }
29
+
30
+ ins {
31
+ background-color: darken($bf-yellow-light, 45%);
32
+ }
33
+
34
+ // forms
35
+
36
+ [type='email'],
37
+ [type='number'],
38
+ [type='password'],
39
+ [type='tel'],
40
+ [type='search'],
41
+ [type='text'],
42
+ [type='date'],
43
+ [type='datetime-local'],
44
+ [type='month'],
45
+ [type='week'],
46
+ [type='time'],
47
+ [type='url'],
48
+ [type='range'],
49
+ input[list],
50
+ select,
51
+ select:not([size]):not([multiple]),
52
+ textarea {
53
+ background-color: $bf-dark-extra;
54
+ border-color: $bf-black;
55
+ color: $bf-gray-light;
56
+
57
+ &:active,
58
+ &:focus {
59
+ background-color: $bf-dark-extra;
60
+ border-color: lighten($bf-blue, 10%);
61
+ }
62
+ }
63
+
64
+ [type='email'],
65
+ [type='number'],
66
+ [type='password'],
67
+ [type='tel'],
68
+ [type='search'],
69
+ [type='text'],
70
+ [type='date'],
71
+ [type='datetime-local'],
72
+ [type='month'],
73
+ [type='week'],
74
+ [type='time'],
75
+ [type='url'],
76
+ input[list],
77
+ select,
78
+ select:not([size]):not([multiple]),
79
+ textarea {
80
+ &:active,
81
+ &:focus {
82
+ box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5);
83
+ }
84
+ }
85
+
86
+ .bf-focused {
87
+ border-color: lighten($bf-blue, 10%);
88
+ box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5) !important;
89
+ }
90
+
91
+ .bf-invalid,
92
+ .bf-invalid:focus {
93
+ color: lighten($bf-red, 7.5%) !important;
94
+ border-color: lighten($bf-red, 7.5%) !important;
95
+ }
96
+
97
+ select:not([size]):not([multiple]) {
98
+ 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");
99
+ }
100
+
101
+ // IE9 only hack
102
+ // https://gist.github.com/marcop135/cf5163ab23d1cb208248b955c990b2ea#ie-9-only
103
+ @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
104
+ // hide custom arrow
105
+ select:not([size]):not([multiple]),
106
+ // RTL
107
+ *[dir="rtl"] select:not([size]):not([multiple]),
108
+ select[dir="rtl"]:not([size]):not([multiple]) {
109
+ background-image: none;
110
+ }
111
+ }
112
+
113
+ // range
114
+
115
+ // all modern browsers but not IE
116
+ @supports (appearance: none) {
117
+ // override above declaration
118
+ [type='range'] {
119
+ background-color: transparent;
120
+
121
+ &:focus {
122
+ background-color: transparent;
123
+ }
124
+ }
125
+
126
+ // darker background
127
+ // the rulesets must be separated
128
+ [type='range']::-webkit-slider-runnable-track {
129
+ background-color: $bf-dark-extra;
130
+ }
131
+
132
+ [type='range']::-moz-range-track {
133
+ background-color: $bf-dark-extra;
134
+ }
135
+ }
136
+
137
+ input::placeholder,
138
+ textarea::placeholder {
139
+ color: $bf-gray;
140
+ }
141
+
142
+ button,
143
+ [type='button'],
144
+ [type='reset'],
145
+ [type='submit'],
146
+ .bf-btn,
147
+ button.bf-disabled,
148
+ [type='button'].bf-disabled,
149
+ [type='reset'].bf-disabled,
150
+ [type='submit'].bf-disabled,
151
+ .bf-btn.bf-disabled {
152
+ background: $bf-gray-light;
153
+
154
+ &:hover,
155
+ &:active,
156
+ &:focus {
157
+ background: darken($bf-gray-light, 10%);
158
+ }
159
+
160
+ &:active,
161
+ &:focus {
162
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
163
+ }
164
+ }
165
+
166
+ button,
167
+ [type='button'],
168
+ [type='reset'],
169
+ [type='submit'],
170
+ .bf-btn {
171
+ &:active,
172
+ &:focus {
173
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
174
+ }
175
+ }
176
+
177
+ .bf-btn--primary.bf-disabled,
178
+ .bf-btn.bf-btn--primary {
179
+ background: $bf-blue;
180
+
181
+ &:hover,
182
+ &:active,
183
+ &:focus {
184
+ background: darken($bf-blue, 5%);
185
+ }
186
+
187
+ &:active,
188
+ &:focus {
189
+ box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.75);
190
+ }
191
+ }
192
+
193
+ // focus
194
+ a:focus,
195
+ input:focus {
196
+ outline-color: darken(orange, 15%);
197
+ }
198
+
199
+ :focus-visible {
200
+ outline-color: darken(orange, 15%);
201
+ }
202
+
203
+ // tables
204
+
205
+ .bf-table th,
206
+ .bf-table td {
207
+ border-color: $bf-gray-dark;
208
+ }
209
+
210
+ .bf-table--zebra tbody tr:nth-child(odd),
211
+ .bf-table-responsive--zebra tbody tr:nth-child(odd) {
212
+ background-color: $bf-gray-dark-extra;
213
+ }