@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,209 +1,184 @@
|
|
|
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
|
+
font-weight: 400;
|
|
41
|
+
}
|
|
70
42
|
|
|
71
|
-
|
|
43
|
+
.price {
|
|
44
|
+
font-size: var(--font-size);
|
|
72
45
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
.price-main {
|
|
76
|
-
font-weight: $weight-semibold;
|
|
77
|
-
line-height: 0.8;
|
|
78
|
-
margin-bottom: 0;
|
|
46
|
+
&.strike {
|
|
47
|
+
font-size: var(--strike-font-size);
|
|
79
48
|
}
|
|
49
|
+
}
|
|
80
50
|
|
|
51
|
+
}
|
|
81
52
|
|
|
53
|
+
.price {
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
font-weight: $weight-semibold;
|
|
56
|
+
line-height: 0.8;
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
font-size: var(--font-size);
|
|
82
59
|
|
|
60
|
+
&.strike {
|
|
61
|
+
font-size: var(--strike-font-size);
|
|
62
|
+
}
|
|
83
63
|
|
|
84
64
|
|
|
85
|
-
|
|
65
|
+
@each $price-level in $price-levels {
|
|
66
|
+
$i: index($price-levels, $price-level);
|
|
67
|
+
$font-size: nth($price-level, 1);
|
|
68
|
+
$strike-font-size: nth($price-level, 2);
|
|
86
69
|
|
|
87
|
-
&.is-
|
|
88
|
-
|
|
89
|
-
|
|
70
|
+
&.is-level-#{$i} {
|
|
71
|
+
--font-size: #{$font-size};
|
|
72
|
+
--strike-font-size: #{$strike-font-size};
|
|
90
73
|
|
|
91
|
-
|
|
92
|
-
|
|
74
|
+
@if $i > 4 {
|
|
75
|
+
.price-details {
|
|
76
|
+
padding-left: 2px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
93
79
|
}
|
|
80
|
+
}
|
|
94
81
|
|
|
95
|
-
&.is-3 {
|
|
96
|
-
font-size: 32px;
|
|
97
|
-
}
|
|
98
82
|
|
|
99
|
-
|
|
100
|
-
font-size: 29px;
|
|
101
|
-
}
|
|
83
|
+
// the details : cents + period
|
|
102
84
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
85
|
+
.price-details {
|
|
86
|
+
padding-left: $spacing-1;
|
|
106
87
|
|
|
107
|
-
|
|
108
|
-
|
|
88
|
+
.cents,
|
|
89
|
+
.centimes,
|
|
90
|
+
.periode,
|
|
91
|
+
.period {
|
|
92
|
+
line-height: 1;
|
|
93
|
+
display: block;
|
|
109
94
|
}
|
|
110
95
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
96
|
+
.cents,
|
|
97
|
+
.centimes {
|
|
98
|
+
font-weight: 600;
|
|
99
|
+
font-size: 0.475em;
|
|
100
|
+
vertical-align: top;
|
|
101
|
+
text-align: left;
|
|
114
102
|
|
|
115
|
-
|
|
116
|
-
|
|
103
|
+
sup {
|
|
104
|
+
font-weight: $weight-medium;
|
|
105
|
+
padding-left: 2px;
|
|
106
|
+
top: -0.3em;
|
|
107
|
+
}
|
|
117
108
|
}
|
|
118
109
|
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
.period,
|
|
111
|
+
.periode {
|
|
112
|
+
font-size: 0.375em;
|
|
113
|
+
margin-top: 0;
|
|
114
|
+
padding-left: 0.1em;
|
|
115
|
+
text-align: left;
|
|
116
|
+
font-weight: $weight-normal;
|
|
121
117
|
}
|
|
118
|
+
}
|
|
122
119
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
&.is-inverted {
|
|
121
|
+
color: getColor('background');
|
|
122
|
+
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
124
|
+
&.has-description {
|
|
125
|
+
.cents,
|
|
126
|
+
.centimes {
|
|
127
|
+
align-items: flex-start;
|
|
128
|
+
display: flex;
|
|
131
129
|
}
|
|
132
130
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
align-items: flex-start;
|
|
137
|
-
display: flex;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.icon {
|
|
141
|
-
height: inherit;
|
|
142
|
-
width: inherit;
|
|
143
|
-
}
|
|
131
|
+
.icon {
|
|
132
|
+
height: inherit;
|
|
133
|
+
width: inherit;
|
|
144
134
|
}
|
|
135
|
+
}
|
|
145
136
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
&.is-striked {
|
|
162
|
-
&::before {
|
|
163
|
-
transform: rotate(-12deg);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
137
|
+
&.is-inlined {
|
|
138
|
+
.price-details {
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
margin-left: 0;
|
|
141
|
+
padding-left: 0 !important;
|
|
142
|
+
|
|
143
|
+
.cents,
|
|
144
|
+
.centimes,
|
|
145
|
+
.periode,
|
|
146
|
+
.period {
|
|
147
|
+
font-size: inherit;
|
|
148
|
+
line-height: 0.8;
|
|
149
|
+
padding-left: 0;
|
|
150
|
+
}
|
|
166
151
|
}
|
|
167
152
|
|
|
168
|
-
&.
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
-
}
|
|
153
|
+
&.strike {
|
|
154
|
+
&::before {
|
|
155
|
+
transform: rotate(-12deg);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
190
159
|
|
|
191
|
-
|
|
192
|
-
|
|
160
|
+
&.strike {
|
|
161
|
+
position: relative;
|
|
162
|
+
color: getColor('font-placeholder');
|
|
193
163
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
164
|
+
&::before {
|
|
165
|
+
position: absolute;
|
|
166
|
+
content: "";
|
|
167
|
+
left: 0;
|
|
168
|
+
top: 50%;
|
|
169
|
+
right: 0;
|
|
170
|
+
border-top: 2px solid;
|
|
171
|
+
border-color: getColor('font-placeholder');
|
|
172
|
+
border-radius: 5px;
|
|
173
|
+
transform: rotate(-20deg);
|
|
174
|
+
}
|
|
198
175
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
margin-top: 0.55em;
|
|
176
|
+
&.is-inverted {
|
|
177
|
+
color: getColor('background');
|
|
202
178
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
}
|
|
179
|
+
&::before {
|
|
180
|
+
border-color: getColor('background');
|
|
181
|
+
}
|
|
208
182
|
}
|
|
183
|
+
}
|
|
209
184
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@include checkbox-and-radio('radio');
|
|
2
|
+
|
|
3
|
+
.radios {
|
|
4
|
+
width: 100%;
|
|
5
|
+
column-gap: $spacing-5;
|
|
6
|
+
row-gap: $spacing-3;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
@include tablet {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
|
|
14
|
+
&.is-vertical-desktop {
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include mobile {
|
|
20
|
+
&.is-horizontal-mobile {
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-centered,
|
|
26
|
+
&.has-text-centered,
|
|
27
|
+
.has-text-centered & {
|
|
28
|
+
justify-content: center;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.radio,
|
|
33
|
+
.radio-tile {
|
|
34
|
+
input:checked ~ label.radio-label {
|
|
35
|
+
cursor: default;
|
|
36
|
+
|
|
37
|
+
&:after {
|
|
38
|
+
content: '';
|
|
39
|
+
width: 12px;
|
|
40
|
+
height: 12px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
label.radio-label {
|
|
45
|
+
&:before,
|
|
46
|
+
&:after {
|
|
47
|
+
border-radius: 9999px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.radio {
|
|
53
|
+
input:checked ~ label.radio-label {
|
|
54
|
+
&:after {
|
|
55
|
+
left: 3px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
input:not(:disabled):not(:checked) ~ label.radio-label:hover {
|
|
60
|
+
&:before {
|
|
61
|
+
@include hoverRules()
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.radio-tile {
|
|
68
|
+
input:checked ~ label.radio-label {
|
|
69
|
+
&:after {
|
|
70
|
+
top: 18px;
|
|
71
|
+
left: 18px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
input:checked:disabled ~ label.radio-label {
|
|
76
|
+
&:after {
|
|
77
|
+
background-color: getColor('neutral');
|
|
78
|
+
top: 19px;
|
|
79
|
+
left: 19px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -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
|
}
|