@egovernments/digit-ui-components-css 0.0.2-beta.23 → 0.0.2-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/index.css +831 -183
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/accordionV2.scss +105 -0
- package/src/digitv2/components/bottomSheetV2.scss +12 -1
- package/src/digitv2/components/breadcrumbV2.scss +38 -0
- package/src/digitv2/components/buttonsV2.scss +27 -25
- package/src/digitv2/components/checkboxV2.scss +19 -0
- package/src/digitv2/components/fieldV1.scss +38 -0
- package/src/digitv2/components/headerdropdownV2.scss +57 -0
- package/src/digitv2/components/mobilesidebarV2.scss +38 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +38 -0
- package/src/digitv2/components/panelCardV2.scss +19 -0
- package/src/digitv2/components/popUpV2.scss +38 -0
- package/src/digitv2/components/radiobtnV2.scss +19 -0
- package/src/digitv2/components/selectDropdownV2.scss +38 -0
- package/src/digitv2/components/sidebarV2.scss +101 -75
- package/src/digitv2/components/stepperV2.scss +19 -0
- package/src/digitv2/components/switchV2.scss +5 -1
- package/src/digitv2/components/textblockV2.scss +19 -0
- package/src/digitv2/components/timelineV2.scss +19 -0
- package/src/digitv2/components/toastV2.scss +79 -1
- package/src/digitv2/components/topbarV2.scss +19 -0
- package/src/digitv2/components/treeSelectV2.scss +19 -0
- package/src/digitv2/components/uploaderV2.scss +76 -0
- package/src/digitv2/components/viewCardFieldPairV2.scss +19 -0
- package/src/digitv2/index.scss +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.sidebar {
|
|
1
|
+
.digit-sidebar {
|
|
2
2
|
position: fixed;
|
|
3
3
|
height: 100%;
|
|
4
4
|
background-color: theme(digitv2.lightTheme.primary-2);
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
.sidebar-search-container {
|
|
22
|
+
.digit-sidebar-search-container {
|
|
23
23
|
height: 4.5rem;
|
|
24
24
|
min-width: 15rem;
|
|
25
25
|
width: auto;
|
|
26
26
|
padding: theme(digitv2.spacers.spacer4) !important;
|
|
27
27
|
|
|
28
|
-
.sidebar-search {
|
|
28
|
+
.digit-sidebar-search {
|
|
29
29
|
height: theme(digitv2.spacers.spacer10) !important;
|
|
30
30
|
min-width: 13rem;
|
|
31
31
|
|
|
@@ -61,12 +61,31 @@
|
|
|
61
61
|
::placeholder {
|
|
62
62
|
content: attr(placeholder);
|
|
63
63
|
@extend .typography.body-s;
|
|
64
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
65
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
66
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
67
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
68
|
+
|
|
69
|
+
@media (max-aspect-ratio: 9/16) {
|
|
70
|
+
/* Media query for mobile */
|
|
71
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
75
|
+
/* Media query for tablets */
|
|
76
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media (min-aspect-ratio: 3/4) {
|
|
80
|
+
/* Media query for desktop */
|
|
81
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
82
|
+
}
|
|
64
83
|
color: theme(digitv2.lightTheme.generic-background);
|
|
65
84
|
}
|
|
66
85
|
}
|
|
67
86
|
|
|
68
|
-
.sidebar-search-container.light {
|
|
69
|
-
.sidebar-search {
|
|
87
|
+
.digit-sidebar-search-container.light {
|
|
88
|
+
.digit-sidebar-search {
|
|
70
89
|
input {
|
|
71
90
|
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
72
91
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
@@ -97,13 +116,13 @@
|
|
|
97
116
|
|
|
98
117
|
}
|
|
99
118
|
|
|
100
|
-
.sidebar-items-container {
|
|
119
|
+
.digit-sidebar-items-container {
|
|
101
120
|
flex: 1;
|
|
102
121
|
overflow-y: auto;
|
|
103
122
|
overflow-x: hidden;
|
|
104
123
|
}
|
|
105
124
|
|
|
106
|
-
.sidebar-item {
|
|
125
|
+
.digit-sidebar-item {
|
|
107
126
|
display: flex;
|
|
108
127
|
align-items: center;
|
|
109
128
|
padding: theme(digitv2.spacers.spacer4);
|
|
@@ -113,40 +132,44 @@
|
|
|
113
132
|
cursor: pointer;
|
|
114
133
|
outline: none;
|
|
115
134
|
position: relative;
|
|
135
|
+
|
|
136
|
+
&.collapsed{
|
|
137
|
+
justify-content: center;
|
|
138
|
+
}
|
|
116
139
|
}
|
|
117
140
|
|
|
118
|
-
.sidebar-items-container::-webkit-scrollbar {
|
|
141
|
+
.digit-sidebar-items-container::-webkit-scrollbar {
|
|
119
142
|
width: 0.375rem;
|
|
120
143
|
}
|
|
121
144
|
|
|
122
|
-
.sidebar-items-container.dark::-webkit-scrollbar-track {
|
|
145
|
+
.digit-sidebar-items-container.dark::-webkit-scrollbar-track {
|
|
123
146
|
background: theme(digitv2.lightTheme.primary-2);
|
|
124
147
|
}
|
|
125
148
|
|
|
126
|
-
.sidebar-items-container.dark::-webkit-scrollbar-thumb {
|
|
149
|
+
.digit-sidebar-items-container.dark::-webkit-scrollbar-thumb {
|
|
127
150
|
background-color: #89ABBA;
|
|
128
151
|
border-radius: 0.563rem;
|
|
129
152
|
}
|
|
130
153
|
|
|
131
|
-
.sidebar-items-container.dark::-webkit-scrollbar-thumb:hover {
|
|
154
|
+
.digit-sidebar-items-container.dark::-webkit-scrollbar-thumb:hover {
|
|
132
155
|
background-color: #6C98A8;
|
|
133
156
|
}
|
|
134
157
|
|
|
135
|
-
.sidebar-items-container.dark::-webkit-scrollbar-thumb:active {
|
|
158
|
+
.digit-sidebar-items-container.dark::-webkit-scrollbar-thumb:active {
|
|
136
159
|
background-color: #56818E;
|
|
137
160
|
}
|
|
138
161
|
|
|
139
|
-
.sidebar-items-container.light::-webkit-scrollbar {
|
|
162
|
+
.digit-sidebar-items-container.light::-webkit-scrollbar {
|
|
140
163
|
width: 0.375rem;
|
|
141
164
|
background-color: theme(digitv2.lightTheme.generic-background);
|
|
142
165
|
}
|
|
143
166
|
|
|
144
|
-
.sidebar-items-container.light::-webkit-scrollbar-track {
|
|
167
|
+
.digit-sidebar-items-container.light::-webkit-scrollbar-track {
|
|
145
168
|
background-color: theme(digitv2.lightTheme.generic-background);
|
|
146
169
|
border-radius: 0.563rem;
|
|
147
170
|
}
|
|
148
171
|
|
|
149
|
-
.sidebar-items-container.light::-webkit-scrollbar-thumb {
|
|
172
|
+
.digit-sidebar-items-container.light::-webkit-scrollbar-thumb {
|
|
150
173
|
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
151
174
|
border-radius: 0.563rem;
|
|
152
175
|
}
|
|
@@ -189,24 +212,24 @@
|
|
|
189
212
|
margin-left: auto !important;
|
|
190
213
|
}
|
|
191
214
|
|
|
192
|
-
.sidebar-item:hover {
|
|
215
|
+
.digit-sidebar-item:hover {
|
|
193
216
|
background-color: #FFFFFF4D;
|
|
194
217
|
}
|
|
195
218
|
|
|
196
|
-
.sidebar-item.light:hover {
|
|
219
|
+
.digit-sidebar-item.light:hover {
|
|
197
220
|
background-color: theme(digitv2.lightTheme.generic-background);
|
|
198
221
|
}
|
|
199
222
|
|
|
200
|
-
.sidebar-item.light {
|
|
223
|
+
.digit-sidebar-item.light {
|
|
201
224
|
.item-label {
|
|
202
225
|
color: theme(digitv2.lightTheme.primary-2);
|
|
203
226
|
}
|
|
204
227
|
}
|
|
205
228
|
|
|
206
|
-
.sidebar-item:active,
|
|
207
|
-
.sidebar-item.selected,
|
|
208
|
-
.sidebar-item:active:hover,
|
|
209
|
-
.sidebar-item.selected:hover {
|
|
229
|
+
.digit-sidebar-item:active,
|
|
230
|
+
.digit-sidebar-item.selected,
|
|
231
|
+
.digit-sidebar-item:active:hover,
|
|
232
|
+
.digit-sidebar-item.selected:hover {
|
|
210
233
|
background: theme(digitv2.lightTheme.primary-1);
|
|
211
234
|
|
|
212
235
|
.item-label {
|
|
@@ -215,10 +238,10 @@
|
|
|
215
238
|
}
|
|
216
239
|
}
|
|
217
240
|
|
|
218
|
-
.sidebar-item.selected::before,
|
|
219
|
-
.sidebar-item:active::before,
|
|
220
|
-
.sidebar-item:active:hover::before,
|
|
221
|
-
.sidebar-item.selected:hover::before {
|
|
241
|
+
.digit-sidebar-item.selected::before,
|
|
242
|
+
.digit-sidebar-item:active::before,
|
|
243
|
+
.digit-sidebar-item:active:hover::before,
|
|
244
|
+
.digit-sidebar-item.selected:hover::before {
|
|
222
245
|
content: '';
|
|
223
246
|
position: absolute;
|
|
224
247
|
top: 0.062rem;
|
|
@@ -230,17 +253,17 @@
|
|
|
230
253
|
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
231
254
|
}
|
|
232
255
|
|
|
233
|
-
.sidebar-item.secondary:active,
|
|
234
|
-
.sidebar-item.secondary.selected,
|
|
235
|
-
.sidebar-item.secondary:active:hover,
|
|
236
|
-
.sidebar-item.secondary.selected:hover {
|
|
256
|
+
.digit-sidebar-item.secondary:active,
|
|
257
|
+
.digit-sidebar-item.secondary.selected,
|
|
258
|
+
.digit-sidebar-item.secondary:active:hover,
|
|
259
|
+
.digit-sidebar-item.secondary.selected:hover {
|
|
237
260
|
background: #FFFFFF4D;
|
|
238
261
|
}
|
|
239
262
|
|
|
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 {
|
|
263
|
+
.digit-sidebar-item.light.secondary:active,
|
|
264
|
+
.digit-sidebar-item.light.secondary.selected,
|
|
265
|
+
.digit-sidebar-item.light.secondary:active:hover,
|
|
266
|
+
.digit-sidebar-item.light.secondary.selected:hover {
|
|
244
267
|
background: #c84c0e1a;
|
|
245
268
|
|
|
246
269
|
.item-label {
|
|
@@ -248,10 +271,10 @@
|
|
|
248
271
|
}
|
|
249
272
|
}
|
|
250
273
|
|
|
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 {
|
|
274
|
+
.digit-sidebar-item.light.secondary.selected::before,
|
|
275
|
+
.digit-sidebar-item.light.secondary:active::before,
|
|
276
|
+
.digit-sidebar-item.light.secondary:active:hover::before,
|
|
277
|
+
.digit-sidebar-item.light.secondary.selected:hover::before {
|
|
255
278
|
content: '';
|
|
256
279
|
position: absolute;
|
|
257
280
|
top: 0.063rem;
|
|
@@ -263,16 +286,16 @@
|
|
|
263
286
|
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
264
287
|
}
|
|
265
288
|
|
|
266
|
-
.sidebar.hovered .item-label {
|
|
289
|
+
.digit-sidebar.hovered .item-label {
|
|
267
290
|
opacity: 1;
|
|
268
291
|
}
|
|
269
292
|
|
|
270
|
-
.sidebar-children {
|
|
293
|
+
.digit-sidebar-children {
|
|
271
294
|
margin-left: theme(digitv2.spacers.spacer6);
|
|
272
295
|
border-left: 0.031rem solid theme(digitv2.lightTheme.text-disabled);
|
|
273
296
|
}
|
|
274
297
|
|
|
275
|
-
.sidebar-bottom {
|
|
298
|
+
.digit-sidebar-bottom {
|
|
276
299
|
background-color: #FFFFFF33;
|
|
277
300
|
z-index: 5;
|
|
278
301
|
padding: theme(digitv2.spacers.spacer4);
|
|
@@ -282,7 +305,7 @@
|
|
|
282
305
|
padding-right: theme(digitv2.spacers.spacer0);
|
|
283
306
|
padding-left: theme(digitv2.spacers.spacer0);
|
|
284
307
|
|
|
285
|
-
.sidebar-bottom-item {
|
|
308
|
+
.digit-sidebar-bottom-item {
|
|
286
309
|
display: flex;
|
|
287
310
|
align-items: center;
|
|
288
311
|
gap: theme(digitv2.spacers.spacer2);
|
|
@@ -298,7 +321,7 @@
|
|
|
298
321
|
margin-left: theme(digitv2.spacers.spacer6);
|
|
299
322
|
}
|
|
300
323
|
|
|
301
|
-
.sidebar-bottom-item-text {
|
|
324
|
+
.digit-sidebar-bottom-item-text {
|
|
302
325
|
|
|
303
326
|
font-family: theme(digitv2.fontFamily.sans);
|
|
304
327
|
font-style: theme(digitv2.fontStyle.normal);
|
|
@@ -324,14 +347,14 @@
|
|
|
324
347
|
}
|
|
325
348
|
}
|
|
326
349
|
|
|
327
|
-
&.light .sidebar-bottom-item .sidebar-bottom-item-text {
|
|
350
|
+
&.light .digit-sidebar-bottom-item .digit-sidebar-bottom-item-text {
|
|
328
351
|
color: theme(digitv2.lightTheme.primary-2);
|
|
329
352
|
}
|
|
330
353
|
|
|
331
354
|
&.light {
|
|
332
355
|
border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
333
356
|
|
|
334
|
-
.sidebar-bottom-item:hover {
|
|
357
|
+
.digit-sidebar-bottom-item:hover {
|
|
335
358
|
background-color: theme(digitv2.lightTheme.generic-background);
|
|
336
359
|
}
|
|
337
360
|
|
|
@@ -344,18 +367,21 @@
|
|
|
344
367
|
}
|
|
345
368
|
}
|
|
346
369
|
|
|
347
|
-
.sidebar {
|
|
370
|
+
.digit-sidebar {
|
|
348
371
|
&.collapsed {
|
|
349
372
|
|
|
350
373
|
padding-left: theme(digitv2.spacers.spacer0);
|
|
351
374
|
padding-right: theme(digitv2.spacers.spacer0);
|
|
352
375
|
|
|
353
|
-
.sidebar-search-container-collapsed {
|
|
376
|
+
.digit-sidebar-search-container-collapsed {
|
|
354
377
|
padding-left: theme(digitv2.spacers.spacer3);
|
|
355
378
|
padding-right: theme(digitv2.spacers.spacer3);
|
|
379
|
+
display: flex;
|
|
380
|
+
align-items: center;
|
|
381
|
+
justify-content: center;
|
|
356
382
|
}
|
|
357
383
|
|
|
358
|
-
.sidebar-items-container {
|
|
384
|
+
.digit-sidebar-items-container {
|
|
359
385
|
|
|
360
386
|
display: flex !important;
|
|
361
387
|
flex-direction: column;
|
|
@@ -369,7 +395,7 @@
|
|
|
369
395
|
align-items: center;
|
|
370
396
|
justify-content: center;
|
|
371
397
|
|
|
372
|
-
.sidebar-item {
|
|
398
|
+
.digit-sidebar-item {
|
|
373
399
|
padding: theme(digitv2.spacers.spacer0);
|
|
374
400
|
width: theme(digitv2.spacers.spacer6);
|
|
375
401
|
height: 100%;
|
|
@@ -385,20 +411,20 @@
|
|
|
385
411
|
}
|
|
386
412
|
}
|
|
387
413
|
|
|
388
|
-
.sidebar-item:active,
|
|
389
|
-
.sidebar-item.selected,
|
|
390
|
-
.sidebar-item.selectedAsParent {
|
|
414
|
+
.digit-sidebar-item:active,
|
|
415
|
+
.digit-sidebar-item.selected,
|
|
416
|
+
.digit-sidebar-item.selectedAsParent {
|
|
391
417
|
background: theme(digitv2.lightTheme.primary-1);
|
|
392
418
|
display: flex;
|
|
393
419
|
align-items: center;
|
|
394
420
|
justify-content: center;
|
|
395
421
|
}
|
|
396
422
|
|
|
397
|
-
.sidebar-item.selected::before,
|
|
398
|
-
.sidebar-item:active::before,
|
|
399
|
-
.sidebar-item.selectedAsParent::before,
|
|
400
|
-
.sidebar-item:active:hover::before,
|
|
401
|
-
.sidebar-item.selected:hover::before {
|
|
423
|
+
.digit-sidebar-item.selected::before,
|
|
424
|
+
.digit-sidebar-item:active::before,
|
|
425
|
+
.digit-sidebar-item.selectedAsParent::before,
|
|
426
|
+
.digit-sidebar-item:active:hover::before,
|
|
427
|
+
.digit-sidebar-item.selected:hover::before {
|
|
402
428
|
content: '';
|
|
403
429
|
position: absolute;
|
|
404
430
|
top: 0.062rem;
|
|
@@ -410,21 +436,21 @@
|
|
|
410
436
|
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
411
437
|
}
|
|
412
438
|
|
|
413
|
-
.sidebar-item.secondary:active,
|
|
414
|
-
.sidebar-item.secondary.selected,
|
|
415
|
-
.sidebar-item.secondary:active:hover,
|
|
416
|
-
.sidebar-item.secondary.selected:hover ,
|
|
417
|
-
.sidebar-item.secondary.selectedAsParent,
|
|
418
|
-
.sidebar-item.secondary.selectedAsParent:hover{
|
|
439
|
+
.digit-sidebar-item.secondary:active,
|
|
440
|
+
.digit-sidebar-item.secondary.selected,
|
|
441
|
+
.digit-sidebar-item.secondary:active:hover,
|
|
442
|
+
.digit-sidebar-item.secondary.selected:hover ,
|
|
443
|
+
.digit-sidebar-item.secondary.selectedAsParent,
|
|
444
|
+
.digit-sidebar-item.secondary.selectedAsParent:hover{
|
|
419
445
|
background: #FFFFFF4D;
|
|
420
446
|
}
|
|
421
447
|
|
|
422
|
-
.sidebar-item.light.secondary:active,
|
|
423
|
-
.sidebar-item.light.secondary.selected,
|
|
424
|
-
.sidebar-item.light.secondary:active:hover,
|
|
425
|
-
.sidebar-item.light.secondary.selected:hover,
|
|
426
|
-
.sidebar-item.light.secondary.selectedAsParent,
|
|
427
|
-
.sidebar-item.light.secondary.selectedAsParent:hover {
|
|
448
|
+
.digit-sidebar-item.light.secondary:active,
|
|
449
|
+
.digit-sidebar-item.light.secondary.selected,
|
|
450
|
+
.digit-sidebar-item.light.secondary:active:hover,
|
|
451
|
+
.digit-sidebar-item.light.secondary.selected:hover,
|
|
452
|
+
.digit-sidebar-item.light.secondary.selectedAsParent,
|
|
453
|
+
.digit-sidebar-item.light.secondary.selectedAsParent:hover {
|
|
428
454
|
background: #c84c0e1a;
|
|
429
455
|
|
|
430
456
|
.item-label {
|
|
@@ -432,12 +458,12 @@
|
|
|
432
458
|
}
|
|
433
459
|
}
|
|
434
460
|
|
|
435
|
-
.sidebar-item.light.secondary.selected::before,
|
|
436
|
-
.sidebar-item.light.secondary:active::before,
|
|
437
|
-
.sidebar-item.light.secondary:active:hover::before,
|
|
438
|
-
.sidebar-item.light.secondary.selected:hover::before,
|
|
439
|
-
.sidebar-item.light.secondary.selectedAsParent::before,
|
|
440
|
-
.sidebar-item.light.secondary.selectedAsParent:hover::before{
|
|
461
|
+
.digit-sidebar-item.light.secondary.selected::before,
|
|
462
|
+
.digit-sidebar-item.light.secondary:active::before,
|
|
463
|
+
.digit-sidebar-item.light.secondary:active:hover::before,
|
|
464
|
+
.digit-sidebar-item.light.secondary.selected:hover::before,
|
|
465
|
+
.digit-sidebar-item.light.secondary.selectedAsParent::before,
|
|
466
|
+
.digit-sidebar-item.light.secondary.selectedAsParent:hover::before{
|
|
441
467
|
content: '';
|
|
442
468
|
position: absolute;
|
|
443
469
|
top: 0.063rem;
|
|
@@ -24,6 +24,25 @@
|
|
|
24
24
|
|
|
25
25
|
.stepper-label {
|
|
26
26
|
@extend .typography.body-s;
|
|
27
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
28
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
29
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
30
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
31
|
+
|
|
32
|
+
@media (max-aspect-ratio: 9/16) {
|
|
33
|
+
/* Media query for mobile */
|
|
34
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
38
|
+
/* Media query for tablets */
|
|
39
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (min-aspect-ratio: 3/4) {
|
|
43
|
+
/* Media query for desktop */
|
|
44
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
45
|
+
}
|
|
27
46
|
@apply text-center;
|
|
28
47
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
29
48
|
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
&:focus-within{
|
|
22
22
|
outline: none;
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
&.switch-disabled{
|
|
26
|
+
background-color: theme(digitv2.lightTheme.text-disabled);
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
.digit-switch.checked {
|
|
@@ -66,7 +70,7 @@
|
|
|
66
70
|
@apply text-left;
|
|
67
71
|
word-break: break-word;
|
|
68
72
|
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
69
|
-
color: theme(digitv2.lightTheme.text-
|
|
73
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
70
74
|
|
|
71
75
|
&.labelFirst{
|
|
72
76
|
margin:theme(digitv2.spacers.spacer0);
|
|
@@ -42,6 +42,25 @@
|
|
|
42
42
|
|
|
43
43
|
.digit-text-block-body {
|
|
44
44
|
@extend .typography.body-s;
|
|
45
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
46
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
47
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
48
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
49
|
+
|
|
50
|
+
@media (max-aspect-ratio: 9/16) {
|
|
51
|
+
/* Media query for mobile */
|
|
52
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
56
|
+
/* Media query for tablets */
|
|
57
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-aspect-ratio: 3/4) {
|
|
61
|
+
/* Media query for desktop */
|
|
62
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
63
|
+
}
|
|
45
64
|
color: theme(digitv2.lightTheme.generic-inputborder);
|
|
46
65
|
}
|
|
47
66
|
}
|
|
@@ -73,6 +73,25 @@
|
|
|
73
73
|
|
|
74
74
|
.timeline-date {
|
|
75
75
|
@extend .typography.body-s;
|
|
76
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
77
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
78
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
79
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
80
|
+
|
|
81
|
+
@media (max-aspect-ratio: 9/16) {
|
|
82
|
+
/* Media query for mobile */
|
|
83
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
87
|
+
/* Media query for tablets */
|
|
88
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (min-aspect-ratio: 3/4) {
|
|
92
|
+
/* Media query for desktop */
|
|
93
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
94
|
+
}
|
|
76
95
|
@apply text-left;
|
|
77
96
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
78
97
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*.digit-toast-success {
|
|
2
2
|
@apply fixed flex z-20 w-full max-w-full left-0 items-center;
|
|
3
3
|
bottom: -(theme(digitv2.spacers.spacer12));
|
|
4
4
|
gap: theme(digitv2.spacers.spacer2);
|
|
@@ -76,6 +76,84 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.digit-toast-success.animate {
|
|
80
|
+
animation: slideInFromBottom 0.5s ease forwards;
|
|
81
|
+
}*/
|
|
82
|
+
|
|
83
|
+
.digit-toast-success {
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
width: auto;
|
|
86
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
87
|
+
height: theme(digitv2.spacers.spacer12);
|
|
88
|
+
padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer3) !important;
|
|
89
|
+
@apply fixed flex z-20 items-center;
|
|
90
|
+
background-color: theme(digitv2.lightTheme.alert-success);
|
|
91
|
+
transition: bottom 0.5s ease;
|
|
92
|
+
left: 0;
|
|
93
|
+
|
|
94
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
95
|
+
min-width: 30rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (max-aspect-ratio: 9/16) {
|
|
99
|
+
@apply w-full min-w-full;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (min-aspect-ratio: 3/4){
|
|
103
|
+
min-width: 50rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.digit-info {
|
|
107
|
+
background-color: theme(digitv2.lightTheme.alert-info);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.digit-error {
|
|
111
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.digit-warning {
|
|
115
|
+
background-color: theme(digitv2.lightTheme.alert-warning);
|
|
116
|
+
|
|
117
|
+
&.digit-warning-buttons {
|
|
118
|
+
@apply block;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.digit-warning-button-container {
|
|
123
|
+
@apply w-full flex justify-end;
|
|
124
|
+
|
|
125
|
+
button {
|
|
126
|
+
margin-left: 0.625rem;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.digit-toast-sub-container {
|
|
131
|
+
@apply flex;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
svg {
|
|
135
|
+
@apply flex-shrink-0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.toast-label {
|
|
139
|
+
@extend .typography.caption-s;
|
|
140
|
+
@apply text-left overflow-hidden whitespace-no-wrap flex-grow flex items-center h-6;
|
|
141
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
142
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
143
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
144
|
+
text-overflow: ellipsis;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@keyframes slideInFromBottom {
|
|
149
|
+
from {
|
|
150
|
+
bottom: -100%;
|
|
151
|
+
}
|
|
152
|
+
to {
|
|
153
|
+
bottom: 4rem;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
79
157
|
.digit-toast-success.animate {
|
|
80
158
|
animation: slideInFromBottom 0.5s ease forwards;
|
|
81
159
|
}
|
|
@@ -376,6 +376,25 @@
|
|
|
376
376
|
.digit-topbar-ulb-mobileview {
|
|
377
377
|
@apply overflow-hidden whitespace-no-wrap;
|
|
378
378
|
@extend .typography.body-s;
|
|
379
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
380
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
381
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
382
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
383
|
+
|
|
384
|
+
@media (max-aspect-ratio: 9/16) {
|
|
385
|
+
/* Media query for mobile */
|
|
386
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
390
|
+
/* Media query for tablets */
|
|
391
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@media (min-aspect-ratio: 3/4) {
|
|
395
|
+
/* Media query for desktop */
|
|
396
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
397
|
+
}
|
|
379
398
|
text-overflow: ellipsis;
|
|
380
399
|
color: theme(digitv2.lightTheme.text-primary);
|
|
381
400
|
|
|
@@ -125,6 +125,25 @@
|
|
|
125
125
|
}
|
|
126
126
|
.digit-option-label {
|
|
127
127
|
@extend .typography.body-s;
|
|
128
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
129
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
130
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
131
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
132
|
+
|
|
133
|
+
@media (max-aspect-ratio: 9/16) {
|
|
134
|
+
/* Media query for mobile */
|
|
135
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
139
|
+
/* Media query for tablets */
|
|
140
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (min-aspect-ratio: 3/4) {
|
|
144
|
+
/* Media query for desktop */
|
|
145
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
146
|
+
}
|
|
128
147
|
@apply overflow-hidden w-full;
|
|
129
148
|
flex: 1;
|
|
130
149
|
color: theme(digitv2.lightTheme.text-primary);}
|