@baloise/ds-styles 0.0.5-nightly.20240301

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 (117) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +40 -0
  3. package/bin/index.mjs +1333 -0
  4. package/css/all.css +18468 -0
  5. package/css/all.css.map +1 -0
  6. package/css/all.min.css +1 -0
  7. package/css/baloise-design-system.css +18468 -0
  8. package/css/baloise-design-system.css.map +1 -0
  9. package/css/baloise-design-system.min.css +1 -0
  10. package/css/core.css +4423 -0
  11. package/css/core.css.map +1 -0
  12. package/css/core.min.css +1 -0
  13. package/css/font.css +29 -0
  14. package/css/font.css.map +1 -0
  15. package/css/font.min.css +1 -0
  16. package/css/mixins.css +2 -0
  17. package/css/mixins.css.map +1 -0
  18. package/css/mixins.min.css +0 -0
  19. package/css/normalize.css +351 -0
  20. package/css/normalize.css.map +1 -0
  21. package/css/normalize.min.css +1 -0
  22. package/css/structure.css +147 -0
  23. package/css/structure.css.map +1 -0
  24. package/css/structure.min.css +1 -0
  25. package/css/themes/compact.css +30 -0
  26. package/css/themes/compact.css.map +1 -0
  27. package/css/themes/compact.min.css +1 -0
  28. package/css/utilities/all.css +13112 -0
  29. package/css/utilities/all.css.map +1 -0
  30. package/css/utilities/all.min.css +1 -0
  31. package/css/utilities/background.css +1460 -0
  32. package/css/utilities/background.css.map +1 -0
  33. package/css/utilities/background.min.css +1 -0
  34. package/css/utilities/border.css +4697 -0
  35. package/css/utilities/border.css.map +1 -0
  36. package/css/utilities/border.min.css +1 -0
  37. package/css/utilities/elevation.css +317 -0
  38. package/css/utilities/elevation.css.map +1 -0
  39. package/css/utilities/elevation.min.css +1 -0
  40. package/css/utilities/flex.css +969 -0
  41. package/css/utilities/flex.css.map +1 -0
  42. package/css/utilities/flex.min.css +1 -0
  43. package/css/utilities/grid.css +1209 -0
  44. package/css/utilities/grid.css.map +1 -0
  45. package/css/utilities/grid.min.css +1 -0
  46. package/css/utilities/interaction.css +44 -0
  47. package/css/utilities/interaction.css.map +1 -0
  48. package/css/utilities/interaction.min.css +1 -0
  49. package/css/utilities/layout.css +1055 -0
  50. package/css/utilities/layout.css.map +1 -0
  51. package/css/utilities/layout.min.css +1 -0
  52. package/css/utilities/sizing.css +1931 -0
  53. package/css/utilities/sizing.css.map +1 -0
  54. package/css/utilities/sizing.min.css +1 -0
  55. package/css/utilities/spacing.css +1881 -0
  56. package/css/utilities/spacing.css.map +1 -0
  57. package/css/utilities/spacing.min.css +1 -0
  58. package/css/utilities/typography.css +763 -0
  59. package/css/utilities/typography.css.map +1 -0
  60. package/css/utilities/typography.min.css +1 -0
  61. package/package.json +36 -0
  62. package/sass/all.sass +6 -0
  63. package/sass/baloise-design-system.sass +1 -0
  64. package/sass/core.sass +37 -0
  65. package/sass/font.sass +1 -0
  66. package/sass/mixins.sass +3 -0
  67. package/sass/normalize.sass +359 -0
  68. package/sass/structure.sass +113 -0
  69. package/sass/themes/compact.sass +28 -0
  70. package/sass/utilities/all.sass +9 -0
  71. package/sass/utilities/background.sass +5 -0
  72. package/sass/utilities/border.sass +2 -0
  73. package/sass/utilities/elevation.sass +2 -0
  74. package/sass/utilities/flex.sass +2 -0
  75. package/sass/utilities/grid.sass +2 -0
  76. package/sass/utilities/interaction.sass +2 -0
  77. package/sass/utilities/layout.sass +12 -0
  78. package/sass/utilities/sizing.sass +2 -0
  79. package/sass/utilities/spacing.sass +2 -0
  80. package/sass/utilities/typography.sass +127 -0
  81. package/src/core/_all.sass +18 -0
  82. package/src/core/container.sass +23 -0
  83. package/src/core/form/_all.sass +6 -0
  84. package/src/core/form/button.sass +532 -0
  85. package/src/core/form/file.sass +139 -0
  86. package/src/core/form/input-textarea.sass +80 -0
  87. package/src/core/form/select.sass +111 -0
  88. package/src/core/form/shared.sass +69 -0
  89. package/src/core/form/tools.sass +209 -0
  90. package/src/core/grid.sass +477 -0
  91. package/src/core/link.sass +64 -0
  92. package/src/core/list.sass +85 -0
  93. package/src/core/table.sass +134 -0
  94. package/src/core/typography.sass +33 -0
  95. package/src/core/vars/_all.sass +7 -0
  96. package/src/core/vars/button.vars.sass +282 -0
  97. package/src/core/vars/form.vars.sass +137 -0
  98. package/src/core/vars/link.vars.sass +36 -0
  99. package/src/core/vars/list.vars.sass +20 -0
  100. package/src/core/vars/structure.vars.sass +47 -0
  101. package/src/core/vars/table.vars.sass +55 -0
  102. package/src/core/vars/typography.vars.sass +12 -0
  103. package/src/generated/background.sass +1091 -0
  104. package/src/generated/border.sass +3943 -0
  105. package/src/generated/elevation.sass +283 -0
  106. package/src/generated/flex.sass +831 -0
  107. package/src/generated/interaction.sass +26 -0
  108. package/src/generated/layout.sass +948 -0
  109. package/src/generated/sizing.sass +1703 -0
  110. package/src/generated/spacing.sass +1683 -0
  111. package/src/generated/typography.sass +453 -0
  112. package/src/mixins/_all.sass +7 -0
  113. package/src/mixins/bem.mixin.sass +39 -0
  114. package/src/mixins/breakpoint.mixin.sass +67 -0
  115. package/src/mixins/extends.sass +32 -0
  116. package/src/mixins/general.mixin.sass +95 -0
  117. package/src/mixins/svg.mixin.sass +6 -0
