@egovernments/digit-ui-components-css 2.0.0-dev-10 → 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 +166 -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 +191 -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 +93 -90
- 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 +22 -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,68 @@
|
|
|
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
|
+
|
|
210
|
+
&:first-child {
|
|
211
|
+
border-top-left-radius: var(--digitv2-borderRadius-radius2);
|
|
212
|
+
border-top-right-radius: var(--digitv2-borderRadius-radius2);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&:last-child {
|
|
216
|
+
border-bottom-left-radius: var(--digitv2-borderRadius-radius2);
|
|
217
|
+
border-bottom-right-radius: var(--digitv2-borderRadius-radius2);
|
|
218
|
+
}
|
|
209
219
|
.profile-icon-container {
|
|
210
220
|
flex-shrink: 0;
|
|
211
221
|
border-radius: 4.5rem;
|
|
@@ -220,47 +230,47 @@
|
|
|
220
230
|
.icon-option{
|
|
221
231
|
@apply w-full items-center;
|
|
222
232
|
display: flex !important;
|
|
223
|
-
gap:
|
|
233
|
+
gap:var(--digitv2-spacers-spacer1);
|
|
224
234
|
svg{
|
|
225
235
|
flex-shrink: 0;
|
|
226
236
|
}
|
|
227
237
|
}
|
|
228
238
|
.main-option {
|
|
229
239
|
@include typography-body-s;
|
|
230
|
-
font-family:
|
|
231
|
-
font-style:
|
|
232
|
-
font-weight:
|
|
233
|
-
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);
|
|
234
244
|
|
|
235
245
|
@media (max-aspect-ratio: 9/16) {
|
|
236
246
|
/* Media query for mobile */
|
|
237
|
-
font-size:
|
|
247
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
238
248
|
}
|
|
239
249
|
|
|
240
250
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
241
251
|
/* Media query for tablets */
|
|
242
|
-
font-size:
|
|
252
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
243
253
|
}
|
|
244
254
|
|
|
245
255
|
@media (min-aspect-ratio: 3/4) {
|
|
246
256
|
/* Media query for desktop */
|
|
247
|
-
font-size:
|
|
257
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
248
258
|
}
|
|
249
259
|
@apply whitespace-nowrap w-full max-w-full overflow-hidden;
|
|
250
260
|
text-overflow: ellipsis;
|
|
251
261
|
&.nestedtextdropdown,
|
|
252
262
|
&.profilenestedtext {
|
|
253
263
|
@include typography-body-l;
|
|
254
|
-
color:
|
|
264
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
255
265
|
}
|
|
256
266
|
}
|
|
257
267
|
.option-description {
|
|
258
268
|
@include typography-body-xs;
|
|
259
|
-
color:
|
|
269
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
260
270
|
}
|
|
261
271
|
}
|
|
262
272
|
&:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
|
|
263
|
-
background:
|
|
273
|
+
background: var(--digitv2-lightTheme-paper-secondary);
|
|
264
274
|
}
|
|
265
275
|
&:not(.unsuccessfulresults).nesteddropdown {
|
|
266
276
|
position: relative;
|
|
@@ -271,7 +281,7 @@
|
|
|
271
281
|
bottom: 0;
|
|
272
282
|
left: 0.625rem;
|
|
273
283
|
right: 0.635rem;
|
|
274
|
-
border-bottom: 0.063rem solid
|
|
284
|
+
border-bottom: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
275
285
|
}
|
|
276
286
|
&:hover,
|
|
277
287
|
&:active {
|
|
@@ -282,14 +292,14 @@
|
|
|
282
292
|
}
|
|
283
293
|
&:hover,
|
|
284
294
|
&.keyChange{
|
|
285
|
-
background:
|
|
286
|
-
border: 0.031rem solid
|
|
295
|
+
background: var(--digitv2-lightTheme-primary-bg) !important;
|
|
296
|
+
border: 0.031rem solid var(--digitv2-lightTheme-primary-1);
|
|
287
297
|
}
|
|
288
298
|
&:active {
|
|
289
|
-
background:
|
|
299
|
+
background: var(--digitv2-lightTheme-primary-1) !important;
|
|
290
300
|
span,
|
|
291
301
|
.option-description {
|
|
292
|
-
color:
|
|
302
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
293
303
|
}
|
|
294
304
|
.svg {
|
|
295
305
|
width: 6.25rem;
|
|
@@ -297,34 +307,34 @@
|
|
|
297
307
|
.option-des-container {
|
|
298
308
|
.main-option {
|
|
299
309
|
@include typography-heading-s;
|
|
300
|
-
font-family:
|
|
301
|
-
font-style:
|
|
302
|
-
font-weight:
|
|
303
|
-
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);
|
|
304
314
|
|
|
305
315
|
@media (max-aspect-ratio: 9/16) {
|
|
306
316
|
/* Media query for mobile */
|
|
307
|
-
font-size:
|
|
317
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
308
318
|
}
|
|
309
319
|
|
|
310
320
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
311
321
|
/* Media query for tablets */
|
|
312
|
-
font-size:
|
|
322
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
@media (min-aspect-ratio: 3/4) {
|
|
316
326
|
/* Media query for desktop */
|
|
317
|
-
font-size:
|
|
327
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
318
328
|
}
|
|
319
329
|
}
|
|
320
330
|
}
|
|
321
331
|
}
|
|
322
332
|
&.nestedtextdropdown {
|
|
323
333
|
min-height: 4.75rem;
|
|
324
|
-
padding:
|
|
325
|
-
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;
|
|
326
336
|
&:hover {
|
|
327
|
-
border: 0.063rem solid
|
|
337
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
328
338
|
}
|
|
329
339
|
.option-des-container {
|
|
330
340
|
padding-right: 0.125rem !important;
|
|
@@ -333,93 +343,93 @@
|
|
|
333
343
|
.option-des-container {
|
|
334
344
|
.main-option {
|
|
335
345
|
@include typography-heading-s;
|
|
336
|
-
font-family:
|
|
337
|
-
font-style:
|
|
338
|
-
font-weight:
|
|
339
|
-
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);
|
|
340
350
|
|
|
341
351
|
@media (max-aspect-ratio: 9/16) {
|
|
342
352
|
/* Media query for mobile */
|
|
343
|
-
font-size:
|
|
353
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
344
354
|
}
|
|
345
355
|
|
|
346
356
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
347
357
|
/* Media query for tablets */
|
|
348
|
-
font-size:
|
|
358
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
349
359
|
}
|
|
350
360
|
|
|
351
361
|
@media (min-aspect-ratio: 3/4) {
|
|
352
362
|
/* Media query for desktop */
|
|
353
|
-
font-size:
|
|
363
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
354
364
|
}
|
|
355
|
-
color:
|
|
365
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
356
366
|
}
|
|
357
367
|
}
|
|
358
368
|
}
|
|
359
369
|
}
|
|
360
370
|
&.profiledropdown {
|
|
361
|
-
min-height:
|
|
362
|
-
padding:
|
|
371
|
+
min-height: var(--digitv2-spacers-spacer12);
|
|
372
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3);
|
|
363
373
|
}
|
|
364
374
|
&.profilenestedtext {
|
|
365
375
|
min-height: 4.75rem;
|
|
366
|
-
padding:
|
|
367
|
-
gap:
|
|
376
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer4);
|
|
377
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
368
378
|
align-items: center;
|
|
369
|
-
color:
|
|
379
|
+
color: var(--digitv2-lightTheme-text-secondary) !important;
|
|
370
380
|
&:active {
|
|
371
381
|
.option-des-container {
|
|
372
382
|
.main-option {
|
|
373
383
|
@include typography-heading-s;
|
|
374
|
-
font-family:
|
|
375
|
-
font-style:
|
|
376
|
-
font-weight:
|
|
377
|
-
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);
|
|
378
388
|
|
|
379
389
|
@media (max-aspect-ratio: 9/16) {
|
|
380
390
|
/* Media query for mobile */
|
|
381
|
-
font-size:
|
|
391
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
382
392
|
}
|
|
383
393
|
|
|
384
394
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
385
395
|
/* Media query for tablets */
|
|
386
|
-
font-size:
|
|
396
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
387
397
|
}
|
|
388
398
|
|
|
389
399
|
@media (min-aspect-ratio: 3/4) {
|
|
390
400
|
/* Media query for desktop */
|
|
391
|
-
font-size:
|
|
401
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
392
402
|
}
|
|
393
|
-
color:
|
|
403
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
394
404
|
}
|
|
395
405
|
}
|
|
396
406
|
}
|
|
397
407
|
}
|
|
398
408
|
&.unsuccessfulresults {
|
|
399
|
-
background-color:
|
|
409
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
400
410
|
pointer-events: none;
|
|
401
411
|
span {
|
|
402
412
|
@include typography-body-s;
|
|
403
|
-
font-family:
|
|
404
|
-
font-style:
|
|
405
|
-
font-weight:
|
|
406
|
-
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);
|
|
407
417
|
|
|
408
418
|
@media (max-aspect-ratio: 9/16) {
|
|
409
419
|
/* Media query for mobile */
|
|
410
|
-
font-size:
|
|
420
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
411
421
|
}
|
|
412
422
|
|
|
413
423
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
414
424
|
/* Media query for tablets */
|
|
415
|
-
font-size:
|
|
425
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
416
426
|
}
|
|
417
427
|
|
|
418
428
|
@media (min-aspect-ratio: 3/4) {
|
|
419
429
|
/* Media query for desktop */
|
|
420
|
-
font-size:
|
|
430
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
421
431
|
}
|
|
422
|
-
color:
|
|
432
|
+
color: var(--digitv2-lightTheme-text-disabled);
|
|
423
433
|
}
|
|
424
434
|
}
|
|
425
435
|
}
|
|
@@ -427,32 +437,32 @@
|
|
|
427
437
|
@include typography-body-s;
|
|
428
438
|
@media (max-aspect-ratio: 9/16) {
|
|
429
439
|
/* Media query for mobile */
|
|
430
|
-
font-size:
|
|
431
|
-
font-family:
|
|
432
|
-
font-style:
|
|
433
|
-
font-weight:
|
|
434
|
-
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);
|
|
435
445
|
}
|
|
436
446
|
|
|
437
447
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
438
448
|
/* Media query for tablets */
|
|
439
|
-
font-size:
|
|
440
|
-
font-family:
|
|
441
|
-
font-style:
|
|
442
|
-
font-weight:
|
|
443
|
-
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);
|
|
444
454
|
}
|
|
445
455
|
|
|
446
456
|
@media (min-aspect-ratio: 3/4) {
|
|
447
457
|
/* Media query for desktop */
|
|
448
|
-
font-size:
|
|
449
|
-
font-family:
|
|
450
|
-
font-style:
|
|
451
|
-
font-weight:
|
|
452
|
-
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);
|
|
453
463
|
}
|
|
454
464
|
@apply overflow-hidden whitespace-nowrap;
|
|
455
|
-
width:calc(100% - (
|
|
465
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
456
466
|
text-overflow: ellipsis;
|
|
457
467
|
&.treedropdown,
|
|
458
468
|
&.notSearchable {
|
|
@@ -477,47 +487,47 @@
|
|
|
477
487
|
.digit-dropdown-select {
|
|
478
488
|
@extend .light-input-border;
|
|
479
489
|
@apply relative block w-full h-10 bg-white;
|
|
480
|
-
border: 0.063rem solid
|
|
490
|
+
border: 0.063rem solid var(--digitv2-lightTheme-text-secondary);
|
|
481
491
|
input[type="text"] {
|
|
482
492
|
@include typography-body-s;
|
|
483
493
|
@media (max-aspect-ratio: 9/16) {
|
|
484
494
|
/* Media query for mobile */
|
|
485
|
-
font-size:
|
|
486
|
-
font-family:
|
|
487
|
-
font-style:
|
|
488
|
-
font-weight:
|
|
489
|
-
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);
|
|
490
500
|
}
|
|
491
501
|
|
|
492
502
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
493
503
|
/* Media query for tablets */
|
|
494
|
-
font-size:
|
|
495
|
-
font-family:
|
|
496
|
-
font-style:
|
|
497
|
-
font-weight:
|
|
498
|
-
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);
|
|
499
509
|
}
|
|
500
510
|
|
|
501
511
|
@media (min-aspect-ratio: 3/4) {
|
|
502
512
|
/* Media query for desktop */
|
|
503
|
-
font-size:
|
|
504
|
-
font-family:
|
|
505
|
-
font-style:
|
|
506
|
-
font-weight:
|
|
507
|
-
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);
|
|
508
518
|
}
|
|
509
519
|
@apply absolute z-10 h-full outline-none;
|
|
510
|
-
width:calc(100% - (
|
|
520
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
511
521
|
background-color: transparent;
|
|
512
|
-
padding-top:
|
|
513
|
-
padding-bottom:
|
|
514
|
-
padding-left:
|
|
515
|
-
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);
|
|
516
526
|
}
|
|
517
527
|
&.disabled {
|
|
518
528
|
pointer-events: none !important;
|
|
519
|
-
border: 0.063rem solid
|
|
520
|
-
color:
|
|
529
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider) !important;
|
|
530
|
+
color: var(--digitv2-lightTheme-generic-divider) !important;
|
|
521
531
|
}
|
|
522
532
|
p {
|
|
523
533
|
@extend .light-text-color-primary;
|
|
@@ -533,42 +543,42 @@
|
|
|
533
543
|
}
|
|
534
544
|
.digit-dropdown-select-active {
|
|
535
545
|
@apply relative block w-full h-10;
|
|
536
|
-
border: 0.063rem solid
|
|
546
|
+
border: 0.063rem solid var(--digitv2-lightTheme-primary-1);
|
|
537
547
|
input[type="text"] {
|
|
538
548
|
@include typography-body-s;
|
|
539
549
|
@media (max-aspect-ratio: 9/16) {
|
|
540
550
|
/* Media query for mobile */
|
|
541
|
-
font-size:
|
|
542
|
-
font-family:
|
|
543
|
-
font-style:
|
|
544
|
-
font-weight:
|
|
545
|
-
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);
|
|
546
556
|
}
|
|
547
557
|
|
|
548
558
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
549
559
|
/* Media query for tablets */
|
|
550
|
-
font-size:
|
|
551
|
-
font-family:
|
|
552
|
-
font-style:
|
|
553
|
-
font-weight:
|
|
554
|
-
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);
|
|
555
565
|
}
|
|
556
566
|
|
|
557
567
|
@media (min-aspect-ratio: 3/4) {
|
|
558
568
|
/* Media query for desktop */
|
|
559
|
-
font-size:
|
|
560
|
-
font-family:
|
|
561
|
-
font-style:
|
|
562
|
-
font-weight:
|
|
563
|
-
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);
|
|
564
574
|
}
|
|
565
575
|
@apply absolute z-10 h-full outline-none;
|
|
566
|
-
width:calc(100% - (
|
|
576
|
+
width:calc(100% - (var(--digitv2-spacers-spacer7)));
|
|
567
577
|
background-color: transparent;
|
|
568
|
-
padding-top:
|
|
569
|
-
padding-bottom:
|
|
570
|
-
padding-left:
|
|
571
|
-
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);
|
|
572
582
|
}
|
|
573
583
|
p {
|
|
574
584
|
@extend .light-text-color-primary;
|
|
@@ -593,7 +603,7 @@
|
|
|
593
603
|
}
|
|
594
604
|
.digit-dropdown-options-card {
|
|
595
605
|
width: 100% !important;
|
|
596
|
-
box-shadow:
|
|
606
|
+
box-shadow: var(--digitv2-spacers-spacer0) 0.063rem 0.275rem var(--digitv2-spacers-spacer0) #00000026;
|
|
597
607
|
@apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
598
608
|
max-height: 20vmax;
|
|
599
609
|
p {
|