@trilogy-ds/styles 0.0.1-beta-1

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