@trilogy-ds/styles 0.0.1-beta.8 → 0.0.3-beta-v4
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/base/_color.scss +9 -39
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +13 -38
- package/framework/src/base/_loading.scss +8 -1
- package/framework/src/base/_reset.scss +8 -3
- package/framework/src/components/_accordion.scss +53 -88
- package/framework/src/components/_all.scss +1 -7
- package/framework/src/components/_autolayout.scss +302 -0
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +8 -79
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +10 -15
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_modal.scss +161 -158
- package/framework/src/components/_otp.scss +10 -29
- package/framework/src/components/_pagination.scss +59 -161
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +119 -170
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_progress-radial.scss +24 -19
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +51 -53
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/components/_tabs.scss +46 -81
- package/framework/src/components/_timeline.scss +27 -112
- package/framework/src/elements/_alert.scss +13 -10
- package/framework/src/elements/_all.scss +1 -4
- package/framework/src/elements/_autocomplete.scss +32 -0
- package/framework/src/elements/_badge.scss +67 -61
- package/framework/src/elements/_box.scss +64 -161
- package/framework/src/elements/_button.scss +15 -141
- package/framework/src/elements/_checkbox.scss +29 -26
- package/framework/src/elements/_chips.scss +69 -85
- package/framework/src/elements/_container.scss +7 -39
- package/framework/src/elements/_entry.scss +76 -88
- package/framework/src/elements/_form.scss +26 -23
- package/framework/src/elements/_icon.scss +4 -4
- package/framework/src/elements/_image.scss +50 -40
- package/framework/src/elements/_input-gauge.scss +32 -33
- package/framework/src/elements/_input-icons.scss +33 -31
- package/framework/src/elements/_link.scss +38 -65
- package/framework/src/elements/_list.scss +45 -44
- package/framework/src/elements/_loader.scss +2 -2
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_paragraph.scss +35 -69
- package/framework/src/elements/_progress.scss +33 -22
- package/framework/src/elements/_radio.scss +45 -31
- package/framework/src/elements/_select.scss +85 -304
- package/framework/src/elements/_sticker.scss +12 -27
- package/framework/src/elements/_switch.scss +101 -99
- package/framework/src/elements/_table.scss +175 -228
- package/framework/src/elements/_tag.scss +104 -105
- package/framework/src/elements/_textarea.scss +113 -105
- package/framework/src/elements/_title.scss +89 -87
- package/framework/src/elements/_toaster.scss +4 -5
- package/framework/src/grid/_columns.scss +257 -764
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +89 -215
- package/framework/src/layout/_section.scss +5 -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/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +19 -0
- package/framework/src/utilities/_colors.scss +40 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +4 -15
- package/framework/src/utilities/_initial-variables.scss +4 -36
- package/framework/src/utilities/_mixins.scss +483 -592
- package/framework/src/utilities/_pre.scss +1 -0
- package/package.json +3 -3
- 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/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/layout/_toolbar.scss +0 -100
|
@@ -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('neutral-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('neutral-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
|
}
|
|
@@ -2,17 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
.radios {
|
|
4
4
|
width: 100%;
|
|
5
|
-
|
|
5
|
+
gap: 16px;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-wrap: wrap;
|
|
8
|
+
flex-direction: column;
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
@include tablet {
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
|
|
13
|
+
&.is-vertical-desktop {
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
@include mobile {
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
&.is-horizontal-mobile {
|
|
20
|
+
flex-direction: row;
|
|
16
21
|
}
|
|
17
22
|
}
|
|
18
23
|
|
|
@@ -25,43 +30,52 @@
|
|
|
25
30
|
|
|
26
31
|
.radio,
|
|
27
32
|
.radio-tile {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
input:checked ~ label.radio-label {
|
|
34
|
+
cursor: default;
|
|
35
|
+
|
|
36
|
+
&:after {
|
|
37
|
+
content: '';
|
|
38
|
+
width: 12px;
|
|
39
|
+
height: 12px;
|
|
34
40
|
}
|
|
41
|
+
}
|
|
35
42
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
43
|
+
label.radio-label {
|
|
44
|
+
&:before,
|
|
45
|
+
&:after {
|
|
46
|
+
border-radius: 9999px;
|
|
41
47
|
}
|
|
48
|
+
}
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.radio {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
52
|
+
input:checked ~ label.radio-label {
|
|
53
|
+
&:after {
|
|
54
|
+
left: 3px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input:not(:disabled):not(:checked) ~ label.radio-label:hover {
|
|
59
|
+
&:before {
|
|
60
|
+
@include hoverRules()
|
|
49
61
|
}
|
|
62
|
+
}
|
|
63
|
+
|
|
50
64
|
}
|
|
51
65
|
|
|
52
66
|
.radio-tile {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
67
|
+
input:checked ~ label.radio-label {
|
|
68
|
+
&:after {
|
|
69
|
+
top: 18px;
|
|
70
|
+
right: 18px;
|
|
58
71
|
}
|
|
72
|
+
}
|
|
59
73
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
74
|
+
input:checked:disabled ~ label.radio-label {
|
|
75
|
+
&:after {
|
|
76
|
+
background-color: getColor('neutral');
|
|
77
|
+
top: 19px;
|
|
78
|
+
right: 19px;
|
|
66
79
|
}
|
|
80
|
+
}
|
|
67
81
|
}
|
|
@@ -1,315 +1,96 @@
|
|
|
1
|
-
[data-blur-select] {
|
|
2
|
-
position: absolute;
|
|
3
|
-
z-index: zindex('large');
|
|
4
|
-
min-width: 100%;
|
|
5
|
-
min-height: 100%;
|
|
6
|
-
left:0;
|
|
7
|
-
top: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@mixin arrow-style($isDisabled:false, $direction:"up") {
|
|
12
|
-
$color: getColor('font');
|
|
13
|
-
@if($isDisabled) { $color: getColor('grey') }
|
|
14
|
-
|
|
15
|
-
@include arrow($color,$direction);
|
|
16
|
-
right: 16px;
|
|
17
|
-
margin-left: 16px;
|
|
18
|
-
top: calc(50% - 7px);
|
|
19
|
-
}
|
|
20
1
|
|
|
21
2
|
.select {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
max-width: 100%;
|
|
25
|
-
position: relative;
|
|
26
|
-
font-family: $body-family;
|
|
27
|
-
border-radius: 4px;
|
|
28
|
-
background-color: getColor('background');
|
|
29
|
-
display: block;
|
|
30
|
-
font-size: 1em;
|
|
31
|
-
max-width: 100%;
|
|
32
|
-
outline: none;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
height: 56px;
|
|
35
|
-
|
|
36
|
-
select {
|
|
37
|
-
height: 100%;
|
|
38
|
-
border: 1px solid transparent;
|
|
39
|
-
border-radius: 3px;
|
|
40
|
-
max-width: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
font-size: 1em;
|
|
43
|
-
font-family: $body-family;
|
|
44
|
-
color: getColor('font');
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
-webkit-appearance: none;
|
|
47
|
-
-moz-appearance: none;
|
|
48
|
-
appearance: none;
|
|
49
|
-
z-index: 10;
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
opacity: 100;
|
|
52
|
-
outline: none;
|
|
53
|
-
padding-left: $spacing-4;
|
|
54
|
-
&::-ms-expand {
|
|
55
|
-
display: none !important;
|
|
56
|
-
}
|
|
57
|
-
&:focus, &:hover {
|
|
58
|
-
outline: 1px auto getColor('alternate');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
label {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 50%;
|
|
66
|
-
transform: translate(0, -50%);
|
|
67
|
-
left: 16px !important;
|
|
68
|
-
color: getColor('grey') !important
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.select-native {
|
|
72
|
-
.icon {
|
|
73
|
-
position: absolute;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&.has-icon {
|
|
77
|
-
select {
|
|
78
|
-
padding-left: 50px;
|
|
79
|
-
&:not(.no-label) {
|
|
80
|
-
padding-bottom: 5px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.has-dynamic-placeholder {
|
|
87
|
-
label {
|
|
88
|
-
top: 18px;
|
|
89
|
-
color: getColor('grey') !important
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
&-value {
|
|
95
|
-
position: absolute ;
|
|
96
|
-
left: 16px;
|
|
97
|
-
top: 50%;
|
|
98
|
-
transform: translateY(-20%);
|
|
99
|
-
|
|
100
|
-
&.no-label {
|
|
101
|
-
transform: translateY(-50%);
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
&-disabled {
|
|
109
|
-
background-color: getColor('grey-disabled');
|
|
110
|
-
border: 1px solid getColor('grey-disabled');
|
|
111
|
-
cursor:default ;
|
|
112
|
-
label {
|
|
113
|
-
color: #565656 !important;
|
|
114
|
-
}
|
|
115
|
-
.icon {
|
|
116
|
-
color: #565656;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
.icon {
|
|
123
|
-
height: 100%;
|
|
124
|
-
width: 50px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.has-icon {
|
|
128
|
-
label {
|
|
129
|
-
left: 50px !important;
|
|
130
|
-
}
|
|
131
|
-
.select-value {
|
|
132
|
-
left: 50px !important;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
&:not(.is-loading) {
|
|
138
|
-
&:not(.select-disabled) {
|
|
139
|
-
&::after {
|
|
140
|
-
@include arrow-style(false,"down")
|
|
141
|
-
}
|
|
142
|
-
&:not(.select-native):hover, &:not(.select-native):focus {
|
|
143
|
-
outline: 1px auto getColor('alternate');
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
&.select-disabled {
|
|
147
|
-
&::after {
|
|
148
|
-
@include arrow-style(true,"down")
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.select-show-options:not(.is-loading) {
|
|
155
|
-
outline: 1px auto getColor('alternate');
|
|
156
|
-
&::after {
|
|
157
|
-
@include arrow-style()
|
|
158
|
-
}
|
|
159
|
-
&:hover {
|
|
160
|
-
&::after {
|
|
161
|
-
border-color: getColor('font');
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// Colors
|
|
167
|
-
@each $name in $colors-brand {
|
|
168
|
-
$brandName: getColorBrandName($name);
|
|
169
|
-
$color: getColor($name);
|
|
170
|
-
|
|
171
|
-
&.is-#{$brandName} {
|
|
172
|
-
&:not(:hover) {
|
|
173
|
-
outline: 1px auto $color;
|
|
174
|
-
}
|
|
175
|
-
&:hover,
|
|
176
|
-
&.is-hovered {
|
|
177
|
-
outline: 1px auto getVariantColor($name, 1);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Sizes
|
|
183
|
-
&.is-small {
|
|
184
|
-
@include control-small;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&.is-large {
|
|
188
|
-
@include control-large;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
&.is-loading {
|
|
193
|
-
&::after {
|
|
194
|
-
@include spinner;
|
|
195
|
-
margin-top: 0;
|
|
196
|
-
position: absolute;
|
|
197
|
-
right: 0.625em;
|
|
198
|
-
top: 0.625em;
|
|
199
|
-
transform: none;
|
|
200
|
-
}
|
|
201
|
-
&.is-small::after {
|
|
202
|
-
font-size: $size-small;
|
|
203
|
-
}
|
|
204
|
-
&.is-large::after {
|
|
205
|
-
font-size: $size-large;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
3
|
+
position: relative;
|
|
4
|
+
input { cursor: pointer;}
|
|
209
5
|
|
|
210
|
-
|
|
211
|
-
position: absolute;
|
|
212
|
-
margin-top: 8px;
|
|
213
|
-
display: flex;
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
align-items: flex-start;
|
|
216
|
-
background: getColor('background');
|
|
217
|
-
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
|
|
218
|
-
border-radius: 4px;
|
|
219
|
-
overflow: auto;
|
|
6
|
+
select {
|
|
220
7
|
width: 100%;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
&-option {
|
|
226
|
-
display: flex;
|
|
227
|
-
flex-direction: row;
|
|
228
|
-
align-items: center;
|
|
229
|
-
justify-content: space-between;
|
|
230
|
-
padding: 14px $spacing-4;
|
|
231
|
-
width: 100%;
|
|
232
|
-
.has-icon {
|
|
233
|
-
display: flex;
|
|
234
|
-
align-items: center;
|
|
235
|
-
.icon {
|
|
236
|
-
margin-right: 16px;
|
|
237
|
-
width: 20px;
|
|
238
|
-
height: 20px;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
&-activated {
|
|
242
|
-
color: getColor('alternate');
|
|
243
|
-
font-weight: $weight-bold;
|
|
244
|
-
&::after {
|
|
245
|
-
content: "";
|
|
246
|
-
mask-image: url('./assets/icons/all/check.svg');
|
|
247
|
-
background-color: getColor('alternate');
|
|
248
|
-
min-width: 15px;
|
|
249
|
-
min-height: 15px;
|
|
250
|
-
display:inline-block;
|
|
251
|
-
margin-left: 16px;
|
|
252
|
-
mask-size: 20px;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
&-disabled {
|
|
256
|
-
background-color: getColor('grey-disabled');
|
|
257
|
-
color: #565656
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.option-container, &-option {
|
|
262
|
-
outline:none;
|
|
263
|
-
&:focus {
|
|
264
|
-
background-color: #E4EAED;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
&:not([data-is-disabled='true']){
|
|
268
|
-
cursor: pointer;
|
|
269
|
-
}
|
|
8
|
+
@include input;
|
|
9
|
+
&:focus {
|
|
10
|
+
padding-left: 15px !important;
|
|
270
11
|
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
[data-is-open-options="false"] {
|
|
274
|
-
display: none;
|
|
275
|
-
}
|
|
12
|
+
}
|
|
276
13
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
.autocomplete-menu {
|
|
284
|
-
display: none;
|
|
14
|
+
.has-icons-left {
|
|
15
|
+
select {
|
|
16
|
+
padding-left: 45px;
|
|
17
|
+
&:focus {
|
|
18
|
+
padding-left: 44px !important;
|
|
19
|
+
}
|
|
285
20
|
}
|
|
21
|
+
}
|
|
286
22
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
23
|
+
&-options {
|
|
24
|
+
box-shadow: 0 0 8px #0000001a;
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 64px;
|
|
29
|
+
z-index: 1001;
|
|
30
|
+
left: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.field {
|
|
35
|
+
&.focus {
|
|
36
|
+
&:after{
|
|
37
|
+
@include arrow('up');
|
|
38
|
+
right: 12px;
|
|
39
|
+
top:50%;
|
|
40
|
+
transform: translate(-50%,-50%);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&:not(.focus) {
|
|
44
|
+
&:after{
|
|
45
|
+
@include arrow();
|
|
46
|
+
right: 12px;
|
|
47
|
+
top:50%;
|
|
48
|
+
transform: translate(-50%,-50%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
&-trilogy_modal_open {
|
|
55
|
+
position: fixed;
|
|
56
|
+
top:0;
|
|
57
|
+
left:0;
|
|
58
|
+
right:0;
|
|
59
|
+
bottom:0;
|
|
60
|
+
z-index: 1000;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.radio-tile {
|
|
64
|
+
input:checked {
|
|
65
|
+
&~label.radio-label {
|
|
66
|
+
font-weight: $weight-black ;
|
|
67
|
+
&:after {
|
|
68
|
+
content: "" !important;
|
|
69
|
+
mask-image: url('./assets/icons/all/check.svg') !important;
|
|
70
|
+
background-color: getColor('main') !important;
|
|
71
|
+
mask-size: 18px !important;
|
|
72
|
+
top: 25px !important;
|
|
73
|
+
right: 18px !important;
|
|
74
|
+
height:18px !important;
|
|
75
|
+
width: 18px !important
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
label.radio-label {
|
|
81
|
+
border:none !important;
|
|
82
|
+
border-radius: 0 !important;
|
|
83
|
+
height: 52px;
|
|
84
|
+
&:before { display: none; }
|
|
85
|
+
@include hover
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.focus label.radio-label { @include hoverRules(); }
|
|
89
|
+
|
|
90
|
+
.icon.is-medium {
|
|
91
|
+
font-size: $text-20 !important;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
313
94
|
}
|
|
314
95
|
|
|
315
96
|
|