@trilogy-ds/styles 0.0.1-beta.9 → 0.0.4-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
|
@@ -1,209 +1,158 @@
|
|
|
1
1
|
$price-levels: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
[$text-64, $text-44, $text-28, $text-16],
|
|
3
|
+
[$text-56, $text-32, $text-22, $text-16],
|
|
4
|
+
[$text-48, $text-28, $text-16, $text-16],
|
|
5
|
+
[$text-40, $text-24, $text-10, $text-10],
|
|
6
|
+
[$text-36, $text-20, $text-10, $text-10],
|
|
7
|
+
[$text-24, $text-20, $text-10, $text-10],
|
|
8
|
+
[$text-20, $text-20, $text-10, $text-10],
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
+
.price-container {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: baseline;
|
|
14
|
+
column-gap: 12px;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
--font-size: #{$text-64};
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-size: 44px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@each $price-level in $price-levels {
|
|
21
|
-
$i: index($price-levels, $price-level);
|
|
22
|
-
$font-size: nth($price-level , 1);
|
|
23
|
-
|
|
24
|
-
&.is-level-#{$i} {
|
|
25
|
-
font-size: $font-size;
|
|
26
|
-
|
|
27
|
-
@if $i > 4 {
|
|
28
|
-
.price-details {
|
|
29
|
-
padding-left: 2px !important;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
18
|
+
@each $price-level in $price-levels {
|
|
19
|
+
$i: index($price-levels, $price-level);
|
|
20
|
+
$font-size: nth($price-level, 1);
|
|
21
|
+
$strike-font-size: nth($price-level, 2);
|
|
33
22
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
padding-left: $spacing-1;
|
|
38
|
-
|
|
39
|
-
.cents,
|
|
40
|
-
.centimes,
|
|
41
|
-
.periode,
|
|
42
|
-
.period {
|
|
43
|
-
line-height: 1;
|
|
44
|
-
display: block;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.cents,
|
|
48
|
-
.centimes {
|
|
49
|
-
font-weight: 600;
|
|
50
|
-
font-size: 0.475em;
|
|
51
|
-
vertical-align: top;
|
|
52
|
-
text-align: left;
|
|
53
|
-
|
|
54
|
-
sup {
|
|
55
|
-
font-weight: $weight-medium;
|
|
56
|
-
padding-left: 2px;
|
|
57
|
-
top: -0.3em;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
23
|
+
&.is-level-#{$i} {
|
|
24
|
+
--font-size: #{$font-size};
|
|
25
|
+
--strike-font-size: #{$strike-font-size};
|
|
60
26
|
|
|
61
|
-
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
margin-top: 0;
|
|
65
|
-
padding-left: 0.1em;
|
|
66
|
-
text-align: left;
|
|
27
|
+
@if $i > 4 {
|
|
28
|
+
.price-details {
|
|
29
|
+
padding-left: 2px;
|
|
67
30
|
}
|
|
31
|
+
}
|
|
68
32
|
}
|
|
33
|
+
}
|
|
69
34
|
|
|
35
|
+
.overline {
|
|
36
|
+
width: 100%;
|
|
37
|
+
flex: none;
|
|
38
|
+
margin: 0;
|
|
39
|
+
font-size: calc(var(--font-size) * 0.4);
|
|
40
|
+
}
|
|
70
41
|
|
|
71
|
-
|
|
42
|
+
.price {
|
|
43
|
+
font-size: var(--font-size);
|
|
72
44
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
.price-main {
|
|
76
|
-
font-weight: $weight-semibold;
|
|
77
|
-
line-height: 0.8;
|
|
78
|
-
margin-bottom: 0;
|
|
45
|
+
&.strike {
|
|
46
|
+
font-size: var(--strike-font-size);
|
|
79
47
|
}
|
|
48
|
+
}
|
|
80
49
|
|
|
50
|
+
}
|
|
81
51
|
|
|
52
|
+
.price {
|
|
53
|
+
display: inline-flex;
|
|
54
|
+
font-weight: $weight-semibold;
|
|
55
|
+
line-height: 0.8;
|
|
56
|
+
margin-bottom: 0;
|
|
82
57
|
|
|
58
|
+
// the details : cents + period
|
|
83
59
|
|
|
60
|
+
.price-details {
|
|
61
|
+
padding-left: $spacing-1;
|
|
84
62
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
&.is-2 {
|
|
92
|
-
font-size: 44px;
|
|
63
|
+
.cents,
|
|
64
|
+
.centimes,
|
|
65
|
+
.periode,
|
|
66
|
+
.period {
|
|
67
|
+
line-height: 1;
|
|
68
|
+
display: block;
|
|
93
69
|
}
|
|
94
70
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
71
|
+
.cents,
|
|
72
|
+
.centimes {
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
font-size: 0.475em;
|
|
75
|
+
vertical-align: top;
|
|
76
|
+
text-align: left;
|
|
98
77
|
|
|
99
|
-
|
|
100
|
-
font-
|
|
78
|
+
sup {
|
|
79
|
+
font-weight: $weight-medium;
|
|
80
|
+
padding-left: 2px;
|
|
81
|
+
top: -0.3em;
|
|
82
|
+
}
|
|
101
83
|
}
|
|
102
84
|
|
|
103
|
-
|
|
104
|
-
|
|
85
|
+
.period,
|
|
86
|
+
.periode {
|
|
87
|
+
font-size: 0.375em;
|
|
88
|
+
margin-top: 0;
|
|
89
|
+
padding-left: 0.1em;
|
|
90
|
+
text-align: left;
|
|
105
91
|
}
|
|
92
|
+
}
|
|
106
93
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
94
|
+
&.is-inverted {
|
|
95
|
+
color: getColor('background');
|
|
96
|
+
}
|
|
110
97
|
|
|
111
|
-
|
|
112
|
-
|
|
98
|
+
&.has-description {
|
|
99
|
+
.cents,
|
|
100
|
+
.centimes {
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
display: flex;
|
|
113
103
|
}
|
|
114
104
|
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
.icon {
|
|
106
|
+
height: inherit;
|
|
107
|
+
width: inherit;
|
|
117
108
|
}
|
|
109
|
+
}
|
|
118
110
|
|
|
119
|
-
|
|
120
|
-
|
|
111
|
+
&.is-inlined {
|
|
112
|
+
.price-details {
|
|
113
|
+
display: inline-flex;
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
padding-left: 0 !important;
|
|
116
|
+
|
|
117
|
+
.cents,
|
|
118
|
+
.centimes,
|
|
119
|
+
.periode,
|
|
120
|
+
.period {
|
|
121
|
+
font-size: inherit;
|
|
122
|
+
line-height: 0.8;
|
|
123
|
+
padding-left: 0;
|
|
124
|
+
}
|
|
121
125
|
}
|
|
122
126
|
|
|
123
|
-
&.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.price-suptitle {
|
|
128
|
-
flex-basis: 100%;
|
|
129
|
-
font-size: 0.375em;
|
|
130
|
-
}
|
|
127
|
+
&.strike {
|
|
128
|
+
&::before {
|
|
129
|
+
transform: rotate(-12deg);
|
|
130
|
+
}
|
|
131
131
|
}
|
|
132
|
+
}
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
align-items: flex-start;
|
|
137
|
-
display: flex;
|
|
138
|
-
}
|
|
134
|
+
&.strike {
|
|
135
|
+
position: relative;
|
|
136
|
+
color: getColor('neutral');
|
|
139
137
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
&::before {
|
|
139
|
+
position: absolute;
|
|
140
|
+
content: "";
|
|
141
|
+
left: 0;
|
|
142
|
+
top: 50%;
|
|
143
|
+
right: 0;
|
|
144
|
+
border-top: 2px solid;
|
|
145
|
+
border-color: getColor('neutral');
|
|
146
|
+
border-radius: 5px;
|
|
147
|
+
transform: rotate(-20deg);
|
|
144
148
|
}
|
|
145
149
|
|
|
146
|
-
&.is-
|
|
147
|
-
|
|
148
|
-
display: inline-flex;
|
|
149
|
-
margin-left: 0;
|
|
150
|
-
padding-left: 0 !important;
|
|
151
|
-
.cents,
|
|
152
|
-
.centimes,
|
|
153
|
-
.periode,
|
|
154
|
-
.period {
|
|
155
|
-
font-size: inherit;
|
|
156
|
-
line-height: 0.8;
|
|
157
|
-
padding-left: 0;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.is-striked {
|
|
162
|
-
&::before {
|
|
163
|
-
transform: rotate(-12deg);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&.is-striked {
|
|
169
|
-
position: relative;
|
|
170
|
-
color: getVariantColor('font', 2);
|
|
171
|
-
|
|
172
|
-
&::before {
|
|
173
|
-
position: absolute;
|
|
174
|
-
content: "";
|
|
175
|
-
left: 0;
|
|
176
|
-
top: 50%;
|
|
177
|
-
right: 0;
|
|
178
|
-
border-top: 2px solid;
|
|
179
|
-
border-color: getColor('font');
|
|
180
|
-
border-radius: 5px;
|
|
181
|
-
transform: rotate(-20deg);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&.is-main-price {
|
|
185
|
-
color: getVariantColor('alternate', 2);
|
|
186
|
-
&::before {
|
|
187
|
-
border-color: getColor('alternate');
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&.is-inverted {
|
|
192
|
-
color: getVariantColor('background', 2);
|
|
193
|
-
|
|
194
|
-
&::before {
|
|
195
|
-
border-color: getColor('background');
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&.has-suptitle {
|
|
200
|
-
display: inline-flex;
|
|
201
|
-
margin-top: 0.55em;
|
|
150
|
+
&.is-inverted {
|
|
151
|
+
color: getColor('background');
|
|
202
152
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
}
|
|
153
|
+
&::before {
|
|
154
|
+
border-color: getColor('background');
|
|
155
|
+
}
|
|
208
156
|
}
|
|
157
|
+
}
|
|
209
158
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
$product-tour-target-outline: rgba(10,10,10,.86); // comes from Bulma's .modal-background defaults
|
|
2
|
-
|
|
3
1
|
.product-tour {
|
|
4
2
|
position: absolute;
|
|
5
3
|
z-index: zindex('modal');
|
|
@@ -94,7 +92,7 @@ $product-tour-target-outline: rgba(10,10,10,.86); // comes from Bulma's .modal-b
|
|
|
94
92
|
top: 0;
|
|
95
93
|
left: 0;
|
|
96
94
|
background: white;
|
|
97
|
-
border-radius:
|
|
95
|
+
border-radius: 9999px;
|
|
98
96
|
box-shadow: $shadow;
|
|
99
97
|
transform: translate(-50%, -50%);
|
|
100
98
|
|
|
@@ -124,7 +122,7 @@ $product-tour-target-outline: rgba(10,10,10,.86); // comes from Bulma's .modal-b
|
|
|
124
122
|
|
|
125
123
|
.product-tour-target {
|
|
126
124
|
&-active {
|
|
127
|
-
outline: 999em solid
|
|
125
|
+
outline: 999em solid getColor('main') !important;
|
|
128
126
|
outline-offset: 10px !important;
|
|
129
127
|
z-index: zindex('modal');
|
|
130
128
|
}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
.progress-radial {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
background: radial-gradient(white 58%, transparent 51%),
|
|
3
|
+
conic-gradient(gainsboro 0deg 360deg, gainsboro 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;
|
|
4
11
|
border-radius: 50%;
|
|
5
|
-
width:
|
|
6
|
-
height:
|
|
7
|
-
position:
|
|
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
|
+
}
|
|
8
23
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
height: 102px;
|
|
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
|
-
}
|
|
24
|
+
&.is-small {
|
|
25
|
+
width: 75px;
|
|
26
|
+
height: 75px;
|
|
27
|
+
}
|
|
23
28
|
}
|
|
@@ -1,84 +1,85 @@
|
|
|
1
1
|
.range-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
@mixin appearence {
|
|
3
|
+
appearance: none;
|
|
4
|
+
height: 5px;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
@mixin slider-thumb {
|
|
8
|
+
appearance: none;
|
|
9
|
+
width: 20px;
|
|
10
|
+
height: 20px;
|
|
11
|
+
background-color: white;
|
|
12
|
+
pointer-events: auto;
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
|
|
15
|
+
outline: none;
|
|
16
|
+
border: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.range {
|
|
20
|
+
width: 100%;
|
|
21
|
+
position: relative;
|
|
22
|
+
margin-top: 18px;
|
|
23
|
+
margin-bottom: 20px;
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
25
|
+
.range-track {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 8px;
|
|
28
|
+
border-radius: var(--radius);
|
|
29
|
+
position: absolute;
|
|
30
|
+
margin: auto;
|
|
31
|
+
top: 0;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
@include mobile {
|
|
34
|
+
height: 4px;
|
|
35
|
+
border-radius: var(--radius-small);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
.range-cursor {
|
|
40
|
+
appearance: none;
|
|
41
|
+
-webkit-appearance: none;
|
|
42
|
+
-moz-appearance: none;
|
|
43
|
+
width: 100%;
|
|
44
|
+
outline: none;
|
|
45
|
+
position: absolute;
|
|
46
|
+
margin: auto;
|
|
47
|
+
top: 0;
|
|
48
|
+
bottom: 0;
|
|
49
|
+
background-color: transparent;
|
|
50
|
+
pointer-events: none;
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
&::-webkit-slider-runnable-track {
|
|
53
|
+
@include appearence;
|
|
54
|
+
}
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
&::-moz-range-track {
|
|
57
|
+
@include appearence;
|
|
58
|
+
}
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
&::-ms-track {
|
|
61
|
+
@include appearence;
|
|
62
|
+
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
&::-webkit-slider-thumb {
|
|
65
|
+
@include slider-thumb;
|
|
66
|
+
margin-top: -8px;
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
&::-moz-range-thumb {
|
|
70
|
+
@include slider-thumb;
|
|
71
|
+
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
.range-values {
|
|
79
|
-
display: flex;
|
|
80
|
-
justify-content: space-between;
|
|
81
|
-
padding-top: 14px;
|
|
82
|
-
font-weight: bold;
|
|
73
|
+
&::-ms-thumb {
|
|
74
|
+
@include slider-thumb;
|
|
75
|
+
}
|
|
83
76
|
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.range-values {
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
padding-top: 14px;
|
|
83
|
+
font-weight: bold;
|
|
84
|
+
}
|
|
84
85
|
}
|
|
@@ -1,60 +1,58 @@
|
|
|
1
1
|
.segmented-control {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
border-radius: 6px;
|
|
3
|
+
padding: $spacing-1;
|
|
4
|
+
background-color: getColor('neutral-fade');
|
|
5
|
+
display: flex;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
|
|
10
|
+
&.justified-start {
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
margin-right: auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.justified-end {
|
|
16
|
+
margin-right: 0;
|
|
17
|
+
margin-left: auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include mobile {
|
|
21
|
+
display: flex;
|
|
22
|
+
margin: 24px auto;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.segmented-control-item {
|
|
27
|
+
padding: 0 $spacing-5;
|
|
28
|
+
border-radius: var(--radius-small);
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
text-align: center;
|
|
31
|
+
border: 2px solid transparent;
|
|
32
|
+
height: 42px;
|
|
33
|
+
color: getColor('font');
|
|
34
|
+
background-color: getColor('neutral-fade');
|
|
35
|
+
|
|
36
|
+
&:not(:last-child) {
|
|
37
|
+
margin-right: 4px;
|
|
38
|
+
}
|
|
8
39
|
|
|
9
40
|
@include mobile {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
41
|
+
padding: 0 $spacing-4;
|
|
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()
|
|
13
51
|
}
|
|
14
52
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
}
|
|
53
|
+
&.is-active {
|
|
54
|
+
background-color: getColor('main');
|
|
55
|
+
color: invertColor('main');
|
|
59
56
|
}
|
|
57
|
+
}
|
|
60
58
|
}
|