@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0-beta.1

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.
Files changed (64) hide show
  1. package/CHANGELOG.md +154 -0
  2. package/README.md +11 -2
  3. package/dist/index.css +10789 -3684
  4. package/dist/index.min.css +3 -3
  5. package/package.json +8 -8
  6. package/src/digitv2/components/accordionV2.scss +214 -0
  7. package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
  8. package/src/digitv2/components/backLinkV2.scss +1 -1
  9. package/src/digitv2/components/bottomSheetV2.scss +121 -0
  10. package/src/digitv2/components/breadcrumbV2.scss +38 -0
  11. package/src/digitv2/components/buttonsV2.scss +85 -29
  12. package/src/digitv2/components/cardV2.scss +498 -0
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/cardlabelV2.scss +8 -0
  15. package/src/digitv2/components/checkboxV2.scss +54 -6
  16. package/src/digitv2/components/chipV2.scss +39 -0
  17. package/src/digitv2/components/dividerV2.scss +13 -0
  18. package/src/digitv2/components/errorMessageV2.scss +29 -8
  19. package/src/digitv2/components/fieldV1.scss +52 -2
  20. package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
  21. package/src/digitv2/components/filterCardV2.scss +417 -0
  22. package/src/digitv2/components/footerV2.scss +208 -0
  23. package/src/digitv2/components/formCardV2.scss +234 -0
  24. package/src/digitv2/components/hamburgerV2.scss +555 -0
  25. package/src/digitv2/components/headerV2.scss +426 -0
  26. package/src/digitv2/components/headerdropdownV2.scss +233 -0
  27. package/src/digitv2/components/labelFieldPairV2.scss +45 -11
  28. package/src/digitv2/components/landingpagecardV2.scss +278 -0
  29. package/src/digitv2/components/loaderV2.scss +47 -0
  30. package/src/digitv2/components/menuCardV2.scss +116 -0
  31. package/src/digitv2/components/metricCardV2.scss +151 -0
  32. package/src/digitv2/components/mobileNumberV2.scss +1 -1
  33. package/src/digitv2/components/multiSelectDropdownV2.scss +225 -9
  34. package/src/digitv2/components/otpInputV2.scss +99 -0
  35. package/src/digitv2/components/panelCardV2.scss +19 -0
  36. package/src/digitv2/components/panelV2.scss +19 -0
  37. package/src/digitv2/components/popUpV2.scss +86 -2
  38. package/src/digitv2/components/radiobtnV2.scss +35 -6
  39. package/src/digitv2/components/selectDropdownV2.scss +258 -14
  40. package/src/digitv2/components/selectionTagV2.scss +102 -0
  41. package/src/digitv2/components/sidePanelV2.scss +222 -0
  42. package/src/digitv2/components/sidenavV2.scss +516 -0
  43. package/src/digitv2/components/stepperV2.scss +106 -6
  44. package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
  45. package/src/digitv2/components/summaryCardV2.scss +100 -0
  46. package/src/digitv2/components/switchV2.scss +112 -0
  47. package/src/digitv2/components/tabV2.scss +126 -0
  48. package/src/digitv2/components/tableV2.scss +697 -0
  49. package/src/digitv2/components/tagV2.scss +108 -0
  50. package/src/digitv2/components/textInputV2.scss +5 -3
  51. package/src/digitv2/components/textareaV2.scss +1 -1
  52. package/src/digitv2/components/textblockV2.scss +38 -0
  53. package/src/digitv2/components/timelineV2.scss +145 -15
  54. package/src/digitv2/components/toastV2.scss +79 -1
  55. package/src/digitv2/components/toggleV2.scss +38 -0
  56. package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
  57. package/src/digitv2/components/treeSelectV2.scss +58 -1
  58. package/src/digitv2/index.scss +175 -9
  59. package/src/digitv2/pages/employee/inboxsearchcomposer.scss +409 -0
  60. package/src/digitv2/pages/employee/index.scss +2 -0
  61. package/src/digitv2/pages/employee/reactdatatable.scss +132 -0
  62. package/src/digitv2/pages/employee/workbench.scss +10 -10
  63. package/src/digitv2/typography.scss +24 -9
  64. package/src/index.scss +0 -4
