@egovernments/digit-ui-components-css 0.0.2-beta.11 → 0.0.2-beta.13

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 (51) hide show
  1. package/CHANGELOG.md +92 -88
  2. package/README.md +80 -80
  3. package/dist/index.css +810 -16
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -69
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +206 -206
  8. package/src/digitv2/components/backLinkV2.scss +36 -36
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +56 -56
  11. package/src/digitv2/components/buttonsV2.scss +450 -451
  12. package/src/digitv2/components/cardV2.scss +497 -497
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
  14. package/src/digitv2/components/cardlabelV2.scss +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -83
  16. package/src/digitv2/components/chipV2.scss +129 -129
  17. package/src/digitv2/components/dividerV2.scss +10 -10
  18. package/src/digitv2/components/errorMessageV2.scss +20 -20
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +151 -151
  21. package/src/digitv2/components/infoCardV2.scss +139 -139
  22. package/src/digitv2/components/infobuttonV2.scss +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -66
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/mobilesidebarV2.scss +439 -0
  26. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  27. package/src/digitv2/components/panelCardV2.scss +160 -160
  28. package/src/digitv2/components/panelV2.scss +114 -114
  29. package/src/digitv2/components/popUpV2.scss +330 -330
  30. package/src/digitv2/components/radiobtnV2.scss +115 -115
  31. package/src/digitv2/components/selectDropdownV2.scss +364 -364
  32. package/src/digitv2/components/sidebarV2.scss +409 -0
  33. package/src/digitv2/components/stepperV2.scss +147 -147
  34. package/src/digitv2/components/textInputV2.scss +462 -462
  35. package/src/digitv2/components/textareaV2.scss +99 -99
  36. package/src/digitv2/components/textblockV2.scss +46 -46
  37. package/src/digitv2/components/timelineV2.scss +170 -170
  38. package/src/digitv2/components/toastV2.scss +80 -80
  39. package/src/digitv2/components/toggleV2.scss +72 -72
  40. package/src/digitv2/components/tooltipwrapperV2.scss +96 -0
  41. package/src/digitv2/components/topbarV2.scss +387 -387
  42. package/src/digitv2/components/treeSelectV2.scss +132 -132
  43. package/src/digitv2/components/uploaderV2.scss +556 -556
  44. package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
  45. package/src/digitv2/index.scss +172 -169
  46. package/src/digitv2/pages/employee/index.scss +1 -1
  47. package/src/digitv2/pages/employee/workbench.scss +615 -615
  48. package/src/digitv2/typography.scss +638 -638
  49. package/src/index.scss +677 -681
  50. package/src/pages/employee/index.scss +625 -625
  51. package/src/pages/employee/login.scss +220 -220
