@trilogy-ds/styles 0.0.3-beta-v4 → 0.0.3-fix-timepicker

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