@egovernments/digit-ui-components-css 0.0.2-beta.9 → 0.2.0-beta.10
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 +10911 -3668
- package/dist/index.min.css +3 -3
- package/package.json +8 -9
- 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 +85 -29
- package/src/digitv2/components/cardV2.scss +504 -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 +150 -2
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +163 -9
- 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 +45 -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 +225 -9
- 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 +258 -14
- 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 +145 -15
- 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 +175 -9
- package/src/digitv2/pages/employee/boundaryFilter.scss +63 -0
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +450 -0
- package/src/digitv2/pages/employee/index.scss +3 -0
- package/src/digitv2/pages/employee/reactdatatable.scss +132 -0
- package/src/digitv2/pages/employee/workbench.scss +10 -10
- package/src/digitv2/typography.scss +24 -9
- package/src/index.scss +0 -4
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
.digit-card {
|
|
4
|
+
@apply bg-white m-sm px-md pt-md pb-lg shadow-card;
|
|
5
|
+
@extend .light-paper-primary;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
max-width: 960px;
|
|
8
|
+
|
|
9
|
+
.digit-card-header {
|
|
10
|
+
@extend .light-primary;
|
|
11
|
+
@apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.digit-card-sub-header {
|
|
15
|
+
@extend .light-primary;
|
|
16
|
+
@apply text-caption-xl font-bold align-middle text-left mb-sm;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.digit-card-caption {
|
|
20
|
+
@extend .light-text-color-secondary;
|
|
21
|
+
@apply text-caption-xl mb-sm;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.digit-card-text {
|
|
25
|
+
@extend .light-text-color-secondary;
|
|
26
|
+
@apply text-body-l align-middle text-left mb-lg;
|
|
27
|
+
|
|
28
|
+
span {
|
|
29
|
+
@extend .light-text-color-primary;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.digit-card-text-primary {
|
|
34
|
+
@extend .light-primary;
|
|
35
|
+
@apply text-body-l;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.digit-card-text-button {
|
|
39
|
+
@extend .light-primary;
|
|
40
|
+
@apply text-text-btn;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.digit-card-label {
|
|
44
|
+
@extend .light-primary;
|
|
45
|
+
@apply text-legend mb-sm;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.digit-card-label-error {
|
|
49
|
+
@extend .alert-error;
|
|
50
|
+
@apply block text-body-s text-error mb-md;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.digit-card-label-desc {
|
|
54
|
+
@extend .light-text-color-secondary;
|
|
55
|
+
@apply font-bold text-heading-s mb-md;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.digit-card-link {
|
|
59
|
+
@extend .light-primary;
|
|
60
|
+
@apply block text-center text-link mt-md cursor-pointer;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.digit-validation-error {
|
|
65
|
+
@extend .alert-error;
|
|
66
|
+
@apply block text-body-s text-error;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.digit-docsDescription {
|
|
70
|
+
@extend .light-text-color-primary;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.digit-field-container {
|
|
74
|
+
@apply flex items-center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.digit-employee-card {
|
|
78
|
+
@extend .light-paper-primary;
|
|
79
|
+
@apply bg-white shadow-card p-md mb-xl;
|
|
80
|
+
border-radius: 4px;
|
|
81
|
+
|
|
82
|
+
.digit-card-header {
|
|
83
|
+
@extend .light-primary;
|
|
84
|
+
@apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.digit-card-sub-header,
|
|
88
|
+
.digit-employee-card-sub-header {
|
|
89
|
+
@extend .light-primary;
|
|
90
|
+
@apply text-caption-xl font-bold align-middle text-left;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.digit-card-section-header {
|
|
94
|
+
@apply text-heading-m font-bold;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.digit-card-section-sub-text {
|
|
98
|
+
@extend .light-primary;
|
|
99
|
+
@apply text-body-s;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.digit-card-caption {
|
|
103
|
+
@extend .light-text-color-secondary;
|
|
104
|
+
@apply text-caption-xl mb-sm;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.digit-card-text {
|
|
108
|
+
@extend .light-text-color-secondary;
|
|
109
|
+
@apply text-body-l align-middle text-left mb-lg;
|
|
110
|
+
|
|
111
|
+
span {
|
|
112
|
+
@extend .light-text-color-primary;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.card-text-primary {
|
|
117
|
+
@extend .light-primary;
|
|
118
|
+
@apply text-body-l;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.card-text-button {
|
|
122
|
+
@extend .light-primary;
|
|
123
|
+
@apply text-text-btn;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.card-label {
|
|
127
|
+
@extend .light-primary;
|
|
128
|
+
@apply text-legend mb-md;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.card-label-error {
|
|
132
|
+
@extend .alert-error;
|
|
133
|
+
@apply block text-body-s text-error mb-md;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.card-label-desc {
|
|
137
|
+
@extend .light-text-color-secondary;
|
|
138
|
+
@apply font-bold text-heading-s mb-md;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.card-link {
|
|
142
|
+
@extend .light-primary;
|
|
143
|
+
@apply block text-center text-link text-link-normal mt-md;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.card-search-heading {
|
|
147
|
+
margin-right: 0px !important;
|
|
148
|
+
margin-left: 0px !important;
|
|
149
|
+
margin-bottom: 0px !important;
|
|
150
|
+
padding-bottom: 0px;
|
|
151
|
+
padding-left: 25px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.header-wrap {
|
|
156
|
+
@apply flex mb-md;
|
|
157
|
+
|
|
158
|
+
.header-start {
|
|
159
|
+
margin-right: auto;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.header-content {}
|
|
163
|
+
|
|
164
|
+
.header-end {
|
|
165
|
+
margin-left: auto;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.card-emp {
|
|
170
|
+
@extend .card;
|
|
171
|
+
padding-right: 0;
|
|
172
|
+
padding-top: 0;
|
|
173
|
+
padding-left: 0;
|
|
174
|
+
@apply bg-white m-sm;
|
|
175
|
+
@extend .light-background;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.submit-bar {
|
|
179
|
+
@extend .light-primary-button;
|
|
180
|
+
@apply h-10 text-center w-full outline-none;
|
|
181
|
+
box-shadow: inset 0px -2px 0px theme(colors.text.primary);
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
|
|
184
|
+
&:focus {
|
|
185
|
+
@apply outline-none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
header {
|
|
189
|
+
@apply font-rc font-medium text-legend text-white leading-10;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.submit-bar-disabled {
|
|
194
|
+
@apply h-10 bg-primary-main text-center w-full outline-none opacity-50;
|
|
195
|
+
|
|
196
|
+
&:focus {
|
|
197
|
+
@apply outline-none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
header {
|
|
201
|
+
@apply font-rc font-medium text-legend text-white leading-10;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@screen dt {
|
|
206
|
+
|
|
207
|
+
.submit-bar,
|
|
208
|
+
.submit-bar-disabled {
|
|
209
|
+
width: 240px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.card {
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: column;
|
|
215
|
+
|
|
216
|
+
.card-header {
|
|
217
|
+
@apply text-heading-xl-dt;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.card-sub-header {
|
|
221
|
+
@apply text-heading-l-dt;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.card-caption {
|
|
225
|
+
@apply text-caption-xl-dt;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.card-text,
|
|
229
|
+
.card-text-primary {
|
|
230
|
+
@apply text-body-l-dt;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.card-link {
|
|
234
|
+
@apply text-left;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.digit-employee-card {
|
|
239
|
+
@apply mb-md mx-md !important;
|
|
240
|
+
|
|
241
|
+
&.digit-filter {
|
|
242
|
+
margin-left: auto;
|
|
243
|
+
margin-right: auto;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.digit-card-header {
|
|
247
|
+
@apply text-heading-xl-dt;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.digit-card-sub-header {
|
|
251
|
+
@apply text-heading-l-dt;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.digit-employee-card-sub-header {
|
|
255
|
+
margin-bottom: 40px;
|
|
256
|
+
@apply text-heading-l-dt;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.digit-card-section-header {
|
|
260
|
+
margin-bottom: 40px;
|
|
261
|
+
@apply text-heading-m-dt;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.digit-card-section-sub-text {
|
|
265
|
+
@apply text-text-primary text-body-s-dt;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.digit-card-search-heading {
|
|
269
|
+
margin-right: 0px !important;
|
|
270
|
+
margin-left: 0px !important;
|
|
271
|
+
margin-bottom: 0px !important;
|
|
272
|
+
padding-bottom: 0px;
|
|
273
|
+
padding-left: 25px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.digit-card-caption {
|
|
277
|
+
@apply text-caption-xl-dt;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.digit-card-text,
|
|
281
|
+
.digit-card-text-primary {
|
|
282
|
+
@apply text-body-l-dt;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.digit-card-link {
|
|
286
|
+
@apply text-left;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.digit-label-field-pair {
|
|
290
|
+
@apply flex;
|
|
291
|
+
|
|
292
|
+
h2 {
|
|
293
|
+
width: 30%;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.field {
|
|
297
|
+
width: 50%;
|
|
298
|
+
margin-right: 20%;
|
|
299
|
+
|
|
300
|
+
.field {
|
|
301
|
+
margin-right: unset;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.digit-field-container {
|
|
307
|
+
span {
|
|
308
|
+
border: 2px solid black;
|
|
309
|
+
background: rgb(247, 247, 247);
|
|
310
|
+
width: 40px;
|
|
311
|
+
height: 40px;
|
|
312
|
+
display: flex;
|
|
313
|
+
justify-content: center;
|
|
314
|
+
align-items: center;
|
|
315
|
+
margin-top: -16px;
|
|
316
|
+
border-right: none;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.digit-header-wrap {
|
|
322
|
+
@apply flex mb-md;
|
|
323
|
+
|
|
324
|
+
.header-start {
|
|
325
|
+
margin-right: auto;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.header-content {}
|
|
329
|
+
|
|
330
|
+
.header-end {
|
|
331
|
+
margin-left: auto;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.digit-card-section-header {
|
|
337
|
+
@apply text-heading-m font-bold;
|
|
338
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.digit-card-search-heading {
|
|
342
|
+
margin-right: 0px !important;
|
|
343
|
+
margin-left: 0px !important;
|
|
344
|
+
margin-bottom: 0px !important;
|
|
345
|
+
padding-bottom: 0px;
|
|
346
|
+
padding-left: 25px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.digit-card-label-error {
|
|
350
|
+
@extend .alert-error;
|
|
351
|
+
@apply block text-body-s text-error mb-md;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.digit-employee-card-override {
|
|
355
|
+
margin-left: 0px !important;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.digit-employee-application-details {
|
|
359
|
+
display: flex !important;
|
|
360
|
+
justify-content: space-between !important;
|
|
361
|
+
max-height: 60px !important;
|
|
362
|
+
height: 60px !important;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.digit-employee-main-application-details {
|
|
366
|
+
padding: 10px !important;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.digit-employee-mulitlink-main-div {
|
|
370
|
+
@extend .light-primary;
|
|
371
|
+
z-index: 10 !important;
|
|
372
|
+
max-width: 41% !important;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.digit-employee-download-btn-className {
|
|
376
|
+
position: unset !important;
|
|
377
|
+
display: flex !important;
|
|
378
|
+
justify-content: flex-end !important;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.digit-employee-options-btn-className {
|
|
382
|
+
position: unset !important;
|
|
383
|
+
margin: 0 !important;
|
|
384
|
+
width: 100% !important;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
.digit-card-component {
|
|
389
|
+
|
|
390
|
+
width: 100%;
|
|
391
|
+
height: auto;
|
|
392
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
393
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
394
|
+
box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
|
|
395
|
+
display: flex;
|
|
396
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
397
|
+
flex-direction: column;
|
|
398
|
+
|
|
399
|
+
&.secondary {
|
|
400
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
401
|
+
border: 0.063em solid theme(digitv2.lightTheme.generic-divider);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&.secondary.search,
|
|
405
|
+
&.search {
|
|
406
|
+
flex-direction: row;
|
|
407
|
+
|
|
408
|
+
h2 {
|
|
409
|
+
margin: 0rem;
|
|
410
|
+
margin-bottom: 0.5rem;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
.digit-buttons-group {
|
|
415
|
+
gap: 1rem;
|
|
416
|
+
margin-top: 1.875rem;
|
|
417
|
+
|
|
418
|
+
button {
|
|
419
|
+
h2 {
|
|
420
|
+
margin: 0rem;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
427
|
+
flex-direction: row;
|
|
428
|
+
|
|
429
|
+
.digit-buttons-group {
|
|
430
|
+
margin-top: 2.75rem;
|
|
431
|
+
|
|
432
|
+
button {
|
|
433
|
+
h2 {
|
|
434
|
+
margin: 0rem;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@media (min-aspect-ratio: 3/4) {
|
|
441
|
+
flex-direction: row;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
@media (max-aspect-ratio: 9/16){
|
|
445
|
+
flex-direction: column;
|
|
446
|
+
|
|
447
|
+
.digit-buttons-group {
|
|
448
|
+
margin-top: 0rem;
|
|
449
|
+
|
|
450
|
+
button {
|
|
451
|
+
margin-top: 0rem;
|
|
452
|
+
|
|
453
|
+
h2 {
|
|
454
|
+
margin: 0rem;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
463
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
@media (min-aspect-ratio: 3/4) {
|
|
467
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
@media (max-aspect-ratio: 9/16) {
|
|
471
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
&.action {
|
|
475
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
476
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
477
|
+
|
|
478
|
+
button {
|
|
479
|
+
width: 100%;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&.summarycard{
|
|
484
|
+
|
|
485
|
+
.digit-text-block-wrap .digit-text-block-header-content .digit-text-block-subheader{
|
|
486
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
&.form{
|
|
491
|
+
.digit-label-field-pair {
|
|
492
|
+
margin-bottom: unset;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.digit-radio-options-wrap {
|
|
496
|
+
margin-bottom: unset;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
.titleStyle{
|
|
501
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
502
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
503
|
+
font-size: theme(digitv2.spacers.spacer10);
|
|
504
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.digit-card-based-options {
|
|
2
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
|
|
3
|
+
@apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
|
|
4
|
+
.digit-head-content {
|
|
5
|
+
@apply flex justify-between mb-lg;
|
|
6
|
+
h2 {
|
|
7
|
+
@apply text-heading-s font-bold text-text-primary;
|
|
8
|
+
}
|
|
9
|
+
p {
|
|
10
|
+
@apply text-link text-primary-main font-medium cursor-pointer;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.digit-main-content {
|
|
15
|
+
@apply flex justify-evenly;
|
|
16
|
+
.digit-card-based-options-main-child-option {
|
|
17
|
+
width: 25%;
|
|
18
|
+
@apply text-center;
|
|
19
|
+
.digit-child-option-image-wrapper {
|
|
20
|
+
margin: auto !important;
|
|
21
|
+
background: rgba(244, 119, 56, 0.12);
|
|
22
|
+
mix-blend-mode: normal;
|
|
23
|
+
padding-top: 14px;
|
|
24
|
+
@apply h-12 w-12 rounded-full cursor-pointer;
|
|
25
|
+
svg {
|
|
26
|
+
height: 20px;
|
|
27
|
+
width: 20px;
|
|
28
|
+
fill: theme(colors.primary.main);
|
|
29
|
+
margin: auto;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.digit-child-option-name {
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
line-height: 14px;
|
|
35
|
+
padding-top: 1rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@screen dt {
|
|
42
|
+
.digit-card-based-options {
|
|
43
|
+
width: calc(50% - 16px);
|
|
44
|
+
@apply p-md;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -26,10 +26,18 @@
|
|
|
26
26
|
@apply opacity-0;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
svg {
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
&:hover {
|
|
30
|
-
@apply border-2
|
|
34
|
+
@apply border-2;
|
|
31
35
|
border-color: theme(digitv2.lightTheme.primary-1);
|
|
32
36
|
}
|
|
37
|
+
|
|
38
|
+
&.intermediate {
|
|
39
|
+
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
40
|
+
}
|
|
33
41
|
}
|
|
34
42
|
|
|
35
43
|
.digit-custom-checkbox-emp {
|
|
@@ -41,6 +49,10 @@
|
|
|
41
49
|
border-color: theme(digitv2.lightTheme.primary-1);
|
|
42
50
|
}
|
|
43
51
|
|
|
52
|
+
input:hover~.digit-custom-checkbox.intermediate{
|
|
53
|
+
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
54
|
+
}
|
|
55
|
+
|
|
44
56
|
input:checked~.digit-custom-checkbox {
|
|
45
57
|
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
46
58
|
}
|
|
@@ -56,19 +68,44 @@
|
|
|
56
68
|
height: theme(digitv2.spacers.spacer4);
|
|
57
69
|
}
|
|
58
70
|
|
|
71
|
+
.intermediate-square {
|
|
72
|
+
width: theme(digitv2.spacers.spacer4);
|
|
73
|
+
height: theme(digitv2.spacers.spacer4);
|
|
74
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
75
|
+
display: block;
|
|
76
|
+
}
|
|
77
|
+
|
|
59
78
|
.label {
|
|
60
79
|
@extend .typography.body-s;
|
|
80
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
81
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
82
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
83
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
84
|
+
|
|
85
|
+
@media (max-aspect-ratio: 9/16) {
|
|
86
|
+
/* Media query for mobile */
|
|
87
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
91
|
+
/* Media query for tablets */
|
|
92
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (min-aspect-ratio: 3/4) {
|
|
96
|
+
/* Media query for desktop */
|
|
97
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
98
|
+
}
|
|
99
|
+
|
|
61
100
|
@apply text-left;
|
|
62
101
|
word-break: break-word;
|
|
63
102
|
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
64
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
103
|
+
color: theme(digitv2.lightTheme.text-primary) !important;
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
65
106
|
}
|
|
66
107
|
|
|
67
108
|
&.disabled {
|
|
68
|
-
.label {
|
|
69
|
-
color: theme(digitv2.lightTheme.text-disabled);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
109
|
.digit-custom-checkbox {
|
|
73
110
|
border: 0.063rem solid theme(digitv2.lightTheme.text-disabled);
|
|
74
111
|
}
|
|
@@ -76,5 +113,16 @@
|
|
|
76
113
|
input:checked~.digit-custom-checkbox {
|
|
77
114
|
border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
|
|
78
115
|
}
|
|
116
|
+
|
|
117
|
+
.digit-custom-checkbox.intermediate{
|
|
118
|
+
border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.intermediate-square {
|
|
122
|
+
width: theme(digitv2.spacers.spacer4);
|
|
123
|
+
height: theme(digitv2.spacers.spacer4);
|
|
124
|
+
background-color: theme(digitv2.lightTheme.text-disabled);
|
|
125
|
+
display: block;
|
|
126
|
+
}
|
|
79
127
|
}
|
|
80
128
|
}
|
|
@@ -46,9 +46,36 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
49
|
+
&.clickable:hover{
|
|
50
|
+
box-shadow: 0.125rem 0.125rem 0.25rem 0rem #36363633;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
svg{
|
|
54
|
+
flex-shrink: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
49
57
|
.digit-text {
|
|
50
58
|
@extend .typography.body-xs;
|
|
51
59
|
@apply overflow-hidden items-center whitespace-no-wrap;
|
|
60
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
61
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
62
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
63
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
64
|
+
|
|
65
|
+
@media (max-aspect-ratio: 9/16) {
|
|
66
|
+
/* Media query for mobile */
|
|
67
|
+
font-size: theme(digitv2.fontSize.body-xs.mobile);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
71
|
+
/* Media query for tablets */
|
|
72
|
+
font-size: theme(digitv2.fontSize.body-xs.tablet);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (min-aspect-ratio: 3/4) {
|
|
76
|
+
/* Media query for desktop */
|
|
77
|
+
font-size: theme(digitv2.fontSize.body-xs.desktop);
|
|
78
|
+
}
|
|
52
79
|
max-width: calc(100% - (theme(digitv2.spacers.spacer7)));
|
|
53
80
|
width: calc(100% - (theme(digitv2.spacers.spacer7)));
|
|
54
81
|
text-overflow: clip;
|
|
@@ -120,6 +147,18 @@
|
|
|
120
147
|
}
|
|
121
148
|
}
|
|
122
149
|
|
|
150
|
+
.digit-tag{
|
|
151
|
+
&.noClose{
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
|
|
156
|
+
&.noIcon{
|
|
157
|
+
display: unset;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
123
162
|
.cp{
|
|
124
163
|
cursor: pointer;
|
|
125
164
|
}
|