@trilogy-ds/styles 0.0.1-beta.9 → 0.0.2-alpha-prompt

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 (149) hide show
  1. package/dist/default/assets/icons/all/calendar.svg +1 -0
  2. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  3. package/dist/default/assets/icons/all/micro.svg +1 -0
  4. package/dist/default/assets/icons/all/paperclip.svg +1 -0
  5. package/dist/default/trilogy-mangled.css +1 -1
  6. package/dist/default/trilogy-partials.css +1 -1
  7. package/dist/default/trilogy.css +1 -1
  8. package/framework/src/_all.scss +2 -2
  9. package/framework/src/base/_all.scss +1 -1
  10. package/framework/src/base/_color.scss +1 -52
  11. package/framework/src/base/_elements.scss +1 -1
  12. package/framework/src/base/_generic.scss +9 -1
  13. package/framework/src/base/_helpers.scss +34 -44
  14. package/framework/src/base/_loading.scss +9 -2
  15. package/framework/src/base/_reset.scss +11 -1
  16. package/framework/src/components/_accordion.scss +55 -89
  17. package/framework/src/components/_autocomplete.scss +38 -0
  18. package/framework/src/components/_autolayout.scss +332 -0
  19. package/framework/src/components/_badge.scss +87 -0
  20. package/framework/src/components/_box.scss +168 -0
  21. package/framework/src/components/_breadcrumb.scss +29 -38
  22. package/framework/src/components/_button.scss +79 -0
  23. package/framework/src/components/_calendar.scss +129 -0
  24. package/framework/src/components/_card.scss +33 -87
  25. package/framework/src/components/_checkbox.scss +71 -0
  26. package/framework/src/components/_chips.scss +84 -0
  27. package/framework/src/{elements → components}/_container.scss +7 -46
  28. package/framework/src/components/_countdown.scss +49 -47
  29. package/framework/src/components/_date-picker.scss +58 -0
  30. package/framework/src/components/_divider.scss +48 -14
  31. package/framework/src/components/_dropdown.scss +166 -99
  32. package/framework/src/components/_fab.scss +25 -38
  33. package/framework/src/components/_flex-box.scss +994 -0
  34. package/framework/src/{elements → components}/_icon.scss +4 -4
  35. package/framework/src/components/_image.scss +69 -0
  36. package/framework/src/components/_index.scss +51 -0
  37. package/framework/src/components/_link.scss +58 -0
  38. package/framework/src/components/_list.scss +66 -0
  39. package/framework/src/{elements → components}/_loader.scss +2 -2
  40. package/framework/src/components/_modal.scss +182 -158
  41. package/framework/src/components/_otp.scss +11 -30
  42. package/framework/src/components/_pagination.scss +60 -159
  43. package/framework/src/components/_popover.scss +260 -260
  44. package/framework/src/components/_price.scss +140 -165
  45. package/framework/src/components/_product-tour.scss +2 -4
  46. package/framework/src/components/_prompt.scss +125 -0
  47. package/framework/src/components/_radio.scss +82 -0
  48. package/framework/src/components/_range.scss +73 -72
  49. package/framework/src/components/_segmented-control.scss +55 -53
  50. package/framework/src/components/_select.scss +131 -0
  51. package/framework/src/components/_stepper.scss +42 -222
  52. package/framework/src/{elements → components}/_sticker.scss +25 -28
  53. package/framework/src/components/_switch.scss +97 -191
  54. package/framework/src/components/_table.scss +244 -0
  55. package/framework/src/components/_tabs.scss +114 -98
  56. package/framework/src/components/_tag.scss +114 -0
  57. package/framework/src/components/_text.scss +55 -0
  58. package/framework/src/components/_textarea.scss +46 -0
  59. package/framework/src/components/_timeline.scss +28 -113
  60. package/framework/src/components/_title.scss +151 -0
  61. package/framework/src/{elements → components/alert}/_alert.scss +13 -10
  62. package/framework/src/components/alert/_index.scss +2 -0
  63. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  64. package/framework/src/components/input/_entry.scss +135 -0
  65. package/framework/src/{elements → components/input}/_form.scss +42 -33
  66. package/framework/src/components/input/_index.scss +4 -0
  67. package/framework/src/components/input/_input-gauge.scss +44 -0
  68. package/framework/src/components/input/_input-icons.scss +55 -0
  69. package/framework/src/components/progress/_index.scss +2 -0
  70. package/framework/src/components/progress/_progress-radial.scss +28 -0
  71. package/framework/src/{elements → components/progress}/_progress.scss +34 -23
  72. package/framework/src/elements/_index.scss +5 -0
  73. package/framework/src/elements/_other.scss +0 -41
  74. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  75. package/framework/src/grid/_columns.scss +278 -763
  76. package/framework/src/grid/_rows.scss +45 -38
  77. package/framework/src/layout/_all.scss +0 -1
  78. package/framework/src/layout/_hero.scss +92 -214
  79. package/framework/src/layout/_section.scss +10 -29
  80. package/framework/src/theming/_all.scss +3 -0
  81. package/framework/src/theming/buttons_partial.scss +32 -0
  82. package/framework/src/theming/common_partials.scss +10 -0
  83. package/framework/src/theming/links_partial.scss +20 -0
  84. package/framework/src/trilogy-mangled.scss +3 -3
  85. package/framework/src/trilogy.scss +2 -2
  86. package/framework/src/utilities/_a11y.scss +13 -0
  87. package/framework/src/utilities/_all.scss +4 -0
  88. package/framework/src/utilities/_background.scss +21 -0
  89. package/framework/src/utilities/_controls.scss +38 -49
  90. package/framework/src/utilities/_derived-variables.scss +0 -103
  91. package/framework/src/utilities/_initial-variables.scss +4 -144
  92. package/framework/src/utilities/_pre.scss +4 -1
  93. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  94. package/framework/src/utilities/mixins/_delete.scss +86 -0
  95. package/framework/src/utilities/mixins/_index.scss +11 -0
  96. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  97. package/framework/src/utilities/mixins/_mixins.scss +294 -0
  98. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  99. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  100. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  101. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  102. package/framework/src/utilities/mixins/_state.scss +25 -0
  103. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  104. package/framework/src/utilities/mixins/_utils.scss +24 -0
  105. package/framework/src/utilities/variables/_animation.scss +2 -0
  106. package/framework/src/utilities/variables/_color.scss +85 -0
  107. package/framework/src/utilities/variables/_font.scss +97 -0
  108. package/framework/src/utilities/variables/_index.scss +6 -0
  109. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  110. package/framework/src/utilities/variables/_shadow.scss +3 -0
  111. package/framework/src/utilities/variables/_zindex.scss +14 -0
  112. package/package.json +8 -3
  113. package/framework/src/components/_all.scss +0 -30
  114. package/framework/src/components/_autolayout2.scss +0 -38
  115. package/framework/src/components/_disclaimer.scss +0 -84
  116. package/framework/src/components/_level.scss +0 -120
  117. package/framework/src/components/_media.scss +0 -64
  118. package/framework/src/components/_menu.scss +0 -213
  119. package/framework/src/components/_progress-radial.scss +0 -23
  120. package/framework/src/components/_search-modal.scss +0 -197
  121. package/framework/src/components/_slices.scss +0 -316
  122. package/framework/src/components/_slider.scss +0 -92
  123. package/framework/src/elements/_all.scss +0 -35
  124. package/framework/src/elements/_badge.scss +0 -81
  125. package/framework/src/elements/_box.scss +0 -267
  126. package/framework/src/elements/_button.scss +0 -192
  127. package/framework/src/elements/_checkbox.scss +0 -39
  128. package/framework/src/elements/_checkradio.scss +0 -173
  129. package/framework/src/elements/_chips.scss +0 -100
  130. package/framework/src/elements/_dot.scss +0 -6
  131. package/framework/src/elements/_entry.scss +0 -109
  132. package/framework/src/elements/_image.scss +0 -59
  133. package/framework/src/elements/_input-gauge.scss +0 -37
  134. package/framework/src/elements/_input-icons.scss +0 -41
  135. package/framework/src/elements/_link.scss +0 -79
  136. package/framework/src/elements/_list.scss +0 -61
  137. package/framework/src/elements/_notification.scss +0 -151
  138. package/framework/src/elements/_options.scss +0 -146
  139. package/framework/src/elements/_paragraph.scss +0 -101
  140. package/framework/src/elements/_radio.scss +0 -67
  141. package/framework/src/elements/_select.scss +0 -315
  142. package/framework/src/elements/_switch.scss +0 -108
  143. package/framework/src/elements/_table.scss +0 -298
  144. package/framework/src/elements/_tag.scss +0 -131
  145. package/framework/src/elements/_textarea.scss +0 -125
  146. package/framework/src/elements/_timeline.scss +0 -283
  147. package/framework/src/elements/_title.scss +0 -139
  148. package/framework/src/layout/_toolbar.scss +0 -100
  149. package/framework/src/utilities/_mixins.scss +0 -744
