@egovernments/digit-ui-components-css 2.0.0-dev-10 → 2.0.0-dev-12
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/index.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/FormComposerV2.scss +1 -1
- package/src/digitv2/components/alertCardV2.scss +41 -41
- package/src/digitv2/components/backLinkV2.scss +7 -7
- package/src/digitv2/components/bottomSheetV2.scss +19 -19
- package/src/digitv2/components/breadcrumbV2.scss +21 -21
- package/src/digitv2/components/cardV2.scss +14 -14
- package/src/digitv2/components/cardlabelV2.scss +2 -2
- package/src/digitv2/components/checkboxV2.scss +41 -31
- package/src/digitv2/components/chipV2.scss +40 -40
- package/src/digitv2/components/dividerV2.scss +4 -4
- package/src/digitv2/components/errorMessageV2.scss +12 -12
- package/src/digitv2/components/fieldV1.scss +55 -55
- package/src/digitv2/components/fileUploadV2.scss +115 -115
- package/src/digitv2/components/filterCardV2.scss +50 -50
- package/src/digitv2/components/footerV2.scss +12 -12
- package/src/digitv2/components/formCardV2.scss +48 -48
- package/src/digitv2/components/hamburgerV2.scss +138 -138
- package/src/digitv2/components/headerV2.scss +48 -48
- package/src/digitv2/components/headerdropdownV2.scss +64 -64
- package/src/digitv2/components/infobuttonV2.scss +12 -12
- package/src/digitv2/components/labelFieldPairV2.scss +7 -7
- package/src/digitv2/components/landingpagecardV2.scss +66 -66
- package/src/digitv2/components/loaderV2.scss +3 -3
- package/src/digitv2/components/menuCardV2.scss +29 -29
- package/src/digitv2/components/metricCardV2.scss +49 -49
- package/src/digitv2/components/mobileNumberV2.scss +93 -3
- package/src/digitv2/components/multiSelectDropdownV2.scss +166 -152
- package/src/digitv2/components/otpInputV2.scss +23 -23
- package/src/digitv2/components/panelCardV2.scss +42 -42
- package/src/digitv2/components/panelV2.scss +28 -28
- package/src/digitv2/components/popUpV2.scss +85 -85
- package/src/digitv2/components/radiobtnV2.scss +21 -21
- package/src/digitv2/components/selectDropdownV2.scss +191 -181
- package/src/digitv2/components/selectionTagV2.scss +27 -27
- package/src/digitv2/components/sidePanelV2.scss +46 -46
- package/src/digitv2/components/sidenavV2.scss +114 -114
- package/src/digitv2/components/stepperV2.scss +54 -54
- package/src/digitv2/components/summaryCardFieldPairV2.scss +20 -20
- package/src/digitv2/components/summaryCardV2.scss +25 -25
- package/src/digitv2/components/switchV2.scss +30 -30
- package/src/digitv2/components/tabV2.scss +24 -24
- package/src/digitv2/components/tableV2.scss +138 -138
- package/src/digitv2/components/tagV2.scss +23 -23
- package/src/digitv2/components/textInputV2.scss +93 -90
- package/src/digitv2/components/textareaV2.scss +20 -20
- package/src/digitv2/components/textblockV2.scss +24 -24
- package/src/digitv2/components/timelineV2.scss +57 -57
- package/src/digitv2/components/toastV2.scss +22 -21
- package/src/digitv2/components/toggleV2.scss +45 -45
- package/src/digitv2/components/tooltipwrapperV2.scss +88 -88
- package/src/digitv2/components/treeSelectV2.scss +52 -52
- package/src/digitv2/index.scss +78 -78
- package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +41 -41
- package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
- package/src/digitv2/pages/employee/workbench.scss +24 -24
- package/src/index.scss +3 -3
|
@@ -25,40 +25,40 @@
|
|
|
25
25
|
.digit-multiselectdropdown-master,
|
|
26
26
|
.digit-multiselectdropdown-master-active {
|
|
27
27
|
@apply relative h-10 w-full bg-white;
|
|
28
|
-
border: 0.063rem solid
|
|
28
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-inputborder);
|
|
29
29
|
|
|
30
30
|
input[type="text"] {
|
|
31
31
|
@include typography-body-s;
|
|
32
32
|
|
|
33
33
|
@media (max-aspect-ratio: 9/16) {
|
|
34
34
|
/* Media query for mobile */
|
|
35
|
-
font-size:
|
|
36
|
-
font-family:
|
|
37
|
-
font-style:
|
|
38
|
-
font-weight:
|
|
39
|
-
line-height:
|
|
35
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
36
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
37
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
38
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
39
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
43
43
|
/* Media query for tablets */
|
|
44
|
-
font-size:
|
|
45
|
-
font-family:
|
|
46
|
-
font-style:
|
|
47
|
-
font-weight:
|
|
48
|
-
line-height:
|
|
44
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
45
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
46
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
47
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
48
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@media (min-aspect-ratio: 3/4) {
|
|
52
52
|
/* Media query for desktop */
|
|
53
|
-
font-size:
|
|
54
|
-
font-family:
|
|
55
|
-
font-style:
|
|
56
|
-
font-weight:
|
|
57
|
-
line-height:
|
|
53
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
54
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
55
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
56
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
57
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@apply absolute top-0 left-0 p-sm min-h-full min-w-full opacity-0;
|
|
61
|
-
letter-spacing:
|
|
61
|
+
letter-spacing: var(--digitv2-spacers-spacer0);
|
|
62
62
|
padding-left: 1%;
|
|
63
63
|
|
|
64
64
|
&:focus {
|
|
@@ -94,45 +94,45 @@
|
|
|
94
94
|
.digit-multiselectdropdown-master {
|
|
95
95
|
&.disabled {
|
|
96
96
|
pointer-events: none !important;
|
|
97
|
-
border: 0.063rem solid
|
|
98
|
-
color:
|
|
97
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider) !important;
|
|
98
|
+
color: var(--digitv2-lightTheme-generic-divider) !important;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.digit-multiselectdropdown-master-active {
|
|
103
|
-
border: 0.063rem solid
|
|
103
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.digit-multiselectdropdown-server {
|
|
107
|
-
top:
|
|
107
|
+
top: var(--digitv2-spacers-spacer10);
|
|
108
108
|
@apply absolute z-20 bg-white overflow-x-hidden overflow-y-auto;
|
|
109
109
|
max-height: 20vmax;
|
|
110
|
-
box-shadow:
|
|
110
|
+
box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.275rem var(--digitv2-spacers-spacer0) #00000026;
|
|
111
111
|
width: 100% !important;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.digit-multiselectdropdown-server::-webkit-scrollbar {
|
|
115
|
-
width:
|
|
116
|
-
background-color:
|
|
115
|
+
width: var(--digitv2-spacers-spacer2);
|
|
116
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.digit-multiselectdropdown-server::-webkit-scrollbar-track {
|
|
120
|
-
background-color:
|
|
120
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
121
121
|
border-radius: 0.563rem;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.digit-multiselectdropdown-server::-webkit-scrollbar-thumb {
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: var(--digitv2-lightTheme-generic-divider);
|
|
126
126
|
border-radius: 0.563rem;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.digit-nested-category {
|
|
130
130
|
@apply flex items-center flex-shrink-0;
|
|
131
|
-
background:
|
|
131
|
+
background: var(--digitv2-lightTheme-generic-background);
|
|
132
132
|
height: 2.4375rem;
|
|
133
|
-
padding:
|
|
133
|
+
padding: var(--digitv2-spacers-spacer4) 0.625rem;
|
|
134
134
|
gap: 0.625rem;
|
|
135
|
-
margin-top:
|
|
135
|
+
margin-top: var(--digitv2-spacers-spacer4);
|
|
136
136
|
|
|
137
137
|
&.selectAll {
|
|
138
138
|
justify-content: space-between;
|
|
@@ -140,32 +140,32 @@
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.digit-nested-category:nth-child(-n+2) {
|
|
143
|
-
margin-top:
|
|
143
|
+
margin-top: var(--digitv2-spacers-spacer0);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.digit-category-name {
|
|
147
147
|
@include typography-heading-s;
|
|
148
|
-
font-family:
|
|
149
|
-
font-style:
|
|
150
|
-
font-weight:
|
|
151
|
-
line-height:
|
|
148
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
149
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
150
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
151
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
152
152
|
|
|
153
153
|
@media (max-aspect-ratio: 9/16) {
|
|
154
154
|
/* Media query for mobile */
|
|
155
|
-
font-size:
|
|
155
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
159
159
|
/* Media query for tablets */
|
|
160
|
-
font-size:
|
|
160
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
@media (min-aspect-ratio: 3/4) {
|
|
164
164
|
/* Media query for desktop */
|
|
165
|
-
font-size:
|
|
165
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
color:
|
|
168
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.digit-category-selectAll {
|
|
@@ -176,39 +176,39 @@
|
|
|
176
176
|
|
|
177
177
|
.category-selectAll-label {
|
|
178
178
|
@include typography-body-s;
|
|
179
|
-
font-family:
|
|
180
|
-
font-style:
|
|
181
|
-
font-weight:
|
|
182
|
-
line-height:
|
|
179
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
180
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
181
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
182
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
183
183
|
|
|
184
184
|
@media (max-aspect-ratio: 9/16) {
|
|
185
185
|
/* Media query for mobile */
|
|
186
|
-
font-size:
|
|
186
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
190
190
|
/* Media query for tablets */
|
|
191
|
-
font-size:
|
|
191
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
@media (min-aspect-ratio: 3/4) {
|
|
195
195
|
/* Media query for desktop */
|
|
196
|
-
font-size:
|
|
196
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
text-align: left;
|
|
200
|
-
color:
|
|
200
|
+
color: var(--digitv2-lightTheme-primary-1);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
input {
|
|
204
204
|
@apply absolute top-0 left-0 w-full h-full opacity-0 cursor-pointer;
|
|
205
|
-
margin:
|
|
205
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
209
|
-
height:
|
|
210
|
-
width:
|
|
211
|
-
border: 0.063rem solid
|
|
209
|
+
height: var(--digitv2-spacers-spacer5);
|
|
210
|
+
width: var(--digitv2-spacers-spacer5);
|
|
211
|
+
border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
|
|
212
212
|
|
|
213
213
|
svg {
|
|
214
214
|
@apply opacity-0 z-10;
|
|
@@ -217,15 +217,15 @@
|
|
|
217
217
|
|
|
218
218
|
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
219
219
|
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
220
|
-
border: 0.125rem solid
|
|
221
|
-
background-color:
|
|
220
|
+
border: 0.125rem solid var(--digitv2-lightTheme-primary-1);
|
|
221
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
225
225
|
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
226
226
|
@apply opacity-100;
|
|
227
|
-
width:
|
|
228
|
-
height:
|
|
227
|
+
width: var(--digitv2-spacers-spacer4);
|
|
228
|
+
height: var(--digitv2-spacers-spacer4);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|
|
@@ -239,14 +239,24 @@
|
|
|
239
239
|
|
|
240
240
|
min-height: 2.438rem;
|
|
241
241
|
|
|
242
|
+
&:first-child {
|
|
243
|
+
border-top-left-radius: var(--digitv2-borderRadius-radius2);
|
|
244
|
+
border-top-right-radius: var(--digitv2-borderRadius-radius2);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&:last-child {
|
|
248
|
+
border-bottom-left-radius: var(--digitv2-borderRadius-radius2);
|
|
249
|
+
border-bottom-right-radius: var(--digitv2-borderRadius-radius2);
|
|
250
|
+
}
|
|
251
|
+
|
|
242
252
|
.option-des-container {
|
|
243
253
|
@apply w-full max-w-full overflow-hidden box-border;
|
|
244
|
-
margin: 0.594rem
|
|
254
|
+
margin: 0.594rem var(--digitv2-spacers-spacer0) 0.594rem var(--digitv2-spacers-spacer0);
|
|
245
255
|
|
|
246
256
|
.multiselectdropdown-icon-option {
|
|
247
257
|
@apply w-full items-center;
|
|
248
258
|
display: flex !important;
|
|
249
|
-
gap:
|
|
259
|
+
gap: var(--digitv2-spacers-spacer1);
|
|
250
260
|
|
|
251
261
|
svg {
|
|
252
262
|
flex-shrink: 0;
|
|
@@ -263,7 +273,7 @@
|
|
|
263
273
|
bottom: 0;
|
|
264
274
|
left: 0.625rem;
|
|
265
275
|
right: 0.625rem;
|
|
266
|
-
border-bottom: 0.063rem solid
|
|
276
|
+
border-bottom: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
267
277
|
}
|
|
268
278
|
|
|
269
279
|
&:not(.selectAll):hover,
|
|
@@ -275,49 +285,49 @@
|
|
|
275
285
|
}
|
|
276
286
|
|
|
277
287
|
&:not(.nestedmultiselect, .keyChange, .checked):not(:active):not(:hover):nth-of-type(even) {
|
|
278
|
-
background:
|
|
288
|
+
background: var(--digitv2-lightTheme-paper-secondary);
|
|
279
289
|
}
|
|
280
290
|
|
|
281
291
|
&:hover,
|
|
282
292
|
&.keyChange {
|
|
283
|
-
background:
|
|
284
|
-
border: 0.031rem solid
|
|
293
|
+
background: var(--digitv2-lightTheme-primary-bg);
|
|
294
|
+
border: 0.031rem solid var(--digitv2-lightTheme-primary-1);
|
|
285
295
|
}
|
|
286
296
|
|
|
287
297
|
&:active,
|
|
288
298
|
&:active:hover {
|
|
289
|
-
background:
|
|
290
|
-
border: 0.031rem solid
|
|
299
|
+
background: var(--digitv2-lightTheme-primary-1);
|
|
300
|
+
border: 0.031rem solid var(--digitv2-lightTheme-primary-1);
|
|
291
301
|
|
|
292
302
|
p {
|
|
293
303
|
@include typography-heading-s;
|
|
294
|
-
font-family:
|
|
295
|
-
font-style:
|
|
296
|
-
font-weight:
|
|
297
|
-
line-height:
|
|
304
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
305
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
306
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
307
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
298
308
|
|
|
299
309
|
@media (max-aspect-ratio: 9/16) {
|
|
300
310
|
/* Media query for mobile */
|
|
301
|
-
font-size:
|
|
311
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
302
312
|
}
|
|
303
313
|
|
|
304
314
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
305
315
|
/* Media query for tablets */
|
|
306
|
-
font-size:
|
|
316
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
307
317
|
}
|
|
308
318
|
|
|
309
319
|
@media (min-aspect-ratio: 3/4) {
|
|
310
320
|
/* Media query for desktop */
|
|
311
|
-
font-size:
|
|
321
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
312
322
|
}
|
|
313
323
|
|
|
314
|
-
color:
|
|
324
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
315
325
|
}
|
|
316
326
|
|
|
317
327
|
.digit-label {
|
|
318
328
|
&.selectAll {
|
|
319
329
|
@include typography-body-l;
|
|
320
|
-
color:
|
|
330
|
+
color: var(--digitv2-lightTheme-primary-1);
|
|
321
331
|
}
|
|
322
332
|
}
|
|
323
333
|
}
|
|
@@ -330,72 +340,72 @@
|
|
|
330
340
|
p {
|
|
331
341
|
@include typography-body-s;
|
|
332
342
|
@apply w-full overflow-hidden whitespace-nowrap max-w-full;
|
|
333
|
-
font-family:
|
|
334
|
-
font-style:
|
|
335
|
-
font-weight:
|
|
336
|
-
line-height:
|
|
343
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
344
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
345
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
346
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
337
347
|
|
|
338
348
|
@media (max-aspect-ratio: 9/16) {
|
|
339
349
|
/* Media query for mobile */
|
|
340
|
-
font-size:
|
|
350
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
341
351
|
}
|
|
342
352
|
|
|
343
353
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
344
354
|
/* Media query for tablets */
|
|
345
|
-
font-size:
|
|
355
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
346
356
|
}
|
|
347
357
|
|
|
348
358
|
@media (min-aspect-ratio: 3/4) {
|
|
349
359
|
/* Media query for desktop */
|
|
350
|
-
font-size:
|
|
360
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
351
361
|
}
|
|
352
362
|
|
|
353
|
-
color:
|
|
354
|
-
margin:
|
|
363
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
364
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
355
365
|
text-overflow: ellipsis;
|
|
356
366
|
}
|
|
357
367
|
|
|
358
368
|
&.checked {
|
|
359
|
-
background:
|
|
369
|
+
background: var(--digitv2-lightTheme-primary-1);
|
|
360
370
|
|
|
361
371
|
p {
|
|
362
372
|
@include typography-heading-s;
|
|
363
|
-
font-family:
|
|
364
|
-
font-style:
|
|
365
|
-
font-weight:
|
|
366
|
-
line-height:
|
|
373
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
374
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
375
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
376
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
367
377
|
|
|
368
378
|
@media (max-aspect-ratio: 9/16) {
|
|
369
379
|
/* Media query for mobile */
|
|
370
|
-
font-size:
|
|
380
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
371
381
|
}
|
|
372
382
|
|
|
373
383
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
374
384
|
/* Media query for tablets */
|
|
375
|
-
font-size:
|
|
385
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
376
386
|
}
|
|
377
387
|
|
|
378
388
|
@media (min-aspect-ratio: 3/4) {
|
|
379
389
|
/* Media query for desktop */
|
|
380
|
-
font-size:
|
|
390
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
381
391
|
}
|
|
382
392
|
|
|
383
|
-
color:
|
|
393
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
384
394
|
}
|
|
385
395
|
|
|
386
396
|
.digit-label {
|
|
387
397
|
&.selectAll {
|
|
388
398
|
@include typography-body-l;
|
|
389
|
-
color:
|
|
399
|
+
color: var(--digitv2-lightTheme-primary-1);
|
|
390
400
|
}
|
|
391
401
|
}
|
|
392
402
|
}
|
|
393
403
|
|
|
394
404
|
.digit-multiselectdropodwn-custom-checkbox,
|
|
395
405
|
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
396
|
-
height:
|
|
397
|
-
width:
|
|
398
|
-
border: 0.063rem solid
|
|
406
|
+
height: var(--digitv2-spacers-spacer5);
|
|
407
|
+
width: var(--digitv2-spacers-spacer5);
|
|
408
|
+
border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
|
|
399
409
|
margin: 0.594rem 0.75rem 0.594rem 0.625rem;
|
|
400
410
|
|
|
401
411
|
svg {
|
|
@@ -405,14 +415,14 @@
|
|
|
405
415
|
|
|
406
416
|
input:active~.digit-multiselectdropodwn-custom-checkbox,
|
|
407
417
|
input:checked~.digit-multiselectdropodwn-custom-checkbox {
|
|
408
|
-
border: 0.125rem solid
|
|
409
|
-
background-color:
|
|
418
|
+
border: 0.125rem solid var(--digitv2-lightTheme-paper-primary);
|
|
419
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
410
420
|
}
|
|
411
421
|
|
|
412
422
|
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
413
423
|
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
414
|
-
border: 0.125rem solid
|
|
415
|
-
background-color:
|
|
424
|
+
border: 0.125rem solid var(--digitv2-lightTheme-primary-1);
|
|
425
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
416
426
|
}
|
|
417
427
|
|
|
418
428
|
input:active~.digit-multiselectdropodwn-custom-checkbox svg,
|
|
@@ -420,13 +430,13 @@
|
|
|
420
430
|
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
421
431
|
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
422
432
|
@apply opacity-100;
|
|
423
|
-
width:
|
|
424
|
-
height:
|
|
433
|
+
width: var(--digitv2-spacers-spacer4);
|
|
434
|
+
height: var(--digitv2-spacers-spacer4);
|
|
425
435
|
}
|
|
426
436
|
|
|
427
437
|
&.nestedtextmultiselect {
|
|
428
|
-
padding:
|
|
429
|
-
gap:
|
|
438
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer4);
|
|
439
|
+
gap: var(--digitv2-spacers-spacer3);
|
|
430
440
|
align-items: flex-start !important;
|
|
431
441
|
|
|
432
442
|
&:not(.selectAll) {
|
|
@@ -440,22 +450,22 @@
|
|
|
440
450
|
.option-des-container {
|
|
441
451
|
@apply flex flex-col justify-center items-start;
|
|
442
452
|
width: 100% !important;
|
|
443
|
-
margin:
|
|
453
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
444
454
|
|
|
445
455
|
p {
|
|
446
456
|
@include typography-body-l;
|
|
447
|
-
color:
|
|
448
|
-
padding:
|
|
449
|
-
margin-bottom:
|
|
450
|
-
margin-top:
|
|
457
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
458
|
+
padding: var(--digitv2-spacers-spacer0);
|
|
459
|
+
margin-bottom: var(--digitv2-spacers-spacer0);
|
|
460
|
+
margin-top: var(--digitv2-spacers-spacer0);
|
|
451
461
|
}
|
|
452
462
|
|
|
453
463
|
.option-description {
|
|
454
|
-
color:
|
|
455
|
-
font-family:
|
|
456
|
-
font-size:
|
|
457
|
-
font-style:
|
|
458
|
-
font-weight:
|
|
464
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
465
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
466
|
+
font-size: var(--digitv2-spacers-spacer3);
|
|
467
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
468
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
459
469
|
line-height: 1.125rem;
|
|
460
470
|
}
|
|
461
471
|
|
|
@@ -465,7 +475,7 @@
|
|
|
465
475
|
}
|
|
466
476
|
|
|
467
477
|
.digit-multiselectdropodwn-custom-checkbox {
|
|
468
|
-
margin:
|
|
478
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
469
479
|
margin-top: 0.125rem;
|
|
470
480
|
}
|
|
471
481
|
|
|
@@ -474,89 +484,89 @@
|
|
|
474
484
|
|
|
475
485
|
.option-description,
|
|
476
486
|
p {
|
|
477
|
-
color:
|
|
487
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
478
488
|
}
|
|
479
489
|
|
|
480
490
|
.option-des-container {
|
|
481
491
|
p {
|
|
482
492
|
@include typography-heading-s;
|
|
483
|
-
font-family:
|
|
484
|
-
font-style:
|
|
485
|
-
font-weight:
|
|
486
|
-
line-height:
|
|
493
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
494
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
495
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
496
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
487
497
|
|
|
488
498
|
@media (max-aspect-ratio: 9/16) {
|
|
489
499
|
/* Media query for mobile */
|
|
490
|
-
font-size:
|
|
500
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
491
501
|
}
|
|
492
502
|
|
|
493
503
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
494
504
|
/* Media query for tablets */
|
|
495
|
-
font-size:
|
|
505
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
496
506
|
}
|
|
497
507
|
|
|
498
508
|
@media (min-aspect-ratio: 3/4) {
|
|
499
509
|
/* Media query for desktop */
|
|
500
|
-
font-size:
|
|
510
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
501
511
|
}
|
|
502
512
|
}
|
|
503
513
|
}
|
|
504
514
|
|
|
505
515
|
.digit-multiselectdropodwn-custom-checkbox {
|
|
506
|
-
margin-top:
|
|
516
|
+
margin-top: var(--digitv2-spacers-spacer0);
|
|
507
517
|
}
|
|
508
518
|
}
|
|
509
519
|
|
|
510
520
|
&:active {
|
|
511
|
-
background:
|
|
521
|
+
background: var(--digitv2-lightTheme-primary-1);
|
|
512
522
|
}
|
|
513
523
|
|
|
514
524
|
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
515
|
-
margin:
|
|
525
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
516
526
|
margin-top: 0.125rem;
|
|
517
527
|
}
|
|
518
528
|
}
|
|
519
529
|
|
|
520
530
|
&.selectAll {
|
|
521
|
-
background-color:
|
|
522
|
-
border: 0.063rem solid
|
|
531
|
+
background-color: var(--digitv2-lightTheme-paper-secondary) !important;
|
|
532
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider) !important;
|
|
523
533
|
}
|
|
524
534
|
|
|
525
535
|
.digit-label {
|
|
526
536
|
&.selectAll {
|
|
527
537
|
@include typography-body-l;
|
|
528
|
-
color:
|
|
538
|
+
color: var(--digitv2-lightTheme-primary-1);
|
|
529
539
|
}
|
|
530
540
|
}
|
|
531
541
|
|
|
532
542
|
&.unsuccessfulresults {
|
|
533
|
-
background-color:
|
|
543
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
534
544
|
pointer-events: none;
|
|
535
545
|
|
|
536
546
|
span {
|
|
537
547
|
@include typography-body-s;
|
|
538
|
-
font-family:
|
|
539
|
-
font-style:
|
|
540
|
-
font-weight:
|
|
541
|
-
line-height:
|
|
542
|
-
padding-left:
|
|
548
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
549
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
550
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
551
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
552
|
+
padding-left: var(--digitv2-spacers-spacer3);
|
|
543
553
|
|
|
544
554
|
@media (max-aspect-ratio: 9/16) {
|
|
545
555
|
/* Media query for mobile */
|
|
546
|
-
font-size:
|
|
556
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
547
557
|
}
|
|
548
558
|
|
|
549
559
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
550
560
|
/* Media query for tablets */
|
|
551
|
-
font-size:
|
|
561
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
552
562
|
}
|
|
553
563
|
|
|
554
564
|
@media (min-aspect-ratio: 3/4) {
|
|
555
565
|
/* Media query for desktop */
|
|
556
|
-
font-size:
|
|
566
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
557
567
|
}
|
|
558
568
|
|
|
559
|
-
color:
|
|
569
|
+
color: var(--digitv2-lightTheme-text-disabled);
|
|
560
570
|
}
|
|
561
571
|
}
|
|
562
572
|
}
|
|
@@ -573,34 +583,34 @@
|
|
|
573
583
|
|
|
574
584
|
@media (max-aspect-ratio: 9/16) {
|
|
575
585
|
/* Media query for mobile */
|
|
576
|
-
font-size:
|
|
577
|
-
font-family:
|
|
578
|
-
font-style:
|
|
579
|
-
font-weight:
|
|
580
|
-
line-height:
|
|
586
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
587
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
588
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
589
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
590
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
581
591
|
}
|
|
582
592
|
|
|
583
593
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
584
594
|
/* Media query for tablets */
|
|
585
|
-
font-size:
|
|
586
|
-
font-family:
|
|
587
|
-
font-style:
|
|
588
|
-
font-weight:
|
|
589
|
-
line-height:
|
|
595
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
596
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
597
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
598
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
599
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
590
600
|
}
|
|
591
601
|
|
|
592
602
|
@media (min-aspect-ratio: 3/4) {
|
|
593
603
|
/* Media query for desktop */
|
|
594
|
-
font-size:
|
|
595
|
-
font-family:
|
|
596
|
-
font-style:
|
|
597
|
-
font-weight:
|
|
598
|
-
line-height:
|
|
604
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
605
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
606
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
607
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
608
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
599
609
|
}
|
|
600
610
|
|
|
601
611
|
white-space: pre;
|
|
602
612
|
margin: auto;
|
|
603
|
-
margin-left:
|
|
613
|
+
margin-left: var(--digitv2-spacers-spacer0);
|
|
604
614
|
text-align: left;
|
|
605
615
|
}
|
|
606
616
|
}
|
|
@@ -615,4 +625,8 @@
|
|
|
615
625
|
overflow-y: auto;
|
|
616
626
|
max-height: 20vmax;
|
|
617
627
|
box-shadow: 0rem 0.063rem 0.275rem 0rem #00000026;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.digit-multiselectdropdown-master-active{
|
|
631
|
+
overflow: hidden;
|
|
618
632
|
}
|