@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,516 @@
1
+ .digit-sidebar {
2
+ position: fixed;
3
+ height: 100%;
4
+ background-color: theme(digitv2.lightTheme.primary-2);
5
+ overflow-x: hidden;
6
+ left: 0;
7
+ top: 0;
8
+ width: theme(digitv2.spacers.spacer12);
9
+ display: flex;
10
+ flex-direction: column;
11
+ padding-top: 1.563rem;
12
+ padding-left: theme(digitv2.spacers.spacer3);
13
+ padding-right: theme(digitv2.spacers.spacer3);
14
+ transition: width 0.5s ease;
15
+ z-index: 10000;
16
+
17
+ &.hovered {
18
+ width: auto;
19
+ min-width: 15rem;
20
+ padding: theme(digitv2.spacers.spacer0);
21
+ }
22
+
23
+
24
+ .digit-sidebar-search-container {
25
+ height: 4.5rem;
26
+ min-width: 15rem;
27
+ width: auto;
28
+ padding: theme(digitv2.spacers.spacer4) !important;
29
+
30
+ .digit-sidebar-search {
31
+ height: theme(digitv2.spacers.spacer10) !important;
32
+ min-width: 13rem;
33
+
34
+ .digit-text-input-customIcon {
35
+ height: theme(digitv2.spacers.spacer6);
36
+ width: theme(digitv2.spacers.spacer6);
37
+ top: theme(digitv2.spacers.spacer2);
38
+ right: theme(digitv2.spacers.spacer2);
39
+ }
40
+
41
+ .input-container {
42
+ max-height: 100%;
43
+ }
44
+
45
+ input {
46
+ max-height: 100%;
47
+ background-color: transparent;
48
+ border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary);
49
+ color: theme(digitv2.lightTheme.generic-background);
50
+
51
+ ::placeholder {
52
+ color: theme(digitv2.lightTheme.generic-background);
53
+ }
54
+ }
55
+
56
+ .input-container:focus-within {
57
+ input {
58
+ border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary) !important;
59
+ }
60
+ }
61
+ }
62
+
63
+ ::placeholder {
64
+ content: attr(placeholder);
65
+ @extend .typography.body-s;
66
+ font-family: theme(digitv2.fontFamily.sans);
67
+ font-style: theme(digitv2.fontStyle.normal);
68
+ font-weight: theme(digitv2.fontWeight.regular);
69
+ line-height: theme(digitv2.lineHeight.lineheight2);
70
+
71
+ @media (max-aspect-ratio: 9/16) {
72
+ /* Media query for mobile */
73
+ font-size: theme(digitv2.fontSize.body-s.mobile);
74
+ }
75
+
76
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
77
+ /* Media query for tablets */
78
+ font-size: theme(digitv2.fontSize.body-s.tablet);
79
+ }
80
+
81
+ @media (min-aspect-ratio: 3/4) {
82
+ /* Media query for desktop */
83
+ font-size: theme(digitv2.fontSize.body-s.desktop);
84
+ }
85
+ color: theme(digitv2.lightTheme.generic-background);
86
+ }
87
+ }
88
+
89
+ .digit-sidebar-search-container.light {
90
+ .digit-sidebar-search {
91
+ input {
92
+ background-color: theme(digitv2.lightTheme.paper-primary);
93
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
94
+ color: theme(digitv2.lightTheme.text-primary);
95
+
96
+ ::placeholder {
97
+ color: theme(digitv2.lightTheme.text-disabled);
98
+ }
99
+ }
100
+
101
+ .input-container:focus-within {
102
+ input {
103
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
104
+ }
105
+ }
106
+ }
107
+
108
+ ::placeholder {
109
+ color: theme(digitv2.lightTheme.text-disabled);
110
+ }
111
+ }
112
+
113
+ &.light {
114
+ background-color: theme(digitv2.lightTheme.paper-secondary);
115
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
116
+ }
117
+
118
+
119
+ }
120
+
121
+ .digit-sidebar-items-container {
122
+ flex: 1;
123
+ overflow-y: auto;
124
+ overflow-x: hidden;
125
+ }
126
+
127
+ .digit-sidebar-item {
128
+ display: flex;
129
+ align-items: center;
130
+ padding: theme(digitv2.spacers.spacer4);
131
+ color: theme(digitv2.lightTheme.paper-primary);
132
+ text-decoration: none;
133
+ transition: background-color 0.3s;
134
+ cursor: pointer;
135
+ outline: none;
136
+ position: relative;
137
+
138
+ &.collapsed{
139
+ justify-content: center;
140
+ }
141
+ }
142
+
143
+ .digit-sidebar-items-container::-webkit-scrollbar {
144
+ width: 0.375rem;
145
+ }
146
+
147
+ .digit-sidebar-items-container.dark::-webkit-scrollbar-track {
148
+ background: theme(digitv2.lightTheme.primary-2);
149
+ }
150
+
151
+ .digit-sidebar-items-container.dark::-webkit-scrollbar-thumb {
152
+ background-color: #89ABBA;
153
+ border-radius: 0.563rem;
154
+ }
155
+
156
+ .digit-sidebar-items-container.dark::-webkit-scrollbar-thumb:hover {
157
+ background-color: #6C98A8;
158
+ }
159
+
160
+ .digit-sidebar-items-container.dark::-webkit-scrollbar-thumb:active {
161
+ background-color: #56818E;
162
+ }
163
+
164
+ .digit-sidebar-items-container.light::-webkit-scrollbar {
165
+ width: 0.375rem;
166
+ background-color: theme(digitv2.lightTheme.generic-background);
167
+ }
168
+
169
+ .digit-sidebar-items-container.light::-webkit-scrollbar-track {
170
+ background-color: theme(digitv2.lightTheme.generic-background);
171
+ border-radius: 0.563rem;
172
+ }
173
+
174
+ .digit-sidebar-items-container.light::-webkit-scrollbar-thumb {
175
+ background-color: theme(digitv2.lightTheme.generic-divider);
176
+ border-radius: 0.563rem;
177
+ }
178
+
179
+ .icon {
180
+ margin-right: theme(digitv2.spacers.spacer3);
181
+ width: theme(digitv2.spacers.spacer6);
182
+ height: theme(digitv2.spacers.spacer6);
183
+ }
184
+
185
+ .item-label {
186
+
187
+ font-family: theme(digitv2.fontFamily.sans);
188
+ font-style: theme(digitv2.fontStyle.normal);
189
+ font-weight: theme(digitv2.fontWeight.regular);
190
+ line-height: theme(digitv2.lineHeight.lineheight2);
191
+
192
+ @media (max-aspect-ratio: 9/16) {
193
+ /* Media query for mobile */
194
+ font-size: theme(digitv2.fontSize.body-s.mobile);
195
+ }
196
+
197
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
198
+ /* Media query for tablets */
199
+ font-size: theme(digitv2.fontSize.body-s.tablet);
200
+ }
201
+
202
+ @media (min-aspect-ratio: 3/4) {
203
+ /* Media query for desktop */
204
+ font-size: theme(digitv2.fontSize.body-s.desktop);
205
+ }
206
+
207
+ opacity: 0;
208
+ transition: opacity 0.3s;
209
+ }
210
+
211
+ .expand-icon {
212
+ width: theme(digitv2.spacers.spacer6);
213
+ height: theme(digitv2.spacers.spacer6);
214
+ margin-left: auto !important;
215
+ }
216
+
217
+ .digit-sidebar-item:hover {
218
+ background-color: #FFFFFF4D;
219
+ }
220
+
221
+ .digit-sidebar-item.light:hover {
222
+ background-color: theme(digitv2.lightTheme.generic-background);
223
+ }
224
+
225
+ .digit-sidebar-item.light {
226
+ .item-label {
227
+ color: theme(digitv2.lightTheme.primary-2);
228
+ }
229
+ }
230
+
231
+ .digit-sidebar-item:active,
232
+ .digit-sidebar-item.selected,
233
+ .digit-sidebar-item:active:hover,
234
+ .digit-sidebar-item.selected:hover {
235
+ background: theme(digitv2.lightTheme.primary-1);
236
+
237
+ .item-label {
238
+ @extend .typography.heading-s;
239
+ font-family: theme(digitv2.fontFamily.sans);
240
+ font-style: theme(digitv2.fontStyle.normal);
241
+ font-weight: theme(digitv2.fontWeight.bold);
242
+ line-height: theme(digitv2.lineHeight.lineheight1);
243
+
244
+ @media (max-aspect-ratio: 9/16) {
245
+ /* Media query for mobile */
246
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
247
+ }
248
+
249
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
250
+ /* Media query for tablets */
251
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
252
+ }
253
+
254
+ @media (min-aspect-ratio: 3/4) {
255
+ /* Media query for desktop */
256
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
257
+ }
258
+ color: theme(digitv2.lightTheme.paper-primary);
259
+ }
260
+ }
261
+
262
+ .digit-sidebar-item.selected::before,
263
+ .digit-sidebar-item:active::before,
264
+ .digit-sidebar-item:active:hover::before,
265
+ .digit-sidebar-item.selected:hover::before {
266
+ content: '';
267
+ position: absolute;
268
+ top: 0.062rem;
269
+ left: 0;
270
+ bottom: 0.063rem;
271
+ width: theme(digitv2.spacers.spacer2);
272
+ background: theme(digitv2.lightTheme.paper-primary);
273
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
274
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
275
+ }
276
+
277
+ .digit-sidebar-item.secondary:active,
278
+ .digit-sidebar-item.secondary.selected,
279
+ .digit-sidebar-item.secondary:active:hover,
280
+ .digit-sidebar-item.secondary.selected:hover {
281
+ background: #FFFFFF4D;
282
+ }
283
+
284
+ .digit-sidebar-item.light.secondary:active,
285
+ .digit-sidebar-item.light.secondary.selected,
286
+ .digit-sidebar-item.light.secondary:active:hover,
287
+ .digit-sidebar-item.light.secondary.selected:hover {
288
+ background: #c84c0e1a;
289
+
290
+ .item-label {
291
+ color: theme(digitv2.lightTheme.primary-2);
292
+ }
293
+ }
294
+
295
+ .digit-sidebar-item.light.secondary.selected::before,
296
+ .digit-sidebar-item.light.secondary:active::before,
297
+ .digit-sidebar-item.light.secondary:active:hover::before,
298
+ .digit-sidebar-item.light.secondary.selected:hover::before {
299
+ content: '';
300
+ position: absolute;
301
+ top: 0.063rem;
302
+ left: 0;
303
+ bottom: 0.063rem;
304
+ width: theme(digitv2.spacers.spacer2);
305
+ background: theme(digitv2.lightTheme.primary-1);
306
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
307
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
308
+ }
309
+
310
+ .digit-sidebar.hovered .item-label {
311
+ opacity: 1;
312
+ }
313
+
314
+ .digit-sidebar-children {
315
+ margin-left: theme(digitv2.spacers.spacer6);
316
+ border-left: 0.031rem solid theme(digitv2.lightTheme.text-disabled);
317
+ }
318
+
319
+ .digit-sidebar-bottom {
320
+ background-color: #FFFFFF33;
321
+ z-index: 5;
322
+ padding: theme(digitv2.spacers.spacer4);
323
+ display: flex;
324
+ flex-direction: column;
325
+ gap: theme(digitv2.spacers.spacer4);
326
+ padding-right: theme(digitv2.spacers.spacer0);
327
+ padding-left: theme(digitv2.spacers.spacer0);
328
+
329
+ .digit-sidebar-bottom-item {
330
+ display: flex;
331
+ align-items: center;
332
+ gap: theme(digitv2.spacers.spacer2);
333
+ cursor: pointer;
334
+ height: theme(digitv2.spacers.spacer10);
335
+
336
+ &:hover {
337
+ background-color: #FFFFFF4D;
338
+ }
339
+
340
+ svg {
341
+ flex-shrink: 0;
342
+ margin-left: theme(digitv2.spacers.spacer6);
343
+ }
344
+
345
+ .digit-sidebar-bottom-item-text {
346
+
347
+ font-family: theme(digitv2.fontFamily.sans);
348
+ font-style: theme(digitv2.fontStyle.normal);
349
+ font-weight: theme(digitv2.fontWeight.regular);
350
+ line-height: theme(digitv2.lineHeight.lineheight2);
351
+
352
+ @media (max-aspect-ratio: 9/16) {
353
+ /* Media query for mobile */
354
+ font-size: theme(digitv2.fontSize.body-xs.mobile);
355
+ }
356
+
357
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
358
+ /* Media query for tablets */
359
+ font-size: theme(digitv2.fontSize.body-xs.tablet);
360
+ }
361
+
362
+ @media (min-aspect-ratio: 3/4) {
363
+ /* Media query for desktop */
364
+ font-size: theme(digitv2.fontSize.body-xs.desktop);
365
+ }
366
+
367
+ color: theme(digitv2.lightTheme.paper-primary);
368
+ }
369
+ }
370
+
371
+ &.light .digit-sidebar-bottom-item .digit-sidebar-bottom-item-text {
372
+ color: theme(digitv2.lightTheme.primary-2);
373
+ }
374
+
375
+ &.light {
376
+ border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
377
+
378
+ .digit-sidebar-bottom-item:hover {
379
+ background-color: theme(digitv2.lightTheme.generic-background);
380
+ }
381
+
382
+ }
383
+
384
+ .divider {
385
+ width: 80%;
386
+ height: 0.031rem;
387
+ background-color: theme(digitv2.lightTheme.generic-divider);
388
+ }
389
+ }
390
+
391
+ .digit-sidebar {
392
+ &.collapsed {
393
+
394
+ padding-left: theme(digitv2.spacers.spacer0);
395
+ padding-right: theme(digitv2.spacers.spacer0);
396
+
397
+ .digit-sidebar-search-container-collapsed {
398
+ padding-left: theme(digitv2.spacers.spacer3);
399
+ padding-right: theme(digitv2.spacers.spacer3);
400
+ display: flex;
401
+ align-items: center;
402
+ justify-content: center;
403
+ }
404
+
405
+ &.searchDisabled{
406
+ padding-top: theme(digitv2.spacers.spacer0);
407
+ }
408
+
409
+ .digit-sidebar-items-container {
410
+
411
+ display: flex !important;
412
+ flex-direction: column;
413
+ gap: theme(digitv2.spacers.spacer6);
414
+ margin-top: theme(digitv2.spacers.spacer6);
415
+
416
+ .item-child-wrapper {
417
+ width: 100%;
418
+ height: theme(digitv2.spacers.spacer10);
419
+ display: flex;
420
+ align-items: center;
421
+ justify-content: center;
422
+
423
+ .digit-sidebar-item {
424
+ padding: theme(digitv2.spacers.spacer0);
425
+ width: theme(digitv2.spacers.spacer6);
426
+ height: 100%;
427
+
428
+
429
+ .icon {
430
+ margin-right: theme(digitv2.spacers.spacer3);
431
+ margin-left: theme(digitv2.spacers.spacer3);
432
+ }
433
+
434
+ &.parentLevel {
435
+ width: 100%;
436
+ }
437
+ }
438
+
439
+ .digit-sidebar-item:active,
440
+ .digit-sidebar-item.selected,
441
+ .digit-sidebar-item.selectedAsParent {
442
+ background: theme(digitv2.lightTheme.primary-1);
443
+ display: flex;
444
+ align-items: center;
445
+ justify-content: center;
446
+ }
447
+
448
+ .digit-sidebar-item.selected::before,
449
+ .digit-sidebar-item:active::before,
450
+ .digit-sidebar-item.selectedAsParent::before,
451
+ .digit-sidebar-item:active:hover::before,
452
+ .digit-sidebar-item.selected:hover::before {
453
+ content: '';
454
+ position: absolute;
455
+ top: 0.062rem;
456
+ left: 0;
457
+ bottom: 0.063rem;
458
+ width: theme(digitv2.spacers.spacer1);
459
+ background: theme(digitv2.lightTheme.paper-primary);
460
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
461
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
462
+ }
463
+
464
+ .digit-sidebar-item.secondary:active,
465
+ .digit-sidebar-item.secondary.selected,
466
+ .digit-sidebar-item.secondary:active:hover,
467
+ .digit-sidebar-item.secondary.selected:hover ,
468
+ .digit-sidebar-item.secondary.selectedAsParent,
469
+ .digit-sidebar-item.secondary.selectedAsParent:hover{
470
+ background: #FFFFFF4D;
471
+ }
472
+
473
+ .digit-sidebar-item.light.secondary:active,
474
+ .digit-sidebar-item.light.secondary.selected,
475
+ .digit-sidebar-item.light.secondary:active:hover,
476
+ .digit-sidebar-item.light.secondary.selected:hover,
477
+ .digit-sidebar-item.light.secondary.selectedAsParent,
478
+ .digit-sidebar-item.light.secondary.selectedAsParent:hover {
479
+ background: #c84c0e1a;
480
+
481
+ .item-label {
482
+ color: theme(digitv2.lightTheme.primary-2);
483
+ }
484
+ }
485
+
486
+ .digit-sidebar-item.light.secondary.selected::before,
487
+ .digit-sidebar-item.light.secondary:active::before,
488
+ .digit-sidebar-item.light.secondary:active:hover::before,
489
+ .digit-sidebar-item.light.secondary.selected:hover::before,
490
+ .digit-sidebar-item.light.secondary.selectedAsParent::before,
491
+ .digit-sidebar-item.light.secondary.selectedAsParent:hover::before{
492
+ content: '';
493
+ position: absolute;
494
+ top: 0.063rem;
495
+ left: 0;
496
+ bottom: 0.063rem;
497
+ width: theme(digitv2.spacers.spacer1);
498
+ background: theme(digitv2.lightTheme.primary-1);
499
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
500
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
501
+ }
502
+
503
+ }
504
+
505
+ &.searchDisabled{
506
+ margin-top: theme(digitv2.spacers.spacer0);
507
+ }
508
+ }
509
+ }
510
+ }
511
+
512
+ .digit-sidebar-footer-img {
513
+ width: 6.563rem;
514
+ height: theme(digitv2.spacers.spacer3);
515
+ margin-left: 25%;
516
+ }
@@ -10,6 +10,18 @@
10
10
  @apply relative flex-1;
