@egovernments/digit-ui-components-css 2.0.0-dev-11 → 2.0.0-dev-12
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 +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/FormComposerV2.scss +1 -1
- package/src/digitv2/components/alertCardV2.scss +41 -41
- package/src/digitv2/components/backLinkV2.scss +7 -7
- package/src/digitv2/components/bottomSheetV2.scss +19 -19
- package/src/digitv2/components/breadcrumbV2.scss +21 -21
- package/src/digitv2/components/cardV2.scss +14 -14
- package/src/digitv2/components/cardlabelV2.scss +2 -2
- package/src/digitv2/components/checkboxV2.scss +41 -31
- package/src/digitv2/components/chipV2.scss +40 -40
- package/src/digitv2/components/dividerV2.scss +4 -4
- package/src/digitv2/components/errorMessageV2.scss +12 -12
- package/src/digitv2/components/fieldV1.scss +55 -55
- package/src/digitv2/components/fileUploadV2.scss +115 -115
- package/src/digitv2/components/filterCardV2.scss +50 -50
- package/src/digitv2/components/footerV2.scss +12 -12
- package/src/digitv2/components/formCardV2.scss +48 -48
- package/src/digitv2/components/hamburgerV2.scss +138 -138
- package/src/digitv2/components/headerV2.scss +48 -48
- package/src/digitv2/components/headerdropdownV2.scss +64 -64
- package/src/digitv2/components/infobuttonV2.scss +12 -12
- package/src/digitv2/components/labelFieldPairV2.scss +7 -7
- package/src/digitv2/components/landingpagecardV2.scss +66 -66
- package/src/digitv2/components/loaderV2.scss +3 -3
- package/src/digitv2/components/menuCardV2.scss +29 -29
- package/src/digitv2/components/metricCardV2.scss +49 -49
- package/src/digitv2/components/mobileNumberV2.scss +93 -3
- package/src/digitv2/components/multiSelectDropdownV2.scss +152 -152
- package/src/digitv2/components/otpInputV2.scss +23 -23
- package/src/digitv2/components/panelCardV2.scss +42 -42
- package/src/digitv2/components/panelV2.scss +28 -28
- package/src/digitv2/components/popUpV2.scss +85 -85
- package/src/digitv2/components/radiobtnV2.scss +21 -21
- package/src/digitv2/components/selectDropdownV2.scss +181 -181
- package/src/digitv2/components/selectionTagV2.scss +27 -27
- package/src/digitv2/components/sidePanelV2.scss +46 -46
- package/src/digitv2/components/sidenavV2.scss +114 -114
- package/src/digitv2/components/stepperV2.scss +54 -54
- package/src/digitv2/components/summaryCardFieldPairV2.scss +20 -20
- package/src/digitv2/components/summaryCardV2.scss +25 -25
- package/src/digitv2/components/switchV2.scss +30 -30
- package/src/digitv2/components/tabV2.scss +24 -24
- package/src/digitv2/components/tableV2.scss +138 -138
- package/src/digitv2/components/tagV2.scss +23 -23
- package/src/digitv2/components/textInputV2.scss +90 -89
- package/src/digitv2/components/textareaV2.scss +20 -20
- package/src/digitv2/components/textblockV2.scss +24 -24
- package/src/digitv2/components/timelineV2.scss +57 -57
- package/src/digitv2/components/toastV2.scss +21 -21
- package/src/digitv2/components/toggleV2.scss +45 -45
- package/src/digitv2/components/tooltipwrapperV2.scss +88 -88
- package/src/digitv2/components/treeSelectV2.scss +52 -52
- package/src/digitv2/index.scss +78 -78
- package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +41 -41
- package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
- package/src/digitv2/pages/employee/workbench.scss +24 -24
- package/src/index.scss +3 -3
|
@@ -19,51 +19,51 @@
|
|
|
19
19
|
.digit-dropdown-select {
|
|
20
20
|
@extend .light-input-border;
|
|
21
21
|
@apply relative block w-full h-10 bg-white;
|
|
22
|
-
border: 0.063rem solid
|
|
22
|
+
border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
|
|
23
23
|
&.digit-field-error {
|
|
24
24
|
border: 0.063rem solid;
|
|
25
|
-
border-color:
|
|
25
|
+
border-color: var(--digitv2-lightTheme-alert-error);
|
|
26
26
|
}
|
|
27
27
|
&.disabled {
|
|
28
28
|
pointer-events: none !important;
|
|
29
|
-
border: 0.063rem solid
|
|
30
|
-
color:
|
|
29
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider) !important;
|
|
30
|
+
color: var(--digitv2-lightTheme-generic-divider) !important;
|
|
31
31
|
}
|
|
32
32
|
input[type="text"] {
|
|
33
33
|
@include typography-body-s;
|
|
34
34
|
@media (max-aspect-ratio: 9/16) {
|
|
35
35
|
/* Media query for mobile */
|
|
36
|
-
font-size:
|
|
37
|
-
font-family:
|
|
38
|
-
font-style:
|
|
39
|
-
font-weight:
|
|
40
|
-
line-height:
|
|
36
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
37
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
38
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
39
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
40
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
44
44
|
/* Media query for tablets */
|
|
45
|
-
font-size:
|
|
46
|
-
font-family:
|
|
47
|
-
font-style:
|
|
48
|
-
font-weight:
|
|
49
|
-
line-height:
|
|
45
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
46
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
47
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
48
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
49
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@media (min-aspect-ratio: 3/4) {
|
|
53
53
|
/* Media query for desktop */
|
|
54
|
-
font-size:
|
|
55
|
-
font-family:
|
|
56
|
-
font-style:
|
|
57
|
-
font-weight:
|
|
58
|
-
line-height:
|
|
54
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
55
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
56
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
57
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
58
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
59
59
|
}
|
|
60
60
|
@apply absolute z-10 h-full outline-none;
|
|
61
|
-
width:calc(100% - (
|
|
61
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
62
62
|
background-color: transparent;
|
|
63
|
-
padding-top:
|
|
64
|
-
padding-bottom:
|
|
65
|
-
padding-left:
|
|
66
|
-
color:
|
|
63
|
+
padding-top:var(--digitv2-spacers-spacer2);
|
|
64
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
65
|
+
padding-left:var(--digitv2-spacers-spacer3);
|
|
66
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
67
67
|
}
|
|
68
68
|
p {
|
|
69
69
|
@extend .light-text-color-primary;
|
|
@@ -79,42 +79,42 @@
|
|
|
79
79
|
}
|
|
80
80
|
.digit-dropdown-select-active {
|
|
81
81
|
@apply relative block w-full h-10 bg-white;
|
|
82
|
-
border: 0.063rem solid
|
|
82
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
83
83
|
input[type="text"] {
|
|
84
84
|
@include typography-body-s;
|
|
85
85
|
@media (max-aspect-ratio: 9/16) {
|
|
86
86
|
/* Media query for mobile */
|
|
87
|
-
font-size:
|
|
88
|
-
font-family:
|
|
89
|
-
font-style:
|
|
90
|
-
font-weight:
|
|
91
|
-
line-height:
|
|
87
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
88
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
89
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
90
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
91
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
95
95
|
/* Media query for tablets */
|
|
96
|
-
font-size:
|
|
97
|
-
font-family:
|
|
98
|
-
font-style:
|
|
99
|
-
font-weight:
|
|
100
|
-
line-height:
|
|
96
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
97
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
98
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
99
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
100
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@media (min-aspect-ratio: 3/4) {
|
|
104
104
|
/* Media query for desktop */
|
|
105
|
-
font-size:
|
|
106
|
-
font-family:
|
|
107
|
-
font-style:
|
|
108
|
-
font-weight:
|
|
109
|
-
line-height:
|
|
105
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
106
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
107
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
108
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
109
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
110
110
|
}
|
|
111
111
|
@apply absolute z-10 h-full outline-none;
|
|
112
|
-
width:calc(100% - (
|
|
112
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
113
113
|
background-color: transparent;
|
|
114
|
-
padding-top:
|
|
115
|
-
padding-bottom:
|
|
116
|
-
padding-left:
|
|
117
|
-
color:
|
|
114
|
+
padding-top: var(--digitv2-spacers-spacer2);
|
|
115
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
116
|
+
padding-left: var(--digitv2-spacers-spacer3);
|
|
117
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
118
118
|
}
|
|
119
119
|
p {
|
|
120
120
|
@extend .light-text-color-primary;
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
.digit-dropdown-options-card {
|
|
134
134
|
width: 100% !important;
|
|
135
|
-
box-shadow:
|
|
135
|
+
box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.275rem var(--digitv2-spacers-spacer0) #00000026;
|
|
136
136
|
max-height: 20vmax;
|
|
137
137
|
@apply absolute z-20 bg-white max-w-full overflow-y-auto overflow-x-hidden;
|
|
138
138
|
p {
|
|
@@ -154,58 +154,58 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
.digit-dropdown-options-card::-webkit-scrollbar {
|
|
157
|
-
width:
|
|
158
|
-
background-color:
|
|
157
|
+
width: var(--digitv2-spacers-spacer2);
|
|
158
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
159
159
|
}
|
|
160
160
|
.digit-dropdown-options-card::-webkit-scrollbar-track {
|
|
161
|
-
background-color:
|
|
161
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
162
162
|
border-radius: 0.563rem;
|
|
163
163
|
}
|
|
164
164
|
.digit-dropdown-options-card::-webkit-scrollbar-thumb {
|
|
165
|
-
background-color:
|
|
165
|
+
background-color: var(--digitv2-lightTheme-generic-divider);
|
|
166
166
|
border-radius: 0.563rem;
|
|
167
167
|
}
|
|
168
168
|
.digit-nested-category {
|
|
169
169
|
@apply flex items-center flex-shrink-0;
|
|
170
|
-
background:
|
|
170
|
+
background: var(--digitv2-lightTheme-generic-background);
|
|
171
171
|
height: 2.4375rem;
|
|
172
|
-
padding:
|
|
172
|
+
padding: var(--digitv2-spacers-spacer4) 0.625rem;
|
|
173
173
|
gap: 0.625rem;
|
|
174
174
|
}
|
|
175
175
|
.digit-nested-category:not(:first-child) {
|
|
176
|
-
margin-top:
|
|
176
|
+
margin-top: var(--digitv2-spacers-spacer4);
|
|
177
177
|
}
|
|
178
178
|
.digit-category-name {
|
|
179
179
|
@include typography-heading-s;
|
|
180
180
|
@apply flex items-center overflow-hidden whitespace-nowrap;
|
|
181
|
-
color:
|
|
182
|
-
gap:
|
|
183
|
-
font-family:
|
|
184
|
-
font-style:
|
|
185
|
-
font-weight:
|
|
186
|
-
line-height:
|
|
181
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
182
|
+
gap: var(--digitv2-spacers-spacer1);
|
|
183
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
184
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
185
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
186
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
187
187
|
|
|
188
188
|
@media (max-aspect-ratio: 9/16) {
|
|
189
189
|
/* Media query for mobile */
|
|
190
|
-
font-size:
|
|
190
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
194
194
|
/* Media query for tablets */
|
|
195
|
-
font-size:
|
|
195
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
@media (min-aspect-ratio: 3/4) {
|
|
199
199
|
/* Media query for desktop */
|
|
200
|
-
font-size:
|
|
200
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
.digit-dropdown-item {
|
|
204
204
|
@apply flex flex-row;
|
|
205
|
-
padding:
|
|
205
|
+
padding: var(--digitv2-spacers-spacer3);
|
|
206
206
|
gap: 0.625rem;
|
|
207
207
|
min-height: 2.438rem;
|
|
208
|
-
color:
|
|
208
|
+
color: var(--digitv2-lightTheme-text-primary) !important;
|
|
209
209
|
|
|
210
210
|
&:first-child {
|
|
211
211
|
border-top-left-radius: var(--digitv2-borderRadius-radius2);
|
|
@@ -230,47 +230,47 @@
|
|
|
230
230
|
.icon-option{
|
|
231
231
|
@apply w-full items-center;
|
|
232
232
|
display: flex !important;
|
|
233
|
-
gap:
|
|
233
|
+
gap:var(--digitv2-spacers-spacer1);
|
|
234
234
|
svg{
|
|
235
235
|
flex-shrink: 0;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
.main-option {
|
|
239
239
|
@include typography-body-s;
|
|
240
|
-
font-family:
|
|
241
|
-
font-style:
|
|
242
|
-
font-weight:
|
|
243
|
-
line-height:
|
|
240
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
241
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
242
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
243
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
244
244
|
|
|
245
245
|
@media (max-aspect-ratio: 9/16) {
|
|
246
246
|
/* Media query for mobile */
|
|
247
|
-
font-size:
|
|
247
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
251
251
|
/* Media query for tablets */
|
|
252
|
-
font-size:
|
|
252
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
@media (min-aspect-ratio: 3/4) {
|
|
256
256
|
/* Media query for desktop */
|
|
257
|
-
font-size:
|
|
257
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
258
258
|
}
|
|
259
259
|
@apply whitespace-nowrap w-full max-w-full overflow-hidden;
|
|
260
260
|
text-overflow: ellipsis;
|
|
261
261
|
&.nestedtextdropdown,
|
|
262
262
|
&.profilenestedtext {
|
|
263
263
|
@include typography-body-l;
|
|
264
|
-
color:
|
|
264
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
.option-description {
|
|
268
268
|
@include typography-body-xs;
|
|
269
|
-
color:
|
|
269
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
&:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
|
|
273
|
-
background:
|
|
273
|
+
background: var(--digitv2-lightTheme-paper-secondary);
|
|
274
274
|
}
|
|
275
275
|
&:not(.unsuccessfulresults).nesteddropdown {
|
|
276
276
|
position: relative;
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
bottom: 0;
|
|
282
282
|
left: 0.625rem;
|
|
283
283
|
right: 0.635rem;
|
|
284
|
-
border-bottom: 0.063rem solid
|
|
284
|
+
border-bottom: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
285
285
|
}
|
|
286
286
|
&:hover,
|
|
287
287
|
&:active {
|
|
@@ -292,14 +292,14 @@
|
|
|
292
292
|
}
|
|
293
293
|
&:hover,
|
|
294
294
|
&.keyChange{
|
|
295
|
-
background:
|
|
296
|
-
border: 0.031rem solid
|
|
295
|
+
background: var(--digitv2-lightTheme-primary-bg) !important;
|
|
296
|
+
border: 0.031rem solid var(--digitv2-lightTheme-primary-1);
|
|
297
297
|
}
|
|
298
298
|
&:active {
|
|
299
|
-
background:
|
|
299
|
+
background: var(--digitv2-lightTheme-primary-1) !important;
|
|
300
300
|
span,
|
|
301
301
|
.option-description {
|
|
302
|
-
color:
|
|
302
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
303
303
|
}
|
|
304
304
|
.svg {
|
|
305
305
|
width: 6.25rem;
|
|
@@ -307,34 +307,34 @@
|
|
|
307
307
|
.option-des-container {
|
|
308
308
|
.main-option {
|
|
309
309
|
@include typography-heading-s;
|
|
310
|
-
font-family:
|
|
311
|
-
font-style:
|
|
312
|
-
font-weight:
|
|
313
|
-
line-height:
|
|
310
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
311
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
312
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
313
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
314
314
|
|
|
315
315
|
@media (max-aspect-ratio: 9/16) {
|
|
316
316
|
/* Media query for mobile */
|
|
317
|
-
font-size:
|
|
317
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
321
321
|
/* Media query for tablets */
|
|
322
|
-
font-size:
|
|
322
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
@media (min-aspect-ratio: 3/4) {
|
|
326
326
|
/* Media query for desktop */
|
|
327
|
-
font-size:
|
|
327
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
&.nestedtextdropdown {
|
|
333
333
|
min-height: 4.75rem;
|
|
334
|
-
padding:
|
|
335
|
-
color:
|
|
334
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3) var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3);
|
|
335
|
+
color: var(--digitv2-lightTheme-text-secondary) !important;
|
|
336
336
|
&:hover {
|
|
337
|
-
border: 0.063rem solid
|
|
337
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
338
338
|
}
|
|
339
339
|
.option-des-container {
|
|
340
340
|
padding-right: 0.125rem !important;
|
|
@@ -343,93 +343,93 @@
|
|
|
343
343
|
.option-des-container {
|
|
344
344
|
.main-option {
|
|
345
345
|
@include typography-heading-s;
|
|
346
|
-
font-family:
|
|
347
|
-
font-style:
|
|
348
|
-
font-weight:
|
|
349
|
-
line-height:
|
|
346
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
347
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
348
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
349
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
350
350
|
|
|
351
351
|
@media (max-aspect-ratio: 9/16) {
|
|
352
352
|
/* Media query for mobile */
|
|
353
|
-
font-size:
|
|
353
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
357
357
|
/* Media query for tablets */
|
|
358
|
-
font-size:
|
|
358
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
@media (min-aspect-ratio: 3/4) {
|
|
362
362
|
/* Media query for desktop */
|
|
363
|
-
font-size:
|
|
363
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
364
364
|
}
|
|
365
|
-
color:
|
|
365
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
&.profiledropdown {
|
|
371
|
-
min-height:
|
|
372
|
-
padding:
|
|
371
|
+
min-height: var(--digitv2-spacers-spacer12);
|
|
372
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3);
|
|
373
373
|
}
|
|
374
374
|
&.profilenestedtext {
|
|
375
375
|
min-height: 4.75rem;
|
|
376
|
-
padding:
|
|
377
|
-
gap:
|
|
376
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer4);
|
|
377
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
378
378
|
align-items: center;
|
|
379
|
-
color:
|
|
379
|
+
color: var(--digitv2-lightTheme-text-secondary) !important;
|
|
380
380
|
&:active {
|
|
381
381
|
.option-des-container {
|
|
382
382
|
.main-option {
|
|
383
383
|
@include typography-heading-s;
|
|
384
|
-
font-family:
|
|
385
|
-
font-style:
|
|
386
|
-
font-weight:
|
|
387
|
-
line-height:
|
|
384
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
385
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
386
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
387
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
388
388
|
|
|
389
389
|
@media (max-aspect-ratio: 9/16) {
|
|
390
390
|
/* Media query for mobile */
|
|
391
|
-
font-size:
|
|
391
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
395
395
|
/* Media query for tablets */
|
|
396
|
-
font-size:
|
|
396
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
@media (min-aspect-ratio: 3/4) {
|
|
400
400
|
/* Media query for desktop */
|
|
401
|
-
font-size:
|
|
401
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
402
402
|
}
|
|
403
|
-
color:
|
|
403
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
&.unsuccessfulresults {
|
|
409
|
-
background-color:
|
|
409
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
410
410
|
pointer-events: none;
|
|
411
411
|
span {
|
|
412
412
|
@include typography-body-s;
|
|
413
|
-
font-family:
|
|
414
|
-
font-style:
|
|
415
|
-
font-weight:
|
|
416
|
-
line-height:
|
|
413
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
414
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
415
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
416
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
417
417
|
|
|
418
418
|
@media (max-aspect-ratio: 9/16) {
|
|
419
419
|
/* Media query for mobile */
|
|
420
|
-
font-size:
|
|
420
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
424
424
|
/* Media query for tablets */
|
|
425
|
-
font-size:
|
|
425
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
@media (min-aspect-ratio: 3/4) {
|
|
429
429
|
/* Media query for desktop */
|
|
430
|
-
font-size:
|
|
430
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
431
431
|
}
|
|
432
|
-
color:
|
|
432
|
+
color: var(--digitv2-lightTheme-text-disabled);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
}
|
|
@@ -437,32 +437,32 @@
|
|
|
437
437
|
@include typography-body-s;
|
|
438
438
|
@media (max-aspect-ratio: 9/16) {
|
|
439
439
|
/* Media query for mobile */
|
|
440
|
-
font-size:
|
|
441
|
-
font-family:
|
|
442
|
-
font-style:
|
|
443
|
-
font-weight:
|
|
444
|
-
line-height:
|
|
440
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
441
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
442
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
443
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
444
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
448
448
|
/* Media query for tablets */
|
|
449
|
-
font-size:
|
|
450
|
-
font-family:
|
|
451
|
-
font-style:
|
|
452
|
-
font-weight:
|
|
453
|
-
line-height:
|
|
449
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
450
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
451
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
452
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
453
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
454
454
|
}
|
|
455
455
|
|
|
456
456
|
@media (min-aspect-ratio: 3/4) {
|
|
457
457
|
/* Media query for desktop */
|
|
458
|
-
font-size:
|
|
459
|
-
font-family:
|
|
460
|
-
font-style:
|
|
461
|
-
font-weight:
|
|
462
|
-
line-height:
|
|
458
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
459
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
460
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
461
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
462
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
463
463
|
}
|
|
464
464
|
@apply overflow-hidden whitespace-nowrap;
|
|
465
|
-
width:calc(100% - (
|
|
465
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
466
466
|
text-overflow: ellipsis;
|
|
467
467
|
&.treedropdown,
|
|
468
468
|
&.notSearchable {
|
|
@@ -487,47 +487,47 @@
|
|
|
487
487
|
.digit-dropdown-select {
|
|
488
488
|
@extend .light-input-border;
|
|
489
489
|
@apply relative block w-full h-10 bg-white;
|
|
490
|
-
border: 0.063rem solid
|
|
490
|
+
border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
|
|
491
491
|
input[type="text"] {
|
|
492
492
|
@include typography-body-s;
|
|
493
493
|
@media (max-aspect-ratio: 9/16) {
|
|
494
494
|
/* Media query for mobile */
|
|
495
|
-
font-size:
|
|
496
|
-
font-family:
|
|
497
|
-
font-style:
|
|
498
|
-
font-weight:
|
|
499
|
-
line-height:
|
|
495
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
496
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
497
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
498
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
499
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
503
503
|
/* Media query for tablets */
|
|
504
|
-
font-size:
|
|
505
|
-
font-family:
|
|
506
|
-
font-style:
|
|
507
|
-
font-weight:
|
|
508
|
-
line-height:
|
|
504
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
505
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
506
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
507
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
508
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
@media (min-aspect-ratio: 3/4) {
|
|
512
512
|
/* Media query for desktop */
|
|
513
|
-
font-size:
|
|
514
|
-
font-family:
|
|
515
|
-
font-style:
|
|
516
|
-
font-weight:
|
|
517
|
-
line-height:
|
|
513
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
514
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
515
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
516
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
517
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
518
518
|
}
|
|
519
519
|
@apply absolute z-10 h-full outline-none;
|
|
520
|
-
width:calc(100% - (
|
|
520
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
521
521
|
background-color: transparent;
|
|
522
|
-
padding-top:
|
|
523
|
-
padding-bottom:
|
|
524
|
-
padding-left:
|
|
525
|
-
color:
|
|
522
|
+
padding-top: var(--digitv2-spacers-spacer2);
|
|
523
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
524
|
+
padding-left: var(--digitv2-spacers-spacer3);
|
|
525
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
526
526
|
}
|
|
527
527
|
&.disabled {
|
|
528
528
|
pointer-events: none !important;
|
|
529
|
-
border: 0.063rem solid
|
|
530
|
-
color:
|
|
529
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider) !important;
|
|
530
|
+
color: var(--digitv2-lightTheme-generic-divider) !important;
|
|
531
531
|
}
|
|
532
532
|
p {
|
|
533
533
|
@extend .light-text-color-primary;
|
|
@@ -543,42 +543,42 @@
|
|
|
543
543
|
}
|
|
544
544
|
.digit-dropdown-select-active {
|
|
545
545
|
@apply relative block w-full h-10;
|
|
546
|
-
border: 0.063rem solid
|
|
546
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
547
547
|
input[type="text"] {
|
|
548
548
|
@include typography-body-s;
|
|
549
549
|
@media (max-aspect-ratio: 9/16) {
|
|
550
550
|
/* Media query for mobile */
|
|
551
|
-
font-size:
|
|
552
|
-
font-family:
|
|
553
|
-
font-style:
|
|
554
|
-
font-weight:
|
|
555
|
-
line-height:
|
|
551
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
552
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
553
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
554
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
555
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
559
559
|
/* Media query for tablets */
|
|
560
|
-
font-size:
|
|
561
|
-
font-family:
|
|
562
|
-
font-style:
|
|
563
|
-
font-weight:
|
|
564
|
-
line-height:
|
|
560
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
561
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
562
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
563
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
564
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
@media (min-aspect-ratio: 3/4) {
|
|
568
568
|
/* Media query for desktop */
|
|
569
|
-
font-size:
|
|
570
|
-
font-family:
|
|
571
|
-
font-style:
|
|
572
|
-
font-weight:
|
|
573
|
-
line-height:
|
|
569
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
570
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
571
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
572
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
573
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
574
574
|
}
|
|
575
575
|
@apply absolute z-10 h-full outline-none;
|
|
576
|
-
width:calc(100% - (
|
|
576
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
577
577
|
background-color: transparent;
|
|
578
|
-
padding-top:
|
|
579
|
-
padding-bottom:
|
|
580
|
-
padding-left:
|
|
581
|
-
color:
|
|
578
|
+
padding-top: var(--digitv2-spacers-spacer2);
|
|
579
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
580
|
+
padding-left: var(--digitv2-spacers-spacer3);
|
|
581
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
582
582
|
}
|
|
583
583
|
p {
|
|
584
584
|
@extend .light-text-color-primary;
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
}
|
|
604
604
|
.digit-dropdown-options-card {
|
|
605
605
|
width: 100% !important;
|
|
606
|
-
box-shadow:
|
|
606
|
+
box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.275rem var(--digitv2-spacers-spacer0) #00000026;
|
|
607
607
|
@apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
608
608
|
max-height: 20vmax;
|
|
609
609
|
p {
|