@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
|
@@ -1,60 +1,62 @@
|
|
|
1
1
|
.segmented-control {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
border-radius: 6px;
|
|
3
|
+
padding: $spacing-1;
|
|
4
|
+
background-color: getColor('background');
|
|
5
|
+
display: flex;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
border: 1px solid getColor('neutral');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
&.justified-start {
|
|
13
|
+
margin-left: 0;
|
|
14
|
+
margin-right: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.justified-end {
|
|
18
|
+
margin-right: 0;
|
|
19
|
+
margin-left: auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include mobile {
|
|
23
|
+
display: flex;
|
|
24
|
+
margin: 24px auto;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.segmented-control-item {
|
|
29
|
+
padding: $spacing-3 $spacing-4;
|
|
30
|
+
border-radius: var(--radius-small);
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
border: 2px solid transparent;
|
|
34
|
+
color: getColor('font');
|
|
35
|
+
background-color: getColor('background');
|
|
36
|
+
|
|
37
|
+
&:not(:last-child) {
|
|
38
|
+
margin-right: 4px;
|
|
39
|
+
}
|
|
8
40
|
|
|
9
41
|
@include mobile {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
42
|
+
flex: 1 1 0;
|
|
43
|
+
width: 0;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:hover:not([disabled], [aria-disabled=true], .is-active) {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
@include hoverRules()
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.is-active {
|
|
54
|
+
background-color: getColor('main');
|
|
55
|
+
color: invertColor('main');
|
|
13
56
|
}
|
|
14
57
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
text-align: center;
|
|
20
|
-
border: 2px solid transparent;
|
|
21
|
-
height: 42px;
|
|
22
|
-
color: getColor('font');
|
|
23
|
-
background-color: getColor('grey-lighter');
|
|
24
|
-
font-family: $body-family;
|
|
25
|
-
|
|
26
|
-
&:not(:last-child) {
|
|
27
|
-
margin-right: 4px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@include mobile {
|
|
31
|
-
padding: 0 $spacing-4;
|
|
32
|
-
flex: 1 1 0;
|
|
33
|
-
width: 0;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:hover {
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
color: getColor('alternate');
|
|
42
|
-
border-color: currentColor;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.is-active {
|
|
46
|
-
background-color: getColor('alternate');
|
|
47
|
-
color: invertColor('alternate');
|
|
48
|
-
font-weight: 600;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&[disabled] {
|
|
52
|
-
background-color: getColor('grey-disabled');
|
|
53
|
-
border-color: getColor('grey-disabled');
|
|
54
|
-
color: getColor('grey-darker');
|
|
55
|
-
&:hover {
|
|
56
|
-
cursor: not-allowed;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
58
|
+
&:disabled{
|
|
59
|
+
border-color: transparent !important;
|
|
59
60
|
}
|
|
61
|
+
}
|
|
60
62
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
$status-select: (
|
|
2
|
+
'success', 'error'
|
|
3
|
+
);
|
|
4
|
+
|
|
5
|
+
.select {
|
|
6
|
+
position: relative;
|
|
7
|
+
input { cursor: pointer }
|
|
8
|
+
|
|
9
|
+
select {
|
|
10
|
+
width: 100%;
|
|
11
|
+
@include input;
|
|
12
|
+
padding-right: 40px;
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
|
|
15
|
+
&:focus {
|
|
16
|
+
padding-left: 15px !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// to prevent user agent style
|
|
20
|
+
&:disabled {
|
|
21
|
+
opacity: 1 !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@each $name in $status-select {
|
|
25
|
+
$color: getColor($name);
|
|
26
|
+
$color-invert: invertColor($name);
|
|
27
|
+
$brandName: getColorBrandName($name);
|
|
28
|
+
|
|
29
|
+
&.is-#{$brandName} {
|
|
30
|
+
border: 1px solid $color;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.has-icons-left {
|
|
36
|
+
select {
|
|
37
|
+
padding-left: 45px;
|
|
38
|
+
|
|
39
|
+
&:focus {
|
|
40
|
+
padding-left: 44px !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-options {
|
|
46
|
+
box-shadow: 0 0 8px #0000001a;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 1001;
|
|
51
|
+
left: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
margin-top: 8px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.field {
|
|
58
|
+
margin-bottom: 0 !important;
|
|
59
|
+
.control {
|
|
60
|
+
position: relative;
|
|
61
|
+
&:after {
|
|
62
|
+
@include arrow();
|
|
63
|
+
right: 12px;
|
|
64
|
+
top: 50%;
|
|
65
|
+
transform: translate(-50%, -50%);
|
|
66
|
+
transition: transform 0.3s;
|
|
67
|
+
min-width: 20px;
|
|
68
|
+
min-height: 20px;
|
|
69
|
+
mask-size: 20px;
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.focus .control {
|
|
75
|
+
&:after {
|
|
76
|
+
transform: rotate(180deg) translate(50%, 50%);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
&-trilogy_modal_open {
|
|
83
|
+
position: fixed;
|
|
84
|
+
top: 0;
|
|
85
|
+
left: 0;
|
|
86
|
+
right: 0;
|
|
87
|
+
bottom: 0;
|
|
88
|
+
z-index: 1000;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.select-options {
|
|
92
|
+
background-color: getColor('background');
|
|
93
|
+
|
|
94
|
+
li.option {
|
|
95
|
+
padding: $spacing-3 $spacing-4;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
display: flex;
|
|
98
|
+
gap: $spacing-2;
|
|
99
|
+
@include hover;
|
|
100
|
+
|
|
101
|
+
&.is-disabled {
|
|
102
|
+
color: getColor('disabled');
|
|
103
|
+
background-color: getColor('disabled-fade');
|
|
104
|
+
cursor: not-allowed;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&[data-selected="true"] {
|
|
108
|
+
font-weight: $weight-black;
|
|
109
|
+
|
|
110
|
+
&:after {
|
|
111
|
+
content: "" !important;
|
|
112
|
+
mask-image: url('./assets/icons/all/check.svg') !important;
|
|
113
|
+
background-color: getColor('main') !important;
|
|
114
|
+
mask-size: 18px !important;
|
|
115
|
+
right: 18px !important;
|
|
116
|
+
height: 18px !important;
|
|
117
|
+
width: 18px !important;
|
|
118
|
+
position: absolute;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-options-top {
|
|
125
|
+
top: auto;
|
|
126
|
+
bottom: 100%;
|
|
127
|
+
overflow-y: scroll;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
@@ -1,144 +1,14 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
|
|
3
|
-
$step-width: 30px;
|
|
4
|
-
$step-font-size: 18px;
|
|
5
|
-
$step-gap: $step-width;
|
|
6
|
-
$step-gap-desktop: $step-width * 3;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// old stepper , déprécié since ( v2 )
|
|
10
|
-
.stepper {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
position: relative;
|
|
13
|
-
|
|
14
|
-
@include mobile {
|
|
15
|
-
&::after {
|
|
16
|
-
content: attr(data-label-mobile);
|
|
17
|
-
position: absolute;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
font-weight: $weight-semibold;
|
|
21
|
-
color: getColor('alternate');
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.step {
|
|
26
|
-
position: relative;
|
|
27
|
-
z-index: zindex('void');
|
|
28
|
-
display: inline-flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
width: $step-width;
|
|
32
|
-
height: $step-width;
|
|
33
|
-
border-radius: 100%;
|
|
34
|
-
background: getColor('grey-disabled');
|
|
35
|
-
color: getColor('background');
|
|
36
|
-
font-size: $step-font-size;
|
|
37
|
-
transition: background .15s ease;
|
|
38
|
-
|
|
39
|
-
&.is-done {
|
|
40
|
-
background: getColor('font');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.is-current,
|
|
44
|
-
&.is-active {
|
|
45
|
-
background: getColor('alternate');
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.step + .step {
|
|
50
|
-
margin-left: $step-gap;
|
|
51
|
-
|
|
52
|
-
@include desktop {
|
|
53
|
-
margin-left: $step-gap-desktop;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: '';
|
|
58
|
-
height: 4px;
|
|
59
|
-
width: $step-gap;
|
|
60
|
-
display: block;
|
|
61
|
-
position: absolute;
|
|
62
|
-
z-index: zindex('subzero');
|
|
63
|
-
left: -$step-gap;
|
|
64
|
-
top: 50%;
|
|
65
|
-
transform: translateY(-50%);
|
|
66
|
-
transition: background .15s ease;
|
|
67
|
-
background-color: getColor('grey-disabled');
|
|
68
|
-
|
|
69
|
-
@include desktop {
|
|
70
|
-
width: $step-gap-desktop;
|
|
71
|
-
margin-left: -$step-gap-desktop + $step-width;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// done steps successively
|
|
77
|
-
.step.is-done + .step.is-done::before {
|
|
78
|
-
background: getColor('font');
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// done step followed by current step
|
|
82
|
-
.step.is-done + .step.is-current::before {
|
|
83
|
-
background: linear-gradient(90deg, getColor('font'), getColor('alternate'));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// active step followed by done step(s)
|
|
87
|
-
.step.is-active + .step.is-done::before {
|
|
88
|
-
background: linear-gradient(90deg, getColor('alternate'), getColor('font'));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// current step followed by unvisited step(s)
|
|
92
|
-
.step.is-current + .step::before {
|
|
93
|
-
background: linear-gradient(90deg, getColor('alternate'), getColor('grey-disabled') 75%);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// labels
|
|
97
|
-
.step[data-label] {
|
|
98
|
-
margin-bottom: 40px;
|
|
99
|
-
|
|
100
|
-
&::after {
|
|
101
|
-
position: absolute;
|
|
102
|
-
left: -$step-gap-desktop * 0.5;
|
|
103
|
-
right: -$step-gap-desktop * 0.5;
|
|
104
|
-
color: getColor('grey');
|
|
105
|
-
font-size: $size-7;
|
|
106
|
-
font-weight: $weight-semibold;
|
|
107
|
-
top: 50px;
|
|
108
|
-
text-align: center;
|
|
109
|
-
|
|
110
|
-
@include desktop {
|
|
111
|
-
content: attr(data-label);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// active or current step
|
|
116
|
-
&.is-current::after,
|
|
117
|
-
&.is-active::after {
|
|
118
|
-
color: getColor('alternate');
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// back to grey label when going back in steps: the current step is followed by the active step
|
|
124
|
-
.step[data-label].is-active ~ .step[data-label].is-current::after {
|
|
125
|
-
color: getColor('grey');
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
// Nouveau stepper
|
|
130
|
-
|
|
131
3
|
.stepper-wrapper {
|
|
132
4
|
display: flex;
|
|
133
5
|
position: relative;
|
|
134
6
|
justify-content: space-between;
|
|
135
7
|
min-height: 44px;
|
|
136
|
-
|
|
137
|
-
margin-right: -8px;
|
|
8
|
+
gap: $spacing-4;
|
|
138
9
|
|
|
139
10
|
@include touch {
|
|
140
|
-
|
|
141
|
-
margin-right: -4px !important;
|
|
11
|
+
gap : $spacing-2;
|
|
142
12
|
}
|
|
143
13
|
}
|
|
144
14
|
|
|
@@ -146,43 +16,47 @@ $step-gap-desktop: $step-width * 3;
|
|
|
146
16
|
display: flex;
|
|
147
17
|
flex-direction: column;
|
|
148
18
|
width: 100%;
|
|
149
|
-
padding: $spacing-2;
|
|
150
19
|
|
|
151
|
-
&:before{
|
|
20
|
+
&:before {
|
|
152
21
|
content: "";
|
|
153
22
|
display: block;
|
|
154
23
|
height: 4px;
|
|
155
|
-
|
|
156
|
-
|
|
24
|
+
border-radius: var(--radius-small);
|
|
25
|
+
background-size: 200% !important;
|
|
26
|
+
background-color: getColor('neutral');
|
|
157
27
|
}
|
|
158
28
|
|
|
159
29
|
&.is-error {
|
|
160
30
|
|
|
161
|
-
&:before{
|
|
162
|
-
background: getColor('error') !important;
|
|
31
|
+
&:before {
|
|
32
|
+
background-color: getColor('error') !important;
|
|
33
|
+
|
|
163
34
|
}
|
|
35
|
+
&.is-current{
|
|
36
|
+
&:before{
|
|
37
|
+
animation: progress 1s;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
164
42
|
.step-bars {
|
|
165
43
|
background: getColor('error') !important;
|
|
166
44
|
}
|
|
45
|
+
|
|
167
46
|
color: getColor('font');
|
|
168
47
|
|
|
169
48
|
.step-label {
|
|
170
49
|
|
|
171
|
-
padding-left: $spacing-2;
|
|
172
|
-
|
|
173
|
-
@include touch {
|
|
174
|
-
padding-left: $spacing-1;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
50
|
&::before {
|
|
178
51
|
content: "";
|
|
179
|
-
mask-image: url('./assets/icons/all/times
|
|
52
|
+
mask-image: url('./assets/icons/all/times.svg') !important;
|
|
180
53
|
background-color: getColor('error') !important;
|
|
181
54
|
border-width: 0;
|
|
55
|
+
mask-size: 20px;
|
|
182
56
|
width: 20px;
|
|
183
57
|
height: 20px;
|
|
184
|
-
margin: 2px 8px 0 -8px;
|
|
185
58
|
align-self: baseline;
|
|
59
|
+
margin-top: 2px;
|
|
186
60
|
}
|
|
187
61
|
|
|
188
62
|
.icon {
|
|
@@ -193,28 +67,26 @@ $step-gap-desktop: $step-width * 3;
|
|
|
193
67
|
|
|
194
68
|
&.is-done {
|
|
195
69
|
|
|
196
|
-
&:before{
|
|
197
|
-
background: getColor('font');
|
|
198
|
-
transition: background-color 2s ease-in-out;
|
|
70
|
+
&:before {
|
|
71
|
+
background-color: getColor('font');
|
|
199
72
|
}
|
|
73
|
+
|
|
200
74
|
.step-bars {
|
|
201
75
|
background: getColor('font');
|
|
202
|
-
transition: background-color
|
|
76
|
+
transition: background-color 1s ease-in-out;
|
|
203
77
|
}
|
|
204
78
|
|
|
205
79
|
.step-label {
|
|
206
|
-
color: getColor('font');
|
|
207
|
-
padding-left: $spacing-2;
|
|
208
|
-
|
|
209
80
|
&::before {
|
|
210
81
|
content: "";
|
|
211
82
|
mask-image: url('./assets/icons/all/check-circle.svg');
|
|
212
83
|
background-color: getColor('success');
|
|
213
84
|
border-width: 0;
|
|
214
85
|
min-width: 20px;
|
|
86
|
+
mask-size: 20px;
|
|
215
87
|
height: 20px;
|
|
216
|
-
margin: 2px 8px 0 -8px;
|
|
217
88
|
align-self: baseline;
|
|
89
|
+
margin-top: 2px;
|
|
218
90
|
}
|
|
219
91
|
}
|
|
220
92
|
}
|
|
@@ -222,28 +94,20 @@ $step-gap-desktop: $step-width * 3;
|
|
|
222
94
|
&.is-current,
|
|
223
95
|
&.is-active {
|
|
224
96
|
|
|
225
|
-
&:before{
|
|
226
|
-
background: getColor('
|
|
227
|
-
animation:
|
|
228
|
-
-o-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
229
|
-
-webkit-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
230
|
-
-moz-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
97
|
+
&:before {
|
|
98
|
+
background-color: getColor('main');
|
|
99
|
+
animation: progress 1s;
|
|
231
100
|
}
|
|
101
|
+
|
|
232
102
|
.step-bars {
|
|
233
|
-
background: getColor('
|
|
234
|
-
animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
235
|
-
-o-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
236
|
-
-webkit-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
237
|
-
-moz-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
|
|
103
|
+
background: getColor('main');
|
|
238
104
|
}
|
|
239
105
|
|
|
240
106
|
.step-label {
|
|
241
107
|
font-style: normal;
|
|
242
108
|
font-weight: 600;
|
|
243
|
-
font-size:
|
|
244
|
-
line-height:
|
|
245
|
-
color: getColor('font');
|
|
246
|
-
transition: color 1.45s ease;
|
|
109
|
+
font-size: 20px;
|
|
110
|
+
line-height: 22px;
|
|
247
111
|
width: max-content;
|
|
248
112
|
|
|
249
113
|
.icon [class^=tri-], .icon [class*=" tri-"] {
|
|
@@ -262,44 +126,34 @@ $step-gap-desktop: $step-width * 3;
|
|
|
262
126
|
}
|
|
263
127
|
}
|
|
264
128
|
}
|
|
265
|
-
|
|
266
|
-
@include touch {
|
|
267
|
-
padding: $spacing-1 !important;
|
|
268
|
-
}
|
|
269
129
|
}
|
|
270
130
|
|
|
271
131
|
.step-bars {
|
|
272
132
|
height: 4px;
|
|
273
|
-
background: getColor('
|
|
274
|
-
border-radius:
|
|
133
|
+
background: getColor('disabled');
|
|
134
|
+
border-radius: var(--radius-small);
|
|
275
135
|
display: none;
|
|
276
136
|
}
|
|
277
137
|
|
|
278
138
|
.step-label {
|
|
279
139
|
display: flex;
|
|
280
140
|
align-items: center;
|
|
281
|
-
color: getColor('
|
|
141
|
+
color: getColor('font');
|
|
282
142
|
font-style: normal;
|
|
283
143
|
font-weight: 400;
|
|
284
144
|
font-size: 16px;
|
|
285
145
|
line-height: 24px;
|
|
286
146
|
padding-top: $spacing-2;
|
|
287
|
-
|
|
147
|
+
gap: $spacing-1;
|
|
288
148
|
.icon {
|
|
289
149
|
font-size: 20px;
|
|
290
|
-
margin-left: 8px;
|
|
291
150
|
height: auto;
|
|
292
151
|
}
|
|
293
152
|
|
|
294
|
-
.icon [class^=tri-], .icon [class*=" tri-"] {
|
|
295
|
-
margin: 0 4px 0 -4px;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
153
|
@include touch {
|
|
300
154
|
position: absolute;
|
|
301
155
|
top: 10px;
|
|
302
|
-
left:
|
|
156
|
+
left: 0;
|
|
303
157
|
}
|
|
304
158
|
}
|
|
305
159
|
|
|
@@ -347,51 +201,17 @@ $step-gap-desktop: $step-width * 3;
|
|
|
347
201
|
}
|
|
348
202
|
}
|
|
349
203
|
|
|
350
|
-
@keyframes cssload-width {
|
|
351
|
-
0%, 100% {
|
|
352
|
-
transition-timing-function: cubic-bezier(1, 0, 0.65, 0.85);
|
|
353
|
-
}
|
|
354
|
-
0% {
|
|
355
|
-
width: 0;
|
|
356
|
-
}
|
|
357
|
-
100% {
|
|
358
|
-
width: 100%;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
@-o-keyframes cssload-width {
|
|
363
|
-
0%, 100% {
|
|
364
|
-
-o-transition-timing-function: cubic-bezier(1, 0, 0.65, 0.85);
|
|
365
|
-
}
|
|
366
|
-
0% {
|
|
367
|
-
width: 0;
|
|
368
|
-
}
|
|
369
|
-
100% {
|
|
370
|
-
width: 100%;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
204
|
|
|
374
|
-
|
|
205
|
+
@keyframes progress {
|
|
375
206
|
0%, 100% {
|
|
376
|
-
-
|
|
207
|
+
background-image: linear-gradient(to right, transparent 0, transparent 50%, getColor('neutral') 50%, getColor('neutral') 100%);
|
|
377
208
|
}
|
|
378
209
|
0% {
|
|
379
|
-
|
|
210
|
+
background-position: 100% 0;
|
|
380
211
|
}
|
|
381
212
|
100% {
|
|
382
|
-
|
|
213
|
+
background-position: 0 0;
|
|
383
214
|
}
|
|
384
215
|
}
|
|
385
216
|
|
|
386
|
-
@-moz-keyframes cssload-width {
|
|
387
|
-
0%, 100% {
|
|
388
|
-
-moz-transition-timing-function: cubic-bezier(1, 0, 0.65, 0.85);
|
|
389
|
-
}
|
|
390
|
-
0% {
|
|
391
|
-
width: 0;
|
|
392
|
-
}
|
|
393
|
-
100% {
|
|
394
|
-
width: 100%;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
217
|
|