@@ -0,0 +1,994 @@
1
+ @use 'sass:math';
2
+
3
+ .flex-box {
4
+ display: flex;
5
+ --ColumnGap : 8px;
6
+ gap: var(--ColumnGap);
7
+ flex-direction: row;
8
+ justify-content: flex-start;
9
+
10
+
11
+ &:has(>.flex-item){
12
+ --ColumnGap : 16px;
13
+ }
14
+
15
+ // DIRECTION
16
+ &.is-direction-column {
17
+ flex-direction: column;
18
+ }
19
+
20
+ &.is-direction-row {
21
+ flex-direction: row;
22
+ }
23
+
24
+ &.is-direction-row-reverse {
25
+ flex-direction: row-reverse;
26
+ }
27
+
28
+ &.is-direction-column-reverse {
29
+ flex-direction: column-reverse;
30
+ }
31
+
32
+ // WRAP
33
+ &.is-wrap {
34
+ flex-wrap: wrap;
35
+ }
36
+
37
+ @include mobile {
38
+ &:has(>.flex-item):not([class*='is-direction']) {
39
+ flex-direction: column;
40
+ }
41
+
42
+ &.is-direction-row-mobile {
43
+ flex-direction: row;
44
+ }
45
+
46
+ &.is-direction-column-mobile {
47
+ flex-direction: column;
48
+ }
49
+
50
+ &.is-direction-row-reverse-mobile {
51
+ flex-direction: row-reverse;
52
+ }
53
+
54
+ &.is-direction-column-reverse-mobile {
55
+ flex-direction: column-reverse;
56
+ }
57
+
58
+ &.is-wrap-mobile {
59
+ flex-wrap: wrap;
60
+ }
61
+ }
62
+ @include tablet {
63
+ &.is-direction-row-tablet {
64
+ flex-direction: row;
65
+ }
66
+
67
+ &.is-direction-column-tablet {
68
+ flex-direction: column;
69
+ }
70
+
71
+ &.is-direction-row-reverse-tablet {
72
+ flex-direction: row-reverse;
73
+ }
74
+
75
+ &.is-direction-column-reverse-tablet {
76
+ flex-direction: column-reverse;
77
+ }
78
+ &.is-wrap-tablet {
79
+ flex-wrap: wrap;
80
+ }
81
+ }
82
+ @include desktop {
83
+ &.is-direction-row-desktop {
84
+ flex-direction: row;
85
+ }
86
+ &.is-direction-column-desktop {
87
+ flex-direction: column;
88
+ }
89
+
90
+ &.is-direction-row-reverse-desktop {
91
+ flex-direction: row-reverse;
92
+ }
93
+
94
+ &.is-direction-column-reverse-desktop {
95
+ flex-direction: column-reverse;
96
+ }
97
+ &.is-wrap-desktop {
98
+ flex-wrap: wrap;
99
+ }
100
+ }
101
+ @include widescreen {
102
+ &.is-direction-row-widescreen {
103
+ flex-direction: row;
104
+ }
105
+ &.is-direction-column-widescreen {
106
+ flex-direction: column;
107
+ }
108
+
109
+ &.is-direction-row-reverse-widescreen {
110
+ flex-direction: row-reverse;
111
+ }
112
+
113
+ &.is-direction-column-reverse-widescreen {
114
+ flex-direction: column-reverse;
115
+ }
116
+ &.is-wrap-widescreen {
117
+ flex-wrap: wrap;
118
+ }
119
+ }
120
+
121
+ @include fullhd {
122
+ &.is-direction-row-fullhd {
123
+ flex-direction: row;
124
+ }
125
+ &.is-direction-column-fullhd {
126
+ flex-direction: column;
127
+ }
128
+
129
+ &.is-direction-row-reverse-fullhd {
130
+ flex-direction: row-reverse;
131
+ }
132
+
133
+ &.is-direction-column-reverse-fullhd {
134
+ flex-direction: column-reverse;
135
+ }
136
+ &.is-wrap-fullhd {
137
+ flex-wrap: wrap;
138
+ }
139
+ }
140
+
141
+ @include container-mobile {
142
+ &:has(>.flex-item):not([class*='is-direction']) {
143
+ flex-direction: column;
144
+ }
145
+
146
+ &.is-direction-row-mobile {
147
+ flex-direction: row;
148
+ }
149
+
150
+ &.is-direction-column-mobile {
151
+ flex-direction: column;
152
+ }
153
+
154
+ &.is-direction-row-reverse-mobile {
155
+ flex-direction: row-reverse;
156
+ }
157
+
158
+ &.is-direction-column-reverse-mobile {
159
+ flex-direction: column-reverse;
160
+ }
161
+ &.is-wrap-mobile {
162
+ flex-wrap: wrap;
163
+ }
164
+ }
165
+ @include container-tablet {
166
+ &.is-direction-row-tablet {
167
+ flex-direction: row;
168
+ }
169
+
170
+ &.is-direction-column-tablet {
171
+ flex-direction: column;
172
+ }
173
+
174
+ &.is-direction-row-reverse-tablet {
175
+ flex-direction: row-reverse;
176
+ }
177
+
178
+ &.is-direction-column-reverse-tablet {
179
+ flex-direction: column-reverse;
180
+ }
181
+ &.is-wrap-mobile {
182
+ flex-wrap: wrap;
183
+ }
184
+ }
185
+ @include container-desktop {
186
+ &.is-direction-row-desktop {
187
+ flex-direction: row;
188
+ }
189
+
190
+ &.is-direction-column-desktop {
191
+ flex-direction: column;
192
+ }
193
+
194
+ &.is-direction-row-reverse-desktop {
195
+ flex-direction: row-reverse;
196
+ }
197
+
198
+ &.is-direction-column-reverse-desktop {
199
+ flex-direction: column-reverse;
200
+ }
201
+ &.is-wrap-desktop {
202
+ flex-wrap: wrap;
203
+ }
204
+ }
205
+ @include container-widescreen {
206
+ &.is-direction-row-widescreen {
207
+ flex-direction: row;
208
+ }
209
+
210
+ &.is-direction-column-widescreen {
211
+ flex-direction: column;
212
+ }
213
+
214
+ &.is-direction-row-reverse-widescreen {
215
+ flex-direction: row-reverse;
216
+ }
217
+
218
+ &.is-direction-column-reverse-widescreen {
219
+ flex-direction: column-reverse;
220
+ }
221
+ &.is-wrap-widescreen {
222
+ flex-wrap: wrap;
223
+ }
224
+ }
225
+ @include container-fullhd {
226
+ &.is-direction-row-fullhd {
227
+ flex-direction: row;
228
+ }
229
+
230
+ &.is-direction-column-fullhd {
231
+ flex-direction: column;
232
+ }
233
+
234
+ &.is-direction-row-reverse-fullhd {
235
+ flex-direction: row-reverse;
236
+ }
237
+
238
+ &.is-direction-column-reverse-fullhd {
239
+ flex-direction: column-reverse;
240
+ }
241
+ &.is-wrap-fullhd {
242
+ flex-wrap: wrap;
243
+ }
244
+ }
245
+
246
+ // ALIGN ITEMS
247
+ &.is-aligned-start {
248
+ align-items: flex-start;
249
+ }
250
+
251
+ &.is-aligned-end {
252
+ align-items: flex-end;
253
+ }
254
+
255
+ &.is-aligned-center {
256
+ align-items: center;
257
+ }
258
+
259
+ &.is-aligned-stretch {
260
+ align-items: stretch;
261
+ }
262
+
263
+ @include mobile {
264
+ &.is-aligned-start-mobile {
265
+ align-items: flex-start;
266
+ }
267
+
268
+ &.is-aligned-end-mobile {
269
+ align-items: flex-end;
270
+ }
271
+
272
+ &.is-aligned-center-mobile {
273
+ align-items: center;
274
+ }
275
+
276
+ &.is-aligned-stretch-mobile {
277
+ align-items: stretch;
278
+ }
279
+ }
280
+ @include tablet {
281
+ &.is-aligned-start-tablet {
282
+ align-items: flex-start;
283
+ }
284
+
285
+ &.is-aligned-end-tablet {
286
+ align-items: flex-end;
287
+ }
288
+
289
+ &.is-aligned-center-tablet {
290
+ align-items: center;
291
+ }
292
+
293
+ &.is-aligned-stretch-tablet {
294
+ align-items: stretch;
295
+ }
296
+ }
297
+ @include desktop {
298
+ &.is-aligned-start-desktop {
299
+ align-items: flex-start;
300
+ }
301
+
302
+ &.is-aligned-end-desktop {
303
+ align-items: flex-end;
304
+ }
305
+
306
+ &.is-aligned-center-desktop {
307
+ align-items: center;
308
+ }
309
+
310
+ &.is-aligned-stretch-desktop {
311
+ align-items: stretch;
312
+ }
313
+ }
314
+ @include widescreen {
315
+ &.is-aligned-start-widescreen {
316
+ align-items: flex-start;
317
+ }
318
+
319
+ &.is-aligned-end-widescreen {
320
+ align-items: flex-end;
321
+ }
322
+
323
+ &.is-aligned-center-widescreen {
324
+ align-items: center;
325
+ }
326
+
327
+ &.is-aligned-stretch-widescreen {
328
+ align-items: stretch;
329
+ }
330
+ }
331
+ @include fullhd {
332
+ &.is-aligned-start-fullhd {
333
+ align-items: flex-start;
334
+ }
335
+
336
+ &.is-aligned-end-fullhd {
337
+ align-items: flex-end;
338
+ }
339
+
340
+ &.is-aligned-center-fullhd {
341
+ align-items: center;
342
+ }
343
+
344
+ &.is-aligned-stretch-fullhd {
345
+ align-items: stretch;
346
+ }
347
+ }
348
+
349
+ @include container-mobile {
350
+ &.is-aligned-start-mobile {
351
+ align-items: flex-start;
352
+ }
353
+
354
+ &.is-aligned-end-mobile {
355
+ align-items: flex-end;
356
+ }
357
+
358
+ &.is-aligned-center-mobile {
359
+ align-items: center;
360
+ }
361
+
362
+ &.is-aligned-stretch-mobile {
363
+ align-items: stretch;
364
+ }
365
+ }
366
+ @include container-tablet {
367
+ &.is-aligned-start-tablet {
368
+ align-items: flex-start;
369
+ }
370
+
371
+ &.is-aligned-end-tablet {
372
+ align-items: flex-end;
373
+ }
374
+
375
+ &.is-aligned-center-tablet {
376
+ align-items: center;
377
+ }
378
+
379
+ &.is-aligned-stretch-tablet {
380
+ align-items: stretch;
381
+ }
382
+ }
383
+ @include container-desktop {
384
+ &.is-aligned-start-desktop {
385
+ align-items: flex-start;
386
+ }
387
+
388
+ &.is-aligned-end-desktop {
389
+ align-items: flex-end;
390
+ }
391
+
392
+ &.is-aligned-center-desktop {
393
+ align-items: center;
394
+ }
395
+
396
+ &.is-aligned-stretch-desktop {
397
+ align-items: stretch;
398
+ }
399
+ }
400
+
401
+ // JUSTIFY CONTENT
402
+ &.is-justified-start {
403
+ justify-content: flex-start;
404
+ }
405
+
406
+ &.is-justified-end {
407
+ justify-content: flex-end;
408
+ }
409
+
410
+ &.is-justified-center {
411
+ justify-content: center;
412
+ }
413
+
414
+ &.is-spaced-between {
415
+ justify-content: space-between;
416
+ }
417
+
418
+ &.is-spaced-around {
419
+ justify-content: space-around;
420
+ }
421
+
422
+ &.is-spaced-evenly {
423
+ justify-content: space-evenly;
424
+ }
425
+
426
+ @include mobile {
427
+ &.is-justified-start-mobile {
428
+ justify-content: flex-start;
429
+ }
430
+
431
+ &.is-justified-end-mobile {
432
+ justify-content: flex-end;
433
+ }
434
+
435
+ &.is-justified-center-mobile {
436
+ justify-content: center;
437
+ }
438
+
439
+ &.is-spaced-between-mobile {
440
+ justify-content: space-between;
441
+ }
442
+
443
+ &.is-spaced-around-mobile {
444
+ justify-content: space-around;
445
+ }
446
+
447
+ &.is-spaced-evenly-mobile {
448
+ justify-content: space-evenly;
449
+ }
450
+ }
451
+ @include tablet {
452
+ &.is-justified-start-tablet {
453
+ justify-content: flex-start;
454
+ }
455
+
456
+ &.is-justified-end-tablet {
457
+ justify-content: flex-end;
458
+ }
459
+
460
+ &.is-justified-center-tablet {
461
+ justify-content: center;
462
+ }
463
+
464
+ &.is-spaced-between-tablet {
465
+ justify-content: space-between;
466
+ }
467
+
468
+ &.is-spaced-around-tablet {
469
+ justify-content: space-around;
470
+ }
471
+
472
+ &.is-spaced-evenly-tablet {
473
+ justify-content: space-evenly;
474
+ }
475
+ }
476
+ @include desktop {
477
+ &.is-justified-start-desktop {
478
+ justify-content: flex-start;
479
+ }
480
+
481
+ &.is-justified-end-desktop {
482
+ justify-content: flex-end;
483
+ }
484
+
485
+ &.is-justified-center-desktop {
486
+ justify-content: center;
487
+ }
488
+
489
+ &.is-spaced-between-desktop {
490
+ justify-content: space-between;
491
+ }
492
+
493
+ &.is-spaced-around-desktop {
494
+ justify-content: space-around;
495
+ }
496
+
497
+ &.is-spaced-evenly-desktop {
498
+ justify-content: space-evenly;
499
+ }
500
+ }
501
+
502
+ @include widescreen {
503
+ &.is-justified-start-widescreen {
504
+ justify-content: flex-start;
505
+ }
506
+
507
+ &.is-justified-end-widescreen {
508
+ justify-content: flex-end;
509
+ }
510
+
511
+ &.is-justified-center-widescreen {
512
+ justify-content: center;
513
+ }
514
+
515
+ &.is-spaced-between-widescreen {
516
+ justify-content: space-between;
517
+ }
518
+
519
+ &.is-spaced-around-widescreen {
520
+ justify-content: space-around;
521
+ }
522
+
523
+ &.is-spaced-evenly-widescreen {
524
+ justify-content: space-evenly;
525
+ }
526
+ }
527
+ @include fullhd {
528
+ &.is-justified-start-fullhd {
529
+ justify-content: flex-start;
530
+ }
531
+
532
+ &.is-justified-end-fullhd {
533
+ justify-content: flex-end;
534
+ }
535
+
536
+ &.is-justified-center-fullhd {
537
+ justify-content: center;
538
+ }
539
+
540
+ &.is-spaced-between-fullhd {
541
+ justify-content: space-between;
542
+ }
543
+
544
+ &.is-spaced-around-fullhd {
545
+ justify-content: space-around;
546
+ }
547
+
548
+ &.is-spaced-evenly-fullhd {
549
+ justify-content: space-evenly;
550
+ }
551
+ }
552
+
553
+ @include container-mobile {
554
+ &.is-justified-start-mobile {
555
+ justify-content: flex-start;
556
+ }
557
+
558
+ &.is-justified-end-mobile {
559
+ justify-content: flex-end;
560
+ }
561
+
562
+ &.is-justified-center-mobile {
563
+ justify-content: center;
564
+ }
565
+
566
+ &.is-spaced-between-mobile {
567
+ justify-content: space-between;
568
+ }
569
+
570
+ &.is-spaced-around-mobile {
571
+ justify-content: space-around;
572
+ }
573
+
574
+ &.is-spaced-evenly-mobile {
575
+ justify-content: space-evenly;
576
+ }
577
+ }
578
+ @include container-tablet {
579
+ &.is-justified-start-tablet {
580
+ justify-content: flex-start;
581
+ }
582
+
583
+ &.is-justified-end-tablet {
584
+ justify-content: flex-end;
585
+ }
586
+
587
+ &.is-justified-center-tablet {
588
+ justify-content: center;
589
+ }
590
+
591
+ &.is-spaced-between-tablet {
592
+ justify-content: space-between;
593
+ }
594
+
595
+ &.is-spaced-around-tablet {
596
+ justify-content: space-around;
597
+ }
598
+
599
+ &.is-spaced-evenly-tablet {
600
+ justify-content: space-evenly;
601
+ }
602
+ }
603
+ @include container-desktop {
604
+ &.is-justified-start-desktop {
605
+ justify-content: flex-start;
606
+ }
607
+
608
+ &.is-justified-end-desktop {
609
+ justify-content: flex-end;
610
+ }
611
+
612
+ &.is-justified-center-desktop {
613
+ justify-content: center;
614
+ }
615
+
616
+ &.is-spaced-between-desktop {
617
+ justify-content: space-between;
618
+ }
619
+
620
+ &.is-spaced-around-desktop {
621
+ justify-content: space-around;
622
+ }
623
+
624
+ &.is-spaced-evenly-desktop {
625
+ justify-content: space-evenly;
626
+ }
627
+ }
628
+
629
+ @include container-widescreen {
630
+ &.is-justified-start-widescreen {
631
+ justify-content: flex-start;
632
+ }
633
+
634
+ &.is-justified-end-widescreen {
635
+ justify-content: flex-end;
636
+ }
637
+
638
+ &.is-justified-center-widescreen {
639
+ justify-content: center;
640
+ }
641
+
642
+ &.is-spaced-between-widescreen {
643
+ justify-content: space-between;
644
+ }
645
+
646
+ &.is-spaced-around-widescreen {
647
+ justify-content: space-around;
648
+ }
649
+
650
+ &.is-spaced-evenly-widescreen {
651
+ justify-content: space-evenly;
652
+ }
653
+ }
654
+ @include container-fullhd {
655
+ &.is-justified-start-fullhd {
656
+ justify-content: flex-start;
657
+ }
658
+
659
+ &.is-justified-end-fullhd {
660
+ justify-content: flex-end;
661
+ }
662
+
663
+ &.is-justified-center-fullhd {
664
+ justify-content: center;
665
+ }
666
+
667
+ &.is-spaced-between-fullhd {
668
+ justify-content: space-between;
669
+ }
670
+
671
+ &.is-spaced-around-fullhd {
672
+ justify-content: space-around;
673
+ }
674
+
675
+ &.is-spaced-evenly-fullhd {
676
+ justify-content: space-evenly;
677
+ }
678
+ }
679
+
680
+ &.is-scrollable {
681
+ overflow: auto;
682
+ width: calc(100% + 48px) !important;
683
+ margin: -24px auto -24px 50% !important;
684
+ transform: translate(-50%);
685
+ padding: 24px;
686
+ scroll-padding: 24px;
687
+ scroll-behavior: smooth;
688
+ scroll-snap-type: x mandatory;
689
+
690
+ @include mobile {
691
+ width: calc(100% + 32px) !important;
692
+ margin: -16px auto -16px 50% !important;
693
+ padding: 16px;
694
+ scroll-padding: 16px;
695
+ }
696
+
697
+ @include container-mobile {
698
+ width: calc(100% + 32px) !important;
699
+ margin: -16px auto -16px 50% !important;
700
+ padding: 16px;
701
+ scroll-padding: 16px;
702
+ }
703
+
704
+ &:not(:last-child) {
705
+ margin-bottom: auto !important;
706
+ }
707
+
708
+ .flex-item {
709
+ scroll-snap-align: center;
710
+ }
711
+ }
712
+
713
+
714
+ // GAP
715
+ $gap: 4px, 8px, 12px, 16px, 24px, 32px, 40px, 48px, 54px, 62px;
716
+
717
+ @for $i from 1 through length($gap) {
718
+ $item: nth($gap, $i);
719
+ &.is-mobile.has-gap-#{$i} {
720
+ gap: $item;
721
+
722
+ > .flex-item {
723
+ --ColumnGap: #{$item};
724
+ }
725
+ }
726
+
727
+ @include mobile {
728
+ &.has-gap-#{$i},
729
+ &.has-gap-#{$i}-mobile {
730
+ gap: $item;
731
+
732
+ > .flex-item {
733
+ --ColumnGap: #{$item};
734
+ }
735
+ }
736
+ }
737
+ @include tablet {
738
+ &.has-gap-#{$i}:not(.is-desktop),
739
+ &.has-gap-#{$i}-tablet {
740
+ gap: $item;
741
+
742
+ > .flex-item {
743
+ --ColumnGap: #{$item};
744
+ }
745
+ }
746
+ }
747
+ @include desktop {
748
+ &.has-gap-#{$i},
749
+ &.has-gap-#{$i}-desktop {
750
+ gap: $item;
751
+
752
+ > .flex-item {
753
+ --ColumnGap: #{$item};
754
+ }
755
+ }
756
+ }
757
+ @include widescreen {
758
+ &.has-gap-#{$i},
759
+ &.has-gap-#{$i}-widescreen {
760
+ gap: $item;
761
+
762
+ > .flex-item {
763
+ --ColumnGap: #{$item};
764
+ }
765
+ }
766
+ }
767
+ @include fullhd {
768
+ &.has-gap-#{$i},
769
+ &.has-gap-#{$i}-fullhd {
770
+ gap: $item;
771
+
772
+ > .flex-item {
773
+ --ColumnGap: #{$item};
774
+ }
775
+ }
776
+ }
777
+
778
+ @include container-mobile {
779
+ &.has-gap-#{$i},
780
+ &.has-gap-#{$i}-mobile {
781
+ gap: $item;
782
+
783
+ > .flex-item {
784
+ --ColumnGap: #{$item};
785
+ }
786
+ }
787
+ }
788
+
789
+ @include container-tablet {
790
+ &.has-gap-#{$i}:not(.is-desktop),
791
+ &.has-gap-#{$i}-tablet {
792
+ gap: $item;
793
+
794
+ > .flex-item {
795
+ --ColumnGap: #{$item};
796
+ }
797
+ }
798
+ }
799
+
800
+ @include container-desktop {
801
+ &.has-gap-#{$i},
802
+ &.has-gap-#{$i}-desktop {
803
+ gap: $item;
804
+
805
+ > .flex-item {
806
+ --ColumnGap: #{$item};
807
+ }
808
+ }
809
+ }
810
+
811
+ @include container-widescreen {
812
+ &.has-gap-#{$i}-widescreen {
813
+ gap: $item;
814
+
815
+ > .flex-item {
816
+ --ColumnGap: #{$item};
817
+ }
818
+ }
819
+ }
820
+
821
+ @include container-fullhd {
822
+ &.has-gap-#{$i}-fullhd {
823
+ gap: $item;
824
+
825
+ > .flex-item {
826
+ --ColumnGap: #{$item};
827
+ }
828
+ }
829
+ }
830
+ }
831
+
832
+ &.is-gapless {
833
+ gap: 0;
834
+
835
+ > .flex-item {
836
+ --ColumnGap: 1px;
837
+ }
838
+ }
839
+
840
+ $itemWidth: calc((100% / (var(--ColumnFraction))) - ((((var(--ColumnFraction)) - 1) / (var(--ColumnFraction))) * var(--ColumnGap)));
841
+ $itemSize: (
842
+ "1" : math.div(12, 1),
843
+ "2" : math.div(12, 2),
844
+ "3" : math.div(12, 3),
845
+ "4" : math.div(12, 4),
846
+ "5" : math.div(12, 5),
847
+ "6" : math.div(12, 6),
848
+ "7" : math.div(12, 7),
849
+ "8" : math.div(12, 8),
850
+ "9" : math.div(12, 9),
851
+ "10" : math.div(12, 10),
852
+ "11" : math.div(12, 11),
853
+ "12" : math.div(12, 12),
854
+ "full" : math.div(12, 12),
855
+ "half" : math.div(12, 6)
856
+ );
857
+
858
+ // SIZE
859
+ .flex-item {
860
+ flex-grow: 1;
861
+ &.is-narrow {
862
+ flex: none;
863
+ width: auto;
864
+ }
865
+
866
+ &[class*="is-"]:not(.is-narrow) {
867
+ width: #{$itemWidth};
868
+ }
869
+
870
+ &:not(.is-narrow) {
871
+ @include mobile {
872
+ --ColumnFraction: 1;
873
+ }
874
+
875
+ @include container-mobile {
876
+ --ColumnFraction: 1;
877
+ }
878
+ }
879
+ }
880
+
881
+ @each $key, $value in $itemSize {
882
+ .flex-item.is-#{$key} {
883
+ flex: none;
884
+ --ColumnFraction: #{$value};
885
+ }
886
+ }
887
+
888
+ @include mobile {
889
+ @each $key, $value in $itemSize {
890
+ .flex-item.is-#{$key}-mobile {
891
+ flex: none;
892
+ --ColumnFraction: #{$value};
893
+ }
894
+ }
895
+ }
896
+ @include tablet {
897
+ @each $key, $value in $itemSize {
898
+ .flex-item.is-#{$key}-tablet {
899
+ flex: none;
900
+ --ColumnFraction: #{$value};
901
+ }
902
+ }
903
+ }
904
+ @include touch {
905
+ @each $key, $value in $itemSize {
906
+ .flex-item.is-#{$key}-touch {
907
+ flex: none;
908
+ --ColumnFraction: #{$value};
909
+ }
910
+ }
911
+ }
912
+ @include desktop {
913
+ @each $key, $value in $itemSize {
914
+ .flex-item.is-#{$key}-desktop {
915
+ flex: none;
916
+ --ColumnFraction: #{$value};
917
+ }
918
+ }
919
+ }
920
+ @include widescreen {
921
+ @each $key, $value in $itemSize {
922
+ .flex-item.is-#{$key}-widescreen {
923
+ flex: none;
924
+ --ColumnFraction: #{$value};
925
+ }
926
+ }
927
+ }
928
+ @include fullhd {
929
+ @each $key, $value in $itemSize {
930
+ .flex-item.is-#{$key}-fullhd {
931
+ flex: none;
932
+ --ColumnFraction: #{$value};
933
+ }
934
+ }
935
+ }
936
+
937
+ @include container-mobile {
938
+ @each $key, $value in $itemSize {
939
+ .flex-item.is-#{$key}-mobile {
940
+ flex: none;
941
+ --ColumnFraction: #{$value};
942
+ }
943
+ }
944
+ }
945
+
946
+
947
+ @include container-tablet {
948
+ @each $key, $value in $itemSize {
949
+ .flex-item.is-#{$key}-tablet {
950
+ flex: none;
951
+ --ColumnFraction: #{$value};
952
+ }
953
+ }
954
+ }
955
+
956
+
957
+ @include container-touch {
958
+ @each $key, $value in $itemSize {
959
+ .flex-item.is-#{$key}-touch {
960
+ flex: none;
961
+ --ColumnFraction: #{$value};
962
+ }
963
+ }
964
+ }
965
+
966
+
967
+ @include container-desktop {
968
+ @each $key, $value in $itemSize {
969
+ .flex-item.is-#{$key}-desktop {
970
+ flex: none;
971
+ --ColumnFraction: #{$value};
972
+ }
973
+ }
974
+ }
975
+
976
+
977
+ @include container-widescreen {
978
+ @each $key, $value in $itemSize {
979
+ .flex-item.is-#{$key}-widescreen {
980
+ flex: none;
981
+ --ColumnFraction: #{$value};
982
+ }
983
+ }
984
+ }
985
+
986
+ @include container-fullhd {
987
+ @each $key, $value in $itemSize {
988
+ .flex-item.is-#{$key}-fullhd {
989
+ flex: none;
990
+ --ColumnFraction: #{$value};
991
+ }
992
+ }
993
+ }
994
+ }