@trilogy-ds/styles 0.0.1-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.
- package/README.md +47 -0
- package/dist/default/assets/icons/all/alert.svg +1 -0
- package/dist/default/assets/icons/all/arrow-down.svg +1 -0
- package/dist/default/assets/icons/all/arrow-left.svg +1 -0
- package/dist/default/assets/icons/all/arrow-right.svg +1 -0
- package/dist/default/assets/icons/all/arrow-up.svg +1 -0
- package/dist/default/assets/icons/all/attachment.svg +1 -0
- package/dist/default/assets/icons/all/bell.svg +1 -0
- package/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/check-circle.svg +1 -0
- package/dist/default/assets/icons/all/check.svg +1 -0
- package/dist/default/assets/icons/all/exclamation-circle.svg +1 -0
- package/dist/default/assets/icons/all/eye-slash.svg +1 -0
- package/dist/default/assets/icons/all/eye.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/infos-circle.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/search.svg +1 -0
- package/dist/default/assets/icons/all/times.svg +1 -0
- package/dist/default/assets/icons/all/trash.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -0
- package/dist/default/trilogy-partials.css +1 -0
- package/dist/default/trilogy.css +1 -0
- package/framework/src/_all.scss +8 -0
- package/framework/src/base/_all.scss +9 -0
- package/framework/src/base/_color.scss +7 -0
- package/framework/src/base/_elements.scss +34 -0
- package/framework/src/base/_fonts.scss +2 -0
- package/framework/src/base/_generic.scss +76 -0
- package/framework/src/base/_helpers.scss +875 -0
- package/framework/src/base/_loading.scss +109 -0
- package/framework/src/base/_reset.scss +148 -0
- package/framework/src/components/_accordion.scss +144 -0
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +36 -0
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +129 -0
- package/framework/src/components/_card.scss +244 -0
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/components/_container.scss +69 -0
- package/framework/src/components/_countdown.scss +57 -0
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +52 -0
- package/framework/src/components/_dropdown.scss +195 -0
- package/framework/src/components/_fab.scss +47 -0
- package/framework/src/components/_flex-box.scss +994 -0
- package/framework/src/components/_icon.scss +384 -0
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +51 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/components/_loader.scss +126 -0
- package/framework/src/components/_modal.scss +232 -0
- package/framework/src/components/_otp.scss +73 -0
- package/framework/src/components/_pagination.scss +83 -0
- package/framework/src/components/_popover.scss +340 -0
- package/framework/src/components/_price.scss +184 -0
- package/framework/src/components/_product-tour.scss +129 -0
- package/framework/src/components/_prompt.scss +125 -0
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +85 -0
- package/framework/src/components/_scroll-view.scss +19 -0
- package/framework/src/components/_segmented-control.scss +62 -0
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +217 -0
- package/framework/src/components/_sticker.scss +148 -0
- package/framework/src/components/_switch.scss +115 -0
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +228 -0
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +282 -0
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/components/alert/_alert.scss +94 -0
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/components/alert/_toaster.scss +124 -0
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/components/input/_form.scss +602 -0
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/components/progress/_progress.scss +223 -0
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +3 -0
- package/framework/src/elements/_plus-symbol.scss +32 -0
- package/framework/src/grid/_all.scss +3 -0
- package/framework/src/grid/_columns.scss +467 -0
- package/framework/src/grid/_rows.scss +54 -0
- package/framework/src/grid/_tiles.scss +78 -0
- package/framework/src/layout/_all.scss +5 -0
- package/framework/src/layout/_hero.scss +146 -0
- package/framework/src/layout/_main.scss +36 -0
- package/framework/src/layout/_section.scss +46 -0
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/trilogy-core.scss +16 -0
- package/framework/src/trilogy-mangled.scss +14 -0
- package/framework/src/trilogy-namespaced.scss +14 -0
- package/framework/src/trilogy.scss +8 -0
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +13 -0
- package/framework/src/utilities/_animations.scss +71 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +56 -0
- package/framework/src/utilities/_derived-variables.scss +1 -0
- package/framework/src/utilities/_functions.scss +94 -0
- package/framework/src/utilities/_initial-variables.scss +10 -0
- package/framework/src/utilities/_post.scss +6 -0
- package/framework/src/utilities/_pre.scss +8 -0
- package/framework/src/utilities/_spacing.scss +10 -0
- package/framework/src/utilities/_tools.scss +3 -0
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +294 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/variables/_color.scss +85 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +28 -0
- package/themes/default/src/_all.scss +1 -0
- package/themes/default/src/assets.scss +11 -0
- package/themes/default/src/utilities/_all.scss +0 -0
- package/themes/default/src/utilities/_post.scss +0 -0
- package/themes/default/src/utilities/_pre.scss +3 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
@import "../../base/color";
|
|
4
|
+
|
|
5
|
+
$progressbar-height: 10px;
|
|
6
|
+
$progressbar-small: 5px;
|
|
7
|
+
|
|
8
|
+
.progress {
|
|
9
|
+
@include block;
|
|
10
|
+
|
|
11
|
+
border: none;
|
|
12
|
+
border-radius: 9999px;
|
|
13
|
+
display: block;
|
|
14
|
+
height: $progressbar-height;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
padding: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
-moz-appearance: none;
|
|
19
|
+
-webkit-appearance: none;
|
|
20
|
+
|
|
21
|
+
background-color: getColor('main-fade');
|
|
22
|
+
|
|
23
|
+
&::-webkit-progress-bar {
|
|
24
|
+
background-color: getColor('main-fade');
|
|
25
|
+
border-radius: $progressbar-height;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&::-webkit-progress-value {
|
|
29
|
+
background-color: getColor('font');
|
|
30
|
+
border-radius: $progressbar-height;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&::-moz-progress-bar {
|
|
34
|
+
background-color: getColor('font');
|
|
35
|
+
border-radius: $progressbar-height;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:not(:last-child) {
|
|
39
|
+
margin-bottom: 7.5px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Colors
|
|
43
|
+
@each $name in $colors-brand-functionnal {
|
|
44
|
+
$brandName: getColorBrandName($name);
|
|
45
|
+
$color: getColor($name);
|
|
46
|
+
|
|
47
|
+
&.is-#{$brandName} {
|
|
48
|
+
&::-webkit-progress-value {
|
|
49
|
+
background-color: $color;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&::-moz-progress-bar {
|
|
53
|
+
background-color: $color;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&::-ms-fill {
|
|
57
|
+
background-color: $color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Sizes
|
|
63
|
+
&.is-small {
|
|
64
|
+
height: $progressbar-small;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.progress.is-stacked {
|
|
69
|
+
display: flex;
|
|
70
|
+
border-radius: $progressbar-height;
|
|
71
|
+
|
|
72
|
+
.progress-bar {
|
|
73
|
+
height: $progressbar-height;
|
|
74
|
+
background-color: getColor('font');
|
|
75
|
+
|
|
76
|
+
&:first-child {
|
|
77
|
+
border-radius: $progressbar-height 0 0 $progressbar-height;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:last-child {
|
|
81
|
+
border-radius: 0 $progressbar-height $progressbar-height 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@each $name in $colors-brand-functionnal {
|
|
85
|
+
$color: getColor($name);
|
|
86
|
+
$color-invert: invertColor($name);
|
|
87
|
+
$brandName: getColorBrandName($name);
|
|
88
|
+
|
|
89
|
+
&.is-#{$brandName} {
|
|
90
|
+
background-color: $color;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Progress Bar circle
|
|
97
|
+
$progress-circle-slices: (
|
|
98
|
+
secondary: getColor('info'),
|
|
99
|
+
tertiary: getColor('font'),
|
|
100
|
+
warning: getColor('warning'),
|
|
101
|
+
empty: getColor('main-fade')
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
.progress-circle {
|
|
105
|
+
--progress-circle-size: 140px;
|
|
106
|
+
--progress-circle-border-width: 8px;
|
|
107
|
+
--progress-circle-spacing: 0;
|
|
108
|
+
--progress-circle-spacing-color: 255, 255, 255;
|
|
109
|
+
--progress-circle-spacing-deg: calc(1deg * var(--progress-circle-spacing));
|
|
110
|
+
|
|
111
|
+
border-radius: 9999px;
|
|
112
|
+
height: var(--progress-circle-size);
|
|
113
|
+
margin: 40px;
|
|
114
|
+
position: relative;
|
|
115
|
+
width: var(--progress-circle-size);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.progress-circle-content {
|
|
119
|
+
left: 50%;
|
|
120
|
+
line-height: 1.5;
|
|
121
|
+
position: absolute;
|
|
122
|
+
text-align: center;
|
|
123
|
+
top: 50%;
|
|
124
|
+
transform: translate(-50%, -50%);
|
|
125
|
+
width: 80%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.progress-circle-title {
|
|
129
|
+
color: rgba(getColor('font'), 0.7);
|
|
130
|
+
font-size: 28px;
|
|
131
|
+
font-weight: $weight-semibold;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.progress-circle-sub {
|
|
135
|
+
color: getColor('font');
|
|
136
|
+
font-size: 15px;
|
|
137
|
+
font-weight: $weight-semibold;
|
|
138
|
+
letter-spacing: 0.05em;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.progress-circle-slice {
|
|
142
|
+
height: 100%;
|
|
143
|
+
position: absolute;
|
|
144
|
+
width: 100%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.progress-circle-slice::before,
|
|
148
|
+
.progress-circle-slice::after {
|
|
149
|
+
border: var(--progress-circle-border-width) solid rgba(0, 0, 0, 0);
|
|
150
|
+
border-radius: 9999px;
|
|
151
|
+
content: '';
|
|
152
|
+
height: 100%;
|
|
153
|
+
left: 0;
|
|
154
|
+
position: absolute;
|
|
155
|
+
top: 0;
|
|
156
|
+
transform: rotate(45deg);
|
|
157
|
+
width: 100%;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.progress-circle-slice::before {
|
|
161
|
+
border-width: calc(var(--progress-circle-border-width) + 1px);
|
|
162
|
+
box-shadow: 0 0 1px 0 #{'rgba(var(--progress-circle-spacing-color), calc(100 * var(--progress-circle-spacing)))'};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
$slides-concat: '';
|
|
166
|
+
|
|
167
|
+
@each $slice in $progress-circle-slices {
|
|
168
|
+
$name: nth($slice, 1);
|
|
169
|
+
$color: nth($slice, 2);
|
|
170
|
+
$i: index($progress-circle-slices, $slice);
|
|
171
|
+
|
|
172
|
+
@if $i > 1 {
|
|
173
|
+
.progress-circle-background-#{$name} {
|
|
174
|
+
--#{$name}-start: calc(#{$slides-concat});
|
|
175
|
+
--#{$name}-check: max(calc(var(--#{$name}-start) - .5), 0);
|
|
176
|
+
|
|
177
|
+
clip-path: inset(0 calc(50% * (var(--#{$name}-check) / var(--#{$name}-check))) 0 0);
|
|
178
|
+
}
|
|
179
|
+
} @else {
|
|
180
|
+
.progress-circle-background-#{$name} {
|
|
181
|
+
--#{$name}-start: 0;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.progress-circle-background-#{$name}::before {
|
|
186
|
+
border-top-color: #{'rgba(var(--progress-circle-spacing-color), calc(100 * var(--progress-circle-spacing)))'};
|
|
187
|
+
transform: rotate(calc(360deg * var(--#{$name}-start) + 45deg));
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.progress-circle-background-#{$name}::after {
|
|
191
|
+
border-top-color: rgba($color, 1);
|
|
192
|
+
border-right-color: rgba($color, calc(100 * (var(--#{$name}) - .25)));
|
|
193
|
+
border-bottom-color: rgba($color, calc(100 * (var(--#{$name}) - .5)));
|
|
194
|
+
border-left-color: rgba($color, calc(100 * (var(--#{$name}) - .75)));
|
|
195
|
+
transform: rotate(calc(360deg * var(--#{$name}-start) + 45deg + var(--progress-circle-spacing-deg)));
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@if $i == 1 {
|
|
199
|
+
$slides-concat: var(--#{$name});
|
|
200
|
+
} @else {
|
|
201
|
+
$slides-concat: $slides-concat + ' + ' + var(--#{$name});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.progress-legends {
|
|
206
|
+
display: grid;
|
|
207
|
+
grid-template-columns: repeat(3, 1fr);
|
|
208
|
+
|
|
209
|
+
.progress-legend-start {
|
|
210
|
+
grid-column: 1;
|
|
211
|
+
text-align: left;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.progress-legend-center {
|
|
215
|
+
grid-column: 2;
|
|
216
|
+
text-align: center;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.progress-legend-end {
|
|
220
|
+
grid-column: 3;
|
|
221
|
+
text-align: right;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
$plus-symbol-size: 40px;
|
|
2
|
+
|
|
3
|
+
@mixin plus-symbol($color: getColor('neutral-fade'), $text-color: getColor('neutral')) {
|
|
4
|
+
&::after {
|
|
5
|
+
content: "+";
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: $plus-symbol-size;
|
|
8
|
+
height: $plus-symbol-size;
|
|
9
|
+
border-radius: $plus-symbol-size;
|
|
10
|
+
font-size: 24px;
|
|
11
|
+
text-align: center;
|
|
12
|
+
line-height: $plus-symbol-size;
|
|
13
|
+
background-color: $color;
|
|
14
|
+
color: $text-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.plus-symbol {
|
|
19
|
+
@include plus-symbol();
|
|
20
|
+
|
|
21
|
+
display: inline-block;
|
|
22
|
+
|
|
23
|
+
@each $name in $colors-brand {
|
|
24
|
+
$brandName: getColorBrandName($name);
|
|
25
|
+
$color: getColor($name);
|
|
26
|
+
$color-invert: invertColor($name);
|
|
27
|
+
|
|
28
|
+
&.is-#{$brandName} {
|
|
29
|
+
@include plus-symbol($color, $color-invert);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
$columnWidth: calc((100% / (var(--ColumnFraction))) - ((((var(--ColumnFraction)) - 1) / (var(--ColumnFraction))) * var(--ColumnGap)));
|
|
4
|
+
$offsetWidth: calc((100% / (var(--offset))) - ((((var(--offset)) - 1) / (var(--offset))) * var(--ColumnGap)) + var(--ColumnGap));
|
|
5
|
+
|
|
6
|
+
$columnSize: (
|
|
7
|
+
"1" : math.div(12, 1),
|
|
8
|
+
"2" : math.div(12, 2),
|
|
9
|
+
"3" : math.div(12, 3),
|
|
10
|
+
"4" : math.div(12, 4),
|
|
11
|
+
"5" : math.div(12, 5),
|
|
12
|
+
"6" : math.div(12, 6),
|
|
13
|
+
"7" : math.div(12, 7),
|
|
14
|
+
"8" : math.div(12, 8),
|
|
15
|
+
"9" : math.div(12, 9),
|
|
16
|
+
"10" : math.div(12, 10),
|
|
17
|
+
"11" : math.div(12, 11),
|
|
18
|
+
"12" : math.div(12, 12),
|
|
19
|
+
"full" : math.div(12, 12),
|
|
20
|
+
"half" : math.div(12, 6)
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
$columnNumber: 12;
|
|
24
|
+
%flex-none {
|
|
25
|
+
flex: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
$gap: 4px,
|
|
30
|
+
8px,
|
|
31
|
+
12px,
|
|
32
|
+
16px,
|
|
33
|
+
24px,
|
|
34
|
+
32px,
|
|
35
|
+
40px,
|
|
36
|
+
48px,
|
|
37
|
+
54px,
|
|
38
|
+
62px;
|
|
39
|
+
|
|
40
|
+
.columns {
|
|
41
|
+
display: flex;
|
|
42
|
+
--ColumnGap: 24px;
|
|
43
|
+
|
|
44
|
+
%flex-none {
|
|
45
|
+
flex: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.column[class*="is-"]:not(.is-narrow) {
|
|
49
|
+
width: #{$columnWidth};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@each $key, $value in $columnSize {
|
|
53
|
+
> .column.is-#{$key} {
|
|
54
|
+
flex: none;
|
|
55
|
+
--ColumnFraction: #{$value};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@for $i from 1 through length($gap) {
|
|
60
|
+
$item: nth($gap, $i);
|
|
61
|
+
&.is-mobile.has-gap-#{$i} {
|
|
62
|
+
gap: $item;
|
|
63
|
+
|
|
64
|
+
> .column {
|
|
65
|
+
--ColumnGap: #{$item};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include tablet {
|
|
70
|
+
&.has-gap-#{$i}:not(.is-desktop) {
|
|
71
|
+
gap: $item;
|
|
72
|
+
|
|
73
|
+
> .column {
|
|
74
|
+
--ColumnGap: #{$item};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include desktop {
|
|
80
|
+
&.has-gap-#{$i},
|
|
81
|
+
&.has-gap-#{$i}-desktop {
|
|
82
|
+
gap: $item;
|
|
83
|
+
|
|
84
|
+
> .column {
|
|
85
|
+
--ColumnGap: #{$item};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include widescreen {
|
|
91
|
+
&.has-gap-#{$i}-widescreen {
|
|
92
|
+
gap: $item;
|
|
93
|
+
|
|
94
|
+
> .column {
|
|
95
|
+
--ColumnGap: #{$item};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@include fullhd {
|
|
101
|
+
&.has-gap-#{$i}-fullhd {
|
|
102
|
+
gap: $item;
|
|
103
|
+
|
|
104
|
+
> .column {
|
|
105
|
+
--ColumnGap: #{$item};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@include mobile {
|
|
114
|
+
&.is-peek {
|
|
115
|
+
padding-right: 15%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@each $key, $value in $columnSize {
|
|
119
|
+
& > .column.is-#{$key}-mobile {
|
|
120
|
+
flex: none;
|
|
121
|
+
--ColumnFraction: #{$value};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.is-mobile > .column.is-offset-#{$key}-mobile {
|
|
125
|
+
--offset: #{$value};
|
|
126
|
+
margin-left: $offsetWidth;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@include tablet {
|
|
132
|
+
@each $key, $value in $columnSize {
|
|
133
|
+
> .column.is-#{$key}-tablet {
|
|
134
|
+
flex: none;
|
|
135
|
+
--ColumnFraction: #{$value};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.column.is-offset-#{$key}-tablet {
|
|
139
|
+
--offset: #{$value};
|
|
140
|
+
margin-left: $offsetWidth;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.column.is-offset-#{$key} {
|
|
144
|
+
--offset: #{$value};
|
|
145
|
+
margin-left: $offsetWidth;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.is-aligned-start {
|
|
150
|
+
align-items: start !important;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.is-aligned-center {
|
|
154
|
+
align-items: center !important;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.is-aligned-end {
|
|
158
|
+
align-items: end !important;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@include touch {
|
|
163
|
+
@each $key, $value in $columnSize {
|
|
164
|
+
> .column.is-#{$key}-touch {
|
|
165
|
+
flex: none;
|
|
166
|
+
--ColumnFraction: #{$value};
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
> .column.is-offset-#{$key}-touch {
|
|
170
|
+
--offset: #{$value};
|
|
171
|
+
margin-left: $offsetWidth;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@include desktop {
|
|
178
|
+
@each $key, $value in $columnSize {
|
|
179
|
+
> .column.is-#{$key}-desktop {
|
|
180
|
+
flex: none;
|
|
181
|
+
--ColumnFraction: #{$value};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
> .column.is-offset-#{$key}-desktop {
|
|
185
|
+
--offset: #{$value};
|
|
186
|
+
margin-left: $offsetWidth;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@include widescreen {
|
|
193
|
+
@each $key, $value in $columnSize {
|
|
194
|
+
> .column.is-#{$key}-widescreen {
|
|
195
|
+
flex: none;
|
|
196
|
+
--ColumnFraction: #{$value};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
> .is-offset-#{$key}-widescreen {
|
|
200
|
+
--offset: #{$value};
|
|
201
|
+
margin-left: $offsetWidth;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@include fullhd {
|
|
208
|
+
@each $key, $value in $columnSize {
|
|
209
|
+
> .column.is-#{$key}-fullhd {
|
|
210
|
+
flex: none;
|
|
211
|
+
--ColumnFraction: #{$value};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
> .column.is-offset-#{$key}-fullhd {
|
|
215
|
+
--offset: #{$value};
|
|
216
|
+
margin-left: $offsetWidth;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@include mobile {
|
|
223
|
+
--ColumnGap: 16px;
|
|
224
|
+
&:not(.is-mobile) {
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
|
|
227
|
+
> .column,
|
|
228
|
+
> .column[class*="is-"] {
|
|
229
|
+
--ColumnFraction: 1;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.is-aligned-start {
|
|
234
|
+
align-items: unset !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.is-aligned-center {
|
|
238
|
+
align-items: unset !important;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&.is-aligned-end {
|
|
242
|
+
align-items: unset !important;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@include tablet-only {
|
|
247
|
+
&.is-desktop {
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
|
|
250
|
+
> .column,
|
|
251
|
+
> .column[class*="is-"] {
|
|
252
|
+
--ColumnFraction: 1;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.column {
|
|
259
|
+
display: block;
|
|
260
|
+
flex-basis: 0;
|
|
261
|
+
flex-grow: 1;
|
|
262
|
+
flex-shrink: 1;
|
|
263
|
+
|
|
264
|
+
@include mobile {
|
|
265
|
+
&.is-narrow-mobile {
|
|
266
|
+
flex: none;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@include tablet {
|
|
271
|
+
&.is-narrow,
|
|
272
|
+
&.is-narrow-tablet {
|
|
273
|
+
flex: none;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&.is-aligned-start {
|
|
277
|
+
align-self: start !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&.is-aligned-center {
|
|
281
|
+
align-self: center !important;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&.is-aligned-end {
|
|
285
|
+
align-self: end !important;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@include touch {
|
|
290
|
+
&.is-narrow-touch {
|
|
291
|
+
flex: none;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@include desktop {
|
|
296
|
+
&.is-narrow-desktop {
|
|
297
|
+
flex: none;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
@include widescreen {
|
|
302
|
+
&.is-narrow-widescreen {
|
|
303
|
+
flex: none;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@include fullhd {
|
|
309
|
+
&.is-narrow-fullhd {
|
|
310
|
+
flex: none;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.columns {
|
|
316
|
+
gap: 24px;
|
|
317
|
+
|
|
318
|
+
&.is-scrollable {
|
|
319
|
+
position: relative;
|
|
320
|
+
padding-bottom: 8px;
|
|
321
|
+
flex-wrap: nowrap;
|
|
322
|
+
overflow-x: auto;
|
|
323
|
+
display: flex !important;
|
|
324
|
+
scroll-behavior: smooth;
|
|
325
|
+
scroll-snap-type: x mandatory;
|
|
326
|
+
margin: -8px;
|
|
327
|
+
padding: 8px;
|
|
328
|
+
scroll-padding: 8px;
|
|
329
|
+
|
|
330
|
+
> .column {
|
|
331
|
+
scroll-snap-align: center;
|
|
332
|
+
|
|
333
|
+
&:last-child {
|
|
334
|
+
scroll-snap-align: end;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&:not(.has-scrollbar) {
|
|
339
|
+
&::-webkit-scrollbar {
|
|
340
|
+
scrollbar-width: none;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
&.has-scrollbar {
|
|
345
|
+
&::-webkit-scrollbar {
|
|
346
|
+
height: 8px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
&::-webkit-scrollbar-track {
|
|
350
|
+
background-color: getColor('neutral');
|
|
351
|
+
border-radius: 8px;
|
|
352
|
+
margin: 0 8px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
&::-webkit-scrollbar-thumb {
|
|
356
|
+
background-color: getColor('main-fade');
|
|
357
|
+
border-radius: var(--radius);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@include mobile {
|
|
363
|
+
gap: 16px;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
// Modifiers
|
|
367
|
+
&.is-centered {
|
|
368
|
+
justify-content: center;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
&.is-gapless {
|
|
372
|
+
gap: 0;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
&.is-mobile {
|
|
376
|
+
display: flex;
|
|
377
|
+
|
|
378
|
+
&.is-aligned-start {
|
|
379
|
+
align-items: start !important;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
&.is-aligned-center {
|
|
383
|
+
align-items: center !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
&.is-aligned-end {
|
|
387
|
+
align-items: end !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
@each $key, $value in $columnSize {
|
|
391
|
+
.column.is-offset-#{$key} {
|
|
392
|
+
--offset: #{$value};
|
|
393
|
+
margin-left: $offsetWidth;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.column {
|
|
398
|
+
&.is-narrow {
|
|
399
|
+
flex: none;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&.is-aligned-start {
|
|
403
|
+
align-self: start !important;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
&.is-aligned-center {
|
|
407
|
+
align-self: center !important;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&.is-aligned-end {
|
|
411
|
+
align-self: end !important;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
&.is-multiline {
|
|
417
|
+
flex-wrap: wrap;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
&.is-vcentered {
|
|
421
|
+
align-items: center;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
&.is-inverted-mobile {
|
|
425
|
+
@include mobile {
|
|
426
|
+
flex-direction: column-reverse;
|
|
427
|
+
display: flex;
|
|
428
|
+
align-items: stretch;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Responsiveness
|
|
433
|
+
@include tablet {
|
|
434
|
+
&:not(.is-desktop) {
|
|
435
|
+
flex-direction: row;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
@include desktop {
|
|
440
|
+
// Modifiers
|
|
441
|
+
&.is-desktop {
|
|
442
|
+
flex-direction: row;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
@include mobile {
|
|
446
|
+
&.is-fullbleed {
|
|
447
|
+
width: 100vw !important;
|
|
448
|
+
margin-left: 50%;
|
|
449
|
+
transform: translateX(-50%);
|
|
450
|
+
padding: 24px;
|
|
451
|
+
}
|
|
452
|
+
&.is-fullbleed {
|
|
453
|
+
scroll-padding: 16px;
|
|
454
|
+
}
|
|
455
|
+
&.is-fullbleed.is-scrollable > .column {
|
|
456
|
+
scroll-snap-align: center;
|
|
457
|
+
scroll-padding: 16px;
|
|
458
|
+
}
|
|
459
|
+
.scroll-view {
|
|
460
|
+
overflow: inherit;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
:root {
|
|
466
|
+
--slider-size: min(100%, 1348px);
|
|
467
|
+
}
|