@@ -0,0 +1,409 @@
1
+ .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
+
15
+ &.hovered {
16
+ width: auto;
17
+ min-width: 15rem;
18
+ padding: theme(digitv2.spacers.spacer0);
19
+ }
20
+
21
+
22
+ .sidebar-search-container {
23
+ height: 4.5rem;
24
+ min-width: 15rem;
25
+ width: auto;
26
+ padding:theme(digitv2.spacers.spacer4) !important;
27
+
28
+ .sidebar-search {
29
+ height:theme(digitv2.spacers.spacer10) !important;
30
+ min-width: 13rem;
31
+
32
+ .digit-text-input-customIcon {
33
+ height:theme(digitv2.spacers.spacer6);
34
+ width:theme(digitv2.spacers.spacer6);
35
+ top:theme(digitv2.spacers.spacer2);
36
+ right:theme(digitv2.spacers.spacer2);
37
+ }
38
+
39
+ .input-container {
40
+ max-height: 100%;
41
+ }
42
+
43
+ input {
44
+ max-height: 100%;
45
+ background-color: transparent;
46
+ border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary);
47
+ color: theme(digitv2.lightTheme.generic-background);
48
+
49
+ ::placeholder {
50
+ color: theme(digitv2.lightTheme.generic-background);
51
+ }
52
+ }
53
+
54
+ .input-container:focus-within {
55
+ input {
56
+ border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary) !important;
57
+ }
58
+ }
59
+ }
60
+
61
+ ::placeholder {
62
+ content: attr(placeholder);
63
+ @extend .typography.body-s;
64
+ color: theme(digitv2.lightTheme.generic-background);
65
+ }
66
+ }
67
+
68
+ .sidebar-search-container.light {
69
+ .sidebar-search {
70
+ input {
71
+ background-color: theme(digitv2.lightTheme.paper-primary);
72
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
73
+ color: theme(digitv2.lightTheme.text-primary);
74
+
75
+ ::placeholder {
76
+ color: theme(digitv2.lightTheme.text-disabled);
77
+ }
78
+ }
79
+
80
+ .input-container:focus-within {
81
+ input {
82
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
83
+ }
84
+ }
85
+ }
86
+
87
+ ::placeholder {
88
+ color: theme(digitv2.lightTheme.text-disabled);
89
+ }
90
+ }
91
+
92
+ &.light {
93
+ background-color: theme(digitv2.lightTheme.paper-secondary);
94
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
95
+ }
96
+
97
+
98
+ }
99
+
100
+ .sidebar-items-container {
101
+ flex: 1;
102
+ overflow-y: auto;
103
+ overflow-x: hidden;
104
+ }
105
+
106
+ .sidebar-item {
107
+ display: flex;
108
+ align-items: center;
109
+ padding:theme(digitv2.spacers.spacer4);
110
+ color: theme(digitv2.lightTheme.paper-primary);
111
+ text-decoration: none;
112
+ transition: background-color 0.3s;
113
+ cursor: pointer;
114
+ outline: none;
115
+ position: relative;
116
+ }
117
+
118
+ .sidebar-items-container::-webkit-scrollbar {
119
+ width: 0.375rem;
120
+ }
121
+
122
+ .sidebar-items-container.dark::-webkit-scrollbar-track {
123
+ background: theme(digitv2.lightTheme.primary-2);
124
+ }
125
+
126
+ .sidebar-items-container.dark::-webkit-scrollbar-thumb {
127
+ background-color: #89ABBA;
128
+ border-radius: 0.563rem;
129
+ }
130
+
131
+ .sidebar-items-container.dark::-webkit-scrollbar-thumb:hover {
132
+ background-color: #6C98A8;
133
+ }
134
+
135
+ .sidebar-items-container.dark::-webkit-scrollbar-thumb:active {
136
+ background-color: #56818E;
137
+ }
138
+
139
+ .sidebar-items-container.light::-webkit-scrollbar {
140
+ width: 0.375rem;
141
+ background-color: theme(digitv2.lightTheme.generic-background);
142
+ }
143
+
144
+ .sidebar-items-container.light::-webkit-scrollbar-track {
145
+ background-color: theme(digitv2.lightTheme.generic-background);
146
+ border-radius: 0.563rem;
147
+ }
148
+
149
+ .sidebar-items-container.light::-webkit-scrollbar-thumb {
150
+ background-color: theme(digitv2.lightTheme.generic-divider);
151
+ border-radius: 0.563rem;
152
+ }
153
+
154
+ .icon {
155
+ margin-right:theme(digitv2.spacers.spacer3);
156
+ width:theme(digitv2.spacers.spacer6);
157
+ height:theme(digitv2.spacers.spacer6);
158
+ }
159
+
160
+ .item-label {
161
+
162
+ font-family: theme(digitv2.fontFamily.sans);
163
+ font-style: theme(digitv2.fontStyle.normal);
164
+ font-weight: theme(digitv2.fontWeight.regular);
165
+ line-height: theme(digitv2.lineHeight.lineheight2);
166
+
167
+ @media (max-aspect-ratio: 9/16) {
168
+ /* Media query for mobile */
169
+ font-size: theme(digitv2.fontSize.body-s.mobile);
170
+ }
171
+
172
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
173
+ /* Media query for tablets */
174
+ font-size: theme(digitv2.fontSize.body-s.tablet);
175
+ }
176
+
177
+ @media (min-aspect-ratio: 3/4) {
178
+ /* Media query for desktop */
179
+ font-size: theme(digitv2.fontSize.body-s.desktop);
180
+ }
181
+
182
+ opacity: 0;
183
+ transition: opacity 0.3s;
184
+ }
185
+
186
+ .expand-icon {
187
+ width:theme(digitv2.spacers.spacer6);
188
+ height:theme(digitv2.spacers.spacer6);
189
+ margin-left: auto !important;
190
+ }
191
+
192
+ .sidebar-item:hover {
193
+ background-color: #FFFFFF4D;
194
+ }
195
+
196
+ .sidebar-item.light:hover {
197
+ background-color: theme(digitv2.lightTheme.generic-background);
198
+ }
199
+
200
+ .sidebar-item.light {
201
+ .item-label {
202
+ color: theme(digitv2.lightTheme.primary-2);
203
+ }
204
+ }
205
+
206
+ .sidebar-item:active,
207
+ .sidebar-item.selected,
208
+ .sidebar-item:active:hover,
209
+ .sidebar-item.selected:hover {
210
+ background: theme(digitv2.lightTheme.primary-1);
211
+
212
+ .item-label {
213
+ @extend .typography.heading-s;
214
+ color: theme(digitv2.lightTheme.paper-primary);
215
+ }
216
+ }
217
+
218
+ .sidebar-item.selected::before,
219
+ .sidebar-item:active::before,
220
+ .sidebar-item:active:hover::before,
221
+ .sidebar-item.selected:hover::before{
222
+ content: '';
223
+ position: absolute;
224
+ top: 0.062rem;
225
+ left: 0;
226
+ bottom: 0.063rem;
227
+ width: theme(digitv2.spacers.spacer2);
228
+ background: theme(digitv2.lightTheme.paper-primary);
229
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
230
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
231
+ }
232
+
233
+ .sidebar-item.secondary:active,
234
+ .sidebar-item.secondary.selected,
235
+ .sidebar-item.secondary:active:hover,
236
+ .sidebar-item.secondary.selected:hover {
237
+ background: #FFFFFF4D;
238
+ }
239
+
240
+ .sidebar-item.light.secondary:active,
241
+ .sidebar-item.light.secondary.selected,
242
+ .sidebar-item.light.secondary:active:hover,
243
+ .sidebar-item.light.secondary.selected:hover {
244
+ background: #c84c0e1a;
245
+
246
+ .item-label {
247
+ color: theme(digitv2.lightTheme.primary-2);
248
+ }
249
+ }
250
+
251
+ .sidebar-item.light.secondary.selected::before,
252
+ .sidebar-item.light.secondary:active::before,
253
+ .sidebar-item.light.secondary:active:hover::before,
254
+ .sidebar-item.light.secondary.selected:hover::before{
255
+ content: '';
256
+ position: absolute;
257
+ top: 0.063rem;
258
+ left: 0;
259
+ bottom: 0.063rem;
260
+ width: theme(digitv2.spacers.spacer2);
261
+ background:theme(digitv2.lightTheme.primary-1);
262
+ border-top-right-radius: theme(digitv2.spacers.spacer1);
263
+ border-bottom-right-radius: theme(digitv2.spacers.spacer1);
264
+ }
265
+
266
+ .sidebar.hovered .item-label {
267
+ opacity: 1;
268
+ }
269
+
270
+ .sidebar-children {
271
+ margin-left:theme(digitv2.spacers.spacer6);
272
+ border-left: 0.031rem solid theme(digitv2.lightTheme.text-disabled);
273
+ }
274
+
275
+ .sidebar-bottom {
276
+ background-color: #FFFFFF33;
277
+ z-index: 5;
278
+ padding:theme(digitv2.spacers.spacer4);
279
+ display: flex;
280
+ flex-direction: column;
281
+ gap:theme(digitv2.spacers.spacer4);
282
+ padding-right: theme(digitv2.spacers.spacer0);
283
+ padding-left: theme(digitv2.spacers.spacer0);
284
+
285
+ .sidebar-bottom-item {
286
+ display: flex;
287
+ align-items: center;
288
+ gap:theme(digitv2.spacers.spacer2);
289
+ cursor: pointer;
290
+ height:theme(digitv2.spacers.spacer10);
291
+
292
+ &:hover {
293
+ background-color: #FFFFFF4D;
294
+ }
295
+
296
+ svg {
297
+ flex-shrink: 0;
298
+ margin-left:theme(digitv2.spacers.spacer6);
299
+ }
300
+
301
+ .sidebar-bottom-item-text {
302
+
303
+ font-family: theme(digitv2.fontFamily.sans);
304
+ font-style: theme(digitv2.fontStyle.normal);
305
+ font-weight: theme(digitv2.fontWeight.regular);
306
+ line-height: theme(digitv2.lineHeight.lineheight2);
307
+
308
+ @media (max-aspect-ratio: 9/16) {
309
+ /* Media query for mobile */
310
+ font-size: theme(digitv2.fontSize.body-xs.mobile);
311
+ }
312
+
313
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
314
+ /* Media query for tablets */
315
+ font-size: theme(digitv2.fontSize.body-xs.tablet);
316
+ }
317
+
318
+ @media (min-aspect-ratio: 3/4) {
319
+ /* Media query for desktop */
320
+ font-size: theme(digitv2.fontSize.body-xs.desktop);
321
+ }
322
+
323
+ color: theme(digitv2.lightTheme.paper-primary);
324
+ }
325
+ }
326
+
327
+ &.light .sidebar-bottom-item .sidebar-bottom-item-text {
328
+ color: theme(digitv2.lightTheme.primary-2);
329
+ }
330
+
331
+ &.light {
332
+ border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
333
+
334
+ .sidebar-bottom-item:hover {
335
+ background-color: theme(digitv2.lightTheme.generic-background);
336
+ }
337
+
338
+ }
339
+
340
+ .divider {
341
+ width: 80%;
342
+ height: 0.031rem;
343
+ background-color: theme(digitv2.lightTheme.generic-divider);
344
+ }
345
+ }
346
+
347
+ .sidebar {
348
+ &.collapsed {
349
+
350
+ padding-left: theme(digitv2.spacers.spacer0);
351
+ padding-right: theme(digitv2.spacers.spacer0);
352
+
353
+ .sidebar-search-container-collapsed {
354
+ padding-left:theme(digitv2.spacers.spacer3);
355
+ padding-right:theme(digitv2.spacers.spacer3);
356
+ }
357
+
358
+ .sidebar-items-container {
359
+
360
+ display: flex !important;
361
+ flex-direction: column;
362
+ gap:theme(digitv2.spacers.spacer6);
363
+ margin-top:theme(digitv2.spacers.spacer6);
364
+
365
+ .item-child-wrapper {
366
+ width: 100%;
367
+ height:theme(digitv2.spacers.spacer10);
368
+ display: flex;
369
+ align-items: center;
370
+ justify-content: center;
371
+
372
+ .sidebar-item {
373
+ padding: theme(digitv2.spacers.spacer0);
374
+ width:theme(digitv2.spacers.spacer6);
375
+ height: 100%;
376
+
377
+
378
+ .icon {
379
+ margin-right:theme(digitv2.spacers.spacer3);
380
+ margin-left:theme(digitv2.spacers.spacer3);
381
+ }
382
+
383
+ &.parentLevel {
384
+ width: 100%;
385
+ }
386
+ }
387
+
388
+ .sidebar-item:active,
389
+ .sidebar-item.selected,
390
+ .sidebar-item.selectedAsParent {
391
+ background: theme(digitv2.lightTheme.primary-1);
392
+ border-left: 0.25rem solid theme(digitv2.lightTheme.paper-primary);
393
+ display: flex;
394
+ align-items: center;
395
+ justify-content: center;
396
+
397
+ }
398
+
399
+
400
+ }
401
+ }
402
+ }
403
+ }
404
+
405
+ .digit-sidebar-footer-img {
406
+ width: 6.563rem;
407
+ height:theme(digitv2.spacers.spacer3);
408
+ margin-left: 25%;
409
+ }
@@ -1,148 +1,148 @@
1
- .digit-stepper-container {
2
- @apply flex overflow-auto;
3
- min-height: 4rem;
4
-
5
- &.vertical {
6
- @apply flex-col;
7
- }
8
-
9
- .digit-stepper-checkpoint {
10
- @apply relative flex-1;
11
- min-height: 4rem;
12
- z-index: 1;
13
- }
14
-
15
- .digit-stepper-content {
16
- @apply flex flex-col items-center font-sans font-regular;
17
- min-height: 4rem;
18
- gap: theme(digitv2.spacers.spacer2);
19
- color: theme(digitv2.lightTheme.text-secondary);
20
- font-size: theme(digitv2.spacers.spacer4);
21
- line-height: theme(digitv2.spacers.spacer6);
22
- text-align: center;
23
-
24
-
25
- .stepper-label {
26
- @extend .typography.body-s;
27
- @apply text-center;
28
- color: theme(digitv2.lightTheme.text-secondary);
29
- letter-spacing: theme(digitv2.spacers.spacer0);
30
-
31
- &.completed {
32
- color: theme(digitv2.lightTheme.text-primary);
33
- }
34
-
35
- &.current {
36
- @extend .typography.heading-s;
37
- line-height: 1.37rem;
38
- color: theme(digitv2.lightTheme.text-primary);
39
- }
40
-
41
- &.vertical {
42
- @apply text-left;
43
- margin-top: 0.438rem;
44
- }
45
- }
46
-
47
- &.vertical {
48
- @apply flex-row;
49
- }
50
- }
51
-
52
- .stepper-circle {
53
- @apply flex text-center justify-center items-center font-regular w-8 h-8;
54
- background-color: theme(digitv2.lightTheme.paper-primary);
55
- border-radius: 50%;
56
- margin-top: theme(digitv2.spacers.spacer1);
57
- border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
58
- color: #787878;
59
-
60
- @media (max-aspect-ratio: 9/16) {
61
- @apply w-6 h-6;
62
- }
63
- }
64
-
65
- .active {
66
- @apply font-bold;
67
- background-color: theme(digitv2.lightTheme.primary-1);
68
- border-color: theme(digitv2.lightTheme.primary-1);
69
- color: theme(digitv2.lightTheme.paper-primary);
70
- }
71
-
72
- .stepper-connect {
73
- @apply absolute;
74
- top: theme(digitv2.spacers.spacer5);
75
- left: calc(50% + (theme(digitv2.spacers.spacer2)));
76
- right: calc(-50% + (theme(digitv2.spacers.spacer2)));
77
- border-top: 0.125rem solid theme(colors.border);
78
- z-index: -1;
79
- height: 0.125rem;
80
-
81
- @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
82
- min-width: 6.313rem;
83
- max-width: 39.438rem;
84
- }
85
-
86
- @media (max-aspect-ratio: 9/16) {
87
- min-width: 4.313rem;
88
- max-width: 16.875rem;
89
- top: 0.875rem;
90
- }
91
-
92
- @media (min-aspect-ratio: 3/4) {
93
- min-width: 5.313rem;
94
- max-width: 82.688rem;
95
- }
96
-
97
- &.active {
98
- background-color: theme(digitv2.lightTheme.primary-1);
99
- border-color: theme(digitv2.lightTheme.primary-1);
100
- height: theme(digitv2.spacers.spacer1);
101
- border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
102
- }
103
-
104
- &.vertical {
105
- top: calc(50% + (theme(digitv2.spacers.spacer2)));
106
- bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
107
- left: -(theme(digitv2.spacers.spacer12));
108
- width: 0.125rem;
109
- height: auto;
110
- transform: rotate(90deg);
111
-
112
- &.active {
113
- background-color: transparent;
114
- border-color: theme(digitv2.lightTheme.primary-1);
115
- }
116
- }
117
- }
118
-
119
- .digit-stepper-content:hover {
120
- .stepper-circle.active {
121
- outline: theme(digitv2.spacers.spacer1) solid #F477381F;
122
- }
123
-
124
- .stepper-label {
125
- &.completed {
126
- @extend .typography.heading-s;
127
- line-height: 1.37rem;
128
- color: theme(digitv2.lightTheme.text-primary);
129
- }
130
- }
131
- }
132
- }
133
-
134
- .digit-stepper-container::-webkit-scrollbar {
135
- width: theme(digitv2.spacers.spacer2);
136
- height: theme(digitv2.spacers.spacer2);
137
- background-color: theme(digitv2.lightTheme.generic-background);
138
- }
139
-
140
- .digit-stepper-container::-webkit-scrollbar-track {
141
- background-color: theme(digitv2.lightTheme.generic-background);
142
- border-radius: 0.563rem;
143
- }
144
-
145
- .digit-stepper-container::-webkit-scrollbar-thumb {
146
- background-color: theme(digitv2.lightTheme.generic-divider);
147
- border-radius: 0.563rem;
1
+ .digit-stepper-container {
2
+ @apply flex overflow-auto;
3
+ min-height: 4rem;
4
+
5
+ &.vertical {
6
+ @apply flex-col;
7
+ }
8
+
9
+ .digit-stepper-checkpoint {
10
+ @apply relative flex-1;
11
+ min-height: 4rem;
12
+ z-index: 1;
13
+ }
14
+
15
+ .digit-stepper-content {
16
+ @apply flex flex-col items-center font-sans font-regular;
17
+ min-height: 4rem;
18
+ gap: theme(digitv2.spacers.spacer2);
19
+ color: theme(digitv2.lightTheme.text-secondary);
20
+ font-size: theme(digitv2.spacers.spacer4);
21
+ line-height: theme(digitv2.spacers.spacer6);
22
+ text-align: center;
23
+
24
+
25
+ .stepper-label {
26
+ @extend .typography.body-s;
27
+ @apply text-center;
28
+ color: theme(digitv2.lightTheme.text-secondary);
29
+ letter-spacing: theme(digitv2.spacers.spacer0);
30
+
31
+ &.completed {
32
+ color: theme(digitv2.lightTheme.text-primary);
33
+ }
34
+
35
+ &.current {
36
+ @extend .typography.heading-s;
37
+ line-height: 1.37rem;
38
+ color: theme(digitv2.lightTheme.text-primary);
39
+ }
40
+
41
+ &.vertical {
42
+ @apply text-left;
43
+ margin-top: 0.438rem;
44
+ }
45
+ }
46
+
47
+ &.vertical {
48
+ @apply flex-row;
49
+ }
50
+ }
51
+
52
+ .stepper-circle {
53
+ @apply flex text-center justify-center items-center font-regular w-8 h-8;
54
+ background-color: theme(digitv2.lightTheme.paper-primary);
55
+ border-radius: 50%;
56
+ margin-top: theme(digitv2.spacers.spacer1);
57
+ border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
58
+ color: #787878;
59
+
60
+ @media (max-aspect-ratio: 9/16) {
61
+ @apply w-6 h-6;
62
+ }
63
+ }
64
+
65
+ .active {
66
+ @apply font-bold;
67
+ background-color: theme(digitv2.lightTheme.primary-1);
68
+ border-color: theme(digitv2.lightTheme.primary-1);
69
+ color: theme(digitv2.lightTheme.paper-primary);
70
+ }
71
+
72
+ .stepper-connect {
73
+ @apply absolute;
74
+ top: theme(digitv2.spacers.spacer5);
75
+ left: calc(50% + (theme(digitv2.spacers.spacer2)));
76
+ right: calc(-50% + (theme(digitv2.spacers.spacer2)));
77
+ border-top: 0.125rem solid theme(colors.border);
78
+ z-index: -1;
79
+ height: 0.125rem;
80
+
81
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
82
+ min-width: 6.313rem;
83
+ max-width: 39.438rem;
84
+ }
85
+
86
+ @media (max-aspect-ratio: 9/16) {
87
+ min-width: 4.313rem;
88
+ max-width: 16.875rem;
89
+ top: 0.875rem;
90
+ }
91
+
92
+ @media (min-aspect-ratio: 3/4) {
93
+ min-width: 5.313rem;
94
+ max-width: 82.688rem;
95
+ }
96
+
97
+ &.active {
98
+ background-color: theme(digitv2.lightTheme.primary-1);
99
+ border-color: theme(digitv2.lightTheme.primary-1);
100
+ height: theme(digitv2.spacers.spacer1);
101
+ border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
102
+ }
103
+
104
+ &.vertical {
105
+ top: calc(50% + (theme(digitv2.spacers.spacer2)));
106
+ bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
107
+ left: -(theme(digitv2.spacers.spacer12));
108
+ width: 0.125rem;
109
+ height: auto;
110
+ transform: rotate(90deg);
111
+
112
+ &.active {
113
+ background-color: transparent;
114
+ border-color: theme(digitv2.lightTheme.primary-1);
115
+ }
116
+ }
117
+ }
118
+
119
+ .digit-stepper-content:hover {
120
+ .stepper-circle.active {
121
+ outline: theme(digitv2.spacers.spacer1) solid #F477381F;
122
+ }
123
+
124
+ .stepper-label {
125
+ &.completed {
126
+ @extend .typography.heading-s;
127
+ line-height: 1.37rem;
128
+ color: theme(digitv2.lightTheme.text-primary);
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ .digit-stepper-container::-webkit-scrollbar {
135
+ width: theme(digitv2.spacers.spacer2);
136
+ height: theme(digitv2.spacers.spacer2);
137
+ background-color: theme(digitv2.lightTheme.generic-background);
138
+ }
139
+
140
+ .digit-stepper-container::-webkit-scrollbar-track {
141
+ background-color: theme(digitv2.lightTheme.generic-background);
142
+ border-radius: 0.563rem;
143
+ }
144
+
145
+ .digit-stepper-container::-webkit-scrollbar-thumb {
146
+ background-color: theme(digitv2.lightTheme.generic-divider);
147
+ border-radius: 0.563rem;
148
148
  }