@@ -0,0 +1,453 @@
1
+ .text-primary
2
+ color: var(--bal-color-text-primary) !important
3
+
4
+ .text-primary-light
5
+ color: var(--bal-color-text-primary-light) !important
6
+
7
+ .text-white
8
+ color: var(--bal-color-text-white) !important
9
+
10
+ .text-grey-light
11
+ color: var(--bal-color-text-grey-light) !important
12
+
13
+ .text-grey
14
+ color: var(--bal-color-text-grey) !important
15
+
16
+ .text-grey-dark
17
+ color: var(--bal-color-text-grey-dark) !important
18
+
19
+ .text-info
20
+ color: var(--bal-color-text-info) !important
21
+
22
+ .text-warning
23
+ color: var(--bal-color-text-warning) !important
24
+
25
+ .text-success
26
+ color: var(--bal-color-text-success) !important
27
+
28
+ .text-danger
29
+ color: var(--bal-color-text-danger) !important
30
+
31
+ .text-black
32
+ color: var(--bal-color-text-black) !important
33
+
34
+ .text-primary-hovered
35
+ color: var(--bal-color-text-primary-hovered) !important
36
+
37
+ .text-primary-pressed
38
+ color: var(--bal-color-text-primary-pressed) !important
39
+
40
+ .text-danger-hovered
41
+ color: var(--bal-color-text-danger-hovered) !important
42
+
43
+ .text-danger-pressed
44
+ color: var(--bal-color-text-danger-pressed) !important
45
+
46
+ .text-inverted
47
+ color: var(--bal-color-text-inverted) !important
48
+
49
+ .text-inverted-disabled
50
+ color: var(--bal-color-text-inverted-disabled) !important
51
+
52
+ .text-inverted-hovered
53
+ color: var(--bal-color-text-inverted-hovered) !important
54
+
55
+ .text-inverted-pressed
56
+ color: var(--bal-color-text-inverted-pressed) !important
57
+
58
+ .focus\:text-primary:focus
59
+ color: var(--bal-color-text-primary) !important
60
+
61
+ .hover\:text-primary:hover
62
+ color: var(--bal-color-text-primary) !important
63
+
64
+ .active\:text-primary:active
65
+ color: var(--bal-color-text-primary) !important
66
+
67
+ .focus\:text-primary-light:focus
68
+ color: var(--bal-color-text-primary-light) !important
69
+
70
+ .hover\:text-primary-light:hover
71
+ color: var(--bal-color-text-primary-light) !important
72
+
73
+ .active\:text-primary-light:active
74
+ color: var(--bal-color-text-primary-light) !important
75
+
76
+ .focus\:text-white:focus
77
+ color: var(--bal-color-text-white) !important
78
+
79
+ .hover\:text-white:hover
80
+ color: var(--bal-color-text-white) !important
81
+
82
+ .active\:text-white:active
83
+ color: var(--bal-color-text-white) !important
84
+
85
+ .focus\:text-grey-light:focus
86
+ color: var(--bal-color-text-grey-light) !important
87
+
88
+ .hover\:text-grey-light:hover
89
+ color: var(--bal-color-text-grey-light) !important
90
+
91
+ .active\:text-grey-light:active
92
+ color: var(--bal-color-text-grey-light) !important
93
+
94
+ .focus\:text-grey:focus
95
+ color: var(--bal-color-text-grey) !important
96
+
97
+ .hover\:text-grey:hover
98
+ color: var(--bal-color-text-grey) !important
99
+
100
+ .active\:text-grey:active
101
+ color: var(--bal-color-text-grey) !important
102
+
103
+ .focus\:text-grey-dark:focus
104
+ color: var(--bal-color-text-grey-dark) !important
105
+
106
+ .hover\:text-grey-dark:hover
107
+ color: var(--bal-color-text-grey-dark) !important
108
+
109
+ .active\:text-grey-dark:active
110
+ color: var(--bal-color-text-grey-dark) !important
111
+
112
+ .focus\:text-info:focus
113
+ color: var(--bal-color-text-info) !important
114
+
115
+ .hover\:text-info:hover
116
+ color: var(--bal-color-text-info) !important
117
+
118
+ .active\:text-info:active
119
+ color: var(--bal-color-text-info) !important
120
+
121
+ .focus\:text-warning:focus
122
+ color: var(--bal-color-text-warning) !important
123
+
124
+ .hover\:text-warning:hover
125
+ color: var(--bal-color-text-warning) !important
126
+
127
+ .active\:text-warning:active
128
+ color: var(--bal-color-text-warning) !important
129
+
130
+ .focus\:text-success:focus
131
+ color: var(--bal-color-text-success) !important
132
+
133
+ .hover\:text-success:hover
134
+ color: var(--bal-color-text-success) !important
135
+
136
+ .active\:text-success:active
137
+ color: var(--bal-color-text-success) !important
138
+
139
+ .focus\:text-danger:focus
140
+ color: var(--bal-color-text-danger) !important
141
+
142
+ .hover\:text-danger:hover
143
+ color: var(--bal-color-text-danger) !important
144
+
145
+ .active\:text-danger:active
146
+ color: var(--bal-color-text-danger) !important
147
+
148
+ .focus\:text-black:focus
149
+ color: var(--bal-color-text-black) !important
150
+
151
+ .hover\:text-black:hover
152
+ color: var(--bal-color-text-black) !important
153
+
154
+ .active\:text-black:active
155
+ color: var(--bal-color-text-black) !important
156
+
157
+ .focus\:text-primary-hovered:focus
158
+ color: var(--bal-color-text-primary-hovered) !important
159
+
160
+ .hover\:text-primary-hovered:hover
161
+ color: var(--bal-color-text-primary-hovered) !important
162
+
163
+ .active\:text-primary-hovered:active
164
+ color: var(--bal-color-text-primary-hovered) !important
165
+
166
+ .focus\:text-primary-pressed:focus
167
+ color: var(--bal-color-text-primary-pressed) !important
168
+
169
+ .hover\:text-primary-pressed:hover
170
+ color: var(--bal-color-text-primary-pressed) !important
171
+
172
+ .active\:text-primary-pressed:active
173
+ color: var(--bal-color-text-primary-pressed) !important
174
+
175
+ .focus\:text-danger-hovered:focus
176
+ color: var(--bal-color-text-danger-hovered) !important
177
+
178
+ .hover\:text-danger-hovered:hover
179
+ color: var(--bal-color-text-danger-hovered) !important
180
+
181
+ .active\:text-danger-hovered:active
182
+ color: var(--bal-color-text-danger-hovered) !important
183
+
184
+ .focus\:text-danger-pressed:focus
185
+ color: var(--bal-color-text-danger-pressed) !important
186
+
187
+ .hover\:text-danger-pressed:hover
188
+ color: var(--bal-color-text-danger-pressed) !important
189
+
190
+ .active\:text-danger-pressed:active
191
+ color: var(--bal-color-text-danger-pressed) !important
192
+
193
+ .focus\:text-inverted:focus
194
+ color: var(--bal-color-text-inverted) !important
195
+
196
+ .hover\:text-inverted:hover
197
+ color: var(--bal-color-text-inverted) !important
198
+
199
+ .active\:text-inverted:active
200
+ color: var(--bal-color-text-inverted) !important
201
+
202
+ .focus\:text-inverted-disabled:focus
203
+ color: var(--bal-color-text-inverted-disabled) !important
204
+
205
+ .hover\:text-inverted-disabled:hover
206
+ color: var(--bal-color-text-inverted-disabled) !important
207
+
208
+ .active\:text-inverted-disabled:active
209
+ color: var(--bal-color-text-inverted-disabled) !important
210
+
211
+ .focus\:text-inverted-hovered:focus
212
+ color: var(--bal-color-text-inverted-hovered) !important
213
+
214
+ .hover\:text-inverted-hovered:hover
215
+ color: var(--bal-color-text-inverted-hovered) !important
216
+
217
+ .active\:text-inverted-hovered:active
218
+ color: var(--bal-color-text-inverted-hovered) !important
219
+
220
+ .focus\:text-inverted-pressed:focus
221
+ color: var(--bal-color-text-inverted-pressed) !important
222
+
223
+ .hover\:text-inverted-pressed:hover
224
+ color: var(--bal-color-text-inverted-pressed) !important
225
+
226
+ .active\:text-inverted-pressed:active
227
+ color: var(--bal-color-text-inverted-pressed) !important
228
+
229
+ .font-family-title
230
+ font-family: var(--bal-font-family-title) !important
231
+
232
+ .font-family-text
233
+ font-family: var(--bal-font-family-text) !important
234
+
235
+ .text-x-small
236
+ font-size: var(--bal-text-size-x-small) !important
237
+
238
+ .text-small
239
+ font-size: var(--bal-text-size-small) !important
240
+
241
+ .text-normal
242
+ font-size: var(--bal-text-size-normal) !important
243
+
244
+ .text-medium
245
+ font-size: var(--bal-text-size-medium) !important
246
+
247
+ .text-large
248
+ font-size: var(--bal-text-size-large) !important
249
+
250
+ .text-x-large
251
+ font-size: var(--bal-text-size-x-large) !important
252
+
253
+ .text-xx-large
254
+ font-size: var(--bal-text-size-xx-large) !important
255
+
256
+ .text-xxx-large
257
+ font-size: var(--bal-text-size-xxx-large) !important
258
+
259
+ .text-xxxx-large
260
+ font-size: var(--bal-text-size-xxxx-large) !important
261
+
262
+ .text-xxxxx-large
263
+ font-size: var(--bal-text-size-xxxxx-large) !important
264
+
265
+ +tablet
266
+ .text-x-small
267
+ font-size: var(--bal-text-size-x-small-tablet) !important
268
+
269
+ .text-small
270
+ font-size: var(--bal-text-size-small-tablet) !important
271
+
272
+ .text-normal
273
+ font-size: var(--bal-text-size-normal-tablet) !important
274
+
275
+ .text-medium
276
+ font-size: var(--bal-text-size-medium-tablet) !important
277
+
278
+ .text-large
279
+ font-size: var(--bal-text-size-large-tablet) !important
280
+
281
+ .text-x-large
282
+ font-size: var(--bal-text-size-x-large-tablet) !important
283
+
284
+ .text-xx-large
285
+ font-size: var(--bal-text-size-xx-large-tablet) !important
286
+
287
+ .text-xxx-large
288
+ font-size: var(--bal-text-size-xxx-large-tablet) !important
289
+
290
+ .text-xxxx-large
291
+ font-size: var(--bal-text-size-xxxx-large-tablet) !important
292
+
293
+ .text-xxxxx-large
294
+ font-size: var(--bal-text-size-xxxxx-large-tablet) !important
295
+
296
+ +desktop
297
+ .text-x-small
298
+ font-size: var(--bal-text-size-x-small-desktop) !important
299
+
300
+ .text-small
301
+ font-size: var(--bal-text-size-small-desktop) !important
302
+
303
+ .text-normal
304
+ font-size: var(--bal-text-size-normal-desktop) !important
305
+
306
+ .text-medium
307
+ font-size: var(--bal-text-size-medium-desktop) !important
308
+
309
+ .text-large
310
+ font-size: var(--bal-text-size-large-desktop) !important
311
+
312
+ .text-x-large
313
+ font-size: var(--bal-text-size-x-large-desktop) !important
314
+
315
+ .text-xx-large
316
+ font-size: var(--bal-text-size-xx-large-desktop) !important
317
+
318
+ .text-xxx-large
319
+ font-size: var(--bal-text-size-xxx-large-desktop) !important
320
+
321
+ .text-xxxx-large
322
+ font-size: var(--bal-text-size-xxxx-large-desktop) !important
323
+
324
+ .text-xxxxx-large
325
+ font-size: var(--bal-text-size-xxxxx-large-desktop) !important
326
+
327
+ .text-align-center
328
+ text-align: center !important
329
+
330
+ .text-align-left
331
+ text-align: left !important
332
+
333
+ .text-align-right
334
+ text-align: right !important
335
+
336
+ .text-align-justify
337
+ text-align: justify !important
338
+
339
+ +mobile
340
+ .mobile\:text-align-center
341
+ text-align: center !important
342
+
343
+ .mobile\:text-align-left
344
+ text-align: left !important
345
+
346
+ .mobile\:text-align-right
347
+ text-align: right !important
348
+
349
+ .mobile\:text-align-justify
350
+ text-align: justify !important
351
+
352
+ +tablet
353
+ .tablet\:text-align-center
354
+ text-align: center !important
355
+
356
+ .tablet\:text-align-left
357
+ text-align: left !important
358
+
359
+ .tablet\:text-align-right
360
+ text-align: right !important
361
+
362
+ .tablet\:text-align-justify
363
+ text-align: justify !important
364
+
365
+ +desktop
366
+ .desktop\:text-align-center
367
+ text-align: center !important
368
+
369
+ .desktop\:text-align-left
370
+ text-align: left !important
371
+
372
+ .desktop\:text-align-right
373
+ text-align: right !important
374
+
375
+ .desktop\:text-align-justify
376
+ text-align: justify !important
377
+
378
+ +widescreen
379
+ .widescreen\:text-align-center
380
+ text-align: center !important
381
+
382
+ .widescreen\:text-align-left
383
+ text-align: left !important
384
+
385
+ .widescreen\:text-align-right
386
+ text-align: right !important
387
+
388
+ .widescreen\:text-align-justify
389
+ text-align: justify !important
390
+
391
+ .lowercase
392
+ text-transform: lowercase !important
393
+
394
+ .uppercase
395
+ text-transform: uppercase !important
396
+
397
+ .capitalize
398
+ text-transform: capitalize !important
399
+
400
+ .font-weight-bold
401
+ font-weight: var(--bal-font-weight-bold) !important
402
+
403
+ .font-weight-regular
404
+ font-weight: var(--bal-font-weight-regular) !important
405
+
406
+ .font-weight-light
407
+ font-weight: var(--bal-font-weight-light) !important
408
+
409
+ .white-space-normal
410
+ white-space: normal !important
411
+
412
+ .white-space-nowrap
413
+ white-space: nowrap !important
414
+
415
+ .line-height-title
416
+ line-height: var(--bal-text-line-height-title) !important
417
+
418
+ .line-height-text
419
+ line-height: var(--bal-text-line-height-text) !important
420
+
421
+ .text-overflow-clip
422
+ text-overflow: clip !important
423
+
424
+ .text-overflow-ellipsis
425
+ text-overflow: ellipsis !important
426
+
427
+ +mobile
428
+ .mobile\:text-overflow-clip
429
+ text-overflow: clip !important
430
+
431
+ .mobile\:text-overflow-ellipsis
432
+ text-overflow: ellipsis !important
433
+
434
+ +tablet
435
+ .tablet\:text-overflow-clip
436
+ text-overflow: clip !important
437
+
438
+ .tablet\:text-overflow-ellipsis
439
+ text-overflow: ellipsis !important
440
+
441
+ +desktop
442
+ .desktop\:text-overflow-clip
443
+ text-overflow: clip !important
444
+
445
+ .desktop\:text-overflow-ellipsis
446
+ text-overflow: ellipsis !important
447
+
448
+ +widescreen
449
+ .widescreen\:text-overflow-clip
450
+ text-overflow: clip !important
451
+
452
+ .widescreen\:text-overflow-ellipsis
453
+ text-overflow: ellipsis !important
@@ -0,0 +1,7 @@
1
+ @import '@baloise/ds-tokens/dist/tokens.scss'
2
+
3
+ @import './bem.mixin'
4
+ @import './svg.mixin'
5
+ @import './general.mixin'
6
+ @import './breakpoint.mixin'
7
+ @import './extends'
@@ -0,0 +1,39 @@
1
+ $componentPrefix: 'bal-'
2
+
3
+ =component($name)
4
+ #{$componentPrefix}#{$name}
5
+ @content
6
+
7
+ =block($name)
8
+ .#{$componentPrefix}#{$name}
9
+ @content
10
+
11
+ =blocks($names...)
12
+ $selector: ()
13
+ @each $name in $names
14
+ $selector: append($selector, unquote('.#{$componentPrefix}#{$name}'), comma)
15
+ #{$selector}
16
+ @content
17
+
18
+ =element($name)
19
+ &__#{$name}
20
+ @content
21
+
22
+ =elements($names...)
23
+ $selector: ()
24
+ @each $name in $names
25
+ $selector: append($selector, unquote('&__#{$name}'), comma)
26
+ #{$selector}
27
+ @content
28
+
29
+ =modifier($name)
30
+ &--#{$name}
31
+ @content
32
+
33
+ =modifiers($names...)
34
+ $selector: ()
35
+ @each $name in $names
36
+ $selector: append($selector, unquote('&--#{$name}'), comma)
37
+ #{$selector}
38
+ @content
39
+
@@ -0,0 +1,67 @@
1
+ =from($device)
2
+ @media screen and (min-width: $device)
3
+ @content
4
+
5
+ =until($device)
6
+ @media screen and (max-width: $device - 1px)
7
+ @content
8
+
9
+ =between($min-device, $max-device)
10
+ @media screen and (min-width: $min-device) and (max-width: $max-device - 1px)
11
+ @content
12
+
13
+ =mobile
14
+ @media screen and (max-width: $bal-breakpoint-tablet - 1px)
15
+ @content
16
+
17
+ =tablet
18
+ @media screen and (min-width: $bal-breakpoint-tablet), print
19
+ @content
20
+
21
+ =tablet-only
22
+ @media screen and (min-width: $bal-breakpoint-tablet) and (max-width: $bal-breakpoint-desktop - 1px)
23
+ @content
24
+
25
+ =touch
26
+ @media screen and (max-width: $bal-breakpoint-desktop - 1px)
27
+ @content
28
+
29
+ =desktop
30
+ @media screen and (min-width: $bal-breakpoint-desktop)
31
+ @content
32
+
33
+ =desktop-only
34
+ @media screen and (min-width: $bal-breakpoint-desktop) and (max-width: $bal-breakpoint-high-definition - 1px)
35
+ @content
36
+
37
+ =high-definition
38
+ @media screen and (min-width: $bal-breakpoint-high-definition)
39
+ @content
40
+
41
+ =high-definition-only
42
+ @media screen and (min-width: $bal-breakpoint-high-definition) and (max-width: $bal-breakpoint-widescreen - 1px)
43
+ @content
44
+
45
+ =until-high-definition
46
+ @media screen and (max-width: $bal-breakpoint-high-definition - 1px)
47
+ @content
48
+
49
+ =until-widescreen
50
+ @media screen and (max-width: $bal-breakpoint-widescreen - 1px)
51
+ @content
52
+
53
+ =widescreen
54
+ @media screen and (min-width: $bal-breakpoint-widescreen)
55
+ @content
56
+
57
+ =widescreen-only
58
+ @media screen and (min-width: $bal-breakpoint-widescreen) and (max-width: $bal-breakpoint-fullhd - 1px)
59
+ @content
60
+
61
+ =until-fullhd
62
+ @media screen and (max-width: $bal-breakpoint-fullhd - 1px)
63
+ @content
64
+
65
+ =fullhd
66
+ @media screen and (min-width: $bal-breakpoint-fullhd)
67
+ @content
@@ -0,0 +1,32 @@
1
+ %bottomSpacing
2
+ +bottomSpacing
3
+
4
+ %hidden-input
5
+ +hidden-input
6
+
7
+ %focus-shadow
8
+ +focus-shadow
9
+
10
+ %focus-inverted-shadow
11
+ +focus-inverted-shadow
12
+
13
+ %focus-inset-shadow
14
+ +focus-inset-shadow
15
+
16
+ %focus-inverted-inset-shadow
17
+ +focus-inverted-inset-shadow
18
+
19
+ %disabled
20
+ +disabled
21
+
22
+ %unselectable
23
+ +unselectable
24
+
25
+ %font-smoothing
26
+ +font-smoothing
27
+
28
+ %reset
29
+ +reset
30
+
31
+ %overlay
32
+ +overlay
@@ -0,0 +1,95 @@
1
+ @use "sass:map"
2
+ @use "sass:string"
3
+ @use "sass:math"
4
+
5
+ @function bulmaRgba($color, $alpha)
6
+ @if type-of($color) != 'color'
7
+ @return $color
8
+ @return rgba($color, $alpha)
9
+
10
+ =hover
11
+ @media(hover: hover) and (pointer: fine)
12
+ @content
13
+
14
+ =overflow-touch
15
+ -webkit-overflow-scrolling: touch
16
+
17
+ =focus-shadow
18
+ +hover
19
+ box-shadow: var(--bal-focus-shadow) !important
20
+
21
+ =focus-inset-shadow
22
+ +hover
23
+ box-shadow: var(--bal-focus-shadow-inset) !important
24
+
25
+ =focus-inverted-shadow
26
+ +hover
27
+ box-shadow: var(--bal-focus-shadow-inverted) !important
28
+
29
+ =focus-inverted-inset-shadow
30
+ +hover
31
+ box-shadow: var(--bal-focus-shadow-inverted-inset) !important
32
+
33
+ =font-smoothing
34
+ -moz-osx-font-smoothing: grayscale
35
+ -webkit-font-smoothing: antialiased
36
+
37
+ =bottomSpacing($spacing: $block-spacing)
38
+ &:not(:last-child)
39
+ margin-bottom: $spacing
40
+
41
+ =ltr-position($spacing, $right: true)
42
+ $normal: if($right, "right", "left")
43
+ #{$normal}: $spacing
44
+
45
+ =ltr-property($property, $spacing, $right: true)
46
+ $normal: if($right, "right", "left")
47
+ #{$property}-#{$normal}: $spacing
48
+
49
+ =unselectable
50
+ -webkit-touch-callout: none
51
+ -webkit-user-select: none
52
+ -moz-user-select: none
53
+ -ms-user-select: none
54
+ user-select: none
55
+
56
+ =disabled
57
+ cursor: default !important
58
+ pointer-events: none !important
59
+
60
+ =reset
61
+ -moz-appearance: none
62
+ -webkit-appearance: none
63
+ appearance: none
64
+ background: none
65
+ border: none
66
+ color: currentColor
67
+ font-family: inherit
68
+ font-size: 1em
69
+ margin: 0
70
+ padding: 0
71
+
72
+ =overlay($offset: 0)
73
+ bottom: $offset
74
+ left: $offset
75
+ position: absolute
76
+ right: $offset
77
+ top: $offset
78
+
79
+ =hide-element
80
+ display: none !important
81
+ visibility: hidden !important
82
+
83
+ =hidden-input
84
+ position: absolute !important
85
+ left: 0
86
+ top: 0
87
+ margin: 0
88
+ padding: 0
89
+ opacity: 0
90
+ outline: 0
91
+ border: none
92
+ width: 1px
93
+ height: 1px
94
+ clip: rect(1px, 1px, 1px, 1px)
95
+ overflow: hidden
@@ -0,0 +1,6 @@
1
+ =fillSvg($color)
2
+ svg,
3
+ g,
4
+ path,
5
+ circle
6
+ fill: $color