11
11
  min-height: 4rem;
12
12
  z-index: 1;
13
+
14
+ @media (max-aspect-ratio: 9/16) {
15
+ min-width: 3.75rem;
16
+ }
17
+
18
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
19
+ min-width: 5rem;
20
+ }
21
+
22
+ @media (min-aspect-ratio: 3/4) {
23
+ min-width: 6.25rem;
24
+ }
13
25
  }
14
26
 
15
27
  .digit-stepper-content {
@@ -24,6 +36,25 @@
24
36
 
25
37
  .stepper-label {
26
38
  @extend .typography.body-s;
39
+ font-family: theme(digitv2.fontFamily.sans);
40
+ font-style: theme(digitv2.fontStyle.normal);
41
+ font-weight: theme(digitv2.fontWeight.regular);
42
+ line-height: theme(digitv2.lineHeight.lineheight2);
43
+
44
+ @media (max-aspect-ratio: 9/16) {
45
+ /* Media query for mobile */
46
+ font-size: theme(digitv2.fontSize.body-s.mobile);
47
+ }
48
+
49
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
50
+ /* Media query for tablets */
51
+ font-size: theme(digitv2.fontSize.body-s.tablet);
52
+ }
53
+
54
+ @media (min-aspect-ratio: 3/4) {
55
+ /* Media query for desktop */
56
+ font-size: theme(digitv2.fontSize.body-s.desktop);
57
+ }
27
58
  @apply text-center;
28
59
  color: theme(digitv2.lightTheme.text-secondary);
29
60
  letter-spacing: theme(digitv2.spacers.spacer0);
@@ -34,6 +65,25 @@
34
65
 
35
66
  &.current {
36
67
  @extend .typography.heading-s;
68
+ font-family: theme(digitv2.fontFamily.sans);
69
+ font-style: theme(digitv2.fontStyle.normal);
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
+ }
37
87
  line-height: 1.37rem;
38
88
  color: theme(digitv2.lightTheme.text-primary);
39
89
  }
