@egovernments/digit-ui-components-css 0.0.2-beta.36 → 0.0.2-beta.38
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/dist/index.css +982 -70
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/bottomSheetV2.scss +8 -1
- package/src/digitv2/components/buttonsV2.scss +3 -0
- package/src/digitv2/components/chipV2.scss +11 -1
- package/src/digitv2/components/dividerV2.scss +1 -0
- package/src/digitv2/components/fieldV1.scss +7 -0
- package/src/digitv2/components/filterCardV2.scss +417 -0
- package/src/digitv2/components/formCardV2.scss +33 -3
- package/src/digitv2/components/headerdropdownV2.scss +20 -0
- package/src/digitv2/components/labelFieldPairV2.scss +17 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +54 -2
- package/src/digitv2/components/popUpV2.scss +30 -2
- package/src/digitv2/components/radiobtnV2.scss +4 -0
- package/src/digitv2/components/selectDropdownV2.scss +135 -5
- package/src/digitv2/components/slideOverMenuV2.scss +24 -7
- package/src/digitv2/components/stepperV2.scss +12 -2
- package/src/digitv2/components/textInputV2.scss +2 -2
- package/src/digitv2/components/timelineV2.scss +20 -0
- package/src/digitv2/components/tooltipwrapperV2.scss +96 -27
- package/src/digitv2/components/viewCardV2.scss +100 -0
- package/src/digitv2/index.scss +2 -0
package/package.json
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
.digit-bottom-sheet-header {
|
|
26
26
|
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
27
|
justify-content: center;
|
|
29
28
|
height: theme(digitv2.spacers.spacer10);
|
|
30
29
|
|
|
@@ -95,6 +94,14 @@
|
|
|
95
94
|
flex: 1;
|
|
96
95
|
}
|
|
97
96
|
}
|
|
97
|
+
|
|
98
|
+
@media (max-aspect-ratio: 9/16) {
|
|
99
|
+
justify-content: flex-start;
|
|
100
|
+
|
|
101
|
+
button {
|
|
102
|
+
flex: 1;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
98
105
|
}
|
|
99
106
|
|
|
100
107
|
.digit-bottom-sheet-content::-webkit-scrollbar {
|
|
@@ -144,6 +144,9 @@
|
|
|
144
144
|
@apply bg-white;
|
|
145
145
|
box-shadow: theme(digitv2.spacers.spacer0) -0.125rem theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) theme(digitv2.lightTheme.primary-1) inset, theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #C84C0E33;
|
|
146
146
|
|
|
147
|
+
h2 {
|
|
148
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
149
|
+
}
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
h2 {
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
49
|
+
svg{
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
49
53
|
.digit-text {
|
|
50
54
|
@extend .typography.body-xs;
|
|
51
55
|
@apply overflow-hidden items-center whitespace-no-wrap;
|
|
@@ -141,7 +145,13 @@
|
|
|
141
145
|
|
|
142
146
|
.digit-tag{
|
|
143
147
|
&.noClose{
|
|
144
|
-
display:
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
|
|
152
|
+
&.noIcon{
|
|
153
|
+
display: unset;
|
|
154
|
+
}
|
|
145
155
|
}
|
|
146
156
|
}
|
|
147
157
|
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
.digit-filter-card-popup-overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: rgba(11, 12, 12, 0.7);
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
z-index: 9999;
|
|
12
|
+
backdrop-filter: blur(0.125rem);
|
|
13
|
+
-webkit-backdrop-filter: blur(0.125rem);
|
|
14
|
+
|
|
15
|
+
.digit-filter-card-popup-wrapper {
|
|
16
|
+
@apply w-full h-auto flex-col fixed;
|
|
17
|
+
z-index: 10000;
|
|
18
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
19
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
20
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
21
|
+
display: flex;
|
|
22
|
+
top: 50%;
|
|
23
|
+
left: 50%;
|
|
24
|
+
transform: translate(-50%, -50%) scale(0);
|
|
25
|
+
opacity: 0;
|
|
26
|
+
animation: scaleIn 300ms ease-in-out forwards;
|
|
27
|
+
|
|
28
|
+
@media (min-aspect-ratio: 3/4) {
|
|
29
|
+
max-height: 86%;
|
|
30
|
+
max-width: 51%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
34
|
+
max-height: 82%;
|
|
35
|
+
max-width: 74%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (max-aspect-ratio: 9/16) {
|
|
39
|
+
max-height: 80%;
|
|
40
|
+
max-width: 91%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.digit-radio-options-wrap {
|
|
44
|
+
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
.digit-filter-card-popup-wrapper.closing {
|
|
51
|
+
animation: scaleOut 300ms ease-in-out forwards;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes scaleIn {
|
|
55
|
+
0% {
|
|
56
|
+
transform: translate(-50%, -50%) scale(0);
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
100% {
|
|
61
|
+
transform: translate(-50%, -50%) scale(1);
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes scaleOut {
|
|
67
|
+
0% {
|
|
68
|
+
transform: translate(-50%, -50%) scale(1);
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
100% {
|
|
73
|
+
transform: translate(-50%, -50%) scale(0);
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
.filter-card {
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: auto;
|
|
82
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
83
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
84
|
+
box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
position: relative;
|
|
88
|
+
|
|
89
|
+
.digit-radio-options-wrap {
|
|
90
|
+
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.filter-card-horizontal {
|
|
95
|
+
display: grid;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.filter-card-vertical {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
|
|
103
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
104
|
+
/* Media query for tablets */
|
|
105
|
+
max-width: 27.5rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (max-aspect-ratio: 9/16) {
|
|
109
|
+
/* Media query for mobile */
|
|
110
|
+
max-width: 100%;
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-aspect-ratio: 3/4) {
|
|
115
|
+
/* Media query for desktop */
|
|
116
|
+
max-width: 37.5rem;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
.filter-header {
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
align-items: center;
|
|
125
|
+
|
|
126
|
+
.title-container {
|
|
127
|
+
display: flex !important;
|
|
128
|
+
gap: 0.5rem;
|
|
129
|
+
align-items: center;
|
|
130
|
+
|
|
131
|
+
.close-icon {
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: theme(digitv2.spacers.spacer2);
|
|
135
|
+
right: theme(digitv2.spacers.spacer2);
|
|
136
|
+
width: theme(digitv2.spacers.spacer8);
|
|
137
|
+
height: theme(digitv2.spacers.spacer8);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.with-shadow {
|
|
142
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.with-shadow {
|
|
146
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media (min-aspect-ratio: 3/4) {
|
|
150
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
151
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
152
|
+
|
|
153
|
+
&.with-shadow {
|
|
154
|
+
padding-bottom: theme(digitv2.spacers.spacer6);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
159
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
160
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
161
|
+
|
|
162
|
+
&.with-shadow {
|
|
163
|
+
padding-bottom: theme(digitv2.spacers.spacer5);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (max-aspect-ratio: 9/16) {
|
|
168
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
169
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
170
|
+
|
|
171
|
+
&.with-shadow {
|
|
172
|
+
padding-bottom: theme(digitv2.spacers.spacer4);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.filter-header .filter-title {
|
|
178
|
+
@extend .typography.caption-l;
|
|
179
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.content-container {
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
overflow-y: auto;
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
@media (min-aspect-ratio: 3/4) {
|
|
189
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
190
|
+
padding: theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer6);
|
|
191
|
+
|
|
192
|
+
&.with-shadow,
|
|
193
|
+
&.without-footer {
|
|
194
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
200
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
201
|
+
padding: theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer5);
|
|
202
|
+
|
|
203
|
+
&.with-shadow,
|
|
204
|
+
&.without-footer {
|
|
205
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@media (max-aspect-ratio: 9/16) {
|
|
211
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
212
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer4);
|
|
213
|
+
|
|
214
|
+
&.with-shadow,
|
|
215
|
+
&.without-footer {
|
|
216
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.digit-label-field-pair {
|
|
221
|
+
margin-bottom: unset;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.content-item {
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: space-between;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.content-item:last-child {
|
|
231
|
+
border-bottom: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
.button-container {
|
|
236
|
+
display: flex;
|
|
237
|
+
justify-content: flex-end;
|
|
238
|
+
gap: 1.5rem;
|
|
239
|
+
/*grid-column: span 3 ;*/
|
|
240
|
+
|
|
241
|
+
&.equal-buttons {
|
|
242
|
+
justify-content: flex-start;
|
|
243
|
+
width: 100%;
|
|
244
|
+
|
|
245
|
+
button {
|
|
246
|
+
flex: 1
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.vertical{
|
|
251
|
+
flex-direction: column !important;
|
|
252
|
+
|
|
253
|
+
button {
|
|
254
|
+
width: 100%;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.equal-buttons {
|
|
258
|
+
justify-content: flex-start;
|
|
259
|
+
width: 100%;
|
|
260
|
+
|
|
261
|
+
button {
|
|
262
|
+
flex: unset;
|
|
263
|
+
width: 100%;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@media (max-aspect-ratio: 9/16){
|
|
269
|
+
|
|
270
|
+
flex-direction: column !important;
|
|
271
|
+
|
|
272
|
+
button {
|
|
273
|
+
width: 100%;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&.equal-buttons {
|
|
277
|
+
justify-content: flex-start;
|
|
278
|
+
width: 100%;
|
|
279
|
+
|
|
280
|
+
button {
|
|
281
|
+
flex: unset;
|
|
282
|
+
width: 100%;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&.with-shadow {
|
|
288
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@media (min-aspect-ratio: 3/4) {
|
|
292
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
296
|
+
@apply w-full;
|
|
297
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media (max-aspect-ratio: 9/16) {
|
|
301
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.content-action-wrapper {
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-wrap: wrap;
|
|
308
|
+
overflow-y: auto;
|
|
309
|
+
|
|
310
|
+
@media (min-aspect-ratio: 3/4) {
|
|
311
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
312
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
316
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
317
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (max-aspect-ratio: 9/16) {
|
|
321
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
322
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.content-container {
|
|
326
|
+
flex-direction: row;
|
|
327
|
+
padding: 0rem;
|
|
328
|
+
display: flex;
|
|
329
|
+
flex-wrap: wrap;
|
|
330
|
+
width: 100%;
|
|
331
|
+
display: grid;
|
|
332
|
+
grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
@media (max-aspect-ratio: 9/16) {
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
.digit-label-field-pair{
|
|
338
|
+
width: 100%;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.digit-label-field-pair{
|
|
343
|
+
flex: 1;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.button-container {
|
|
348
|
+
padding: 0rem;
|
|
349
|
+
display: flex;
|
|
350
|
+
flex-direction: row;
|
|
351
|
+
flex:1;
|
|
352
|
+
align-items: center;
|
|
353
|
+
justify-content: flex-end;
|
|
354
|
+
grid-column: span 2 / -1;
|
|
355
|
+
justify-self: end;
|
|
356
|
+
|
|
357
|
+
@media (min-aspect-ratio: 3/4) {
|
|
358
|
+
button{
|
|
359
|
+
margin-top: 1.875rem;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4){
|
|
364
|
+
button{
|
|
365
|
+
margin-top: 1.875rem;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
@media (max-aspect-ratio: 9/16) {
|
|
370
|
+
button{
|
|
371
|
+
margin-top: 0rem;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
&.equal-buttons {
|
|
376
|
+
justify-content: flex-end;
|
|
377
|
+
width: 100%;
|
|
378
|
+
|
|
379
|
+
button {
|
|
380
|
+
flex: unset
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.content-container::-webkit-scrollbar {
|
|
388
|
+
width: theme(digitv2.spacers.spacer2);
|
|
389
|
+
height: 0rem;
|
|
390
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.content-container::-webkit-scrollbar-track {
|
|
394
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
395
|
+
border-radius: 0.563rem;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.content-container::-webkit-scrollbar-thumb {
|
|
399
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
400
|
+
border-radius: 0.563rem;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.content-action-wrapper::-webkit-scrollbar {
|
|
404
|
+
width: theme(digitv2.spacers.spacer2);
|
|
405
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
.content-action-wrapper::-webkit-scrollbar-track {
|
|
410
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
411
|
+
border-radius: 0.563rem;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.content-action-wrapper::-webkit-scrollbar-thumb {
|
|
415
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
416
|
+
border-radius: 0.563rem;
|
|
417
|
+
}
|
|
@@ -107,6 +107,20 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
&.with-divider{
|
|
111
|
+
@media (min-width: 48rem) {
|
|
112
|
+
grid-column-gap: theme(digitv2.spacers.spacer12);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
116
|
+
grid-column-gap: theme(digitv2.spacers.spacer10);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (max-width: 30rem) {
|
|
120
|
+
grid-column-gap: theme(digitv2.spacers.spacer8);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
110
124
|
.digit-label-field-pair {
|
|
111
125
|
margin-bottom: unset;
|
|
112
126
|
}
|
|
@@ -178,25 +192,41 @@
|
|
|
178
192
|
|
|
179
193
|
.vertical-formcard-divider{
|
|
180
194
|
position: absolute;
|
|
195
|
+
height: 100%;
|
|
181
196
|
|
|
182
197
|
@media (max-aspect-ratio: 9/16) {
|
|
183
198
|
/* Media query for mobile */
|
|
184
199
|
top: theme(digitv2.spacers.spacer4);
|
|
185
|
-
height: calc(100% - 2rem)
|
|
200
|
+
/*height: calc(100% - 2rem);*/
|
|
186
201
|
}
|
|
187
202
|
|
|
188
203
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
189
204
|
/* Media query for tablets */
|
|
190
205
|
top: theme(digitv2.spacers.spacer5);
|
|
191
|
-
height: calc(100% - 2.5rem)
|
|
206
|
+
/*height: calc(100% - 2.5rem);*/
|
|
192
207
|
}
|
|
193
208
|
|
|
194
209
|
@media (min-aspect-ratio: 3/4) {
|
|
195
210
|
/* Media query for desktop */
|
|
196
211
|
top: theme(digitv2.spacers.spacer6);
|
|
197
|
-
height: calc(100% - 3rem)
|
|
212
|
+
/*height: calc(100% - 3rem);*/
|
|
198
213
|
}
|
|
199
214
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
200
215
|
z-index: 1;
|
|
201
216
|
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
.digit-form-card-content::-webkit-scrollbar {
|
|
221
|
+
width: theme(digitv2.spacers.spacer2);
|
|
222
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
223
|
+
}
|
|
224
|
+
.digit-form-card-content::-webkit-scrollbar-track {
|
|
225
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
226
|
+
border-radius: 0.563rem;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.digit-form-card-content::-webkit-scrollbar-thumb {
|
|
230
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
231
|
+
border-radius: 0.563rem;
|
|
202
232
|
}
|
|
@@ -195,6 +195,26 @@
|
|
|
195
195
|
@extend .typography.heading-s;
|
|
196
196
|
background: theme(digitv2.lightTheme.primary-1) !important;
|
|
197
197
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
198
|
+
|
|
199
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
200
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
201
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
202
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
203
|
+
|
|
204
|
+
@media (max-aspect-ratio: 9/16) {
|
|
205
|
+
/* Media query for mobile */
|
|
206
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
210
|
+
/* Media query for tablets */
|
|
211
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@media (min-aspect-ratio: 3/4) {
|
|
215
|
+
/* Media query for desktop */
|
|
216
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
217
|
+
}
|
|
198
218
|
}
|
|
199
219
|
|
|
200
220
|
.header-dropdown-options::-webkit-scrollbar {
|
|
@@ -19,9 +19,26 @@
|
|
|
19
19
|
gap: theme(digitv2.spacers.spacer6);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.digit-text-block-wrap {
|
|
23
|
+
margin-top: 0.565rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.digit-radio-options-wrap {
|
|
27
|
+
margin-top: 0.565rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
22
30
|
&.vertical {
|
|
23
31
|
@apply flex-col items-start;
|
|
24
32
|
gap: theme(digitv2.spacers.spacer2);
|
|
33
|
+
|
|
34
|
+
.digit-text-block-wrap {
|
|
35
|
+
margin-top: theme(digitv2.spacers.spacer0);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.digit-radio-options-wrap {
|
|
39
|
+
margin-top: theme(digitv2.spacers.spacer0);
|
|
40
|
+
}
|
|
41
|
+
|
|
25
42
|
}
|
|
26
43
|
|
|
27
44
|
& .label,
|
|
@@ -24,7 +24,33 @@
|
|
|
24
24
|
@apply relative h-10 w-full bg-white;
|
|
25
25
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
26
26
|
input[type="text"] {
|
|
27
|
-
@extend .typography.body-
|
|
27
|
+
@extend .typography.body-s;
|
|
28
|
+
@media (max-aspect-ratio: 9/16) {
|
|
29
|
+
/* Media query for mobile */
|
|
30
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
31
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
32
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
33
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
34
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
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
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
41
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
42
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
43
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (min-aspect-ratio: 3/4) {
|
|
47
|
+
/* Media query for desktop */
|
|
48
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
49
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
50
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
51
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
52
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
53
|
+
}
|
|
28
54
|
@apply absolute top-0 left-0 p-sm min-h-full min-w-full opacity-0;
|
|
29
55
|
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
30
56
|
padding-left: 1%;
|
|
@@ -463,7 +489,33 @@
|
|
|
463
489
|
.digit-multiselectdropdown-master-active {
|
|
464
490
|
.digit-multiselectdropdown-label {
|
|
465
491
|
p {
|
|
466
|
-
@extend .typography.body-
|
|
492
|
+
@extend .typography.body-s;
|
|
493
|
+
@media (max-aspect-ratio: 9/16) {
|
|
494
|
+
/* Media query for mobile */
|
|
495
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
496
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
497
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
498
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
499
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
503
|
+
/* Media query for tablets */
|
|
504
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
505
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
506
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
507
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
508
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
@media (min-aspect-ratio: 3/4) {
|
|
512
|
+
/* Media query for desktop */
|
|
513
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
514
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
515
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
516
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
517
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
518
|
+
}
|
|
467
519
|
white-space: pre;
|
|
468
520
|
margin: auto;
|
|
469
521
|
margin-left: theme(digitv2.spacers.spacer0);
|