@trilogy-ds/styles 0.0.1-beta-4 → 0.0.1-beta.10
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/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_color.scss +14 -36
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +10 -29
- package/framework/src/base/_loading.scss +7 -0
- package/framework/src/components/_accordion.scss +10 -36
- package/framework/src/components/_all.scss +0 -3
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +6 -5
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_disclaimer.scss +6 -5
- package/framework/src/components/_divider.scss +2 -2
- package/framework/src/components/_dropdown.scss +95 -101
- package/framework/src/components/_fab.scss +6 -21
- package/framework/src/components/_media.scss +2 -2
- package/framework/src/components/_modal.scss +172 -166
- package/framework/src/components/_otp.scss +9 -28
- package/framework/src/components/_pagination.scss +109 -131
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +1 -4
- package/framework/src/components/_price.scss +118 -169
- package/framework/src/components/_product-tour.scss +1 -3
- package/framework/src/components/_segmented-control.scss +39 -51
- package/framework/src/components/_slider.scss +70 -70
- package/framework/src/components/_stepper.scss +16 -140
- package/framework/src/components/_tabs.scss +32 -55
- package/framework/src/components/_timeline.scss +49 -42
- package/framework/src/elements/_alert.scss +4 -5
- package/framework/src/elements/_all.scss +0 -2
- package/framework/src/elements/_badge.scss +54 -59
- package/framework/src/elements/_box.scss +5 -23
- package/framework/src/elements/_button.scss +29 -129
- package/framework/src/elements/_checkbox.scss +21 -27
- package/framework/src/elements/_chips.scss +76 -81
- package/framework/src/elements/_entry.scss +73 -89
- package/framework/src/elements/_form.scss +15 -15
- package/framework/src/elements/_input-gauge.scss +36 -32
- package/framework/src/elements/_link.scss +47 -62
- package/framework/src/elements/_list.scss +0 -36
- package/framework/src/elements/_notification.scss +2 -3
- package/framework/src/elements/_other.scss +1 -1
- package/framework/src/elements/_paragraph.scss +4 -26
- package/framework/src/elements/_progress.scss +9 -18
- package/framework/src/elements/_radio.scss +1 -1
- package/framework/src/elements/_select.scss +209 -245
- package/framework/src/elements/_sticker.scss +8 -9
- package/framework/src/elements/_switch.scss +85 -88
- package/framework/src/elements/_table.scss +11 -72
- package/framework/src/elements/_tag.scss +104 -104
- package/framework/src/elements/_textarea.scss +92 -106
- package/framework/src/elements/_title.scss +86 -84
- package/framework/src/elements/_toaster.scss +2 -3
- package/framework/src/grid/_columns.scss +5 -5
- package/framework/src/layout/_hero.scss +129 -211
- package/framework/src/layout/_section.scss +3 -3
- package/framework/src/layout/_toolbar.scss +6 -6
- package/framework/src/utilities/_controls.scss +37 -39
- package/framework/src/utilities/_derived-variables.scss +3 -14
- package/framework/src/utilities/_initial-variables.scss +38 -23
- package/framework/src/utilities/_mixins.scss +522 -582
- package/package.json +4 -3
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- /package/dist/default/assets/icons/all/{all/alert.svg → alert.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/arrow-down.svg → arrow-down.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/arrow-left.svg → arrow-left.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/arrow-right.svg → arrow-right.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/arrow-up.svg → arrow-up.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/bell.svg → bell.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/check-circle.svg → check-circle.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/check.svg → check.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/exclamation-circle.svg → exclamation-circle.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/eye-slash.svg → eye-slash.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/eye.svg → eye.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/infos-circle.svg → infos-circle.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/search.svg → search.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/times.svg → times.svg} +0 -0
- /package/dist/default/assets/icons/all/{all/trash.svg → trash.svg} +0 -0
|
@@ -1,109 +1,93 @@
|
|
|
1
1
|
.input,
|
|
2
2
|
.textarea {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
@include input;
|
|
4
|
+
|
|
5
|
+
padding-left: $spacing-4;
|
|
6
|
+
padding-right: $spacing-4;
|
|
7
|
+
font-family: $body-family;
|
|
8
|
+
font-size: $size-medium;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
// Colors
|
|
13
|
+
@each $name in $colors-brand-funcionnal {
|
|
14
|
+
$color: getColor($name);
|
|
15
|
+
$color-invert: invertColor($name);
|
|
16
|
+
$brandName: getColorBrandName($name);
|
|
17
|
+
|
|
18
|
+
&.is-#{$brandName} {
|
|
19
|
+
border: 1px solid $color;
|
|
15
20
|
}
|
|
21
|
+
}
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$brandName: getColorBrandName($name);
|
|
22
|
-
|
|
23
|
-
&.is-#{$brandName} {
|
|
24
|
-
border: 2px solid $color;
|
|
25
|
-
&:focus-visible,
|
|
26
|
-
&:hover,
|
|
27
|
-
&.is-hovered,
|
|
28
|
-
&:focus,
|
|
29
|
-
&.is-focused {
|
|
30
|
-
outline: 1px auto $color !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
23
|
+
// Sizes
|
|
24
|
+
&.is-small {
|
|
25
|
+
@include control-small;
|
|
26
|
+
}
|
|
34
27
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.is-large {
|
|
41
|
-
@include control-large;
|
|
42
|
-
}
|
|
28
|
+
&.is-large {
|
|
29
|
+
@include control-large;
|
|
30
|
+
}
|
|
43
31
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
&.is-fullwidth {
|
|
33
|
+
display: block;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
48
36
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
&.is-inline {
|
|
38
|
+
display: inline;
|
|
39
|
+
}
|
|
52
40
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
41
|
+
.icon-status {
|
|
42
|
+
color: aqua !important;
|
|
43
|
+
}
|
|
56
44
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
45
|
+
& label {
|
|
46
|
+
margin-top: 10px;
|
|
47
|
+
}
|
|
60
48
|
}
|
|
61
49
|
|
|
62
50
|
.input {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
51
|
+
&::-ms-clear {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.is-small {
|
|
56
|
+
height: 24px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.is-rounded {
|
|
60
|
+
border-radius: $radius-rounded;
|
|
61
|
+
padding-left: 1em;
|
|
62
|
+
padding-right: 1em;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.is-static {
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
border-color: transparent;
|
|
68
|
+
padding-left: 0;
|
|
69
|
+
padding-right: 0;
|
|
70
|
+
}
|
|
83
71
|
}
|
|
84
72
|
|
|
85
73
|
.textarea {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
74
|
+
display: block;
|
|
75
|
+
max-width: 100%;
|
|
76
|
+
min-width: 100%;
|
|
77
|
+
resize: vertical;
|
|
78
|
+
padding-top: 15px;
|
|
92
79
|
|
|
93
|
-
&:not([rows]) {
|
|
94
|
-
max-height: 600px;
|
|
95
|
-
min-height: 120px;
|
|
96
|
-
}
|
|
97
80
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
81
|
+
&:not([rows]) {
|
|
82
|
+
max-height: 600px;
|
|
83
|
+
min-height: 120px;
|
|
84
|
+
}
|
|
101
85
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
86
|
+
&[rows] {
|
|
87
|
+
height: initial;
|
|
88
|
+
}
|
|
106
89
|
|
|
107
|
-
|
|
108
|
-
|
|
90
|
+
&.has-fixed-size {
|
|
91
|
+
resize: none;
|
|
92
|
+
}
|
|
109
93
|
}
|
|
@@ -92,15 +92,12 @@ $label-weight: $weight-bold;
|
|
|
92
92
|
.input,
|
|
93
93
|
.textarea,
|
|
94
94
|
.select select {
|
|
95
|
-
&:hover
|
|
96
|
-
&.is-hovered {
|
|
95
|
+
&:hover {
|
|
97
96
|
z-index: zindex('tiny');
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
&:focus,
|
|
101
|
-
|
|
102
|
-
&:active,
|
|
103
|
-
&.is-active {
|
|
100
|
+
&:active {
|
|
104
101
|
z-index: zindex('small');
|
|
105
102
|
|
|
106
103
|
&:hover {
|
|
@@ -195,7 +192,7 @@ $label-weight: $weight-bold;
|
|
|
195
192
|
.select {
|
|
196
193
|
&:focus {
|
|
197
194
|
& ~ .icon {
|
|
198
|
-
color: getColor('
|
|
195
|
+
color: getColor('font');
|
|
199
196
|
}
|
|
200
197
|
}
|
|
201
198
|
|
|
@@ -208,7 +205,7 @@ $label-weight: $weight-bold;
|
|
|
208
205
|
}
|
|
209
206
|
|
|
210
207
|
.icon {
|
|
211
|
-
color: getColor('
|
|
208
|
+
color: getColor('font');
|
|
212
209
|
position: absolute;
|
|
213
210
|
top: 0;
|
|
214
211
|
height: 100%;
|
|
@@ -220,10 +217,9 @@ $label-weight: $weight-bold;
|
|
|
220
217
|
|
|
221
218
|
.input {
|
|
222
219
|
@each $name, $pair in $colors-feedback {
|
|
223
|
-
$bg-color: nth($pair, 1);
|
|
224
220
|
&.is-#{$name} {
|
|
225
221
|
~ .icon {
|
|
226
|
-
color:
|
|
222
|
+
color: getBGColor($name);
|
|
227
223
|
}
|
|
228
224
|
}
|
|
229
225
|
}
|
|
@@ -235,10 +231,9 @@ $label-weight: $weight-bold;
|
|
|
235
231
|
|
|
236
232
|
.textarea {
|
|
237
233
|
@each $name, $pair in $colors-feedback {
|
|
238
|
-
$bg-color: nth($pair, 1);
|
|
239
234
|
&.is-#{$name} {
|
|
240
235
|
~ .icon {
|
|
241
|
-
color:
|
|
236
|
+
color: getBGColor($name)
|
|
242
237
|
}
|
|
243
238
|
}
|
|
244
239
|
}
|
|
@@ -331,7 +326,7 @@ $label-weight: $weight-bold;
|
|
|
331
326
|
left: 16px;
|
|
332
327
|
border-left: transparent 1px solid;
|
|
333
328
|
font-size: $text-12;
|
|
334
|
-
color: getColor('
|
|
329
|
+
color: getColor('neutral');
|
|
335
330
|
transform: translateY(0);
|
|
336
331
|
transition: all 0.2s ease-out;
|
|
337
332
|
z-index: zindex('small');
|
|
@@ -392,13 +387,14 @@ $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-dark');
|
|
402
398
|
}
|
|
403
399
|
}
|
|
404
400
|
}
|
|
@@ -444,6 +440,10 @@ $label-weight: $weight-bold;
|
|
|
444
440
|
font-size: $size-large;
|
|
445
441
|
}
|
|
446
442
|
}
|
|
443
|
+
|
|
444
|
+
&:has(input[disabled]) {
|
|
445
|
+
@include disabledRulesWithoutBG;
|
|
446
|
+
}
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.field-label {
|
|
@@ -558,7 +558,7 @@ $label-weight: $weight-bold;
|
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
.label {
|
|
561
|
-
color: getColor('
|
|
561
|
+
color: getColor('neutral-dark');
|
|
562
562
|
display: block;
|
|
563
563
|
font-size: $size-normal;
|
|
564
564
|
font-weight: $label-weight;
|
|
@@ -1,37 +1,41 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
.field .security-gauge-container {
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
.security-gauge {
|
|
6
|
+
height: 4px;
|
|
7
|
+
background: getColor('disabled');
|
|
8
|
+
border-radius: $radius-small;
|
|
9
|
+
margin: 8px 0;
|
|
10
|
+
|
|
11
|
+
.gauge {
|
|
12
|
+
height: 100%;
|
|
13
|
+
border-radius: $radius-small;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.security-gauge-verifies {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
|
|
22
|
+
.security {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
margin-bottom: 4px;
|
|
14
26
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
margin-bottom: 4px;
|
|
23
|
-
.icon {
|
|
24
|
-
position: relative;
|
|
25
|
-
color: getColor('grey');
|
|
26
|
-
width: 16px;
|
|
27
|
-
margin-right: 8px;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
margin-bottom: -1px;
|
|
27
|
+
.icon {
|
|
28
|
+
position: relative;
|
|
29
|
+
color: getColor('neutral');
|
|
30
|
+
width: 16px;
|
|
31
|
+
margin-right: 8px;
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
margin-bottom: -1px;
|
|
30
34
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
35
|
+
.is-success {
|
|
36
|
+
background-color: getColor('success')
|
|
36
37
|
}
|
|
38
|
+
}
|
|
37
39
|
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,79 +1,64 @@
|
|
|
1
1
|
.link:not([disabled]) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
margin: -8px;
|
|
9
|
-
text-decoration: underline;
|
|
10
|
-
cursor: pointer;
|
|
2
|
+
position: relative;
|
|
3
|
+
font-weight: $weight-normal;
|
|
4
|
+
color: getColor('font');
|
|
5
|
+
box-decoration-break: clone;
|
|
6
|
+
text-decoration: underline;
|
|
7
|
+
cursor: pointer;
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
text-decoration-thickness: 2px;
|
|
16
|
-
text-underline-offset: 4px;
|
|
17
|
-
}
|
|
9
|
+
&:hover {
|
|
10
|
+
font-weight: $weight-semibold;
|
|
11
|
+
}
|
|
18
12
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
&:focus-visible,
|
|
14
|
+
&:focus:focus-visible {
|
|
15
|
+
outline: 2px solid getColor('font');
|
|
16
|
+
border-radius: $radius-small;
|
|
17
|
+
padding: 4px;
|
|
18
|
+
}
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
&:active,
|
|
27
|
-
&.is-active {
|
|
28
|
-
filter: brightness(50%);
|
|
29
|
-
}
|
|
20
|
+
&.has-icon {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
30
23
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
border-bottom-width: 0;
|
|
35
|
-
}
|
|
24
|
+
&::after {
|
|
25
|
+
width: calc(100% - 48px);
|
|
26
|
+
bottom: 5.5px;
|
|
36
27
|
}
|
|
28
|
+
}
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
align-items: center;
|
|
41
|
-
|
|
42
|
-
&::after {
|
|
43
|
-
width: calc(100% - 48px);
|
|
44
|
-
bottom: 5.5px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.is-static::after {
|
|
49
|
-
margin-bottom: 4px;
|
|
50
|
-
}
|
|
30
|
+
&.is-inverted {
|
|
31
|
+
color: getColor('background');
|
|
51
32
|
|
|
52
|
-
&.
|
|
33
|
+
&.has-icon {
|
|
34
|
+
> .icon {
|
|
53
35
|
color: getColor('background');
|
|
54
|
-
|
|
55
|
-
&.has-icon {
|
|
56
|
-
> .icon {
|
|
57
|
-
color: getColor('background');
|
|
58
|
-
}
|
|
59
36
|
}
|
|
60
37
|
}
|
|
38
|
+
}
|
|
61
39
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
40
|
+
@include touch {
|
|
41
|
+
white-space: normal !important;
|
|
42
|
+
box-decoration-break: clone;
|
|
43
|
+
display: inline;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.text .link {
|
|
48
|
+
&:hover {
|
|
49
|
+
font-weight: $weight-normal;
|
|
50
|
+
filter: brightness(0.8);
|
|
51
|
+
}
|
|
67
52
|
}
|
|
68
53
|
|
|
69
54
|
@keyframes sliding-link {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
55
|
+
50% {
|
|
56
|
+
left: 100%;
|
|
57
|
+
right: 0;
|
|
58
|
+
}
|
|
74
59
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
60
|
+
50.01% {
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 100%;
|
|
63
|
+
}
|
|
79
64
|
}
|
|
@@ -19,43 +19,7 @@ ul.icon-list > li {
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
|
|
22
|
-
span[disabled] {
|
|
23
|
-
opacity: 0.5;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
22
|
.icon {
|
|
27
23
|
flex: none;
|
|
28
24
|
}
|
|
29
25
|
}
|
|
30
|
-
|
|
31
|
-
dl.dl {
|
|
32
|
-
dt {
|
|
33
|
-
font-weight: $weight-semibold;
|
|
34
|
-
margin-bottom: 5px;
|
|
35
|
-
|
|
36
|
-
&:not(:first-child) {
|
|
37
|
-
margin-top: 20px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
dd {
|
|
42
|
-
color: getColor('font');
|
|
43
|
-
font-size: $size-7;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:not(:first-child) {
|
|
47
|
-
margin-top: 20px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.is-alternate {
|
|
51
|
-
dt {
|
|
52
|
-
color: getColor('font');
|
|
53
|
-
font-size: $size-7;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
dd {
|
|
57
|
-
color: getColor('font');
|
|
58
|
-
font-size: $size-6;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
transition: box-shadow $animation-duration;
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
#{$hoverSelector},
|
|
6
6
|
&:active,
|
|
7
7
|
&:focus {
|
|
8
8
|
box-shadow: $shadow;
|
|
@@ -141,9 +141,8 @@
|
|
|
141
141
|
color: getColor('font');
|
|
142
142
|
|
|
143
143
|
@each $name, $pair in $colors-feedback {
|
|
144
|
-
$bg-color: nth($pair, 1);
|
|
145
144
|
&.is-#{$name} {
|
|
146
|
-
background-color:
|
|
145
|
+
background-color: getBGColor($name);
|
|
147
146
|
}
|
|
148
147
|
}
|
|
149
148
|
|
|
@@ -12,8 +12,7 @@ $text-levels-mobile: (
|
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
.
|
|
16
|
-
&.text {
|
|
15
|
+
.text {
|
|
17
16
|
@each $text-level in $text-levels {
|
|
18
17
|
$i: index($text-levels, $text-level);
|
|
19
18
|
$font-size: nth($text-level, 1);
|
|
@@ -26,10 +25,10 @@ $text-levels-mobile: (
|
|
|
26
25
|
font-family: $family-primary;
|
|
27
26
|
margin-bottom: $margin-bottom;
|
|
28
27
|
}
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
30
|
+
&.is-inverted {
|
|
31
|
+
color: getColor('background');
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
@include mobile {
|
|
@@ -51,28 +50,7 @@ $text-levels-mobile: (
|
|
|
51
50
|
font-weight: $weight-bold;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.paragraph,
|
|
58
|
-
.text {
|
|
59
|
-
& a.link:not([disabled]),
|
|
60
|
-
a {
|
|
61
|
-
padding: $spacing-1;
|
|
62
|
-
margin: -4px;
|
|
63
|
-
text-decoration: underline;
|
|
64
|
-
font-size: unset;
|
|
65
|
-
font-weight: $weight-medium;
|
|
66
|
-
|
|
67
|
-
&::after {
|
|
68
|
-
content: none;
|
|
69
|
-
}
|
|
70
53
|
|
|
71
|
-
&.is-static::after {
|
|
72
|
-
margin-bottom: 0;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
54
|
|
|
77
55
|
.paragraph:not(:last-child) {
|
|
78
56
|
margin-bottom: 10px;
|
|
@@ -18,8 +18,10 @@ $progressbar-small: 5px;
|
|
|
18
18
|
-moz-appearance: none;
|
|
19
19
|
-webkit-appearance: none;
|
|
20
20
|
|
|
21
|
+
background-color: getBGColor('font');
|
|
22
|
+
|
|
21
23
|
&::-webkit-progress-bar {
|
|
22
|
-
background-color:
|
|
24
|
+
background-color: getBGColor('font');
|
|
23
25
|
border-radius: $progressbar-height;
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -33,12 +35,6 @@ $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
|
}
|
|
@@ -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;
|
|
@@ -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:
|
|
101
|
+
empty: getBGColor('neutral-dark')
|
|
107
102
|
);
|
|
108
103
|
|
|
109
104
|
.progress-circle {
|
|
@@ -151,7 +146,7 @@ $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);
|
|
149
|
+
border: var(--progress-circle-border-width) solid rgba(0, 0, 0, 0);
|
|
155
150
|
border-radius: 50%;
|
|
156
151
|
content: '';
|
|
157
152
|
height: 100%;
|
|
@@ -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,7 @@ $slides-concat: '';
|
|
|
204
197
|
|
|
205
198
|
@if $i == 1 {
|
|
206
199
|
$slides-concat: var(--#{$name});
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@else {
|
|
200
|
+
} @else {
|
|
210
201
|
$slides-concat: $slides-concat + ' + ' + var(--#{$name});
|
|
211
202
|
}
|
|
212
203
|
}
|