bullframe.css 5.0.1 → 6.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 (142) hide show
  1. package/CHANGELOG.md +276 -234
  2. package/LICENSE +2 -2
  3. package/README.md +34 -455
  4. package/dist/css/bullframe-classless-dark.css +1218 -932
  5. package/dist/css/bullframe-classless-dark.css.map +1 -1
  6. package/dist/css/bullframe-classless-dark.min.css +1 -3
  7. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  8. package/dist/css/bullframe-classless-system-default.css +1316 -936
  9. package/dist/css/bullframe-classless-system-default.css.map +1 -1
  10. package/dist/css/bullframe-classless-system-default.min.css +1 -3
  11. package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +1038 -715
  13. package/dist/css/bullframe-classless.css.map +1 -1
  14. package/dist/css/bullframe-classless.min.css +1 -3
  15. package/dist/css/bullframe-classless.min.css.map +1 -1
  16. package/dist/css/bullframe-dark.css +1943 -1459
  17. package/dist/css/bullframe-dark.css.map +1 -1
  18. package/dist/css/bullframe-dark.min.css +1 -3
  19. package/dist/css/bullframe-dark.min.css.map +1 -1
  20. package/dist/css/bullframe-system-default.css +2005 -1489
  21. package/dist/css/bullframe-system-default.css.map +1 -1
  22. package/dist/css/bullframe-system-default.min.css +1 -3
  23. package/dist/css/bullframe-system-default.min.css.map +1 -1
  24. package/dist/css/bullframe-utilities.css +769 -491
  25. package/dist/css/bullframe-utilities.css.map +1 -1
  26. package/dist/css/bullframe-utilities.min.css +1 -2
  27. package/dist/css/bullframe-utilities.min.css.map +1 -1
  28. package/dist/css/bullframe.css +1911 -1383
  29. package/dist/css/bullframe.css.map +1 -1
  30. package/dist/css/bullframe.min.css +1 -3
  31. package/dist/css/bullframe.min.css.map +1 -1
  32. package/package.json +71 -29
  33. package/.browserslistrc +0 -3
  34. package/.editorconfig +0 -15
  35. package/.htmlhintrc +0 -12
  36. package/.prettierignore +0 -1
  37. package/.stylelintignore +0 -3
  38. package/.stylelintrc.json +0 -26
  39. package/dist/css/bullframe-classless-dark-prefers.css +0 -1340
  40. package/dist/css/bullframe-classless-dark-prefers.css.map +0 -1
  41. package/dist/css/bullframe-classless-dark-prefers.min.css +0 -3
  42. package/dist/css/bullframe-classless-dark-prefers.min.css.map +0 -1
  43. package/dist/css/bullframe-dark-prefers.css +0 -2356
  44. package/dist/css/bullframe-dark-prefers.css.map +0 -1
  45. package/dist/css/bullframe-dark-prefers.min.css +0 -3
  46. package/dist/css/bullframe-dark-prefers.min.css.map +0 -1
  47. package/dist/docs/demo/css/style.css +0 -131
  48. package/dist/docs/demo/icons/android-chrome-192x192.png +0 -0
  49. package/dist/docs/demo/icons/android-chrome-384x384.png +0 -0
  50. package/dist/docs/demo/icons/apple-touch-icon.png +0 -0
  51. package/dist/docs/demo/icons/favicon-16x16.png +0 -0
  52. package/dist/docs/demo/icons/favicon-32x32.png +0 -0
  53. package/dist/docs/demo/icons/favicon.ico +0 -0
  54. package/dist/docs/demo/icons/mstile-150x150.png +0 -0
  55. package/dist/docs/demo/icons/safari-pinned-tab.svg +0 -28
  56. package/dist/docs/demo/images/logo.png +0 -0
  57. package/dist/docs/demo/images/placeholder-img-130x140.jpg +0 -0
  58. package/dist/docs/demo/images/placeholder-img-16x16.jpg +0 -0
  59. package/dist/docs/demo/images/placeholder-img-800x400.jpg +0 -0
  60. package/dist/docs/demo/images/video-poster.png +0 -0
  61. package/dist/docs/demo/index.html +0 -1152
  62. package/dist/docs/github-readme/bf-logo-full-dark.png +0 -0
  63. package/dist/docs/github-readme/bf-logo-full-light.png +0 -0
  64. package/prettier.config.js +0 -26
  65. package/src/docs/demo/css/style.css +0 -131
  66. package/src/docs/demo/icons/android-chrome-192x192.png +0 -0
  67. package/src/docs/demo/icons/android-chrome-384x384.png +0 -0
  68. package/src/docs/demo/icons/apple-touch-icon.png +0 -0
  69. package/src/docs/demo/icons/favicon-16x16.png +0 -0
  70. package/src/docs/demo/icons/favicon-32x32.png +0 -0
  71. package/src/docs/demo/icons/favicon.ico +0 -0
  72. package/src/docs/demo/icons/mstile-150x150.png +0 -0
  73. package/src/docs/demo/icons/safari-pinned-tab.svg +0 -28
  74. package/src/docs/demo/images/logo.png +0 -0
  75. package/src/docs/demo/images/placeholder-img-130x140.jpg +0 -0
  76. package/src/docs/demo/images/placeholder-img-16x16.jpg +0 -0
  77. package/src/docs/demo/images/placeholder-img-800x400.jpg +0 -0
  78. package/src/docs/demo/images/video-poster.png +0 -0
  79. package/src/docs/demo/index.html +0 -1152
  80. package/src/docs/github-readme/bf-logo-full-dark.png +0 -0
  81. package/src/docs/github-readme/bf-logo-full-light.png +0 -0
  82. package/src/scss/bullframe-classless-dark-prefers.scss +0 -2
  83. package/src/scss/bullframe-classless-dark.scss +0 -2
  84. package/src/scss/bullframe-classless-system-default.scss +0 -2
  85. package/src/scss/bullframe-classless.scss +0 -49
  86. package/src/scss/bullframe-dark-prefers.scss +0 -2
  87. package/src/scss/bullframe-dark.scss +0 -2
  88. package/src/scss/bullframe-system-default.scss +0 -2
  89. package/src/scss/bullframe-utilities.scss +0 -21
  90. package/src/scss/bullframe.scss +0 -49
  91. package/src/scss/custom/_author-styles.scss +0 -5
  92. package/src/scss/forms/_forms-normalization.scss +0 -316
  93. package/src/scss/forms/_forms-styling-radio-checkbox.scss +0 -82
  94. package/src/scss/forms/_forms-styling-range.scss +0 -113
  95. package/src/scss/forms/_forms-styling-select.scss +0 -65
  96. package/src/scss/forms/_forms-styling.scss +0 -131
  97. package/src/scss/miscellaneous/_misc-accessibility.scss +0 -36
  98. package/src/scss/miscellaneous/_misc-anchors.scss +0 -37
  99. package/src/scss/miscellaneous/_misc-embedded-content.scss +0 -117
  100. package/src/scss/miscellaneous/_misc-focus.scss +0 -79
  101. package/src/scss/miscellaneous/_misc-interactive.scss +0 -48
  102. package/src/scss/miscellaneous/_misc-layout.scss +0 -30
  103. package/src/scss/miscellaneous/_misc-lists.scss +0 -53
  104. package/src/scss/miscellaneous/_misc-scrolling.scss +0 -5
  105. package/src/scss/miscellaneous/_misc-shame.scss +0 -37
  106. package/src/scss/miscellaneous/_misc-tables.scss +0 -53
  107. package/src/scss/mixins/_mixin-dark-prefers.scss +0 -414
  108. package/src/scss/mixins/_mixin-dark.scss +0 -396
  109. package/src/scss/mixins/_mixin-grid-flex.scss +0 -80
  110. package/src/scss/mixins/_mixin-layout.scss +0 -42
  111. package/src/scss/mixins/_mixin-texts.scss +0 -37
  112. package/src/scss/typography/_typography-blockquotes.scss +0 -28
  113. package/src/scss/typography/_typography-headings.scss +0 -45
  114. package/src/scss/typography/_typography-html-body.scss +0 -75
  115. package/src/scss/typography/_typography-misc.scss +0 -90
  116. package/src/scss/typography/_typography-monospaced-elements.scss +0 -59
  117. package/src/scss/utilities/_utility-buttons.scss +0 -73
  118. package/src/scss/utilities/_utility-debugging.scss +0 -31
  119. package/src/scss/utilities/_utility-embeds.scss +0 -34
  120. package/src/scss/utilities/_utility-filters.scss +0 -21
  121. package/src/scss/utilities/_utility-form-states.scss +0 -89
  122. package/src/scss/utilities/_utility-global-dark-classless.scss +0 -3
  123. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +0 -3
  124. package/src/scss/utilities/_utility-global-dark-prefers.scss +0 -3
  125. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +0 -34
  126. package/src/scss/utilities/_utility-global-dark.scss +0 -4
  127. package/src/scss/utilities/_utility-global-system-default-classless.scss +0 -3
  128. package/src/scss/utilities/_utility-global-system-default.scss +0 -3
  129. package/src/scss/utilities/_utility-grid-system.scss +0 -140
  130. package/src/scss/utilities/_utility-layout.scss +0 -187
  131. package/src/scss/utilities/_utility-lists.scss +0 -17
  132. package/src/scss/utilities/_utility-print.scss +0 -101
  133. package/src/scss/utilities/_utility-reduced-motion.scss +0 -29
  134. package/src/scss/utilities/_utility-spacing.scss +0 -148
  135. package/src/scss/utilities/_utility-tables.scss +0 -34
  136. package/src/scss/utilities/_utility-texts.scss +0 -225
  137. package/src/scss/utilities/_utility-z-index.scss +0 -83
  138. package/src/scss/variables/_variables-breakpoints.scss +0 -6
  139. package/src/scss/variables/_variables-colors.scss +0 -34
  140. package/src/scss/variables/_variables-spacing.scss +0 -24
  141. package/src/scss/variables/_variables-texts.scss +0 -8
  142. package/vite.config.js +0 -116