@@ -79,21 +129,30 @@
79
129
  height: 0.125rem;
80
130
 
81
131
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
82
- min-width: 6.313rem;
132
+ /*min-width: 6.313rem;*/
83
133
  max-width: 39.438rem;
84
134
  }
85
135
 
86
136
  @media (max-aspect-ratio: 9/16) {
87
- min-width: 4.313rem;
137
+ /*min-width: 4.313rem;*/
88
138
  max-width: 16.875rem;
89
139
  top: 0.875rem;
90
140
  }
91
141
 
92
142
  @media (min-aspect-ratio: 3/4) {
93
- min-width: 5.313rem;
143
+ /*min-width: 5.313rem;*/
94
144
  max-width: 82.688rem;
95
145
  }
96
146
 
147
+ &.lastbutone{
148
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
149
+ min-width: unset;
150
+ }
151
+
152
+ @media (max-aspect-ratio: 9/16) {
153
+ min-width: unset;
154
+ }
155
+ }
97
156
  &.active {
98
157
  background-color: theme(digitv2.lightTheme.primary-1);
99
158
  border-color: theme(digitv2.lightTheme.primary-1);
@@ -104,7 +163,7 @@
104
163
  &.vertical {
105
164
  top: calc(50% + (theme(digitv2.spacers.spacer2)));
106
165
  bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
107
- left: -(theme(digitv2.spacers.spacer12));
166
+ left: -3.1rem;
108
167
  width: 0.125rem;
109
168
  height: auto;
110
169
  transform: rotate(90deg);
@@ -113,6 +172,22 @@
113
172
  background-color: transparent;
114
173
  border-color: theme(digitv2.lightTheme.primary-1);
115
174
  }
175
+ @media (max-aspect-ratio: 9/16) {
176
+ left: -3.65rem;
177
+ min-width: 4.313rem;
178
+ max-width: 16.875rem;
179
+ top: 0.875rem;
180
+ }
181
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
182
+ left: -3.5rem;
183
+ min-width: 6.313rem;
184
+ max-width: 39.438rem;
185
+ }
186
+
187
+ @media (min-aspect-ratio: 3/4) {
188
+ min-width: 5.313rem;
189
+ max-width: 82.688rem;
190
+ }
116
191
  }
