@egovernments/digit-ui-components-css 0.0.2-beta.10 → 0.0.2-beta.11
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 +88 -84
- package/README.md +80 -80
- package/dist/index.css +612 -26
- package/dist/index.min.css +2 -2
- package/package.json +69 -69
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +207 -0
- package/src/digitv2/components/backLinkV2.scss +36 -36
- package/src/digitv2/components/bodyContainerV2.scss +39 -39
- package/src/digitv2/components/breadcrumbV2.scss +56 -56
- package/src/digitv2/components/buttonsV2.scss +451 -426
- package/src/digitv2/components/cardV2.scss +497 -484
- package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
- package/src/digitv2/components/cardlabelV2.scss +7 -7
- package/src/digitv2/components/checkboxV2.scss +83 -83
- package/src/digitv2/components/chipV2.scss +129 -129
- package/src/digitv2/components/dividerV2.scss +10 -10
- package/src/digitv2/components/errorMessageV2.scss +20 -20
- package/src/digitv2/components/fieldV1.scss +96 -96
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +139 -139
- package/src/digitv2/components/infobuttonV2.scss +75 -75
- package/src/digitv2/components/labelFieldPairV2.scss +66 -66
- package/src/digitv2/components/mobileNumberV2.scss +65 -65
- package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
- package/src/digitv2/components/panelCardV2.scss +160 -160
- package/src/digitv2/components/panelV2.scss +114 -114
- package/src/digitv2/components/popUpV2.scss +330 -319
- package/src/digitv2/components/radiobtnV2.scss +115 -115
- package/src/digitv2/components/selectDropdownV2.scss +364 -364
- package/src/digitv2/components/stepperV2.scss +147 -147
- package/src/digitv2/components/textInputV2.scss +462 -462
- package/src/digitv2/components/textareaV2.scss +99 -99
- package/src/digitv2/components/textblockV2.scss +46 -46
- package/src/digitv2/components/timelineV2.scss +171 -159
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/toggleV2.scss +72 -72
- package/src/digitv2/components/topbarV2.scss +388 -0
- package/src/digitv2/components/treeSelectV2.scss +132 -132
- package/src/digitv2/components/uploaderV2.scss +556 -556
- package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
- package/src/digitv2/index.scss +169 -168
- package/src/digitv2/pages/employee/index.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +615 -615
- package/src/digitv2/typography.scss +638 -638
- package/src/index.scss +681 -681
- package/src/pages/employee/index.scss +625 -625
- package/src/pages/employee/login.scss +220 -220
|
@@ -1,316 +1,316 @@
|
|
|
1
|
-
@import url("../index.scss");
|
|
2
|
-
.digit-multiselectdropdown-wrap {
|
|
3
|
-
margin-bottom: 0.625rem;
|
|
4
|
-
|
|
5
|
-
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
6
|
-
/* Media query for tablets */
|
|
7
|
-
max-width: 27.5rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (max-aspect-ratio: 9/16) {
|
|
11
|
-
/* Media query for mobile */
|
|
12
|
-
max-width: 100%;
|
|
13
|
-
width: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media (min-aspect-ratio: 3/4) {
|
|
17
|
-
/* Media query for desktop */
|
|
18
|
-
max-width: 37.5rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@apply relative text-form-field text-text-primary w-full;
|
|
22
|
-
.digit-multiselectdropdown-master,
|
|
23
|
-
.digit-multiselectdropdown-master-active {
|
|
24
|
-
@apply relative h-10 w-full bg-white;
|
|
25
|
-
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
26
|
-
input[type="text"] {
|
|
27
|
-
@extend .typography.body-l;
|
|
28
|
-
@apply absolute top-0 left-0 p-sm min-h-full min-w-full opacity-0;
|
|
29
|
-
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
30
|
-
&:focus {
|
|
31
|
-
@apply outline-none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.digit-multiselectdropdown-label {
|
|
35
|
-
@apply flex justify-between p-sm w-full h-full;
|
|
36
|
-
svg {
|
|
37
|
-
@apply h-6 w-6;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.digit-multiselectdropdown-master {
|
|
42
|
-
&.disabled {
|
|
43
|
-
pointer-events: none !important;
|
|
44
|
-
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
|
|
45
|
-
color: theme(digitv2.lightTheme.generic-divider) !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.digit-multiselectdropdown-master-active {
|
|
49
|
-
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
50
|
-
}
|
|
51
|
-
.digit-multiselectdropdown-server {
|
|
52
|
-
top: theme(digitv2.spacers.spacer10);
|
|
53
|
-
@apply absolute z-20 bg-white overflow-x-hidden overflow-y-auto;
|
|
54
|
-
max-height: 20vmax;
|
|
55
|
-
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
|
|
56
|
-
width: 100% !important;
|
|
57
|
-
}
|
|
58
|
-
.digit-multiselectdropdown-server::-webkit-scrollbar {
|
|
59
|
-
width: theme(digitv2.spacers.spacer2);
|
|
60
|
-
background-color: theme(digitv2.lightTheme.generic-background);
|
|
61
|
-
}
|
|
62
|
-
.digit-multiselectdropdown-server::-webkit-scrollbar-track {
|
|
63
|
-
background-color: theme(digitv2.lightTheme.generic-background);
|
|
64
|
-
border-radius: 0.563rem;
|
|
65
|
-
}
|
|
66
|
-
.digit-multiselectdropdown-server::-webkit-scrollbar-thumb {
|
|
67
|
-
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
68
|
-
border-radius: 0.563rem;
|
|
69
|
-
}
|
|
70
|
-
.digit-nested-category {
|
|
71
|
-
@apply flex items-center flex-shrink-0;
|
|
72
|
-
background: theme(digitv2.lightTheme.background);
|
|
73
|
-
height: 2.4375rem;
|
|
74
|
-
padding: theme(digitv2.spacers.spacer4) 0.625rem;
|
|
75
|
-
gap: 0.625rem;
|
|
76
|
-
margin-top: theme(digitv2.spacers.spacer4);
|
|
77
|
-
&.selectAll {
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.digit-nested-category:nth-child(-n+2) {
|
|
82
|
-
margin-top: theme(digitv2.spacers.spacer0);
|
|
83
|
-
}
|
|
84
|
-
.digit-category-name {
|
|
85
|
-
@extend .typography.heading-s;
|
|
86
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
87
|
-
}
|
|
88
|
-
.digit-category-selectAll {
|
|
89
|
-
@apply flex relative;
|
|
90
|
-
gap: 0.625rem;
|
|
91
|
-
cursor: pointer !important;
|
|
92
|
-
align-items: center;
|
|
93
|
-
.category-selectAll-label {
|
|
94
|
-
@extend .typography.body-s;
|
|
95
|
-
text-align: left;
|
|
96
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
97
|
-
}
|
|
98
|
-
input {
|
|
99
|
-
@apply absolute top-0 left-0 w-full h-full opacity-0 cursor-pointer;
|
|
100
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
101
|
-
}
|
|
102
|
-
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
103
|
-
height: theme(digitv2.spacers.spacer5);
|
|
104
|
-
width: theme(digitv2.spacers.spacer5);
|
|
105
|
-
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
106
|
-
svg {
|
|
107
|
-
@apply opacity-0 z-10;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
111
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
112
|
-
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
113
|
-
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
114
|
-
}
|
|
115
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
116
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
117
|
-
@apply opacity-100;
|
|
118
|
-
width: theme(digitv2.spacers.spacer4);
|
|
119
|
-
height: theme(digitv2.spacers.spacer4);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
.digit-multiselectdropodwn-menuitem {
|
|
123
|
-
@apply flex w-full bg-white justify-start items-center;
|
|
124
|
-
min-height: 2.438rem;
|
|
125
|
-
.option-des-container {
|
|
126
|
-
@apply w-full max-w-full overflow-hidden box-border;
|
|
127
|
-
margin: 0.594rem theme(digitv2.spacers.spacer0) 0.594rem theme(digitv2.spacers.spacer0);
|
|
128
|
-
.multiselectdropdown-icon-option {
|
|
129
|
-
@apply w-full items-center;
|
|
130
|
-
display: flex !important;
|
|
131
|
-
gap: theme(digitv2.spacers.spacer1);
|
|
132
|
-
svg {
|
|
133
|
-
flex-shrink: 0;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
&.nestedmultiselect {
|
|
138
|
-
position: relative;
|
|
139
|
-
&:not(.selectAll)::before {
|
|
140
|
-
content: "";
|
|
141
|
-
position: absolute;
|
|
142
|
-
bottom: 0;
|
|
143
|
-
left: 0.625rem;
|
|
144
|
-
right: 0.625rem;
|
|
145
|
-
border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
146
|
-
}
|
|
147
|
-
&:not(.selectAll):hover,
|
|
148
|
-
&:not(.selectAll):active {
|
|
149
|
-
&::before {
|
|
150
|
-
border-bottom: none;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
&:not(.nestedmultiselect, .keyChange, .checked):not(:active):not(:hover):nth-of-type(even) {
|
|
155
|
-
background: theme(digitv2.lightTheme.paper-secondary);
|
|
156
|
-
}
|
|
157
|
-
&:hover,
|
|
158
|
-
&.keyChange {
|
|
159
|
-
background: theme(digitv2.lightTheme.primary-bg);
|
|
160
|
-
border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
|
|
161
|
-
}
|
|
162
|
-
&:active,
|
|
163
|
-
&:active:hover {
|
|
164
|
-
background: theme(digitv2.lightTheme.primary-1);
|
|
165
|
-
border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
|
|
166
|
-
p {
|
|
167
|
-
@extend .typography.heading-s;
|
|
168
|
-
color: theme(digitv2.lightTheme.paper-primary);
|
|
169
|
-
}
|
|
170
|
-
.digit-label {
|
|
171
|
-
&.selectAll {
|
|
172
|
-
@extend .typography.body-l;
|
|
173
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
input {
|
|
178
|
-
min-height: 2.438rem;
|
|
179
|
-
@apply absolute min-w-full opacity-0 z-20 cursor-pointer;
|
|
180
|
-
}
|
|
181
|
-
p {
|
|
182
|
-
@extend .typography.body-s;
|
|
183
|
-
@apply w-full overflow-hidden whitespace-no-wrap max-w-full;
|
|
184
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
185
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
186
|
-
text-overflow: ellipsis;
|
|
187
|
-
}
|
|
188
|
-
&.checked {
|
|
189
|
-
background: theme(digitv2.lightTheme.primary-1);
|
|
190
|
-
p {
|
|
191
|
-
@extend .typography.heading-s;
|
|
192
|
-
color: theme(digitv2.lightTheme.paper-primary);
|
|
193
|
-
}
|
|
194
|
-
.digit-label {
|
|
195
|
-
&.selectAll {
|
|
196
|
-
@extend .typography.body-l;
|
|
197
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
.digit-multiselectdropodwn-custom-checkbox,
|
|
202
|
-
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
203
|
-
height: theme(digitv2.spacers.spacer5);
|
|
204
|
-
width: theme(digitv2.spacers.spacer5);
|
|
205
|
-
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
206
|
-
margin: 0.594rem 0.75rem 0.594rem 0.625rem;
|
|
207
|
-
svg {
|
|
208
|
-
@apply opacity-0 z-10;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox,
|
|
212
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox {
|
|
213
|
-
border: 0.125rem solid theme(digitv2.lightTheme.paper-primary);
|
|
214
|
-
background-color: theme(digitv2.lightTheme.primary-1);
|
|
215
|
-
}
|
|
216
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
217
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
218
|
-
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
219
|
-
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
220
|
-
}
|
|
221
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox svg,
|
|
222
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox svg,
|
|
223
|
-
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
224
|
-
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
225
|
-
@apply opacity-100;
|
|
226
|
-
width: theme(digitv2.spacers.spacer4);
|
|
227
|
-
height: theme(digitv2.spacers.spacer4);
|
|
228
|
-
}
|
|
229
|
-
&.nestedtextmultiselect {
|
|
230
|
-
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
|
|
231
|
-
gap: theme(digitv2.spacers.spacer3);
|
|
232
|
-
align-items: flex-start !important;
|
|
233
|
-
&:not(.selectAll) {
|
|
234
|
-
min-height: 4.75rem;
|
|
235
|
-
.input {
|
|
236
|
-
min-height: 3.75rem;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
.option-des-container {
|
|
240
|
-
@apply flex flex-col justify-center items-start;
|
|
241
|
-
width: 100% !important;
|
|
242
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
243
|
-
p {
|
|
244
|
-
@extend .typography.body-l;
|
|
245
|
-
color: theme(digitv2.lightTheme.text-secondary);
|
|
246
|
-
padding: theme(digitv2.spacers.spacer0);
|
|
247
|
-
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
248
|
-
margin-top: theme(digitv2.spacers.spacer0);
|
|
249
|
-
}
|
|
250
|
-
.option-description {
|
|
251
|
-
color: theme(digitv2.lightTheme.text-secondary);
|
|
252
|
-
font-family: theme(digitv2.fontFamily.sans);
|
|
253
|
-
font-size: theme(digitv2.spacers.spacer3);
|
|
254
|
-
font-style: theme(digitv2.fontStyle.normal);
|
|
255
|
-
font-weight: theme(digitv2.fontWeight.regular);
|
|
256
|
-
line-height: 1.125rem;
|
|
257
|
-
}
|
|
258
|
-
.svg {
|
|
259
|
-
flex-shrink: 0;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
.digit-multiselectdropodwn-custom-checkbox {
|
|
263
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
264
|
-
margin-top: 0.125rem;
|
|
265
|
-
}
|
|
266
|
-
&:active,
|
|
267
|
-
&.checked {
|
|
268
|
-
.option-description,
|
|
269
|
-
p {
|
|
270
|
-
color: theme(digitv2.lightTheme.paper-primary);
|
|
271
|
-
}
|
|
272
|
-
.option-des-container {
|
|
273
|
-
p {
|
|
274
|
-
@extend .typography.heading-s;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
.digit-multiselectdropodwn-custom-checkbox {
|
|
278
|
-
margin-top: theme(digitv2.spacers.spacer0);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
&:active {
|
|
282
|
-
background: theme(digitv2.lightTheme.primary-1);
|
|
283
|
-
}
|
|
284
|
-
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
285
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
286
|
-
margin-top: 0.125rem;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
&.selectAll {
|
|
290
|
-
background-color: theme(digitv2.lightTheme.paper-secondary) !important;
|
|
291
|
-
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
|
|
292
|
-
}
|
|
293
|
-
.digit-label {
|
|
294
|
-
&.selectAll {
|
|
295
|
-
@extend .typography.body-l;
|
|
296
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
.digit-cursorPointer {
|
|
301
|
-
@apply cursor-pointer;
|
|
302
|
-
}
|
|
303
|
-
.digit-multiselectdropdown-master,
|
|
304
|
-
.digit-multiselectdropdown-master-active {
|
|
305
|
-
.digit-multiselectdropdown-label {
|
|
306
|
-
p {
|
|
307
|
-
white-space: pre;
|
|
308
|
-
margin: auto;
|
|
309
|
-
margin-left: theme(digitv2.spacers.spacer0);
|
|
310
|
-
padding-left: 1%;
|
|
311
|
-
font-size: theme(digitv2.spacers.spacer4);
|
|
312
|
-
line-height: theme(digitv2.spacers.spacer6);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
.digit-multiselectdropdown-wrap {
|
|
3
|
+
margin-bottom: 0.625rem;
|
|
4
|
+
|
|
5
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
6
|
+
/* Media query for tablets */
|
|
7
|
+
max-width: 27.5rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media (max-aspect-ratio: 9/16) {
|
|
11
|
+
/* Media query for mobile */
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (min-aspect-ratio: 3/4) {
|
|
17
|
+
/* Media query for desktop */
|
|
18
|
+
max-width: 37.5rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@apply relative text-form-field text-text-primary w-full;
|
|
22
|
+
.digit-multiselectdropdown-master,
|
|
23
|
+
.digit-multiselectdropdown-master-active {
|
|
24
|
+
@apply relative h-10 w-full bg-white;
|
|
25
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
26
|
+
input[type="text"] {
|
|
27
|
+
@extend .typography.body-l;
|
|
28
|
+
@apply absolute top-0 left-0 p-sm min-h-full min-w-full opacity-0;
|
|
29
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
30
|
+
&:focus {
|
|
31
|
+
@apply outline-none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.digit-multiselectdropdown-label {
|
|
35
|
+
@apply flex justify-between p-sm w-full h-full;
|
|
36
|
+
svg {
|
|
37
|
+
@apply h-6 w-6;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.digit-multiselectdropdown-master {
|
|
42
|
+
&.disabled {
|
|
43
|
+
pointer-events: none !important;
|
|
44
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
|
|
45
|
+
color: theme(digitv2.lightTheme.generic-divider) !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.digit-multiselectdropdown-master-active {
|
|
49
|
+
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
50
|
+
}
|
|
51
|
+
.digit-multiselectdropdown-server {
|
|
52
|
+
top: theme(digitv2.spacers.spacer10);
|
|
53
|
+
@apply absolute z-20 bg-white overflow-x-hidden overflow-y-auto;
|
|
54
|
+
max-height: 20vmax;
|
|
55
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
|
|
56
|
+
width: 100% !important;
|
|
57
|
+
}
|
|
58
|
+
.digit-multiselectdropdown-server::-webkit-scrollbar {
|
|
59
|
+
width: theme(digitv2.spacers.spacer2);
|
|
60
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
61
|
+
}
|
|
62
|
+
.digit-multiselectdropdown-server::-webkit-scrollbar-track {
|
|
63
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
64
|
+
border-radius: 0.563rem;
|
|
65
|
+
}
|
|
66
|
+
.digit-multiselectdropdown-server::-webkit-scrollbar-thumb {
|
|
67
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
68
|
+
border-radius: 0.563rem;
|
|
69
|
+
}
|
|
70
|
+
.digit-nested-category {
|
|
71
|
+
@apply flex items-center flex-shrink-0;
|
|
72
|
+
background: theme(digitv2.lightTheme.background);
|
|
73
|
+
height: 2.4375rem;
|
|
74
|
+
padding: theme(digitv2.spacers.spacer4) 0.625rem;
|
|
75
|
+
gap: 0.625rem;
|
|
76
|
+
margin-top: theme(digitv2.spacers.spacer4);
|
|
77
|
+
&.selectAll {
|
|
78
|
+
justify-content: space-between;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.digit-nested-category:nth-child(-n+2) {
|
|
82
|
+
margin-top: theme(digitv2.spacers.spacer0);
|
|
83
|
+
}
|
|
84
|
+
.digit-category-name {
|
|
85
|
+
@extend .typography.heading-s;
|
|
86
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
87
|
+
}
|
|
88
|
+
.digit-category-selectAll {
|
|
89
|
+
@apply flex relative;
|
|
90
|
+
gap: 0.625rem;
|
|
91
|
+
cursor: pointer !important;
|
|
92
|
+
align-items: center;
|
|
93
|
+
.category-selectAll-label {
|
|
94
|
+
@extend .typography.body-s;
|
|
95
|
+
text-align: left;
|
|
96
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
97
|
+
}
|
|
98
|
+
input {
|
|
99
|
+
@apply absolute top-0 left-0 w-full h-full opacity-0 cursor-pointer;
|
|
100
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
101
|
+
}
|
|
102
|
+
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
103
|
+
height: theme(digitv2.spacers.spacer5);
|
|
104
|
+
width: theme(digitv2.spacers.spacer5);
|
|
105
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
106
|
+
svg {
|
|
107
|
+
@apply opacity-0 z-10;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
111
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
112
|
+
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
113
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
114
|
+
}
|
|
115
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
116
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
117
|
+
@apply opacity-100;
|
|
118
|
+
width: theme(digitv2.spacers.spacer4);
|
|
119
|
+
height: theme(digitv2.spacers.spacer4);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
.digit-multiselectdropodwn-menuitem {
|
|
123
|
+
@apply flex w-full bg-white justify-start items-center;
|
|
124
|
+
min-height: 2.438rem;
|
|
125
|
+
.option-des-container {
|
|
126
|
+
@apply w-full max-w-full overflow-hidden box-border;
|
|
127
|
+
margin: 0.594rem theme(digitv2.spacers.spacer0) 0.594rem theme(digitv2.spacers.spacer0);
|
|
128
|
+
.multiselectdropdown-icon-option {
|
|
129
|
+
@apply w-full items-center;
|
|
130
|
+
display: flex !important;
|
|
131
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
132
|
+
svg {
|
|
133
|
+
flex-shrink: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
&.nestedmultiselect {
|
|
138
|
+
position: relative;
|
|
139
|
+
&:not(.selectAll)::before {
|
|
140
|
+
content: "";
|
|
141
|
+
position: absolute;
|
|
142
|
+
bottom: 0;
|
|
143
|
+
left: 0.625rem;
|
|
144
|
+
right: 0.625rem;
|
|
145
|
+
border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
146
|
+
}
|
|
147
|
+
&:not(.selectAll):hover,
|
|
148
|
+
&:not(.selectAll):active {
|
|
149
|
+
&::before {
|
|
150
|
+
border-bottom: none;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
&:not(.nestedmultiselect, .keyChange, .checked):not(:active):not(:hover):nth-of-type(even) {
|
|
155
|
+
background: theme(digitv2.lightTheme.paper-secondary);
|
|
156
|
+
}
|
|
157
|
+
&:hover,
|
|
158
|
+
&.keyChange {
|
|
159
|
+
background: theme(digitv2.lightTheme.primary-bg);
|
|
160
|
+
border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
|
|
161
|
+
}
|
|
162
|
+
&:active,
|
|
163
|
+
&:active:hover {
|
|
164
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
165
|
+
border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
|
|
166
|
+
p {
|
|
167
|
+
@extend .typography.heading-s;
|
|
168
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
169
|
+
}
|
|
170
|
+
.digit-label {
|
|
171
|
+
&.selectAll {
|
|
172
|
+
@extend .typography.body-l;
|
|
173
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
input {
|
|
178
|
+
min-height: 2.438rem;
|
|
179
|
+
@apply absolute min-w-full opacity-0 z-20 cursor-pointer;
|
|
180
|
+
}
|
|
181
|
+
p {
|
|
182
|
+
@extend .typography.body-s;
|
|
183
|
+
@apply w-full overflow-hidden whitespace-no-wrap max-w-full;
|
|
184
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
185
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
186
|
+
text-overflow: ellipsis;
|
|
187
|
+
}
|
|
188
|
+
&.checked {
|
|
189
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
190
|
+
p {
|
|
191
|
+
@extend .typography.heading-s;
|
|
192
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
193
|
+
}
|
|
194
|
+
.digit-label {
|
|
195
|
+
&.selectAll {
|
|
196
|
+
@extend .typography.body-l;
|
|
197
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
.digit-multiselectdropodwn-custom-checkbox,
|
|
202
|
+
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
203
|
+
height: theme(digitv2.spacers.spacer5);
|
|
204
|
+
width: theme(digitv2.spacers.spacer5);
|
|
205
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
206
|
+
margin: 0.594rem 0.75rem 0.594rem 0.625rem;
|
|
207
|
+
svg {
|
|
208
|
+
@apply opacity-0 z-10;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox,
|
|
212
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox {
|
|
213
|
+
border: 0.125rem solid theme(digitv2.lightTheme.paper-primary);
|
|
214
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
215
|
+
}
|
|
216
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
|
|
217
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
218
|
+
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
219
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
220
|
+
}
|
|
221
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox svg,
|
|
222
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox svg,
|
|
223
|
+
input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
|
|
224
|
+
input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
|
|
225
|
+
@apply opacity-100;
|
|
226
|
+
width: theme(digitv2.spacers.spacer4);
|
|
227
|
+
height: theme(digitv2.spacers.spacer4);
|
|
228
|
+
}
|
|
229
|
+
&.nestedtextmultiselect {
|
|
230
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
|
|
231
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
232
|
+
align-items: flex-start !important;
|
|
233
|
+
&:not(.selectAll) {
|
|
234
|
+
min-height: 4.75rem;
|
|
235
|
+
.input {
|
|
236
|
+
min-height: 3.75rem;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
.option-des-container {
|
|
240
|
+
@apply flex flex-col justify-center items-start;
|
|
241
|
+
width: 100% !important;
|
|
242
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
243
|
+
p {
|
|
244
|
+
@extend .typography.body-l;
|
|
245
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
246
|
+
padding: theme(digitv2.spacers.spacer0);
|
|
247
|
+
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
248
|
+
margin-top: theme(digitv2.spacers.spacer0);
|
|
249
|
+
}
|
|
250
|
+
.option-description {
|
|
251
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
252
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
253
|
+
font-size: theme(digitv2.spacers.spacer3);
|
|
254
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
255
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
256
|
+
line-height: 1.125rem;
|
|
257
|
+
}
|
|
258
|
+
.svg {
|
|
259
|
+
flex-shrink: 0;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
.digit-multiselectdropodwn-custom-checkbox {
|
|
263
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
264
|
+
margin-top: 0.125rem;
|
|
265
|
+
}
|
|
266
|
+
&:active,
|
|
267
|
+
&.checked {
|
|
268
|
+
.option-description,
|
|
269
|
+
p {
|
|
270
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
271
|
+
}
|
|
272
|
+
.option-des-container {
|
|
273
|
+
p {
|
|
274
|
+
@extend .typography.heading-s;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
.digit-multiselectdropodwn-custom-checkbox {
|
|
278
|
+
margin-top: theme(digitv2.spacers.spacer0);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
&:active {
|
|
282
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
283
|
+
}
|
|
284
|
+
.digit-multiselectdropodwn-custom-checkbox-selectAll {
|
|
285
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
286
|
+
margin-top: 0.125rem;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
&.selectAll {
|
|
290
|
+
background-color: theme(digitv2.lightTheme.paper-secondary) !important;
|
|
291
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
|
|
292
|
+
}
|
|
293
|
+
.digit-label {
|
|
294
|
+
&.selectAll {
|
|
295
|
+
@extend .typography.body-l;
|
|
296
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
.digit-cursorPointer {
|
|
301
|
+
@apply cursor-pointer;
|
|
302
|
+
}
|
|
303
|
+
.digit-multiselectdropdown-master,
|
|
304
|
+
.digit-multiselectdropdown-master-active {
|
|
305
|
+
.digit-multiselectdropdown-label {
|
|
306
|
+
p {
|
|
307
|
+
white-space: pre;
|
|
308
|
+
margin: auto;
|
|
309
|
+
margin-left: theme(digitv2.spacers.spacer0);
|
|
310
|
+
padding-left: 1%;
|
|
311
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
312
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
316
|
}
|