@@ -1,396 +0,0 @@
1
- @use "../variables/variables-colors" as bf-v-color;
2
- @use "../variables/variables-texts" as bf-v-text;
3
- @use "../variables/variables-spacing" as bf-v-space;
4
- @use "../variables/variables-breakpoints" as bf-v-bp;
5
- @use "../utilities/utility-global-dark-scrollbars" as bfUtilGlobalDarkScrollbars;
6
- @use "sass:color";
7
-
8
- @mixin bf-global-dark {
9
- // these are global styles tha that ovveride all the "light" styles
10
-
11
- // the basics: background and texts
12
- html {
13
- color: bf-v-color.$bf-light;
14
- }
15
-
16
- body {
17
- background-color: color.adjust(bf-v-color.$bf-dark-extra, $lightness: 7.5%);
18
- }
19
-
20
- // anchors
21
- a {
22
- color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
23
-
24
- &:hover,
25
- &:focus {
26
- color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
27
- }
28
- }
29
-
30
- // typography elements that need tiny adjustments
31
- mark {
32
- background-color: color.adjust(bf-v-color.$bf-yellow, $lightness: -10%);
33
- }
34
-
35
- ins {
36
- background-color: color.adjust(
37
- bf-v-color.$bf-yellow-light,
38
- $lightness: 45%
39
- );
40
- }
41
-
42
- // forms
43
-
44
- [type="email"],
45
- [type="number"],
46
- [type="password"],
47
- [type="tel"],
48
- [type="search"],
49
- [type="text"],
50
- [type="date"],
51
- [type="datetime-local"],
52
- [type="month"],
53
- [type="week"],
54
- [type="time"],
55
- [type="url"],
56
- [type="range"],
57
- input[list],
58
- select,
59
- select:not([size], [multiple]),
60
- textarea {
61
- background-color: bf-v-color.$bf-dark-extra;
62
- border-color: bf-v-color.$bf-black;
63
- color: bf-v-color.$bf-gray-light;
64
-
65
- &:active,
66
- &:focus {
67
- background-color: bf-v-color.$bf-dark-extra;
68
- border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
69
- }
70
- }
71
-
72
- [type="email"],
73
- [type="number"],
74
- [type="password"],
75
- [type="tel"],
76
- [type="search"],
77
- [type="text"],
78
- [type="date"],
79
- [type="datetime-local"],
80
- [type="month"],
81
- [type="week"],
82
- [type="time"],
83
- [type="url"],
84
- input[list],
85
- select,
86
- select:not([size], [multiple]),
87
- textarea {
88
- &:active,
89
- &:focus {
90
- box-shadow: 0 0 0 3px rgb(3 102 214 / 50%);
91
- }
92
- }
93
-
94
- .bf-focused {
95
- border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
96
- box-shadow: 0 0 0 3px rgb(3 102 214 / 50%) !important;
97
- }
98
-
99
- .bf-invalid,
100
- .bf-invalid:focus {
101
- color: color.adjust(bf-v-color.$bf-red, $lightness: 7.5%) !important;
102
- border-color: color.adjust(bf-v-color.$bf-red, $lightness: 7.5%) !important;
103
- }
104
-
105
- select:not([size], [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
- /* stylelint-disable-next-line */
110
- @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
111
- // hide custom arrow
112
- select:not([size], [multiple]),
113
- /* RTL*/
114
- *[dir="rtl"] select:not([size], [multiple]),
115
- select[dir="rtl"]:not([size], [multiple]) {
116
- background-image: none;
117
- }
118
- }
119
-
120
- // range
121
-
122
- // override above declaration
123
- [type="range"] {
124
- background-color: transparent;
125
-
126
- &:focus {
127
- background-color: transparent;
128
- }
129
- }
130
-
131
- // darker background
132
- // the rulesets must be separated
133
- [type="range"]::-webkit-slider-runnable-track {
134
- background-color: bf-v-color.$bf-dark-extra;
135
- }
136
-
137
- [type="range"]::-moz-range-track {
138
- background-color: bf-v-color.$bf-dark-extra;
139
- }
140
-
141
- input::placeholder,
142
- textarea::placeholder {
143
- color: bf-v-color.$bf-gray;
144
- }
145
-
146
- button,
147
- [type="button"],
148
- [type="reset"],
149
- [type="submit"],
150
- .bf-btn,
151
- button.bf-disabled,
152
- [type="button"].bf-disabled,
153
- [type="reset"].bf-disabled,
154
- [type="submit"].bf-disabled,
155
- .bf-btn.bf-disabled {
156
- background: bf-v-color.$bf-gray-light;
157
-
158
- &:hover,
159
- &:active,
160
- &:focus {
161
- background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
162
- }
163
-
164
- &:active,
165
- &:focus {
166
- box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
167
- }
168
- }
169
-
170
- button,
171
- [type="button"],
172
- [type="reset"],
173
- [type="submit"],
174
- .bf-btn {
175
- &:active,
176
- &:focus {
177
- box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
178
- }
179
- }
180
-
181
- .bf-btn--primary.bf-disabled,
182
- .bf-btn.bf-btn--primary {
183
- background: bf-v-color.$bf-blue;
184
-
185
- &:hover,
186
- &:active,
187
- &:focus {
188
- background: color.adjust(bf-v-color.$bf-blue, $lightness: -5%);
189
- }
190
-
191
- &:active,
192
- &:focus {
193
- box-shadow: 0 0 0 3px rgb(0 86 179 / 75%);
194
- }
195
- }
196
-
197
- // focus
198
- a:focus,
199
- input:focus {
200
- outline-color: color.adjust(orange, $lightness: -15%);
201
- }
202
-
203
- :focus-visible {
204
- outline-color: color.adjust(orange, $lightness: -15%);
205
- }
206
-
207
- // tables
208
-
209
- .bf-table th,
210
- .bf-table td {
211
- border-color: bf-v-color.$bf-gray-dark;
212
- }
213
-
214
- .bf-table--zebra tbody tr:nth-child(odd),
215
- .bf-table-responsive--zebra tbody tr:nth-child(odd) {
216
- background-color: bf-v-color.$bf-gray-dark-extra;
217
- }
218
-
219
- dialog {
220
- color: bf-v-color.$bf-light;
221
- // match body background color
222
- background-color: color.adjust(bf-v-color.$bf-dark-extra, $lightness: 7.5%);
223
- }
224
- }
225
-
226
- @mixin bf-global-dark-classless {
227
- // these are global styles tha that ovveride all the "light" styles
228
-
229
- // the basics: background and texts
230
- html {
231
- color: bf-v-color.$bf-light;
232
- }
233
-
234
- body {
235
- background-color: color.adjust(bf-v-color.$bf-dark-extra, $lightness: 7.5%);
236
- }
237
-
238
- // anchors
239
- a {
240
- color: color.adjust(bf-v-color.$bf-blue, $lightness: 20%);
241
-
242
- &:hover,
243
- &:focus {
244
- color: color.adjust(bf-v-color.$bf-blue-light, $lightness: 20%);
245
- }
246
- }
247
-
248
- // typography elements that need tiny adjustments
249
- mark {
250
- background-color: color.adjust(bf-v-color.$bf-yellow, $lightness: -10%);
251
- }
252
-
253
- ins {
254
- background-color: color.adjust(
255
- bf-v-color.$bf-yellow-light,
256
- $lightness: 45%
257
- );
258
- }
259
-
260
- // forms
261
-
262
- [type="email"],
263
- [type="number"],
264
- [type="password"],
265
- [type="tel"],
266
- [type="search"],
267
- [type="text"],
268
- [type="date"],
269
- [type="datetime-local"],
270
- [type="month"],
271
- [type="week"],
272
- [type="time"],
273
- [type="url"],
274
- [type="range"],
275
- input[list],
276
- select,
277
- select:not([size], [multiple]),
278
- textarea {
279
- background-color: bf-v-color.$bf-dark-extra;
280
- border-color: bf-v-color.$bf-black;
281
- color: bf-v-color.$bf-gray-light;
282
-
283
- &:active,
284
- &:focus {
285
- background-color: bf-v-color.$bf-dark-extra;
286
- border-color: color.adjust(bf-v-color.$bf-blue, $lightness: 10%);
287
- }
288
- }
289
-
290
- [type="email"],
291
- [type="number"],
292
- [type="password"],
293
- [type="tel"],
294
- [type="search"],
295
- [type="text"],
296
- [type="date"],
297
- [type="datetime-local"],
298
- [type="month"],
299
- [type="week"],
300
- [type="time"],
301
- [type="url"],
302
- input[list],
303
- select,
304
- select:not([size], [multiple]),
305
- textarea {
306
- &:active,
307
- &:focus {
308
- box-shadow: 0 0 0 3px rgb(3 102 214 / 50%);
309
- }
310
- }
311
-
312
- select:not([size], [multiple]) {
313
- 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");
314
- }
315
-
316
- /* stylelint-disable-next-line */
317
- @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
318
- // hide custom arrow
319
- select:not([size], [multiple]),
320
- /* RTL*/
321
- *[dir="rtl"] select:not([size], [multiple]),
322
- select[dir="rtl"]:not([size], [multiple]) {
323
- background-image: none;
324
- }
325
- }
326
-
327
- // range
328
-
329
- // override above declaration
330
- [type="range"] {
331
- background-color: transparent;
332
-
333
- &:focus {
334
- background-color: transparent;
335
- }
336
- }
337
-
338
- // darker background
339
- // the rulesets must be separated
340
- [type="range"]::-webkit-slider-runnable-track {
341
- background-color: bf-v-color.$bf-dark-extra;
342
- }
343
-
344
- [type="range"]::-moz-range-track {
345
- background-color: bf-v-color.$bf-dark-extra;
346
- }
347
-
348
- input::placeholder,
349
- textarea::placeholder {
350
- color: bf-v-color.$bf-gray;
351
- }
352
-
353
- button,
354
- [type="button"],
355
- [type="reset"],
356
- [type="submit"] {
357
- background: bf-v-color.$bf-gray-light;
358
-
359
- &:hover,
360
- &:active,
361
- &:focus {
362
- background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
363
- }
364
-
365
- &:active,
366
- &:focus {
367
- box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
368
- }
369
- }
370
-
371
- button,
372
- [type="button"],
373
- [type="reset"],
374
- [type="submit"] {
375
- &:active,
376
- &:focus {
377
- box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
378
- }
379
- }
380
-
381
- // focus
382
- a:focus,
383
- input:focus {
384
- outline-color: color.adjust(orange, $lightness: -15%);
385
- }
386
-
387
- :focus-visible {
388
- outline-color: color.adjust(orange, $lightness: -15%);
389
- }
390
-
391
- dialog {
392
- color: bf-v-color.$bf-light;
393
- // match body background color
394
- background-color: color.adjust(bf-v-color.$bf-dark-extra, $lightness: 7.5%);
395
- }
396
- }
@@ -1,80 +0,0 @@
1
- @mixin flex-container {
2
- display: flex !important;
3
- flex-wrap: wrap !important;
4
- }
5
-
6
- @mixin flex-100 {
7
- flex: 0 0 100% !important;
8
- }
9
-
10
- @mixin flex-80 {
11
- flex: 0 0 80% !important;
12
- }
13
-
14
- @mixin flex-75 {
15
- flex: 0 0 75% !important;
16
- }
17
-
18
- @mixin flex-70 {
19
- flex: 0 0 70% !important;
20
- }
21
-
22
- @mixin flex-66 {
23
- flex: 0 0 66.6666% !important;
24
- }
25
-
26
- @mixin flex-65 {
27
- flex: 0 0 65% !important;
28
- }
29
-
30
- @mixin flex-60 {
31
- flex: 0 0 60% !important;
32
- }
33
-
34
- @mixin flex-55 {
35
- flex: 0 0 55% !important;
36
- }
37
-
38
- @mixin flex-50 {
39
- flex: 0 0 50% !important;
40
- }
41
-
42
- @mixin flex-45 {
43
- flex: 0 0 45% !important;
44
- }
45
-
46
- @mixin flex-40 {
47
- flex: 0 0 40% !important;
48
- }
49
-
50
- @mixin flex-33 {
51
- flex: 0 0 33.3333% !important;
52
- }
53
-
54
- @mixin flex-30 {
55
- flex: 0 0 30% !important;
56
- }
57
-
58
- @mixin flex-25 {
59
- flex: 0 0 25% !important;
60
- }
61
-
62
- @mixin flex-20 {
63
- flex: 0 0 20% !important;
64
- }
65
-
66
- @mixin flex-17 {
67
- flex: 0 0 17% !important;
68
- }
69
-
70
- @mixin flex-16 {
71
- flex: 0 0 16.6666% !important;
72
- }
73
-
74
- @mixin flex-15 {
75
- flex: 0 0 15% !important;
76
- }
77
-
78
- @mixin flex-11 {
79
- flex: 0 0 11% !important;
80
- }
@@ -1,42 +0,0 @@
1
- @mixin bf-hidden {
2
- display: none !important;
3
- visibility: hidden !important;
4
- }
5
-
6
- @mixin bf-sr-only {
7
- position: absolute !important;
8
- width: 1px !important;
9
- height: 1px !important;
10
- padding: 0 !important;
11
- margin: -1px !important;
12
- overflow: hidden !important;
13
- clip: rect(0, 0, 0, 0) !important;
14
- white-space: nowrap !important;
15
- border: 0 !important;
16
- }
17
-
18
- @mixin bf-sr-only-focusable {
19
- &:active,
20
- &:focus {
21
- @include bf-sr-only;
22
- clip: auto !important;
23
- height: auto !important;
24
- margin: 0 !important;
25
- overflow: visible !important;
26
- position: static !important;
27
- white-space: inherit !important;
28
- width: auto !important;
29
- }
30
- }
31
-
32
- @mixin bf-clearfix {
33
- &::before,
34
- &::after {
35
- content: ' ';
36
- display: table !important;
37
- }
38
-
39
- &::after {
40
- clear: both !important;
41
- }
42
- }
@@ -1,37 +0,0 @@
1
- @mixin bf-text-hide {
2
- /* stylelint-disable-next-line */
3
- font: 0/0 a !important;
4
- color: transparent !important;
5
- text-shadow: none !important;
6
- background-color: transparent !important;
7
- border: 0 !important;
8
- margin: 0 !important;
9
- padding: 0 !important;
10
- }
11
-
12
- @mixin bf-text-truncate {
13
- max-width: 100% !important;
14
- overflow: hidden !important;
15
- text-overflow: ellipsis !important;
16
- white-space: nowrap !important;
17
- word-wrap: normal !important;
18
- }
19
-
20
- // truncate a multiline text via line-clamp
21
- //
22
- // demo https://codepen.io/devam-soni/pen/PoqaKWm
23
-
24
- @mixin bf-text-truncate--multiline-2 {
25
- overflow: hidden !important;
26
- text-overflow: ellipsis !important;
27
- display: -webkit-box !important;
28
- -webkit-line-clamp: 2 !important;
29
- line-clamp: 3 !important;
30
- -webkit-box-orient: vertical !important;
31
- }
32
-
33
- @mixin bf-text-truncate--multiline-3 {
34
- @include bf-text-truncate--multiline-2;
35
- -webkit-line-clamp: 3 !important;
36
- line-clamp: 3 !important;
37
- }
@@ -1,28 +0,0 @@
1
- @use '../variables/variables-colors' as bf-v-color;
2
- @use '../variables/variables-texts' as bf-v-text;
3
- @use '../variables/variables-spacing' as bf-v-space;
4
- @use '../variables/variables-breakpoints' as bf-v-bp;
5
- @use 'sass:color';
6
-
7
- blockquote {
8
- margin-bottom: bf-v-space.$bf-spacing-xl-rem;
9
- padding-left: 0;
10
- font-style: italic;
11
- }
12
-
13
- blockquote p {
14
- margin-bottom: 0;
15
- }
16
-
17
- blockquote small {
18
- color: bf-v-color.$bf-gray;
19
- display: block;
20
- }
21
-
22
- blockquote small::before {
23
- content: '\2014 \00A0';
24
- }
25
-
26
- q {
27
- quotes: '\201C' '\201D' '\2018' '\2019';
28
- }
@@ -1,45 +0,0 @@
1
- @use '../variables/variables-colors' as bf-v-color;
2
- @use '../variables/variables-texts' as bf-v-text;
3
- @use '../variables/variables-spacing' as bf-v-space;
4
- @use '../variables/variables-breakpoints' as bf-v-bp;
5
- @use 'sass:color';
6
-
7
- h1,
8
- h2,
9
- h3,
10
- h4,
11
- h5,
12
- h6 {
13
- margin-top: 0; // fallback
14
- font-weight: 600;
15
- font-family: inherit;
16
- color: inherit;
17
- line-height: 1.25;
18
- margin-bottom: bf-v-space.$bf-spacing-lg-rem;
19
- }
20
-
21
- h1 {
22
- font-size: 36px;
23
- font-size: 3.6rem;
24
- }
25
-
26
- h2 {
27
- font-size: 30px;
28
- font-size: 3rem;
29
- }
30
-
31
- h3 {
32
- font-size: 24px;
33
- font-size: 2.4rem;
34
- }
35
-
36
- h4 {
37
- font-size: 20px;
38
- font-size: 2rem;
39
- }
40
-
41
- h5,
42
- h6 {
43
- font-size: 16px;
44
- font-size: 1.6rem;
45
- }
@@ -1,75 +0,0 @@
1
- @use '../variables/variables-colors' as bf-v-color;
2
- @use '../variables/variables-texts' as bf-v-text;
3
- @use '../variables/variables-spacing' as bf-v-space;
4
- @use '../variables/variables-breakpoints' as bf-v-bp;
5
- @use 'sass:color';
6
-
7
- html {
8
- text-size-adjust: 100%;
9
-
10
- // resize the base font-size and get an easy math for rem units
11
- // https://snook.ca/archives/html_and_css/font-size-with-rem
12
- font-size: 62.5%;
13
-
14
- color: bf-v-color.$bf-dark;
15
-
16
- // set a default font-family and line-height
17
- font-family: sans-serif;
18
- line-height: 1.15;
19
-
20
- // remove a tap background when a link or interactive element is focused
21
- // if is touch
22
- -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
23
- }
24
-
25
- body {
26
- margin: 0;
27
- font-size: bf-v-text.$bf-body-font-size-rem; // '1.6rem' by default
28
- line-height: bf-v-text.$bf-body-line-height; // '1.5' by default
29
-
30
- // this is useful to inherit values for some elements (e.g. forms)
31
- font-weight: 400;
32
- text-align: left;
33
-
34
- // native font stack for optimum text rendering on every device and OS
35
- // this stack mimics the system font UI
36
- // a web apps looks like a native app (e.g. Android = Roboto font)
37
- // Read more:
38
- // https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
39
- font-family:
40
-
41
- // Safari for OS X and iOS (San Francisco) -apple-system,
42
- // Chrome < 56 for OS X (San Francisco)
43
- BlinkMacSystemFont,
44
- // Windows
45
- 'Segoe UI',
46
- // Android
47
- Roboto,
48
- // Linux with KDE
49
- Oxygen-Sans,
50
- // Ubuntu (all variants)
51
- Ubuntu,
52
- // Linux with GNOME Shell
53
- Cantarell,
54
- // macOS 1.10 and below
55
- 'Helvetica Neue',
56
- Helvetica,
57
- // Basic web fallback
58
- Arial,
59
- 'Noto Sans',
60
- sans-serif,
61
- // emoji fonts
62
- 'Apple Color Emoji',
63
- 'Segoe UI Emoji',
64
- 'Segoe UI Symbol',
65
- 'Noto Color Emoji';
66
-
67
- // this enable font ligatures
68
- text-rendering: optimizeLegibility;
69
-
70
- // break very long texts by default, especially on old browsers
71
- // e.g. big <h1> or <h2> headlines
72
- word-wrap: break-word;
73
-
74
- background-color: bf-v-color.$bf-white;
75
- }