@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0
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 +154 -0
- package/README.md +11 -2
- package/dist/index.css +10295 -3600
- package/dist/index.min.css +3 -3
- package/package.json +8 -8
- package/src/digitv2/components/accordionV2.scss +214 -0
- package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
- package/src/digitv2/components/backLinkV2.scss +1 -1
- package/src/digitv2/components/bottomSheetV2.scss +121 -0
- package/src/digitv2/components/breadcrumbV2.scss +38 -0
- package/src/digitv2/components/buttonsV2.scss +82 -31
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +54 -6
- package/src/digitv2/components/chipV2.scss +39 -0
- package/src/digitv2/components/dividerV2.scss +13 -0
- package/src/digitv2/components/errorMessageV2.scss +29 -8
- package/src/digitv2/components/fieldV1.scss +47 -2
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
- package/src/digitv2/components/filterCardV2.scss +417 -0
- package/src/digitv2/components/footerV2.scss +208 -0
- package/src/digitv2/components/formCardV2.scss +234 -0
- package/src/digitv2/components/hamburgerV2.scss +555 -0
- package/src/digitv2/components/headerV2.scss +426 -0
- package/src/digitv2/components/headerdropdownV2.scss +233 -0
- package/src/digitv2/components/labelFieldPairV2.scss +37 -11
- package/src/digitv2/components/landingpagecardV2.scss +278 -0
- package/src/digitv2/components/loaderV2.scss +47 -0
- package/src/digitv2/components/menuCardV2.scss +116 -0
- package/src/digitv2/components/metricCardV2.scss +151 -0
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/multiSelectDropdownV2.scss +219 -8
- package/src/digitv2/components/otpInputV2.scss +99 -0
- package/src/digitv2/components/panelCardV2.scss +19 -0
- package/src/digitv2/components/panelV2.scss +19 -0
- package/src/digitv2/components/popUpV2.scss +86 -2
- package/src/digitv2/components/radiobtnV2.scss +35 -6
- package/src/digitv2/components/selectDropdownV2.scss +257 -13
- package/src/digitv2/components/selectionTagV2.scss +102 -0
- package/src/digitv2/components/sidePanelV2.scss +222 -0
- package/src/digitv2/components/sidenavV2.scss +516 -0
- package/src/digitv2/components/stepperV2.scss +106 -6
- package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
- package/src/digitv2/components/summaryCardV2.scss +100 -0
- package/src/digitv2/components/switchV2.scss +112 -0
- package/src/digitv2/components/tabV2.scss +126 -0
- package/src/digitv2/components/tableV2.scss +697 -0
- package/src/digitv2/components/tagV2.scss +108 -0
- package/src/digitv2/components/textInputV2.scss +5 -3
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/textblockV2.scss +38 -0
- package/src/digitv2/components/timelineV2.scss +144 -14
- package/src/digitv2/components/toastV2.scss +79 -1
- package/src/digitv2/components/toggleV2.scss +38 -0
- package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
- package/src/digitv2/components/treeSelectV2.scss +58 -1
- package/src/digitv2/index.scss +171 -5
- package/src/digitv2/pages/employee/workbench.scss +9 -9
- package/src/digitv2/typography.scss +24 -9
- package/src/index.scss +0 -4
|
@@ -7,15 +7,36 @@
|
|
|
7
7
|
word-break: break-word;
|
|
8
8
|
cursor: default;
|
|
9
9
|
|
|
10
|
-
.digit-error-icon{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
.digit-error-icon {
|
|
11
|
+
@apply flex items-center;
|
|
12
|
+
width: theme(digitv2.spacers.spacer4);
|
|
13
|
+
height: theme(digitv2.lineHeight.lineheight2);
|
|
14
14
|
}
|
|
15
|
+
|
|
15
16
|
.digit-error-message {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
@extend .typography.body-s;
|
|
18
|
+
@apply w-full;
|
|
19
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
20
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
21
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
22
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
23
|
+
|
|
24
|
+
@media (max-aspect-ratio: 9/16) {
|
|
25
|
+
/* Media query for mobile */
|
|
26
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
30
|
+
/* Media query for tablets */
|
|
31
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (min-aspect-ratio: 3/4) {
|
|
35
|
+
/* Media query for desktop */
|
|
36
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
40
|
+
color: theme(digitv2.lightTheme.alert-error)
|
|
20
41
|
}
|
|
21
42
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
@import url("../index.scss");
|
|
2
2
|
|
|
3
|
+
.label-field-wrapper{
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
8
|
+
}
|
|
9
|
+
|
|
3
10
|
.digit-header-content {
|
|
4
11
|
|
|
5
12
|
&.label {
|
|
6
|
-
@extend .typography.
|
|
13
|
+
@extend .typography.label;
|
|
7
14
|
@apply flex ;
|
|
8
15
|
color: theme(digitv2.lightTheme.text-primary);
|
|
9
16
|
gap: theme(digitv2.spacers.spacer1);
|
|
@@ -35,6 +42,25 @@
|
|
|
35
42
|
.info-icon .infotext {
|
|
36
43
|
@extend .typography.body-s;
|
|
37
44
|
@apply absolute text-center;
|
|
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
|
+
}
|
|
38
64
|
visibility: hidden;
|
|
39
65
|
width: 7.5rem;
|
|
40
66
|
background-color: #555555;
|
|
@@ -75,6 +101,25 @@
|
|
|
75
101
|
@apply flex justify-between items-baseline;
|
|
76
102
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
77
103
|
gap: theme(digitv2.spacers.spacer2);
|
|
104
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
105
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
106
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
107
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
108
|
+
|
|
109
|
+
@media (max-aspect-ratio: 9/16) {
|
|
110
|
+
/* Media query for mobile */
|
|
111
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
115
|
+
/* Media query for tablets */
|
|
116
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (min-aspect-ratio: 3/4) {
|
|
120
|
+
/* Media query for desktop */
|
|
121
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
122
|
+
}
|
|
78
123
|
|
|
79
124
|
|
|
80
125
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
@@ -82,7 +127,7 @@
|
|
|
82
127
|
}
|
|
83
128
|
|
|
84
129
|
@media (max-aspect-ratio: 9/16) {
|
|
85
|
-
max-width:
|
|
130
|
+
max-width: 100%;
|
|
86
131
|
width: 100%;
|
|
87
132
|
}
|
|
88
133
|
|
|
@@ -20,8 +20,14 @@
|
|
|
20
20
|
gap: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
.upload-options-svg-wrap{
|
|
24
|
+
width: theme(digitv2.spacers.spacer10);
|
|
25
|
+
height: theme(digitv2.spacers.spacer10);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
.upload-options-label {
|
|
24
|
-
@extend .typography.
|
|
30
|
+
@extend .typography.button.large;
|
|
25
31
|
@apply cursor-pointer;
|
|
26
32
|
color: theme(digitv2.lightTheme.primary-1);
|
|
27
33
|
}
|
|
@@ -45,7 +51,7 @@
|
|
|
45
51
|
|
|
46
52
|
@media (max-width: 30rem) {
|
|
47
53
|
height: 7.625rem;
|
|
48
|
-
animation:
|
|
54
|
+
animation: slideInFromBottomUploader 0.5s ease-out forwards;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
|
|
@@ -72,6 +78,10 @@
|
|
|
72
78
|
gap:theme(digitv2.spacers.spacer1);
|
|
73
79
|
}
|
|
74
80
|
|
|
81
|
+
&.inline{
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
}
|
|
84
|
+
|
|
75
85
|
.digit-upload-label {
|
|
76
86
|
@extend .typography.label;
|
|
77
87
|
@apply text-left;
|
|
@@ -82,19 +92,36 @@
|
|
|
82
92
|
.digit-uploader-content {
|
|
83
93
|
@apply flex w-full;
|
|
84
94
|
gap: theme(digitv2.spacers.spacer3);
|
|
95
|
+
|
|
96
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
97
|
+
max-width: 27.5rem;
|
|
98
|
+
min-width: 21rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (max-width: 30rem) {
|
|
102
|
+
max-width: 20.563rem;
|
|
103
|
+
min-width: 18rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media (min-width: 48rem) {
|
|
107
|
+
max-width: 37.5rem;
|
|
108
|
+
min-width: 20.75rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
85
111
|
}
|
|
86
112
|
|
|
87
113
|
label {
|
|
88
114
|
outline: none !important;
|
|
89
115
|
}
|
|
90
116
|
|
|
91
|
-
.digit-uploader-content-
|
|
92
|
-
@apply flex flex-col w-full items-center justify-center max-w-full
|
|
117
|
+
.digit-uploader-content-uploadWidget {
|
|
118
|
+
@apply flex flex-col w-full items-center justify-center max-w-full;
|
|
93
119
|
gap: theme(digitv2.spacers.spacer4);
|
|
94
120
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
95
121
|
background: theme(digitv2.lightTheme.paper-secondary);
|
|
96
122
|
padding: theme(digitv2.spacers.spacer4);
|
|
97
123
|
height: 9rem;
|
|
124
|
+
border-style: dashed;
|
|
98
125
|
|
|
99
126
|
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
100
127
|
min-width: 18.75rem;
|
|
@@ -114,6 +141,25 @@
|
|
|
114
141
|
|
|
115
142
|
.drag-drop-text {
|
|
116
143
|
@extend .typography.body-s;
|
|
144
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
145
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
146
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
147
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
148
|
+
|
|
149
|
+
@media (max-aspect-ratio: 9/16) {
|
|
150
|
+
/* Media query for mobile */
|
|
151
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
155
|
+
/* Media query for tablets */
|
|
156
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media (min-aspect-ratio: 3/4) {
|
|
160
|
+
/* Media query for desktop */
|
|
161
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
162
|
+
}
|
|
117
163
|
@apply items-center;
|
|
118
164
|
color: theme(digitv2.lightTheme.text-disabled);
|
|
119
165
|
display: flex;
|
|
@@ -124,14 +170,40 @@
|
|
|
124
170
|
}
|
|
125
171
|
}
|
|
126
172
|
|
|
173
|
+
.drag-drop-link{
|
|
174
|
+
@extend .typography.link-S;
|
|
175
|
+
margin-left: theme(digitv2.spacers.spacer1);
|
|
176
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
}
|
|
179
|
+
|
|
127
180
|
&.error {
|
|
128
|
-
|
|
181
|
+
border-style: dashed !important;
|
|
129
182
|
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
130
183
|
}
|
|
131
184
|
}
|
|
132
185
|
|
|
133
|
-
.digit-
|
|
186
|
+
.digit-uploadWidget-label {
|
|
134
187
|
@extend .typography.body-s;
|
|
188
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
189
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
190
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
191
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
192
|
+
|
|
193
|
+
@media (max-aspect-ratio: 9/16) {
|
|
194
|
+
/* Media query for mobile */
|
|
195
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
199
|
+
/* Media query for tablets */
|
|
200
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@media (min-aspect-ratio: 3/4) {
|
|
204
|
+
/* Media query for desktop */
|
|
205
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
206
|
+
}
|
|
135
207
|
color: theme(digitv2.lightTheme.text-disabled);
|
|
136
208
|
}
|
|
137
209
|
|
|
@@ -141,6 +213,25 @@
|
|
|
141
213
|
|
|
142
214
|
.digit-uploader-input {
|
|
143
215
|
@extend .typography.body-s;
|
|
216
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
217
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
218
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
219
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
220
|
+
|
|
221
|
+
@media (max-aspect-ratio: 9/16) {
|
|
222
|
+
/* Media query for mobile */
|
|
223
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
227
|
+
/* Media query for tablets */
|
|
228
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@media (min-aspect-ratio: 3/4) {
|
|
232
|
+
/* Media query for desktop */
|
|
233
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
234
|
+
}
|
|
144
235
|
@apply h-10;
|
|
145
236
|
background-color: transparent;
|
|
146
237
|
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
@@ -216,7 +307,6 @@
|
|
|
216
307
|
}
|
|
217
308
|
}
|
|
218
309
|
|
|
219
|
-
|
|
220
310
|
.digit-docupload-icon{
|
|
221
311
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
222
312
|
|
|
@@ -247,6 +337,18 @@
|
|
|
247
337
|
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
248
338
|
}
|
|
249
339
|
}
|
|
340
|
+
|
|
341
|
+
&.single.imageFile{
|
|
342
|
+
width: 100%;
|
|
343
|
+
|
|
344
|
+
img{
|
|
345
|
+
width: 100% !important;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.overlay{
|
|
349
|
+
width: 100% !important;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
250
352
|
}
|
|
251
353
|
|
|
252
354
|
.preview-container.uploadImage.singleUpload {
|
|
@@ -260,16 +362,21 @@
|
|
|
260
362
|
}
|
|
261
363
|
}
|
|
262
364
|
|
|
263
|
-
|
|
264
|
-
min-width:
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
365
|
+
&:not(.uploadImage){
|
|
366
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
367
|
+
max-width: 27.5rem;
|
|
368
|
+
min-width: 21rem;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
@media (max-width: 30rem) {
|
|
372
|
+
max-width: 20.563rem;
|
|
373
|
+
min-width: 18rem;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
@media (min-width: 48rem) {
|
|
377
|
+
max-width: 37.5rem;
|
|
378
|
+
min-width: 20.75rem;
|
|
379
|
+
}
|
|
273
380
|
}
|
|
274
381
|
}
|
|
275
382
|
|
|
@@ -285,6 +392,25 @@
|
|
|
285
392
|
|
|
286
393
|
.digit-upload-helptext {
|
|
287
394
|
@extend .typography.body-s;
|
|
395
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
396
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
397
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
398
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
399
|
+
|
|
400
|
+
@media (max-aspect-ratio: 9/16) {
|
|
401
|
+
/* Media query for mobile */
|
|
402
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
406
|
+
/* Media query for tablets */
|
|
407
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
@media (min-aspect-ratio: 3/4) {
|
|
411
|
+
/* Media query for desktop */
|
|
412
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
413
|
+
}
|
|
288
414
|
@apply text-left;
|
|
289
415
|
margin: theme(digitv2.spacers.spacer0);
|
|
290
416
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
@@ -319,6 +445,25 @@
|
|
|
319
445
|
|
|
320
446
|
.uploaded-file-details {
|
|
321
447
|
@extend .typography.heading-s;
|
|
448
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
449
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
450
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
451
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
452
|
+
|
|
453
|
+
@media (max-aspect-ratio: 9/16) {
|
|
454
|
+
/* Media query for mobile */
|
|
455
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
459
|
+
/* Media query for tablets */
|
|
460
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@media (min-aspect-ratio: 3/4) {
|
|
464
|
+
/* Media query for desktop */
|
|
465
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
466
|
+
}
|
|
322
467
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
323
468
|
}
|
|
324
469
|
|
|
@@ -339,7 +484,7 @@
|
|
|
339
484
|
}
|
|
340
485
|
}
|
|
341
486
|
|
|
342
|
-
.digit-
|
|
487
|
+
.digit-uploadWidget-close-icon {
|
|
343
488
|
@apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
|
|
344
489
|
background: theme(digitv2.lightTheme.generic-background);
|
|
345
490
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
@@ -356,7 +501,7 @@
|
|
|
356
501
|
&.error {
|
|
357
502
|
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
358
503
|
|
|
359
|
-
.digit-
|
|
504
|
+
.digit-uploadWidget-close-icon {
|
|
360
505
|
background: theme(digitv2.lightTheme.alert-error);
|
|
361
506
|
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
362
507
|
border-top: none;
|
|
@@ -373,7 +518,7 @@
|
|
|
373
518
|
}
|
|
374
519
|
}
|
|
375
520
|
|
|
376
|
-
.
|
|
521
|
+
.uploadWidget-error-card {
|
|
377
522
|
@apply w-full max-w-full;
|
|
378
523
|
margin: theme(digitv2.spacers.spacer0);
|
|
379
524
|
}
|
|
@@ -487,6 +632,25 @@
|
|
|
487
632
|
|
|
488
633
|
.capture-heading {
|
|
489
634
|
@extend .typography.heading-m;
|
|
635
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
636
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
637
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
638
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
639
|
+
|
|
640
|
+
@media (max-aspect-ratio: 9/16) {
|
|
641
|
+
/* Media query for mobile */
|
|
642
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
646
|
+
/* Media query for tablets */
|
|
647
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
@media (min-aspect-ratio: 3/4) {
|
|
651
|
+
/* Media query for desktop */
|
|
652
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
653
|
+
}
|
|
490
654
|
@apply items-center;
|
|
491
655
|
color: #000000;
|
|
492
656
|
display: flex;
|
|
@@ -513,7 +677,7 @@
|
|
|
513
677
|
|
|
514
678
|
}
|
|
515
679
|
|
|
516
|
-
@keyframes
|
|
680
|
+
@keyframes slideInFromBottomUploader {
|
|
517
681
|
from {
|
|
518
682
|
transform: translateY(100%);
|
|
519
683
|
}
|
|
@@ -521,4 +685,27 @@
|
|
|
521
685
|
to {
|
|
522
686
|
transform: translateY(0);
|
|
523
687
|
}
|
|
524
|
-
}
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
.digit-upload-file-composer-wrapper{
|
|
692
|
+
display: flex;
|
|
693
|
+
flex-direction: column;
|
|
694
|
+
|
|
695
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
696
|
+
gap:theme(digitv2.spacers.spacer5);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
@media (max-width: 30rem) {
|
|
700
|
+
gap:theme(digitv2.spacers.spacer4);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
@media (min-width: 48rem) {
|
|
704
|
+
gap:theme(digitv2.spacers.spacer6);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.upload-filecomposer-header{
|
|
708
|
+
color: theme(digitv2.lightTheme.text-primary) !important;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
}
|