117
192
  }
118
193
 
@@ -124,6 +199,25 @@
124
199
  .stepper-label {
125
200
  &.completed {
126
201
  @extend .typography.heading-s;
202
+ font-family: theme(digitv2.fontFamily.sans);
203
+ font-style: theme(digitv2.fontStyle.normal);
204
+ font-weight: theme(digitv2.fontWeight.bold);
205
+ line-height: theme(digitv2.lineHeight.lineheight1);
206
+
207
+ @media (max-aspect-ratio: 9/16) {
208
+ /* Media query for mobile */
209
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
210
+ }
211
+
212
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
213
+ /* Media query for tablets */
214
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
215
+ }
216
+
217
+ @media (min-aspect-ratio: 3/4) {
218
+ /* Media query for desktop */
219
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
220
+ }
127
221
  line-height: 1.37rem;
128
222
  color: theme(digitv2.lightTheme.text-primary);
129
223
  }
@@ -132,8 +226,8 @@
132
226
  }
133
227
 
134
228
  .digit-stepper-container::-webkit-scrollbar {
135
- width: theme(digitv2.spacers.spacer2);
136
- height: theme(digitv2.spacers.spacer2);
229
+ width: theme(digitv2.spacers.spacer0);
230
+ height: theme(digitv2.spacers.spacer0);
137
231
  background-color: theme(digitv2.lightTheme.generic-background);
138
232
  }
139
233
 
@@ -145,4 +239,10 @@
145
239
  .digit-stepper-container::-webkit-scrollbar-thumb {
146
240
  background-color: theme(digitv2.lightTheme.generic-divider);
147
241
  border-radius: 0.563rem;
242
+ }
243
+
244
+ .stepper-vertical-divider{
245
+ position: absolute;
246
+ left: theme(digitv2.spacers.spacer10);
247
+ margin: theme(digitv2.spacers.spacer0);
148
248
  }