@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,384 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
$icon-stretching-level: 16deg !default;
|
|
4
|
+
|
|
5
|
+
$icon-container-default: 20px;
|
|
6
|
+
$icon-padding-default: 8px;
|
|
7
|
+
$icon-dimensions-default: 15px;
|
|
8
|
+
|
|
9
|
+
$size: (
|
|
10
|
+
'default': (
|
|
11
|
+
container: 20px, icon:15px
|
|
12
|
+
),
|
|
13
|
+
'small': (
|
|
14
|
+
container: 32px, icon: 20px
|
|
15
|
+
),
|
|
16
|
+
'medium': (
|
|
17
|
+
container: 48px, icon: 32px
|
|
18
|
+
),
|
|
19
|
+
'large': (
|
|
20
|
+
container: 66px, icon: 44px
|
|
21
|
+
),
|
|
22
|
+
'huge': (
|
|
23
|
+
container: 99px, icon: 66px
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
.icon {
|
|
28
|
+
align-items: center;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
font-size: inherit;
|
|
32
|
+
width: 1.5em;
|
|
33
|
+
height: 1.5em;
|
|
34
|
+
|
|
35
|
+
[class^="tri-"],
|
|
36
|
+
[class*=" tri-"] {
|
|
37
|
+
&::before {
|
|
38
|
+
width: 1em;
|
|
39
|
+
height: 1em;
|
|
40
|
+
content: "\00a0";
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
display: flex;
|
|
44
|
+
-webkit-mask-repeat: no-repeat;
|
|
45
|
+
mask-repeat: no-repeat;
|
|
46
|
+
-webkit-mask-position: center;
|
|
47
|
+
mask-position: center;
|
|
48
|
+
-webkit-mask-size: cover;
|
|
49
|
+
mask-size: cover;
|
|
50
|
+
background-color: currentColor;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@each $name, $sizeConfig in $size {
|
|
54
|
+
&.is-#{$name} {
|
|
55
|
+
font-size: map.get($sizeConfig, 'icon');
|
|
56
|
+
[class^="tri-picto-"],
|
|
57
|
+
[class*=" tri-picto-"] {
|
|
58
|
+
min-height: 1.5em !important;
|
|
59
|
+
min-width: 1.5em !important;
|
|
60
|
+
}
|
|
61
|
+
&.is-stretched {
|
|
62
|
+
height: map.get($sizeConfig,'icon');
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
svg {
|
|
68
|
+
min-height: 20px;
|
|
69
|
+
min-width: 20px;
|
|
70
|
+
max-height: 100%;
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
75
|
+
$color: getColor($name);
|
|
76
|
+
$brandName: getColorBrandName($name);
|
|
77
|
+
|
|
78
|
+
&.is-circled-#{$brandName} {
|
|
79
|
+
background-color: $color;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.is-#{$brandName} {
|
|
83
|
+
color: $color;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.is-circled {
|
|
88
|
+
border-radius: 9999px;
|
|
89
|
+
text-align: center;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.is-stretched {
|
|
93
|
+
transform: skewX(-#{$icon-stretching-level});
|
|
94
|
+
border-top-right-radius: 9px;
|
|
95
|
+
background-color: getColor('font');
|
|
96
|
+
|
|
97
|
+
[class^="tri-"],
|
|
98
|
+
[class*=" tri-"] {
|
|
99
|
+
transform: skewX($icon-stretching-level);
|
|
100
|
+
background-color: getColor('background');
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.is-stacked {
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
line-height: 5px !important;
|
|
107
|
+
position: relative;
|
|
108
|
+
|
|
109
|
+
.tri-notification_top {
|
|
110
|
+
font-size: 85%;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tri-notification_bottom {
|
|
114
|
+
font-size: 0.125em;
|
|
115
|
+
width: 100%;
|
|
116
|
+
margin-top: 1px;
|
|
117
|
+
|
|
118
|
+
& {
|
|
119
|
+
width: auto;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.is-animated {
|
|
125
|
+
.tri-notification_top {
|
|
126
|
+
@keyframes bellring {
|
|
127
|
+
0% {
|
|
128
|
+
transform: rotate(-5deg);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
10% {
|
|
132
|
+
transform: rotate(-5deg);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
25% {
|
|
136
|
+
transform: rotate(10deg);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
35% {
|
|
140
|
+
transform: rotate(-25deg);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
45% {
|
|
144
|
+
transform: rotate(20deg);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
55% {
|
|
148
|
+
transform: rotate(-15deg);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
60% {
|
|
152
|
+
transform: rotate(10deg);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
70% {
|
|
156
|
+
transform: rotate(-5deg);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
100% {
|
|
160
|
+
transform: rotate(-5deg);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
animation-name: bellring;
|
|
165
|
+
animation-duration: 6s;
|
|
166
|
+
animation-iteration-count: infinite;
|
|
167
|
+
animation-timing-function: ease-in-out;
|
|
168
|
+
animation-delay: -2s;
|
|
169
|
+
animation-direction: initial;
|
|
170
|
+
transform-origin: center top;
|
|
171
|
+
-moz-animation: none;
|
|
172
|
+
-moz-transform-origin: center top;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.tri-notification_bottom {
|
|
176
|
+
@keyframes bellbounce {
|
|
177
|
+
0% {
|
|
178
|
+
transform: translateX(-1px) rotate(-5deg);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
10% {
|
|
182
|
+
transform: translateX(-1px) rotate(-5deg);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
17% {
|
|
186
|
+
transform: translateX(1px) rotate(8deg);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
25% {
|
|
190
|
+
transform: translateX(2px) rotate(10deg);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
36% {
|
|
194
|
+
transform: translateX(6px) rotate(-25deg);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
47% {
|
|
198
|
+
transform: translateX(-5px) rotate(15deg);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
58% {
|
|
202
|
+
transform: translateX(6px) rotate(-10deg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
62% {
|
|
206
|
+
transform: translateX(-6px) rotate(5deg);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
71% {
|
|
210
|
+
transform: translateX(6px) rotate(-10deg);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
76% {
|
|
214
|
+
transform: translateX(-1px) rotate(-5deg);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
100% {
|
|
218
|
+
transform: translateX(-1px) rotate(-5deg);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
animation-name: bellbounce !important;
|
|
223
|
+
animation-duration: 6s;
|
|
224
|
+
animation-iteration-count: infinite;
|
|
225
|
+
animation-timing-function: initial;
|
|
226
|
+
animation-delay: -2s;
|
|
227
|
+
animation-direction: normal;
|
|
228
|
+
transform-origin: center top;
|
|
229
|
+
-moz-animation: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.has-status {
|
|
234
|
+
position: relative;
|
|
235
|
+
|
|
236
|
+
&::after {
|
|
237
|
+
content: '';
|
|
238
|
+
position: absolute;
|
|
239
|
+
top: 0;
|
|
240
|
+
right: 0;
|
|
241
|
+
width: $icon-dimensions-default;
|
|
242
|
+
height: $icon-dimensions-default;
|
|
243
|
+
border-radius: 9999px;
|
|
244
|
+
background-color: getColor('main');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&.is-bordered {
|
|
248
|
+
border-radius: 50%;
|
|
249
|
+
border-color: currentColor;
|
|
250
|
+
|
|
251
|
+
&::after {
|
|
252
|
+
top: -2px;
|
|
253
|
+
right: -2px;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.has-status {
|
|
258
|
+
.icon.is-descendant {
|
|
259
|
+
position: absolute;
|
|
260
|
+
top: 0;
|
|
261
|
+
right: 0;
|
|
262
|
+
width: $icon-dimensions-default;
|
|
263
|
+
height: $icon-dimensions-default;
|
|
264
|
+
background: #fff;
|
|
265
|
+
|
|
266
|
+
> [class^="tri-"],
|
|
267
|
+
> [class*=" tri-"] {
|
|
268
|
+
min-width: $icon-dimensions-default;
|
|
269
|
+
height: $icon-dimensions-default;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&.is-bottom,
|
|
273
|
+
&.is-bottom-right {
|
|
274
|
+
top: auto;
|
|
275
|
+
bottom: 0;
|
|
276
|
+
right: 0;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&::after {
|
|
281
|
+
content: none;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.icon-and-text {
|
|
288
|
+
display: inline-flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
|
|
291
|
+
> .icon {
|
|
292
|
+
line-height: 0;
|
|
293
|
+
margin-right: 0.5em;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
> span + .icon {
|
|
297
|
+
margin: 0 0 0 0.5em;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.is-alternate {
|
|
301
|
+
align-items: flex-start;
|
|
302
|
+
|
|
303
|
+
> .icon {
|
|
304
|
+
flex: none;
|
|
305
|
+
|
|
306
|
+
> i {
|
|
307
|
+
margin-bottom: 7px;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&.is-stacked {
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
padding: 5px;
|
|
315
|
+
|
|
316
|
+
> .icon {
|
|
317
|
+
margin: 0 0 0.5em 0;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
> span + .icon {
|
|
321
|
+
margin: 0.5em 0 0 0;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@include mobile {
|
|
326
|
+
&.is-stacked-mobile {
|
|
327
|
+
flex-direction: column;
|
|
328
|
+
padding: 5px;
|
|
329
|
+
|
|
330
|
+
> .icon {
|
|
331
|
+
margin: 0 0 0.5em 0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
> span + .icon {
|
|
335
|
+
margin: 0.5em 0 0 0;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@include tablet {
|
|
341
|
+
&.is-stacked-tablet {
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
padding: 5px;
|
|
344
|
+
|
|
345
|
+
> .icon {
|
|
346
|
+
margin: 0 0 0.5em 0;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
> span + .icon {
|
|
350
|
+
margin: 0.5em 0 0 0;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@include desktop {
|
|
356
|
+
&.is-stacked-desktop {
|
|
357
|
+
flex-direction: column;
|
|
358
|
+
padding: 5px;
|
|
359
|
+
|
|
360
|
+
> .icon {
|
|
361
|
+
margin: 0 0 0.5em 0;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
> span + .icon {
|
|
365
|
+
margin: 0.5em 0 0 0;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@include widescreen {
|
|
371
|
+
&.is-stacked-widescreen {
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
padding: 5px;
|
|
374
|
+
|
|
375
|
+
> .icon {
|
|
376
|
+
margin: 0 0 0.5em 0;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
> span + .icon {
|
|
380
|
+
margin: 0.5em 0 0 0;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.image {
|
|
2
|
+
display: block;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&.is-justified-start,
|
|
6
|
+
&.is-justified-center,
|
|
7
|
+
&.is-justified-end {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
img {
|
|
12
|
+
display: block;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
|
|
15
|
+
&.b-loaded {
|
|
16
|
+
height: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.is-circled {
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.b-lazy {
|
|
26
|
+
transition: opacity 250ms ease-in-out;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
|
|
29
|
+
&.b-loaded {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
|
|
32
|
+
&.has-bg-image {
|
|
33
|
+
&.has-bg-gradient {
|
|
34
|
+
&::before {
|
|
35
|
+
opacity: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.has-bg-image {
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
background-position: center center;
|
|
44
|
+
background-size: cover;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
height: 100%;
|
|
51
|
+
|
|
52
|
+
&.has-bg-gradient {
|
|
53
|
+
z-index: zindex('void');
|
|
54
|
+
opacity: 1;
|
|
55
|
+
|
|
56
|
+
&::before {
|
|
57
|
+
content: '';
|
|
58
|
+
opacity: 1;
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 0;
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 0;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
z-index: zindex('tiny');
|
|
65
|
+
transition: opacity 750ms ease-in-out;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
@import '../utilities/spacing';
|
|
3
|
+
|
|
4
|
+
@import 'accordion';
|
|
5
|
+
@import 'alert';
|
|
6
|
+
@import 'autocomplete';
|
|
7
|
+
@import 'autolayout';
|
|
8
|
+
@import 'badge';
|
|
9
|
+
@import 'box';
|
|
10
|
+
@import 'breadcrumb';
|
|
11
|
+
@import 'button';
|
|
12
|
+
@import 'calendar';
|
|
13
|
+
@import 'card';
|
|
14
|
+
@import 'checkbox';
|
|
15
|
+
@import 'chips';
|
|
16
|
+
@import 'container';
|
|
17
|
+
@import 'countdown';
|
|
18
|
+
@import 'date-picker';
|
|
19
|
+
@import 'dropdown';
|
|
20
|
+
@import 'divider';
|
|
21
|
+
@import 'fab';
|
|
22
|
+
@import 'flex-box';
|
|
23
|
+
@import 'icon';
|
|
24
|
+
@import 'image';
|
|
25
|
+
@import 'input';
|
|
26
|
+
@import 'link';
|
|
27
|
+
@import 'list';
|
|
28
|
+
@import 'loader';
|
|
29
|
+
@import 'modal';
|
|
30
|
+
@import 'otp';
|
|
31
|
+
@import 'pagination';
|
|
32
|
+
@import 'popover';
|
|
33
|
+
@import 'price';
|
|
34
|
+
@import 'product-tour';
|
|
35
|
+
@import 'progress';
|
|
36
|
+
@import 'radio';
|
|
37
|
+
@import 'range';
|
|
38
|
+
@import 'scroll-view';
|
|
39
|
+
@import 'segmented-control';
|
|
40
|
+
@import 'select';
|
|
41
|
+
@import 'stepper';
|
|
42
|
+
@import 'sticker';
|
|
43
|
+
@import 'switch';
|
|
44
|
+
@import 'table';
|
|
45
|
+
@import 'tabs';
|
|
46
|
+
@import 'tag';
|
|
47
|
+
@import 'text';
|
|
48
|
+
@import 'textarea';
|
|
49
|
+
@import 'timeline';
|
|
50
|
+
@import 'title';
|
|
51
|
+
@import 'prompt'
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.link {
|
|
2
|
+
[disabled] {
|
|
3
|
+
@include disabledRulesWithoutBG;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.link:not([disabled]) {
|
|
8
|
+
@extend %link-states;
|
|
9
|
+
|
|
10
|
+
position: relative;
|
|
11
|
+
font-weight: $weight-normal;
|
|
12
|
+
color: getColor($link-colors);
|
|
13
|
+
box-decoration-break: clone;
|
|
14
|
+
text-decoration: underline;
|
|
15
|
+
text-decoration-thickness : 2px;
|
|
16
|
+
text-underline-offset: 4px;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
&.has-icon {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
&::after {
|
|
24
|
+
width: calc(100% - 48px);
|
|
25
|
+
bottom: 5.5px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon {
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.is-inverted {
|
|
34
|
+
color: getColor('background');
|
|
35
|
+
|
|
36
|
+
&.has-icon {
|
|
37
|
+
> .icon {
|
|
38
|
+
color: getColor('background');
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include touch {
|
|
44
|
+
white-space: normal !important;
|
|
45
|
+
box-decoration-break: clone;
|
|
46
|
+
display: inline;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.text .link:not([disabled]) {
|
|
51
|
+
text-underline-offset: 2px;
|
|
52
|
+
text-decoration: underline;
|
|
53
|
+
text-decoration-thickness : 1px;
|
|
54
|
+
&:hover {
|
|
55
|
+
font-weight: $weight-normal;
|
|
56
|
+
filter: brightness(0.8);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Bullet list classiques
|
|
2
|
+
ol.list {
|
|
3
|
+
counter-reset: customCounter;
|
|
4
|
+
|
|
5
|
+
& > li.list-item {
|
|
6
|
+
counter-increment: customCounter;
|
|
7
|
+
&:not(:has(.icon)) {
|
|
8
|
+
&::before{
|
|
9
|
+
content: counter(customCounter) ". ";
|
|
10
|
+
margin-right:$spacing-4;
|
|
11
|
+
font-weight: $weight-bold;
|
|
12
|
+
font-size: $text-14 !important;
|
|
13
|
+
font-family: $family-secondary;
|
|
14
|
+
line-height: 1.5 !important;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
ul.list {
|
|
22
|
+
li.list-item {
|
|
23
|
+
&:not(:has(.icon)) {
|
|
24
|
+
&::before{
|
|
25
|
+
content:'.';
|
|
26
|
+
margin-right:$spacing-4;
|
|
27
|
+
font-weight: 900;
|
|
28
|
+
font-size: $text-24;
|
|
29
|
+
line-height: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ul.list,
|
|
36
|
+
ol.list {
|
|
37
|
+
display: grid;
|
|
38
|
+
row-gap: $spacing-3;
|
|
39
|
+
|
|
40
|
+
li.list-item {
|
|
41
|
+
display: flex;
|
|
42
|
+
&:has(.icon) {
|
|
43
|
+
list-style: none;
|
|
44
|
+
display: flex;
|
|
45
|
+
}
|
|
46
|
+
.icon {
|
|
47
|
+
margin-right: $spacing-2;
|
|
48
|
+
justify-content: flex-start;
|
|
49
|
+
align-items: flex-start;
|
|
50
|
+
}
|
|
51
|
+
.list-item-content {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.has-divider {
|
|
57
|
+
li {
|
|
58
|
+
border-bottom: var(--border);
|
|
59
|
+
padding-bottom: $spacing-3;
|
|
60
|
+
&:last-child {
|
|
61
|
+
border-bottom: none;
|
|
62
|
+
padding-bottom: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|