@egovernments/digit-ui-components-css 0.0.1-pucar.3 → 0.0.2-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 (53) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/index.css +6391 -4208
  3. package/dist/index.min.css +2 -2
  4. package/package.json +4 -2
  5. package/src/digitv2/components/actionbarV2.scss +207 -0
  6. package/src/digitv2/components/backLinkV2.scss +37 -0
  7. package/src/digitv2/components/breadcrumbV2.scss +57 -0
  8. package/src/digitv2/components/buttonsV2.scss +45 -2
  9. package/src/digitv2/components/cardV2.scss +498 -0
  10. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  11. package/src/digitv2/components/cardlabelV2.scss +8 -0
  12. package/src/digitv2/components/checkboxV2.scss +4 -0
  13. package/src/digitv2/components/{removeableTagV2.scss → chipV2.scss} +5 -0
  14. package/src/digitv2/components/dividerV2.scss +11 -0
  15. package/src/digitv2/components/errorMessageV2.scss +2 -0
  16. package/src/digitv2/components/fieldV1.scss +1 -1
  17. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  18. package/src/digitv2/components/infoCardV2.scss +1 -4
  19. package/src/digitv2/components/labelFieldPairV2.scss +20 -11
  20. package/src/digitv2/components/mobileNumberV2.scss +1 -1
  21. package/src/digitv2/components/mobilesidebarV2.scss +439 -0
  22. package/src/digitv2/components/multiSelectDropdownV2.scss +1 -1
  23. package/src/digitv2/components/popUpV2.scss +29 -7
  24. package/src/digitv2/components/radiobtnV2.scss +6 -4
  25. package/src/digitv2/components/selectDropdownV2.scss +3 -3
  26. package/src/digitv2/components/sidebarV2.scss +409 -0
  27. package/src/digitv2/components/stepperV2.scss +30 -9
  28. package/src/digitv2/components/textInputV2.scss +1 -1
  29. package/src/digitv2/components/textareaV2.scss +1 -1
  30. package/src/digitv2/components/timelineV2.scss +55 -11
  31. package/src/digitv2/components/tooltipwrapperV2.scss +96 -0
  32. package/src/digitv2/components/topbarV2.scss +388 -0
  33. package/src/digitv2/components/uploaderV2.scss +98 -10
  34. package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
  35. package/src/digitv2/index.scss +14 -4
  36. package/src/digitv2/typography.scss +1 -1
  37. package/src/index.scss +0 -4
  38. package/src/pages/employee/index.scss +1 -1
  39. package/img/browser-icon.png +0 -0
  40. package/img/m_seva_white_logo.png +0 -0
  41. package/img/mseva-demo.png +0 -0
  42. package/svg/arrowdown.svg +0 -1
  43. package/svg/arrowleft.svg +0 -1
  44. package/svg/calendar.svg +0 -1
  45. package/svg/camera.svg +0 -4
  46. package/svg/check.svg +0 -4
  47. package/svg/close.svg +0 -4
  48. package/svg/error.svg +0 -4
  49. package/svg/error2.svg +0 -5
  50. package/svg/searchicon.svg +0 -4
  51. package/svg/starempty.svg +0 -4
  52. package/svg/starfilled.svg +0 -5
  53. package/svg/success.svg +0 -4
@@ -55,8 +55,8 @@
55
55
  }
56
56
 
57
57
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
58
- top: 0.625rem;
59
- right: 0.625rem;
58
+ top: theme(digitv2.spacers.spacer3);
59
+ right: theme(digitv2.spacers.spacer3);
60
60
  }
61
61
 
62
62
  @media (max-width: 30rem) {
@@ -104,11 +104,6 @@
104
104
  @extend .typography.caption-s;
105
105
  }
106
106
  }
107
-
108
- .digit-popup-description {
109
- @extend .typography.body-l;
110
- color: theme(digitv2.lightTheme.text-primary);
111
- }
112
107
  }
113
108
 
114
109
  &.with-shadow {
@@ -145,9 +140,16 @@
145
140
  }
146
141
 
