@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0
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/CHANGELOG.md +154 -0
- package/README.md +11 -2
- package/dist/index.css +10295 -3600
- package/dist/index.min.css +3 -3
- package/package.json +8 -8
- package/src/digitv2/components/accordionV2.scss +214 -0
- package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
- package/src/digitv2/components/backLinkV2.scss +1 -1
- package/src/digitv2/components/bottomSheetV2.scss +121 -0
- package/src/digitv2/components/breadcrumbV2.scss +38 -0
- package/src/digitv2/components/buttonsV2.scss +82 -31
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +54 -6
- package/src/digitv2/components/chipV2.scss +39 -0
- package/src/digitv2/components/dividerV2.scss +13 -0
- package/src/digitv2/components/errorMessageV2.scss +29 -8
- package/src/digitv2/components/fieldV1.scss +47 -2
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
- package/src/digitv2/components/filterCardV2.scss +417 -0
- package/src/digitv2/components/footerV2.scss +208 -0
- package/src/digitv2/components/formCardV2.scss +234 -0
- package/src/digitv2/components/hamburgerV2.scss +555 -0
- package/src/digitv2/components/headerV2.scss +426 -0
- package/src/digitv2/components/headerdropdownV2.scss +233 -0
- package/src/digitv2/components/labelFieldPairV2.scss +37 -11
- package/src/digitv2/components/landingpagecardV2.scss +278 -0
- package/src/digitv2/components/loaderV2.scss +47 -0
- package/src/digitv2/components/menuCardV2.scss +116 -0
- package/src/digitv2/components/metricCardV2.scss +151 -0
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/multiSelectDropdownV2.scss +219 -8
- package/src/digitv2/components/otpInputV2.scss +99 -0
- package/src/digitv2/components/panelCardV2.scss +19 -0
- package/src/digitv2/components/panelV2.scss +19 -0
- package/src/digitv2/components/popUpV2.scss +86 -2
- package/src/digitv2/components/radiobtnV2.scss +35 -6
- package/src/digitv2/components/selectDropdownV2.scss +257 -13
- package/src/digitv2/components/selectionTagV2.scss +102 -0
- package/src/digitv2/components/sidePanelV2.scss +222 -0
- package/src/digitv2/components/sidenavV2.scss +516 -0
- package/src/digitv2/components/stepperV2.scss +106 -6
- package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
- package/src/digitv2/components/summaryCardV2.scss +100 -0
- package/src/digitv2/components/switchV2.scss +112 -0
- package/src/digitv2/components/tabV2.scss +126 -0
- package/src/digitv2/components/tableV2.scss +697 -0
- package/src/digitv2/components/tagV2.scss +108 -0
- package/src/digitv2/components/textInputV2.scss +5 -3
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/textblockV2.scss +38 -0
- package/src/digitv2/components/timelineV2.scss +144 -14
- package/src/digitv2/components/toastV2.scss +79 -1
- package/src/digitv2/components/toggleV2.scss +38 -0
- package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
- package/src/digitv2/components/treeSelectV2.scss +58 -1
- package/src/digitv2/index.scss +171 -5
- package/src/digitv2/pages/employee/workbench.scss +9 -9
- package/src/digitv2/typography.scss +24 -9
- package/src/index.scss +0 -4
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
@media (max-aspect-ratio: 9/16) {
|
|
8
8
|
/* Media query for mobile */
|
|
9
|
-
max-width:
|
|
9
|
+
max-width: 100%;
|
|
10
10
|
width: 100%;
|
|
11
11
|
}
|
|
12
12
|
@media (min-aspect-ratio: 3/4) {
|
|
@@ -27,7 +27,33 @@
|
|
|
27
27
|
color: theme(digitv2.lightTheme.generic-divider) !important;
|
|
28
28
|
}
|
|
29
29
|
input[type="text"] {
|
|
30
|
-
@extend .typography.body-
|
|
30
|
+
@extend .typography.body-s;
|
|
31
|
+
@media (max-aspect-ratio: 9/16) {
|
|
32
|
+
/* Media query for mobile */
|
|
33
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
34
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
35
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
36
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
37
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
41
|
+
/* Media query for tablets */
|
|
42
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
43
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
44
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
45
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
46
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (min-aspect-ratio: 3/4) {
|
|
50
|
+
/* Media query for desktop */
|
|
51
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
52
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
53
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
54
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
55
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
56
|
+
}
|
|
31
57
|
@apply absolute z-10 h-full outline-none;
|
|
32
58
|
width:calc(100%- (theme(digitv2.spacers.spacer7)));
|
|
33
59
|
background-color: transparent;
|
|
@@ -49,14 +75,39 @@
|
|
|
49
75
|
}
|
|
50
76
|
}
|
|
51
77
|
.digit-dropdown-select-active {
|
|
52
|
-
@apply relative block w-full h-10;
|
|
78
|
+
@apply relative block w-full h-10 bg-white;
|
|
53
79
|
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
54
80
|
input[type="text"] {
|
|
55
|
-
@extend .typography.body-
|
|
81
|
+
@extend .typography.body-s;
|
|
82
|
+
@media (max-aspect-ratio: 9/16) {
|
|
83
|
+
/* Media query for mobile */
|
|
84
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
85
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
86
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
87
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
88
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
92
|
+
/* Media query for tablets */
|
|
93
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
94
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
95
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
96
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
97
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (min-aspect-ratio: 3/4) {
|
|
101
|
+
/* Media query for desktop */
|
|
102
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
103
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
104
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
105
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
106
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
107
|
+
}
|
|
56
108
|
@apply absolute z-10 h-full outline-none;
|
|
57
109
|
width:calc(100%- (theme(digitv2.spacers.spacer7)));
|
|
58
110
|
background-color: transparent;
|
|
59
|
-
font-size: theme(digitv2.spacers.spacer4);
|
|
60
111
|
padding-top: theme(digitv2.spacers.spacer2);
|
|
61
112
|
padding-bottom: theme(digitv2.spacers.spacer2);
|
|
62
113
|
padding-left: theme(digitv2.spacers.spacer3);
|
|
@@ -126,10 +177,29 @@
|
|
|
126
177
|
@apply flex items-center overflow-hidden whitespace-no-wrap;
|
|
127
178
|
color: theme(digitv2.lightTheme.text-primary);
|
|
128
179
|
gap: theme(digitv2.spacers.spacer1);
|
|
180
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
181
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
182
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
183
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
184
|
+
|
|
185
|
+
@media (max-aspect-ratio: 9/16) {
|
|
186
|
+
/* Media query for mobile */
|
|
187
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
191
|
+
/* Media query for tablets */
|
|
192
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media (min-aspect-ratio: 3/4) {
|
|
196
|
+
/* Media query for desktop */
|
|
197
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
198
|
+
}
|
|
129
199
|
}
|
|
130
200
|
.digit-dropdown-item {
|
|
131
201
|
@apply flex flex-row;
|
|
132
|
-
padding:
|
|
202
|
+
padding: theme(digitv2.spacers.spacer3);
|
|
133
203
|
gap: 0.625rem;
|
|
134
204
|
min-height: 2.438rem;
|
|
135
205
|
color: theme(digitv2.lightTheme.text-primary) !important;
|
|
@@ -154,6 +224,25 @@
|
|
|
154
224
|
}
|
|
155
225
|
.main-option {
|
|
156
226
|
@extend .typography.body-s;
|
|
227
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
228
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
229
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
230
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
231
|
+
|
|
232
|
+
@media (max-aspect-ratio: 9/16) {
|
|
233
|
+
/* Media query for mobile */
|
|
234
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
238
|
+
/* Media query for tablets */
|
|
239
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@media (min-aspect-ratio: 3/4) {
|
|
243
|
+
/* Media query for desktop */
|
|
244
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
245
|
+
}
|
|
157
246
|
@apply whitespace-no-wrap w-full max-w-full overflow-hidden;
|
|
158
247
|
text-overflow: ellipsis;
|
|
159
248
|
&.nestedtextdropdown,
|
|
@@ -170,7 +259,7 @@
|
|
|
170
259
|
&:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
|
|
171
260
|
background: theme(digitv2.lightTheme.paper-secondary);
|
|
172
261
|
}
|
|
173
|
-
|
|
262
|
+
&:not(.unsuccessfulresults).nesteddropdown {
|
|
174
263
|
position: relative;
|
|
175
264
|
height: 2.4375rem;
|
|
176
265
|
&::before {
|
|
@@ -205,12 +294,31 @@
|
|
|
205
294
|
.option-des-container {
|
|
206
295
|
.main-option {
|
|
207
296
|
@extend .typography.heading-s;
|
|
297
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
298
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
299
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
300
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
301
|
+
|
|
302
|
+
@media (max-aspect-ratio: 9/16) {
|
|
303
|
+
/* Media query for mobile */
|
|
304
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
308
|
+
/* Media query for tablets */
|
|
309
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@media (min-aspect-ratio: 3/4) {
|
|
313
|
+
/* Media query for desktop */
|
|
314
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
315
|
+
}
|
|
208
316
|
}
|
|
209
317
|
}
|
|
210
318
|
}
|
|
211
319
|
&.nestedtextdropdown {
|
|
212
320
|
min-height: 4.75rem;
|
|
213
|
-
padding: theme(digitv2.spacers.spacer2)
|
|
321
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
214
322
|
color: theme(digitv2.lightTheme.text-secondary) !important;
|
|
215
323
|
&:hover {
|
|
216
324
|
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
@@ -222,6 +330,25 @@
|
|
|
222
330
|
.option-des-container {
|
|
223
331
|
.main-option {
|
|
224
332
|
@extend .typography.heading-s;
|
|
333
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
334
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
335
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
336
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
337
|
+
|
|
338
|
+
@media (max-aspect-ratio: 9/16) {
|
|
339
|
+
/* Media query for mobile */
|
|
340
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
344
|
+
/* Media query for tablets */
|
|
345
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@media (min-aspect-ratio: 3/4) {
|
|
349
|
+
/* Media query for desktop */
|
|
350
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
351
|
+
}
|
|
225
352
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
226
353
|
}
|
|
227
354
|
}
|
|
@@ -229,7 +356,7 @@
|
|
|
229
356
|
}
|
|
230
357
|
&.profiledropdown {
|
|
231
358
|
min-height: theme(digitv2.spacers.spacer12);
|
|
232
|
-
padding: theme(digitv2.spacers.spacer2)
|
|
359
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
233
360
|
}
|
|
234
361
|
&.profilenestedtext {
|
|
235
362
|
min-height: 4.75rem;
|
|
@@ -241,6 +368,25 @@
|
|
|
241
368
|
.option-des-container {
|
|
242
369
|
.main-option {
|
|
243
370
|
@extend .typography.heading-s;
|
|
371
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
372
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
373
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
374
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
375
|
+
|
|
376
|
+
@media (max-aspect-ratio: 9/16) {
|
|
377
|
+
/* Media query for mobile */
|
|
378
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
382
|
+
/* Media query for tablets */
|
|
383
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@media (min-aspect-ratio: 3/4) {
|
|
387
|
+
/* Media query for desktop */
|
|
388
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
389
|
+
}
|
|
244
390
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
245
391
|
}
|
|
246
392
|
}
|
|
@@ -251,11 +397,57 @@
|
|
|
251
397
|
pointer-events: none;
|
|
252
398
|
span {
|
|
253
399
|
@extend .typography.body-s;
|
|
400
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
401
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
402
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
403
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
404
|
+
|
|
405
|
+
@media (max-aspect-ratio: 9/16) {
|
|
406
|
+
/* Media query for mobile */
|
|
407
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
411
|
+
/* Media query for tablets */
|
|
412
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
@media (min-aspect-ratio: 3/4) {
|
|
416
|
+
/* Media query for desktop */
|
|
417
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
418
|
+
}
|
|
254
419
|
color: theme(digitv2.lightTheme.text-disabled);
|
|
255
420
|
}
|
|
256
421
|
}
|
|
257
422
|
}
|
|
258
423
|
.digit-dropdown-employee-select-wrap--elipses {
|
|
424
|
+
@extend .typography.body-s;
|
|
425
|
+
@media (max-aspect-ratio: 9/16) {
|
|
426
|
+
/* Media query for mobile */
|
|
427
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
428
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
429
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
430
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
431
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
435
|
+
/* Media query for tablets */
|
|
436
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
437
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
438
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
439
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
440
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
@media (min-aspect-ratio: 3/4) {
|
|
444
|
+
/* Media query for desktop */
|
|
445
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
446
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
447
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
448
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
449
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
450
|
+
}
|
|
259
451
|
@apply overflow-hidden whitespace-no-wrap;
|
|
260
452
|
width:calc(100%- (theme(digitv2.spacers.spacer7)));
|
|
261
453
|
text-overflow: ellipsis;
|
|
@@ -265,7 +457,7 @@
|
|
|
265
457
|
}
|
|
266
458
|
}
|
|
267
459
|
.digit-dropdown-select-wrap {
|
|
268
|
-
@apply
|
|
460
|
+
@apply relative bg-white w-full;
|
|
269
461
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
270
462
|
/* Media query for tablets */
|
|
271
463
|
max-width: 27.5rem;
|
|
@@ -284,7 +476,33 @@
|
|
|
284
476
|
@apply relative block w-full h-10 bg-white;
|
|
285
477
|
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
286
478
|
input[type="text"] {
|
|
287
|
-
@extend .typography.body-
|
|
479
|
+
@extend .typography.body-s;
|
|
480
|
+
@media (max-aspect-ratio: 9/16) {
|
|
481
|
+
/* Media query for mobile */
|
|
482
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
483
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
484
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
485
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
486
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
490
|
+
/* Media query for tablets */
|
|
491
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
492
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
493
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
494
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
495
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
@media (min-aspect-ratio: 3/4) {
|
|
499
|
+
/* Media query for desktop */
|
|
500
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
501
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
502
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
503
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
504
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
505
|
+
}
|
|
288
506
|
@apply absolute z-10 h-full outline-none;
|
|
289
507
|
width:calc(100%- (theme(digitv2.spacers.spacer7)));
|
|
290
508
|
background-color: transparent;
|
|
@@ -314,7 +532,33 @@
|
|
|
314
532
|
@apply relative block w-full h-10;
|
|
315
533
|
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
316
534
|
input[type="text"] {
|
|
317
|
-
@extend .typography.body-
|
|
535
|
+
@extend .typography.body-s;
|
|
536
|
+
@media (max-aspect-ratio: 9/16) {
|
|
537
|
+
/* Media query for mobile */
|
|
538
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
539
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
540
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
541
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
542
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
546
|
+
/* Media query for tablets */
|
|
547
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
548
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
549
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
550
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
551
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
@media (min-aspect-ratio: 3/4) {
|
|
555
|
+
/* Media query for desktop */
|
|
556
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
557
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
558
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
559
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
560
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
561
|
+
}
|
|
318
562
|
@apply absolute z-10 h-full outline-none;
|
|
319
563
|
width:calc(100%- (theme(digitv2.spacers.spacer7)));
|
|
320
564
|
background-color: transparent;
|
|
@@ -347,7 +591,7 @@
|
|
|
347
591
|
.digit-dropdown-options-card {
|
|
348
592
|
width: 100% !important;
|
|
349
593
|
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
|
|
350
|
-
@apply z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
594
|
+
@apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
351
595
|
max-height: 20vmax;
|
|
352
596
|
p {
|
|
353
597
|
@extend .light-text-color-primary;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.selection-card-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap:theme(digitv2.spacers.spacer1);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.selection-card {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
12
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
13
|
+
border: 0.063rem solid #d6d5d4;
|
|
14
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
15
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
16
|
+
width: fit-content;
|
|
17
|
+
|
|
18
|
+
@media (max-width: 30rem) {
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.hideContainer{
|
|
23
|
+
border: none;
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
border-radius: theme(digitv2.spacers.spacer0);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.selection-card.error {
|
|
31
|
+
border-color: theme(digitv2.lightTheme.alert-error);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.option {
|
|
35
|
+
@extend .typography.body-s;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
|
|
39
|
+
border: 0.063rem solid #d6d5d4;
|
|
40
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
41
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
height: theme(digitv2.spacers.spacer10);
|
|
44
|
+
gap:theme(digitv2.spacers.spacer2);
|
|
45
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
46
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
47
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
48
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
49
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
50
|
+
@media (max-aspect-ratio: 9/16) {
|
|
51
|
+
/* Media query for mobile */
|
|
52
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
56
|
+
/* Media query for tablets */
|
|
57
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-aspect-ratio: 3/4) {
|
|
61
|
+
/* Media query for desktop */
|
|
62
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.option.selected {
|
|
67
|
+
@extend .typography.heading-s;
|
|
68
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
69
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
70
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
71
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
72
|
+
|
|
73
|
+
@media (max-aspect-ratio: 9/16) {
|
|
74
|
+
/* Media query for mobile */
|
|
75
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
79
|
+
/* Media query for tablets */
|
|
80
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media (min-aspect-ratio: 3/4) {
|
|
84
|
+
/* Media query for desktop */
|
|
85
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.option .selectiontag-option-label {
|
|
90
|
+
width: 100%;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
.option .selectiontagicon {
|
|
98
|
+
flex-shrink: 0;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
.digit-slider-container {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
bottom: 0;
|
|
5
|
+
transition: transform 0.3s ease;
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
9
|
+
background: theme(digitv2.lightTheme.paper-secondary);
|
|
10
|
+
box-shadow: -0.125rem -0.25rem 0.356rem 0rem #00000026;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.digit-slider-container.left {
|
|
14
|
+
left: 0;
|
|
15
|
+
transform: translateX(-100%);
|
|
16
|
+
width: 18.75rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.digit-slider-container.right {
|
|
20
|
+
right: 0;
|
|
21
|
+
transform: translateX(100%);
|
|
22
|
+
width: 18.75rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.digit-slider-container.open.left,
|
|
26
|
+
.digit-slider-container.open.right {
|
|
27
|
+
transform: translateX(0);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.digit-slider-container.closed {
|
|
31
|
+
width: 4rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.digit-slider-container.closed.left {
|
|
35
|
+
transform: translateX(0);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.digit-slider-container.closed.right {
|
|
39
|
+
transform: translateX(0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
.section-divider-wrapper {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.slider-handler {
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 50%;
|
|
52
|
+
transform: translateY(-50%);
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
padding-left: theme(digitv2.spacers.spacer1);
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
z-index: 1001;
|
|
57
|
+
display: flex;
|
|
58
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
59
|
+
align-items: center;
|
|
60
|
+
|
|
61
|
+
.scroll-bar {
|
|
62
|
+
height: 11.25rem;
|
|
63
|
+
width: theme(digitv2.spacers.spacer2);
|
|
64
|
+
border-radius: 0.563rem;
|
|
65
|
+
background-color: #D9D9D9;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.slider-handler-svg {
|
|
69
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
70
|
+
box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
|
|
71
|
+
width: theme(digitv2.spacers.spacer8);
|
|
72
|
+
height: 3.25rem;
|
|
73
|
+
display: flex !important;
|
|
74
|
+
align-items: center;
|
|
75
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.dynamic {
|
|
79
|
+
&.left {
|
|
80
|
+
right: 0;
|
|
81
|
+
flex-direction: row-reverse;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.slider-bg-active {
|
|
87
|
+
position: fixed;
|
|
88
|
+
top: 0;
|
|
89
|
+
left: 0;
|
|
90
|
+
backdrop-filter: blur(0.125rem);
|
|
91
|
+
-webkit-backdrop-filter: blur(0.125rem);
|
|
92
|
+
right: 0;
|
|
93
|
+
bottom: 0;
|
|
94
|
+
background: rgba(11, 12, 12, 0.7);
|
|
95
|
+
z-index: 999;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.slider-content {
|
|
99
|
+
height: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slider-header {
|
|
105
|
+
@extend .typography.heading-m;
|
|
106
|
+
flex-shrink: 0;
|
|
107
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
108
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
109
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
110
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
111
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
112
|
+
|
|
113
|
+
@media (max-aspect-ratio: 9/16) {
|
|
114
|
+
/* Media query for mobile */
|
|
115
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
119
|
+
/* Media query for tablets */
|
|
120
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (min-aspect-ratio: 3/4) {
|
|
124
|
+
/* Media query for desktop */
|
|
125
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
126
|
+
}
|
|
127
|
+
border-bottom: 0.063rem solid #d6d5d4;
|
|
128
|
+
|
|
129
|
+
.close-icon {
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: theme(digitv2.spacers.spacer2);
|
|
133
|
+
right: theme(digitv2.spacers.spacer2);
|
|
134
|
+
width: theme(digitv2.spacers.spacer8);
|
|
135
|
+
height: theme(digitv2.spacers.spacer8);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.slider-section {
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
143
|
+
flex-grow: 1;
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.section-divider {
|
|
148
|
+
border-top: 0.063rem solid #d6d5d4;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.slider-footer {
|
|
152
|
+
bottom: 0;
|
|
153
|
+
width: 100%;
|
|
154
|
+
z-index: 5;
|
|
155
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
156
|
+
border-top: 0.063rem solid #d6d5d4;
|
|
157
|
+
position: relative;
|
|
158
|
+
flex-shrink: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.slider-body {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-grow: 1;
|
|
164
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
165
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
166
|
+
@extend .typography.body-s;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
169
|
+
overflow-y: auto;
|
|
170
|
+
overflow-x: hidden;
|
|
171
|
+
|
|
172
|
+
@media (max-aspect-ratio: 9/16) {
|
|
173
|
+
/* Media query for mobile */
|
|
174
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
175
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
176
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
177
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
178
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
182
|
+
/* Media query for tablets */
|
|
183
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
184
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
185
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
186
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
187
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (min-aspect-ratio: 3/4) {
|
|
191
|
+
/* Media query for desktop */
|
|
192
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
193
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
194
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
195
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
196
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&.with-sections {
|
|
200
|
+
padding: theme(digitv2.spacers.spacer0);
|
|
201
|
+
|
|
202
|
+
.slider-section {
|
|
203
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
.slider-body::-webkit-scrollbar {
|
|
210
|
+
width: 0.375rem;
|
|
211
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.slider-body::-webkit-scrollbar-track {
|
|
215
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
216
|
+
border-radius: 0.563rem;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.slider-body::-webkit-scrollbar-thumb {
|
|
220
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
221
|
+
border-radius: 0.563rem;
|
|
222
|
+
}
|