@@ -0,0 +1,697 @@
1
+ .digit-table-footer-wrapper{
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+
6
+ .digit-table-container {
7
+ overflow: auto;
8
+ width: 100%;
9
+ position: relative;
10
+ max-height: 100vh;
11
+ max-width: 100%;
12
+
13
+ &.withBorder {
14
+ border-radius: theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
15
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
16
+ }
17
+
18
+ .digit-cursorPointer {
19
+ width: 100%;
20
+ }
21
+ }
22
+
23
+ .fixed-columns {
24
+ position: sticky;
25
+ overflow: hidden;
26
+ left: 0;
27
+ z-index: 2;
28
+ position: -webkit-sticky;
29
+ position: sticky;
30
+ }
31
+
32
+ .scrollable-columns {
33
+ flex: 1;
34
+ /*overflow-x: auto;*/
35
+ white-space: normal;
36
+ z-index: 1;
37
+ }
38
+
39
+ table {
40
+ width: 100%;
41
+ border-collapse: collapse;
42
+ text-align: left;
43
+ overflow-x: auto;
44
+ }
45
+
46
+ th {
47
+ @extend .typography.heading-s;
48
+ font-family: theme(digitv2.fontFamily.sans);
49
+ font-style: theme(digitv2.fontStyle.normal);
50
+ font-weight: theme(digitv2.fontWeight.bold);
51
+ line-height: theme(digitv2.lineHeight.lineheight1);
52
+
53
+ @media (max-aspect-ratio: 9/16) {
54
+ /* Media query for mobile */
55
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
56
+ }
57
+
58
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
59
+ /* Media query for tablets */
60
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
61
+ }
62
+
63
+ @media (min-aspect-ratio: 3/4) {
64
+ /* Media query for desktop */
65
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
66
+ }
67
+ color: theme(digitv2.lightTheme.primary-2);
68
+ background-color: theme(digitv2.lightTheme.generic-background);
69
+ padding: theme(digitv2.spacers.spacer4);
70
+ min-width: 9.375rem;
71
+ word-wrap: break-word;
72
+ white-space: normal;
73
+ text-align: left;
74
+ width: fit-content;
75
+
76
+ &.withBorder {
77
+ border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
78
+ }
79
+
80
+ &.withColumnDivider {
81
+ border-right: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
82
+ }
83
+
84
+ &.scrollable-columns.withHeaderDivider {
85
+ position: relative;
86
+
87
+ &::after {
88
+ content: "";
89
+ position: absolute;
90
+ top: theme(digitv2.spacers.spacer4);
91
+ right: 0;
92
+ bottom: theme(digitv2.spacers.spacer4);
93
+ width: 0.063rem;
94
+ background-color: theme(digitv2.lightTheme.text-secondary);
95
+ }
96
+ }
97
+ }
98
+
99
+ thead th.withHeaderDivider:last-child::after {
100
+ display: none;
101
+ }
102
+
103
+ .sticky-header {
104
+ position: sticky;
105
+ top: 0;
106
+ z-index: 10;
107
+ }
108
+
109
+ .hasDes{
110
+ th{
111
+ vertical-align: top;
112
+ }
113
+ }
114
+ td {
115
+ padding: theme(digitv2.spacers.spacer4);
116
+ word-wrap: break-word;
117
+ white-space: normal;
118
+ @extend .typography.body-s;
119
+ color: theme(digitv2.lightTheme.text-primary);
120
+ font-family: theme(digitv2.fontFamily.sans);
121
+ font-style: theme(digitv2.fontStyle.normal);
122
+ font-weight: theme(digitv2.fontWeight.regular);
123
+ line-height: theme(digitv2.lineHeight.lineheight2);
124
+ text-align: left;
125
+ vertical-align: top;
126
+ width: fit-content;
127
+ background-color: theme(digitv2.lightTheme.paper-primary);
128
+
129
+ &.numeric,
130
+ &.serialno{
131
+ text-align: right;
132
+ }
133
+
134
+ @media (max-aspect-ratio: 9/16) {
135
+ /* Media query for mobile */
136
+ font-size: theme(digitv2.fontSize.body-s.mobile);
137
+ }
138
+
139
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
140
+ /* Media query for tablets */
141
+ font-size: theme(digitv2.fontSize.body-s.tablet);
142
+ }
143
+
144
+ @media (min-aspect-ratio: 3/4) {
145
+ /* Media query for desktop */
146
+ font-size: theme(digitv2.fontSize.body-s.desktop);
147
+ }
148
+
149
+ &.withRowDivider {
150
+ border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
151
+ }
152
+
153
+ &.withColumnDivider {
154
+ border-right: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
155
+ }
156
+
157
+ &.text,
158
+ &.textinput,
159
+ &.description,
160
+ &.multiselectdropdown,
161
+ &.dropdown,
162
+ &.custom,
163
+ &.checkbox,
164
+ &.tag,
165
+ &.switch{
166
+ @media (max-aspect-ratio: 9/16) {
167
+ /* Media query for mobile */
168
+ min-width: 9.375rem
169
+ }
170
+
171
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
172
+ /* Media query for tablets */
173
+ min-width: 12.5rem;
174
+ }
175
+
176
+ @media (min-aspect-ratio: 3/4) {
177
+ /* Media query for desktop */
178
+ min-width: 12.5rem;
179
+ }
180
+ }
181
+ &.serialno,
182
+ &.numeric {
183
+ @media (max-aspect-ratio: 9/16) {
184
+ /* Media query for mobile */
185
+ min-width: theme(digitv2.spacers.spacer10);
186
+ }
187
+
188
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
189
+ /* Media query for tablets */
190
+ min-width: theme(digitv2.spacers.spacer10);;
191
+ }
192
+
193
+ @media (min-aspect-ratio: 3/4) {
194
+ /* Media query for desktop */
195
+ min-width: theme(digitv2.spacers.spacer10);;
196
+ }
197
+ }
198
+ &.button {
199
+ @media (max-aspect-ratio: 9/16) {
200
+ /* Media query for mobile */
201
+ min-width: 9.375rem
202
+ }
203
+
204
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
205
+ /* Media query for tablets */
206
+ min-width: 9.375rem;
207
+ }
208
+
209
+ @media (min-aspect-ratio: 3/4) {
210
+ /* Media query for desktop */
211
+ min-width: 9.375rem;
212
+ }
213
+ }
214
+ }
215
+
216
+ tbody tr:last-child {
217
+ td {
218
+ border-bottom: none;
219
+ }
220
+ }
221
+
222
+ tbody tr:nth-child(even).withAlternateBg td{
223
+ background-color: theme(digitv2.lightTheme.paper-secondary);
224
+ }
225
+
226
+ tbody tr.addHover{
227
+ cursor: pointer;
228
+ }
229
+
230
+ tbody tr.selected{
231
+ td{
232
+ background-color: theme(digitv2.lightTheme.primary-bg) !important;
233
+ }
234
+
235
+ td:first-child::before{
236
+ content: '';
237
+ position: absolute;
238
+ top: 0.062rem;
239
+ left: 0;
240
+ bottom: 0.063rem;
241
+ width: theme(digitv2.spacers.spacer1);
242
+ background: theme(digitv2.lightTheme.primary-1);
243
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
244
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
245
+ }
246
+ }
247
+
248
+ tbody tr.addHover:hover td{
249
+ background-color: theme(digitv2.lightTheme.primary-bg) !important;
250
+ }
251
+
252
+
253
+ tfoot td {
254
+ @extend .typography.heading-s;
255
+ font-family: theme(digitv2.fontFamily.sans);
256
+ font-style: theme(digitv2.fontStyle.normal);
257
+ font-weight: theme(digitv2.fontWeight.bold);
258
+ line-height: theme(digitv2.lineHeight.lineheight1);
259
+
260
+ @media (max-aspect-ratio: 9/16) {
261
+ /* Media query for mobile */
262
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
263
+ }
264
+
265
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
266
+ /* Media query for tablets */
267
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
268
+ }
269
+
270
+ @media (min-aspect-ratio: 3/4) {
271
+ /* Media query for desktop */
272
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
273
+ }
274
+ color: theme(digitv2.lightTheme.text-primary);
275
+ background-color: theme(digitv2.lightTheme.generic-background);
276
+ padding: theme(digitv2.spacers.spacer4);
277
+ text-align: center;
278
+ width: 100%;
279
+
280
+ &.withBorder {
281
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
282
+ border-top:none;
283
+ }
284
+ }
285
+
286
+ .footer-content {
287
+ display: flex;
288
+ justify-content: space-between;
289
+ align-items: center;
290
+ }
291
+
292
+ .footer-pagination-container {
293
+ display: flex;
294
+ align-items: center;
295
+ gap: theme(digitv2.spacers.spacer2);
296
+ margin-left: auto;
297
+ }
298
+
299
+ .pagination {
300
+ display: flex;
301
+ justify-content: center;
302
+ align-items: center;
303
+ gap: theme(digitv2.spacers.spacer2);
304
+ }
305
+
306
+ .pagination-dropdown{
307
+ padding: theme(digitv2.spacers.spacer1);
308
+ outline: none;
309
+ min-width: 4rem;
310
+ @extend .typography.body-s;
311
+ color: theme(digitv2.lightTheme.text-primary);
312
+ font-family: theme(digitv2.fontFamily.sans);
313
+ font-style: theme(digitv2.fontStyle.normal);
314
+ font-weight: theme(digitv2.fontWeight.regular);
315
+ line-height: theme(digitv2.lineHeight.lineheight2);
316
+
317
+ @media (max-aspect-ratio: 9/16) {
318
+ /* Media query for mobile */
319
+ font-size: theme(digitv2.fontSize.body-s.mobile);
320
+ }
321
+
322
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
323
+ /* Media query for tablets */
324
+ font-size: theme(digitv2.fontSize.body-s.tablet);
325
+ }
326
+
327
+ @media (min-aspect-ratio: 3/4) {
328
+ /* Media query for desktop */
329
+ font-size: theme(digitv2.fontSize.body-s.desktop);
330
+ }
331
+
332
+ option{
333
+ width: 100%;
334
+ text-align: center;
335
+ @extend .typography.body-s;
336
+ color: theme(digitv2.lightTheme.text-primary);
337
+ font-family: theme(digitv2.fontFamily.sans);
338
+ font-style: theme(digitv2.fontStyle.normal);
339
+ font-weight: theme(digitv2.fontWeight.regular);
340
+ line-height: theme(digitv2.lineHeight.lineheight2);
341
+
342
+ @media (max-aspect-ratio: 9/16) {
343
+ /* Media query for mobile */
344
+ font-size: theme(digitv2.fontSize.body-s.mobile);
345
+ }
346
+
347
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
348
+ /* Media query for tablets */
349
+ font-size: theme(digitv2.fontSize.body-s.tablet);
350
+ }
351
+
352
+ @media (min-aspect-ratio: 3/4) {
353
+ /* Media query for desktop */
354
+ font-size: theme(digitv2.fontSize.body-s.desktop);
355
+ }
356
+ }
357
+ }
358
+
359
+
360
+ .pagination button {
361
+ border: 0.063 solid theme(digitv2.lightTheme.generic-divider);
362
+ cursor: pointer;
363
+ width: theme(digitv2.spacers.spacer6);
364
+ height: theme(digitv2.spacers.spacer6);
365
+ }
366
+
367
+ .pagination button:disabled {
368
+ cursor: not-allowed;
369
+ }
370
+
371
+ .pagination span {
372
+ font-weight: normal;
373
+ margin: 0 10px;
374
+ }
375
+
376
+ tr th:last-child {
377
+ &.withColumnDivider {
378
+ border-right: none;
379
+ }
380
+ }
381
+
382
+ tr td:last-child {
383
+ &.withColumnDivider {
384
+ border-right: none;
385
+ }
386
+ }
387
+
388
+ .sticky-footer-content {
389
+ position: sticky;
390
+ display: flex;
391
+ z-index: 10;
392
+
393
+ &.scrollable{
394
+ overflow-x: auto;
395
+ }
396
+
397
+ td {
398
+ text-align: right;
399
+ background-color: theme(digitv2.lightTheme.paper-secondary);
400
+ color: theme(digitv2.lightTheme.primary-2);
401
+ overflow-x: auto;
402
+ }
403
+ }
404
+
405
+ .sort-icon{
406
+ width: theme(digitv2.spacers.spacer4);
407
+ height: theme(digitv2.spacers.spacer4);
408
+ cursor: pointer;
409
+ }
410
+ .footer-pagination-content{
411
+ display: flex;
412
+ }
413
+
414
+ .digit-table-footer{
415
+ max-width: 100%;
416
+ overflow-x: hidden !important;
417
+ width: 100%;
418
+ flex: 1;
419
+ }
420
+ .sticky-footer {
421
+ position: sticky;
422
+ bottom: 0;
423
+ z-index: 10;
424
+ }
425
+
426
+ .digit-table-card {
427
+
428
+ .digit-text-block-wrap .digit-text-block-header-content .digit-text-block-subheader.table-header {
429
+ color: theme(digitv2.lightTheme.text-primary)
430
+ }
431
+ }
432
+
433
+ .selected-state {
434
+ @extend .typography.body-s;
435
+ color: theme(digitv2.lightTheme.text-primary);
436
+ font-family: theme(digitv2.fontFamily.sans);
437
+ font-style: theme(digitv2.fontStyle.normal);
438
+ font-weight: theme(digitv2.fontWeight.regular);
439
+ line-height: theme(digitv2.lineHeight.lineheight2);
440
+ text-align: left;
441
+ vertical-align: top;
442
+
443
+ @media (max-aspect-ratio: 9/16) {
444
+ /* Media query for mobile */
445
+ font-size: theme(digitv2.fontSize.body-s.mobile);
446
+ }
447
+
448
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
449
+ /* Media query for tablets */
450
+ font-size: theme(digitv2.fontSize.body-s.tablet);
451
+ }
452
+
453
+ @media (min-aspect-ratio: 3/4) {
454
+ /* Media query for desktop */
455
+ font-size: theme(digitv2.fontSize.body-s.desktop);
456
+ }
457
+ }
458
+
459
+ .header-des-wrap {
460
+ display: flex;
461
+ flex-direction: column;
462
+ gap: theme(digitv2.spacers.spacer1);
463
+
464
+ .column-header{
465
+ @extend .typography.heading-s;
466
+ font-family: theme(digitv2.fontFamily.sans);
467
+ font-style: theme(digitv2.fontStyle.normal);
468
+ font-weight: theme(digitv2.fontWeight.bold);
469
+ line-height: theme(digitv2.lineHeight.lineheight1);
470
+
471
+ @media (max-aspect-ratio: 9/16) {
472
+ /* Media query for mobile */
473
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
474
+ }
475
+
476
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
477
+ /* Media query for tablets */
478
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
479
+ }
480
+
481
+ @media (min-aspect-ratio: 3/4) {
482
+ /* Media query for desktop */
483
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
484
+ }
485
+ white-space: nowrap;
486
+ display: flex;
487
+ align-items: center;
488
+ gap:theme(digitv2.spacers.spacer1);
489
+ }
490
+
491
+ .column-description {
492
+ color: theme(digitv2.lightTheme.text-secondary);
493
+ white-space: nowrap;
494
+ @extend .typography.body-s;
495
+ font-family: theme(digitv2.fontFamily.sans);
496
+ font-style: theme(digitv2.fontStyle.normal);
497
+ font-weight: theme(digitv2.fontWeight.regular);
498
+ line-height: theme(digitv2.lineHeight.lineheight2);
499
+
500
+ @media (max-aspect-ratio: 9/16) {
501
+ /* Media query for mobile */
502
+ font-size: theme(digitv2.fontSize.body-s.mobile);
503
+ }
504
+
505
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
506
+ /* Media query for tablets */
507
+ font-size: theme(digitv2.fontSize.body-s.tablet);
508
+ }
509
+
510
+ @media (min-aspect-ratio: 3/4) {
511
+ /* Media query for desktop */
512
+ font-size: theme(digitv2.fontSize.body-s.desktop);
513
+ }
514
+ }
515
+ }
516
+
517
+ .table-header-wrapper {
518
+ display: flex;
519
+ flex-direction: column;
520
+ gap: theme(digitv2.spacers.spacer2);
521
+
522
+ .header-filter-wrapper{
523
+ display: flex;
524
+ align-items: center;
525
+ justify-content: space-between;
526
+
527
+ svg{
528
+ flex-shrink: 0;
529
+ margin-left:auto;
530
+ cursor: pointer;
531
+ }
532
+
533
+ .table-header {
534
+ @extend .typography.heading-m;
535
+ font-family: theme(digitv2.fontFamily.sans);
536
+ font-style: theme(digitv2.fontStyle.normal);
537
+ font-weight: theme(digitv2.fontWeight.bold);
538
+ line-height: theme(digitv2.lineHeight.lineheight1);
539
+
540
+ @media (max-aspect-ratio: 9/16) {
541
+ /* Media query for mobile */
542
+ font-size: theme(digitv2.fontSize.heading-m.mobile);
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.heading-m.tablet);
548
+ }
549
+
550
+ @media (min-aspect-ratio: 3/4) {
551
+ /* Media query for desktop */
552
+ font-size: theme(digitv2.fontSize.heading-m.desktop);
553
+ }
554
+ color: theme(digitv2.lightTheme.text-primary);
555
+ line-height: normal;
556
+ }
557
+
558
+
559
+ }
560
+
561
+ .table-description {
562
+ @extend .typography.body-s;
563
+ font-family: theme(digitv2.fontFamily.sans);
564
+ font-style: theme(digitv2.fontStyle.normal);
565
+ font-weight: theme(digitv2.fontWeight.regular);
566
+ line-height: theme(digitv2.lineHeight.lineheight2);
567
+
568
+ @media (max-aspect-ratio: 9/16) {
569
+ /* Media query for mobile */
570
+ font-size: theme(digitv2.fontSize.body-s.mobile);
571
+ }
572
+
573
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
574
+ /* Media query for tablets */
575
+ font-size: theme(digitv2.fontSize.body-s.tablet);
576
+ }
577
+
578
+ @media (min-aspect-ratio: 3/4) {
579
+ /* Media query for desktop */
580
+ font-size: theme(digitv2.fontSize.body-s.desktop);
581
+ }
582
+
583
+ color: theme(digitv2.lightTheme.generic-inputborder);
584
+ }
585
+ }
586
+
587
+ .sticker-footer-td::-webkit-scrollbar {
588
+ height: 0.5rem;
589
+ background-color: theme(digitv2.lightTheme.generic-background);
590
+ }
591
+
592
+ .sticker-footer-td::-webkit-scrollbar-track {
593
+ background-color: theme(digitv2.lightTheme.generic-background);
594
+ border-radius: 0.563rem;
595
+ }
596
+
597
+ .sticker-footer-td::-webkit-scrollbar-thumb {
598
+ background-color: theme(digitv2.lightTheme.generic-divider);
599
+ border-radius: 0.563rem;
600
+ }
601
+
602
+ .digit-table-container::-webkit-scrollbar {
603
+ height: 0.5rem;
604
+ background-color: theme(digitv2.lightTheme.generic-background);
605
+ }
606
+
607
+ .digit-table-container::-webkit-scrollbar-track {
608
+ background-color: theme(digitv2.lightTheme.generic-background);
609
+ border-radius: 0.563rem;
610
+ }
611
+
612
+ .digit-table-container::-webkit-scrollbar-thumb {
613
+ background-color: theme(digitv2.lightTheme.generic-divider);
614
+ border-radius: 0.563rem;
615
+ }
616
+
617
+ .digit-table-container::-webkit-scrollbar:vertical {
618
+ width: 0rem;
619
+ background-color: transparent;
620
+ }
621
+
622
+ .digit-table-container::-webkit-scrollbar-track:vertical {
623
+ background-color: transparent;
624
+ border-radius: 0.563rem;
625
+ }
626
+
627
+ .digit-table-container::-webkit-scrollbar-thumb:vertical {
628
+ background-color: transparent;
629
+ border-radius: 0.563rem;
630
+ }
631
+
632
+ .table-checkbox {
633
+ margin: theme(digitv2.spacers.spacer0);
634
+
635
+ input {
636
+ margin: theme(digitv2.spacers.spacer0);
637
+ }
638
+
639
+ p {
640
+ margin: theme(digitv2.spacers.spacer0);
641
+ }
642
+ }
643
+
644
+
645
+ .selection-state-wrapper{
646
+ display: flex;
647
+ justify-content: space-between;
648
+ align-items: center;
649
+ flex-wrap: wrap;
650
+ gap: theme(digitv2.spacers.spacer2);
651
+
652
+ .svg-state-wrapper{
653
+
654
+ display: flex;
655
+ align-items: center;
656
+ gap: theme(digitv2.spacers.spacer2);
657
+
658
+ svg{
659
+ flex-shrink: 0
660
+ }
661
+
662
+ .selected-state{
663
+ @extend .typography.heading-s;
664
+ font-family: theme(digitv2.fontFamily.sans);
665
+ font-style: theme(digitv2.fontStyle.normal);
666
+ font-weight: theme(digitv2.fontWeight.bold);
667
+ line-height: theme(digitv2.lineHeight.lineheight1);
668
+
669
+ @media (max-aspect-ratio: 9/16) {
670
+ /* Media query for mobile */
671
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
672
+ }
673
+
674
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
675
+ /* Media query for tablets */
676
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
677
+ }
678
+
679
+ @media (min-aspect-ratio: 3/4) {
680
+ /* Media query for desktop */
681
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
682
+ }
683
+ color: theme(digitv2.lightTheme.primary-2);
684
+ }
685
+ }
686
+
687
+
688
+ }
689
+
690
+ .digit-table-container{
691
+ .digit-table-footer {
692
+ position: sticky;
693
+ bottom: 0;
694
+ width: 100%;
695
+ z-index: 10;
696
+ }
697
+ }