147
142
  .digit-popup-children-wrap {
143
+ @extend .typography.body-s;
148
144
  @apply overflow-hidden overflow-y-auto flex-col;
149
145
  display: flex;
150
146
  flex: 1;
147
+ color: theme(digitv2.lightTheme.text-primary);
148
+
149
+ .digit-popup-description {
150
+ @extend .typography.body-s;
151
+ color: theme(digitv2.lightTheme.text-primary);
152
+ }
151
153
 
152
154
  &.inline {
153
155
  flex-direction: row;
@@ -232,6 +234,26 @@
232
234
  width: 100%;
233
235
  }
234
236
  }
237
+
238
+ &.equal-buttons{
239
+ width: 100%;
240
+
241
+ @media (min-width: 30.063rem) {
242
+
243
+ button {
244
+ flex: 1;
245
+ }
246
+ }
247
+ }
248
+ }
249
+
250
+
251
+ &.equal-buttons{
252
+ width: 100%;
253
+
254
+ button{
255
+ flex:1;
256
+ }
235
257
  }
236
258
 
237
259
 
@@ -89,9 +89,10 @@
89
89
  }
90
90
 
91
91
  .digit-radio-btn-wrap input:checked~.digit-radio-btn-checkmark:after {
92
- @apply block h-3 w-3 rounded-full absolute;
92
+ @apply flex h-3 w-3 rounded-full absolute items-center;
93
+ left: 50%;
94
+ transform: translate(-50%);
93
95
  top: 25%;
94
- left: 25%;
95
96
  background-color: theme(digitv2.lightTheme.primary-1);
96
97
  }
97
98
 
@@ -100,9 +101,10 @@
100
101
  }
101
102
 
102
103
  .preselected .digit-radio-btn-wrap input:checked~.digit-radio-btn-checkmark:after {
103
- @apply block h-3 w-3 rounded-full absolute;
104
+ @apply flex h-3 w-3 rounded-full absolute items-center;
105
+ left: 50%;
106
+ transform: translate(-50%);
104
107
  top: 25%;
105
- left: 25%;
106
108
  background-color: theme(digitv2.lightTheme.text-disabled);
107
109
  }
108
110
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
  @media (max-aspect-ratio: 9/16) {
8
8
  /* Media query for mobile */
9
- max-width: 20.5rem;
9
+ max-width: 100%;
10
10
  width: 100%;
11
11
  }
12
12
  @media (min-aspect-ratio: 3/4) {
@@ -265,7 +265,7 @@
265
265
  }
266
266
  }
