@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-calendar
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/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/_all.scss +2 -2
- package/framework/src/base/_all.scss +1 -1
- package/framework/src/base/_color.scss +1 -52
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +9 -1
- package/framework/src/base/_helpers.scss +34 -44
- package/framework/src/base/_loading.scss +9 -2
- package/framework/src/base/_reset.scss +11 -1
- package/framework/src/components/_accordion.scss +55 -89
- 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 +29 -38
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +125 -0
- package/framework/src/components/_card.scss +33 -87
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -39
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +25 -14
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +457 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +48 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/{elements → components}/_loader.scss +2 -2
- package/framework/src/components/_modal.scss +182 -158
- package/framework/src/components/_otp.scss +11 -30
- package/framework/src/components/_pagination.scss +60 -159
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +140 -165
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +55 -53
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/{elements → components}/_sticker.scss +25 -28
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +101 -98
- 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 +28 -113
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +13 -10
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/{elements → components/input}/_form.scss +42 -33
- 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/{elements → components/progress}/_progress.scss +34 -23
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -41
- package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
- package/framework/src/grid/_columns.scss +278 -763
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +92 -214
- package/framework/src/layout/_section.scss +10 -29
- 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-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +0 -103
- package/framework/src/utilities/_initial-variables.scss +4 -144
- package/framework/src/utilities/_pre.scss +4 -1
- 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 +293 -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 +84 -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 +3 -3
- package/framework/src/components/_all.scss +0 -30
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_progress-radial.scss +0 -23
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/elements/_all.scss +0 -35
- package/framework/src/elements/_badge.scss +0 -81
- package/framework/src/elements/_box.scss +0 -267
- package/framework/src/elements/_button.scss +0 -192
- package/framework/src/elements/_checkbox.scss +0 -39
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_chips.scss +0 -100
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_entry.scss +0 -109
- package/framework/src/elements/_image.scss +0 -59
- package/framework/src/elements/_input-gauge.scss +0 -37
- package/framework/src/elements/_input-icons.scss +0 -41
- package/framework/src/elements/_link.scss +0 -79
- package/framework/src/elements/_list.scss +0 -61
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_paragraph.scss +0 -101
- package/framework/src/elements/_radio.scss +0 -67
- package/framework/src/elements/_select.scss +0 -315
- package/framework/src/elements/_switch.scss +0 -108
- package/framework/src/elements/_table.scss +0 -298
- package/framework/src/elements/_tag.scss +0 -131
- package/framework/src/elements/_textarea.scss +0 -125
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/elements/_title.scss +0 -139
- package/framework/src/layout/_toolbar.scss +0 -100
- package/framework/src/utilities/_mixins.scss +0 -744
|
@@ -5,20 +5,22 @@ $help-size: $size-small;
|
|
|
5
5
|
$label-weight: $weight-bold;
|
|
6
6
|
|
|
7
7
|
.field {
|
|
8
|
-
&:not(:first-child) {
|
|
9
|
-
margin-top: $field-margin;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:not(:last-child) {
|
|
13
|
-
margin-bottom: 7.5px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
8
|
&.is-fullwidth {
|
|
17
9
|
div.control {
|
|
18
10
|
flex: 1;
|
|
19
11
|
}
|
|
20
12
|
}
|
|
21
13
|
|
|
14
|
+
.input-label {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.input-sample {
|
|
21
|
+
margin-bottom: 10px !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
22
24
|
@include mobile {
|
|
23
25
|
&.is-very-short,
|
|
24
26
|
&.is-short {
|
|
@@ -92,15 +94,12 @@ $label-weight: $weight-bold;
|
|
|
92
94
|
.input,
|
|
93
95
|
.textarea,
|
|
94
96
|
.select select {
|
|
95
|
-
&:hover
|
|
96
|
-
&.is-hovered {
|
|
97
|
+
&:hover {
|
|
97
98
|
z-index: zindex('tiny');
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
&:focus,
|
|
101
|
-
|
|
102
|
-
&:active,
|
|
103
|
-
&.is-active {
|
|
102
|
+
&:active {
|
|
104
103
|
z-index: zindex('small');
|
|
105
104
|
|
|
106
105
|
&:hover {
|
|
@@ -220,10 +219,9 @@ $label-weight: $weight-bold;
|
|
|
220
219
|
|
|
221
220
|
.input {
|
|
222
221
|
@each $name, $pair in $colors-feedback {
|
|
223
|
-
$bg-color: nth($pair, 1);
|
|
224
222
|
&.is-#{$name} {
|
|
225
223
|
~ .icon {
|
|
226
|
-
color:
|
|
224
|
+
color: fadeColor($name);
|
|
227
225
|
}
|
|
228
226
|
}
|
|
229
227
|
}
|
|
@@ -235,10 +233,9 @@ $label-weight: $weight-bold;
|
|
|
235
233
|
|
|
236
234
|
.textarea {
|
|
237
235
|
@each $name, $pair in $colors-feedback {
|
|
238
|
-
$bg-color: nth($pair, 1);
|
|
239
236
|
&.is-#{$name} {
|
|
240
237
|
~ .icon {
|
|
241
|
-
color:
|
|
238
|
+
color: fadeColor($name);
|
|
242
239
|
}
|
|
243
240
|
}
|
|
244
241
|
}
|
|
@@ -251,6 +248,7 @@ $label-weight: $weight-bold;
|
|
|
251
248
|
|
|
252
249
|
&.has-icons-left {
|
|
253
250
|
.input,
|
|
251
|
+
.textarea,
|
|
254
252
|
.select select {
|
|
255
253
|
padding-left: 45px;
|
|
256
254
|
}
|
|
@@ -259,13 +257,7 @@ $label-weight: $weight-bold;
|
|
|
259
257
|
left: 0;
|
|
260
258
|
border-top-left-radius: $radius;
|
|
261
259
|
border-bottom-left-radius: $radius;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
.textarea {
|
|
265
|
-
padding-left: 50px;
|
|
266
|
-
padding-right: $spacing-4;
|
|
267
|
-
padding-bottom: $spacing-4 !important;
|
|
268
|
-
padding-top: $spacing-4;
|
|
260
|
+
padding: 0 24px;
|
|
269
261
|
}
|
|
270
262
|
|
|
271
263
|
& .textarea + label {
|
|
@@ -283,7 +275,7 @@ $label-weight: $weight-bold;
|
|
|
283
275
|
position: absolute;
|
|
284
276
|
bottom: 5px;
|
|
285
277
|
right: 16px;
|
|
286
|
-
font-size: $
|
|
278
|
+
font-size: $text-10;
|
|
287
279
|
}
|
|
288
280
|
|
|
289
281
|
.is-error ~ .textarea-counter {
|
|
@@ -293,6 +285,7 @@ $label-weight: $weight-bold;
|
|
|
293
285
|
|
|
294
286
|
&.has-icons-right {
|
|
295
287
|
.input,
|
|
288
|
+
.textarea,
|
|
296
289
|
.select select {
|
|
297
290
|
padding-right: 45px;
|
|
298
291
|
}
|
|
@@ -301,6 +294,7 @@ $label-weight: $weight-bold;
|
|
|
301
294
|
right: 0;
|
|
302
295
|
border-top-right-radius: $radius;
|
|
303
296
|
border-bottom-right-radius: $radius;
|
|
297
|
+
padding: 0 24px;
|
|
304
298
|
}
|
|
305
299
|
}
|
|
306
300
|
|
|
@@ -331,7 +325,8 @@ $label-weight: $weight-bold;
|
|
|
331
325
|
left: 16px;
|
|
332
326
|
border-left: transparent 1px solid;
|
|
333
327
|
font-size: $text-12;
|
|
334
|
-
color: getColor('
|
|
328
|
+
color: getColor('font');
|
|
329
|
+
filter: grayscale(1);
|
|
335
330
|
transform: translateY(0);
|
|
336
331
|
transition: all 0.2s ease-out;
|
|
337
332
|
z-index: zindex('small');
|
|
@@ -392,20 +387,20 @@ $label-weight: $weight-bold;
|
|
|
392
387
|
&.has-password-discover {
|
|
393
388
|
.input {
|
|
394
389
|
~ .icon:not(:last-child) {
|
|
395
|
-
color: getColor('
|
|
390
|
+
color: getColor('neutral');
|
|
396
391
|
background-color: transparent;
|
|
397
392
|
right: 45px;
|
|
398
393
|
cursor: pointer;
|
|
394
|
+
|
|
399
395
|
&:hover,
|
|
400
396
|
&:focus {
|
|
401
|
-
color: getColor('
|
|
397
|
+
color: getColor('neutral');
|
|
402
398
|
}
|
|
403
399
|
}
|
|
404
400
|
}
|
|
405
401
|
}
|
|
406
402
|
|
|
407
403
|
+ .help {
|
|
408
|
-
margin: 4px 0;
|
|
409
404
|
font-size: $text-12;
|
|
410
405
|
font-weight: $weight-medium;
|
|
411
406
|
}
|
|
@@ -421,14 +416,14 @@ $label-weight: $weight-bold;
|
|
|
421
416
|
width: 45px;
|
|
422
417
|
|
|
423
418
|
&::after {
|
|
424
|
-
@include spinner;
|
|
419
|
+
@include spinner();
|
|
425
420
|
@include center(1em);
|
|
426
421
|
}
|
|
427
422
|
}
|
|
428
423
|
|
|
429
424
|
&.is-loading {
|
|
430
425
|
&::after {
|
|
431
|
-
@include spinner;
|
|
426
|
+
@include spinner();
|
|
432
427
|
|
|
433
428
|
position: absolute !important;
|
|
434
429
|
right: 0.625em;
|
|
@@ -444,6 +439,13 @@ $label-weight: $weight-bold;
|
|
|
444
439
|
font-size: $size-large;
|
|
445
440
|
}
|
|
446
441
|
}
|
|
442
|
+
|
|
443
|
+
&:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
|
|
444
|
+
@include disabledRulesWithoutBG;
|
|
445
|
+
.icon {
|
|
446
|
+
color: getColor('disabled');
|
|
447
|
+
}
|
|
448
|
+
}
|
|
447
449
|
}
|
|
448
450
|
|
|
449
451
|
.field-label {
|
|
@@ -558,7 +560,7 @@ $label-weight: $weight-bold;
|
|
|
558
560
|
}
|
|
559
561
|
|
|
560
562
|
.label {
|
|
561
|
-
color: getColor('
|
|
563
|
+
color: getColor('neutral');
|
|
562
564
|
display: block;
|
|
563
565
|
font-size: $size-normal;
|
|
564
566
|
font-weight: $label-weight;
|
|
@@ -582,7 +584,7 @@ $label-weight: $weight-bold;
|
|
|
582
584
|
font-size: $help-size;
|
|
583
585
|
margin-top: 2.5px;
|
|
584
586
|
|
|
585
|
-
@each $name, $pair in $colors-brand-
|
|
587
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
586
588
|
$color: getColor($name);
|
|
587
589
|
$brandName: getColorBrandName($name);
|
|
588
590
|
|
|
@@ -591,3 +593,10 @@ $label-weight: $weight-bold;
|
|
|
591
593
|
}
|
|
592
594
|
}
|
|
593
595
|
}
|
|
596
|
+
|
|
597
|
+
.group-label {
|
|
598
|
+
display: inline-block;
|
|
599
|
+
margin-bottom: 8px !important;
|
|
600
|
+
font-weight: 500;
|
|
601
|
+
line-height: 20px;
|
|
602
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
.field .security-gauge-container {
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
.security-gauge {
|
|
6
|
+
height: 4px;
|
|
7
|
+
background: getColor('disabled');
|
|
8
|
+
border-radius: var(--radius-small);
|
|
9
|
+
margin: 8px 0;
|
|
10
|
+
|
|
11
|
+
.gauge {
|
|
12
|
+
height: 100%;
|
|
13
|
+
border-radius: var(--radius-small);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.security-gauge-verifies {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
|
|
23
|
+
.security {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
margin-bottom: 4px;
|
|
27
|
+
flex-basis: 50%;
|
|
28
|
+
flex-shrink: 1;
|
|
29
|
+
flex-grow: 0;
|
|
30
|
+
|
|
31
|
+
&:nth-child(even) {
|
|
32
|
+
justify-content: flex-end;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.icon {
|
|
36
|
+
position: relative;
|
|
37
|
+
width: 16px;
|
|
38
|
+
margin-right: 8px;
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
margin-bottom: -1px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.field {
|
|
2
|
+
|
|
3
|
+
.has-icons-left {
|
|
4
|
+
input, textarea {
|
|
5
|
+
padding-left: 45px;
|
|
6
|
+
|
|
7
|
+
&:active,
|
|
8
|
+
&:focus,
|
|
9
|
+
&:focus-visible:not(.has-icons-left):not(disabled) {
|
|
10
|
+
padding-left: 44px !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
label {
|
|
14
|
+
left: 45px;
|
|
15
|
+
}
|
|
16
|
+
.icon-left {
|
|
17
|
+
position: absolute;
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 45px;
|
|
20
|
+
left: 0;
|
|
21
|
+
i {
|
|
22
|
+
font-size: 20px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.has-icons-right {
|
|
30
|
+
.icon-right, button[data-show-pwd]{
|
|
31
|
+
position: absolute;
|
|
32
|
+
height: 100%;
|
|
33
|
+
width: 45px;
|
|
34
|
+
z-index: 10;
|
|
35
|
+
right: 0;
|
|
36
|
+
left: auto;
|
|
37
|
+
top:0;
|
|
38
|
+
|
|
39
|
+
i {
|
|
40
|
+
font-size: 20px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
button[data-show-pwd]{
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
border:none;
|
|
47
|
+
border-top-right-radius: $radius-small ;
|
|
48
|
+
border-bottom-right-radius: $radius-small ;
|
|
49
|
+
&:focus-visible{
|
|
50
|
+
outline: var(--border-active);
|
|
51
|
+
outline-offset: -2px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.progress-radial {
|
|
2
|
+
background: radial-gradient(white 58%, transparent 51%),
|
|
3
|
+
conic-gradient(getColor('main-fade') 0deg 360deg, getColor('main-fade') 0deg 360deg);
|
|
4
|
+
border-radius: 50%;
|
|
5
|
+
width: 124px;
|
|
6
|
+
height: 124px;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.progress-radial-content {
|
|
10
|
+
border: 1px solid white;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-small {
|
|
25
|
+
width: 75px;
|
|
26
|
+
height: 75px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
|
|
3
|
-
@import "
|
|
3
|
+
@import "../../base/color";
|
|
4
4
|
|
|
5
5
|
$progressbar-height: 10px;
|
|
6
6
|
$progressbar-small: 5px;
|
|
@@ -9,7 +9,7 @@ $progressbar-small: 5px;
|
|
|
9
9
|
@include block;
|
|
10
10
|
|
|
11
11
|
border: none;
|
|
12
|
-
border-radius:
|
|
12
|
+
border-radius: 9999px;
|
|
13
13
|
display: block;
|
|
14
14
|
height: $progressbar-height;
|
|
15
15
|
overflow: hidden;
|
|
@@ -18,8 +18,10 @@ $progressbar-small: 5px;
|
|
|
18
18
|
-moz-appearance: none;
|
|
19
19
|
-webkit-appearance: none;
|
|
20
20
|
|
|
21
|
+
background-color: getColor('main-fade');
|
|
22
|
+
|
|
21
23
|
&::-webkit-progress-bar {
|
|
22
|
-
background-color: getColor('
|
|
24
|
+
background-color: getColor('main-fade');
|
|
23
25
|
border-radius: $progressbar-height;
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -33,18 +35,12 @@ $progressbar-small: 5px;
|
|
|
33
35
|
border-radius: $progressbar-height;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
|
-
&::-ms-fill {
|
|
37
|
-
background-color: getColor('font');
|
|
38
|
-
border: none;
|
|
39
|
-
border-radius: $progressbar-height;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
38
|
&:not(:last-child) {
|
|
43
39
|
margin-bottom: 7.5px;
|
|
44
40
|
}
|
|
45
41
|
|
|
46
42
|
// Colors
|
|
47
|
-
@each $name in $colors-brand-
|
|
43
|
+
@each $name in $colors-brand-functionnal {
|
|
48
44
|
$brandName: getColorBrandName($name);
|
|
49
45
|
$color: getColor($name);
|
|
50
46
|
|
|
@@ -71,12 +67,11 @@ $progressbar-small: 5px;
|
|
|
71
67
|
|
|
72
68
|
.progress.is-stacked {
|
|
73
69
|
display: flex;
|
|
74
|
-
background-color: getColor('grey-light');
|
|
75
70
|
border-radius: $progressbar-height;
|
|
76
71
|
|
|
77
72
|
.progress-bar {
|
|
78
73
|
height: $progressbar-height;
|
|
79
|
-
background-color:
|
|
74
|
+
background-color: getColor('font');
|
|
80
75
|
|
|
81
76
|
&:first-child {
|
|
82
77
|
border-radius: $progressbar-height 0 0 $progressbar-height;
|
|
@@ -86,7 +81,7 @@ $progressbar-small: 5px;
|
|
|
86
81
|
border-radius: 0 $progressbar-height $progressbar-height 0;
|
|
87
82
|
}
|
|
88
83
|
|
|
89
|
-
@each $name in $colors-brand-
|
|
84
|
+
@each $name in $colors-brand-functionnal {
|
|
90
85
|
$color: getColor($name);
|
|
91
86
|
$color-invert: invertColor($name);
|
|
92
87
|
$brandName: getColorBrandName($name);
|
|
@@ -100,10 +95,10 @@ $progressbar-small: 5px;
|
|
|
100
95
|
|
|
101
96
|
// Progress Bar circle
|
|
102
97
|
$progress-circle-slices: (
|
|
103
|
-
secondary: getColor('
|
|
98
|
+
secondary: getColor('info'),
|
|
104
99
|
tertiary: getColor('font'),
|
|
105
100
|
warning: getColor('warning'),
|
|
106
|
-
empty: getColor('
|
|
101
|
+
empty: getColor('main-fade')
|
|
107
102
|
);
|
|
108
103
|
|
|
109
104
|
.progress-circle {
|
|
@@ -113,7 +108,7 @@ $progress-circle-slices: (
|
|
|
113
108
|
--progress-circle-spacing-color: 255, 255, 255;
|
|
114
109
|
--progress-circle-spacing-deg: calc(1deg * var(--progress-circle-spacing));
|
|
115
110
|
|
|
116
|
-
border-radius:
|
|
111
|
+
border-radius: 9999px;
|
|
117
112
|
height: var(--progress-circle-size);
|
|
118
113
|
margin: 40px;
|
|
119
114
|
position: relative;
|
|
@@ -151,8 +146,8 @@ $progress-circle-slices: (
|
|
|
151
146
|
|
|
152
147
|
.progress-circle-slice::before,
|
|
153
148
|
.progress-circle-slice::after {
|
|
154
|
-
border: var(--progress-circle-border-width) solid rgba(0,0,0,0);
|
|
155
|
-
border-radius:
|
|
149
|
+
border: var(--progress-circle-border-width) solid rgba(0, 0, 0, 0);
|
|
150
|
+
border-radius: 9999px;
|
|
156
151
|
content: '';
|
|
157
152
|
height: 100%;
|
|
158
153
|
left: 0;
|
|
@@ -181,9 +176,7 @@ $slides-concat: '';
|
|
|
181
176
|
|
|
182
177
|
clip-path: inset(0 calc(50% * (var(--#{$name}-check) / var(--#{$name}-check))) 0 0);
|
|
183
178
|
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
@else {
|
|
179
|
+
} @else {
|
|
187
180
|
.progress-circle-background-#{$name} {
|
|
188
181
|
--#{$name}-start: 0;
|
|
189
182
|
}
|
|
@@ -204,9 +197,27 @@ $slides-concat: '';
|
|
|
204
197
|
|
|
205
198
|
@if $i == 1 {
|
|
206
199
|
$slides-concat: var(--#{$name});
|
|
200
|
+
} @else {
|
|
201
|
+
$slides-concat: $slides-concat + ' + ' + var(--#{$name});
|
|
207
202
|
}
|
|
203
|
+
}
|
|
208
204
|
|
|
209
|
-
|
|
210
|
-
|
|
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;
|
|
211
222
|
}
|
|
212
223
|
}
|
|
@@ -1,44 +1,3 @@
|
|
|
1
|
-
.block {
|
|
2
|
-
@include block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.delete {
|
|
6
2
|
@include delete;
|
|
7
3
|
}
|
|
8
|
-
|
|
9
|
-
.heading {
|
|
10
|
-
display: block;
|
|
11
|
-
font-size: 11px;
|
|
12
|
-
letter-spacing: 1px;
|
|
13
|
-
margin-bottom: 5px;
|
|
14
|
-
text-transform: uppercase;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.highlight {
|
|
18
|
-
@include block;
|
|
19
|
-
|
|
20
|
-
font-weight: $weight-normal;
|
|
21
|
-
max-width: 100%;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
padding: 0;
|
|
24
|
-
|
|
25
|
-
pre {
|
|
26
|
-
overflow: auto;
|
|
27
|
-
max-width: 100%;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.number {
|
|
32
|
-
align-items: center;
|
|
33
|
-
background-color: getColor('grey-light');
|
|
34
|
-
border-radius: $radius-rounded;
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
font-size: $size-medium;
|
|
37
|
-
height: 2em;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
margin-right: 15px;
|
|
40
|
-
min-width: 2.5em;
|
|
41
|
-
padding: 2.5px 5px;
|
|
42
|
-
text-align: center;
|
|
43
|
-
vertical-align: top;
|
|
44
|
-
}
|