267
267
  .digit-dropdown-select-wrap {
268
- @apply mb-lg relative bg-white;
268
+ @apply relative bg-white w-full;
269
269
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
270
270
  /* Media query for tablets */
271
271
  max-width: 27.5rem;
@@ -347,7 +347,7 @@
347
347
  .digit-dropdown-options-card {
348
348
  width: 100% !important;
349
349
  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;
350
+ @apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
351
351
  max-height: 20vmax;
352
352
  p {
353
353
  @extend .light-text-color-primary;
@@ -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
+ }
@@ -13,32 +13,42 @@
13
13
  }
14
14
 
15
15
  .digit-stepper-content {
16
- @apply flex flex-col items-center;
16
+ @apply flex flex-col items-center font-sans font-regular;
17
17
  min-height: 4rem;
18
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
+
19
24
 
20
25
  .stepper-label {
21
26
  @extend .typography.body-s;
22
27
  @apply text-center;
23
28
  color: theme(digitv2.lightTheme.text-secondary);
24
29
  letter-spacing: theme(digitv2.spacers.spacer0);
30
+
25
31
  &.completed {
26
32
  color: theme(digitv2.lightTheme.text-primary);
27
33
  }
34
+
28
35
  &.current {
29
36
  @extend .typography.heading-s;
30
- line-height:1.37rem;
37
+ line-height: 1.37rem;
31
38
  color: theme(digitv2.lightTheme.text-primary);
32
39
  }
33
- &.vertical{
40
+
41
+ &.vertical {
34
42
  @apply text-left;
35
- margin-top:0.438rem;
43
+ margin-top: 0.438rem;
36
44
  }
37
45
  }
46
+
38
47
  &.vertical {
39
48
  @apply flex-row;
40
49
  }
41
50
  }
51
+
42
52
  .stepper-circle {
43
53
  @apply flex text-center justify-center items-center font-regular w-8 h-8;
44
54
  background-color: theme(digitv2.lightTheme.paper-primary);
@@ -46,16 +56,19 @@
46
56
  margin-top: theme(digitv2.spacers.spacer1);
47
57
  border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
48
58
  color: #787878;
59
+
49
60
  @media (max-aspect-ratio: 9/16) {
50
61
  @apply w-6 h-6;
51
62
  }
52
63
  }
64
+
53
65
  .active {
54
66
  @apply font-bold;
55
67
  background-color: theme(digitv2.lightTheme.primary-1);
56
68
  border-color: theme(digitv2.lightTheme.primary-1);
57
- color:theme(digitv2.lightTheme.paper-primary);
69
+ color: theme(digitv2.lightTheme.paper-primary);
58
70
  }
71
+
59
72
  .stepper-connect {
60
73
  @apply absolute;
61
74
  top: theme(digitv2.spacers.spacer5);
@@ -64,25 +77,30 @@
64
77
  border-top: 0.125rem solid theme(colors.border);
65
78
  z-index: -1;
66
79
  height: 0.125rem;
80
+
67
81
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
68
82
  min-width: 6.313rem;
69
83
  max-width: 39.438rem;
70
84
  }
85
+
71
86
  @media (max-aspect-ratio: 9/16) {
72
87
  min-width: 4.313rem;
73
88
  max-width: 16.875rem;
74
89
  top: 0.875rem;
75
90
  }
91
+
76
92
  @media (min-aspect-ratio: 3/4) {
77
93
  min-width: 5.313rem;
78
94
  max-width: 82.688rem;
79
95
  }
96
+
80
97
  &.active {
81
98
  background-color: theme(digitv2.lightTheme.primary-1);
82
99
  border-color: theme(digitv2.lightTheme.primary-1);
83
- height:theme(digitv2.spacers.spacer1);
100
+ height: theme(digitv2.spacers.spacer1);
84
101
  border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
85
102
  }
103
+
86
104
  &.vertical {
87
105
  top: calc(50% + (theme(digitv2.spacers.spacer2)));
88
106
  bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
@@ -90,20 +108,23 @@
90
108
  width: 0.125rem;
91
109
  height: auto;
92
110
  transform: rotate(90deg);
111
+
93
112
  &.active {
94
113
  background-color: transparent;
95
114
  border-color: theme(digitv2.lightTheme.primary-1);
96
115
  }
97
116
  }
98
117
  }
118
+
99
119
  .digit-stepper-content:hover {
100
120
  .stepper-circle.active {
101
121
  outline: theme(digitv2.spacers.spacer1) solid #F477381F;
102
122
  }
123
+
103
124
  .stepper-label {
104
125
  &.completed {
105
126
  @extend .typography.heading-s;
106
- line-height:1.37rem;
127
+ line-height: 1.37rem;
107
128
  color: theme(digitv2.lightTheme.text-primary);
108
129
  }
109
130
  }
@@ -111,8 +132,8 @@
111
132
  }
112
133
 
113
134
  .digit-stepper-container::-webkit-scrollbar {
114
- width:theme(digitv2.spacers.spacer2);
115
- height:theme(digitv2.spacers.spacer2);
135
+ width: theme(digitv2.spacers.spacer2);
136
+ height: theme(digitv2.spacers.spacer2);
116
137
  background-color: theme(digitv2.lightTheme.generic-background);
117
138
  }
118
139
 
@@ -380,7 +380,7 @@
380
380
 
381
381
  @media (max-aspect-ratio: 9/16) {
382
382
  /* Media query for mobile */
383
- max-width: 20.5rem;
383
+ max-width: 100%;
384
384
  width: 100%;
385
385
  }
386
386
 
@@ -74,7 +74,7 @@ textarea::-webkit-scrollbar-thumb {
74
74
 
75
75
  @media (max-aspect-ratio: 9/16) {
76
76
  /* Media query for mobile */
77
- max-width: 20.5rem;
77
+ max-width:100%;
78
78
  min-width: 9.75rem;
79
79
  width: 100%;
80
80
  }