@egovernments/digit-ui-components-css 0.0.2-beta.9 → 0.2.0-beta.1
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 +150 -0
- package/README.md +11 -2
- package/dist/index.css +10775 -3688
- 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 +498 -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 +52 -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/inboxsearchcomposer.scss +409 -0
- package/src/digitv2/pages/employee/index.scss +2 -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,417 @@
|
|
|
1
|
+
.digit-filter-card-popup-overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: rgba(11, 12, 12, 0.7);
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
z-index: 9999;
|
|
12
|
+
backdrop-filter: blur(0.125rem);
|
|
13
|
+
-webkit-backdrop-filter: blur(0.125rem);
|
|
14
|
+
|
|
15
|
+
.digit-filter-card-popup-wrapper {
|
|
16
|
+
@apply w-full h-auto flex-col fixed;
|
|
17
|
+
z-index: 10000;
|
|
18
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
19
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
20
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
21
|
+
display: flex;
|
|
22
|
+
top: 50%;
|
|
23
|
+
left: 50%;
|
|
24
|
+
transform: translate(-50%, -50%) scale(0);
|
|
25
|
+
opacity: 0;
|
|
26
|
+
animation: scaleIn 300ms ease-in-out forwards;
|
|
27
|
+
|
|
28
|
+
@media (min-aspect-ratio: 3/4) {
|
|
29
|
+
max-height: 86%;
|
|
30
|
+
max-width: 51%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
34
|
+
max-height: 82%;
|
|
35
|
+
max-width: 74%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (max-aspect-ratio: 9/16) {
|
|
39
|
+
max-height: 80%;
|
|
40
|
+
max-width: 91%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.digit-radio-options-wrap {
|
|
44
|
+
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
.digit-filter-card-popup-wrapper.closing {
|
|
51
|
+
animation: scaleOut 300ms ease-in-out forwards;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes scaleIn {
|
|
55
|
+
0% {
|
|
56
|
+
transform: translate(-50%, -50%) scale(0);
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
100% {
|
|
61
|
+
transform: translate(-50%, -50%) scale(1);
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes scaleOut {
|
|
67
|
+
0% {
|
|
68
|
+
transform: translate(-50%, -50%) scale(1);
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
100% {
|
|
73
|
+
transform: translate(-50%, -50%) scale(0);
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
.filter-card {
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: auto;
|
|
82
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
83
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
84
|
+
box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
position: relative;
|
|
88
|
+
|
|
89
|
+
.digit-radio-options-wrap {
|
|
90
|
+
margin-bottom: theme(digitv2.spacers.spacer0);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.filter-card-horizontal {
|
|
95
|
+
display: grid;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.filter-card-vertical {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
|
|
103
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
104
|
+
/* Media query for tablets */
|
|
105
|
+
max-width: 27.5rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (max-aspect-ratio: 9/16) {
|
|
109
|
+
/* Media query for mobile */
|
|
110
|
+
max-width: 100%;
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-aspect-ratio: 3/4) {
|
|
115
|
+
/* Media query for desktop */
|
|
116
|
+
max-width: 37.5rem;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
.filter-header {
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
align-items: center;
|
|
125
|
+
|
|
126
|
+
.title-container {
|
|
127
|
+
display: flex !important;
|
|
128
|
+
gap: 0.5rem;
|
|
129
|
+
align-items: center;
|
|
130
|
+
|
|
131
|
+
.close-icon {
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: theme(digitv2.spacers.spacer2);
|
|
135
|
+
right: theme(digitv2.spacers.spacer2);
|
|
136
|
+
width: theme(digitv2.spacers.spacer8);
|
|
137
|
+
height: theme(digitv2.spacers.spacer8);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.with-shadow {
|
|
142
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.with-shadow {
|
|
146
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media (min-aspect-ratio: 3/4) {
|
|
150
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
151
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
152
|
+
|
|
153
|
+
&.with-shadow {
|
|
154
|
+
padding-bottom: theme(digitv2.spacers.spacer6);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
159
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
160
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
161
|
+
|
|
162
|
+
&.with-shadow {
|
|
163
|
+
padding-bottom: theme(digitv2.spacers.spacer5);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (max-aspect-ratio: 9/16) {
|
|
168
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
169
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
170
|
+
|
|
171
|
+
&.with-shadow {
|
|
172
|
+
padding-bottom: theme(digitv2.spacers.spacer4);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.filter-header .filter-title {
|
|
178
|
+
@extend .typography.caption-l;
|
|
179
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.content-container {
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
overflow-y: auto;
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
@media (min-aspect-ratio: 3/4) {
|
|
189
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
190
|
+
padding: theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer6);
|
|
191
|
+
|
|
192
|
+
&.with-shadow,
|
|
193
|
+
&.without-footer {
|
|
194
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
200
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
201
|
+
padding: theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer5);
|
|
202
|
+
|
|
203
|
+
&.with-shadow,
|
|
204
|
+
&.without-footer {
|
|
205
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@media (max-aspect-ratio: 9/16) {
|
|
211
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
212
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer4);
|
|
213
|
+
|
|
214
|
+
&.with-shadow,
|
|
215
|
+
&.without-footer {
|
|
216
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.digit-label-field-pair {
|
|
221
|
+
margin-bottom: unset;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.content-item {
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: space-between;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.content-item:last-child {
|
|
231
|
+
border-bottom: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
.button-container {
|
|
236
|
+
display: flex;
|
|
237
|
+
justify-content: flex-end;
|
|
238
|
+
gap: 1.5rem;
|
|
239
|
+
/*grid-column: span 3 ;*/
|
|
240
|
+
|
|
241
|
+
&.equal-buttons {
|
|
242
|
+
justify-content: flex-start;
|
|
243
|
+
width: 100%;
|
|
244
|
+
|
|
245
|
+
button {
|
|
246
|
+
flex: 1
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.vertical{
|
|
251
|
+
flex-direction: column !important;
|
|
252
|
+
|
|
253
|
+
button {
|
|
254
|
+
width: 100%;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.equal-buttons {
|
|
258
|
+
justify-content: flex-start;
|
|
259
|
+
width: 100%;
|
|
260
|
+
|
|
261
|
+
button {
|
|
262
|
+
flex: unset;
|
|
263
|
+
width: 100%;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@media (max-aspect-ratio: 9/16){
|
|
269
|
+
|
|
270
|
+
flex-direction: column !important;
|
|
271
|
+
|
|
272
|
+
button {
|
|
273
|
+
width: 100%;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&.equal-buttons {
|
|
277
|
+
justify-content: flex-start;
|
|
278
|
+
width: 100%;
|
|
279
|
+
|
|
280
|
+
button {
|
|
281
|
+
flex: unset;
|
|
282
|
+
width: 100%;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&.with-shadow {
|
|
288
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@media (min-aspect-ratio: 3/4) {
|
|
292
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
296
|
+
@apply w-full;
|
|
297
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media (max-aspect-ratio: 9/16) {
|
|
301
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.content-action-wrapper {
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-wrap: wrap;
|
|
308
|
+
overflow-y: auto;
|
|
309
|
+
|
|
310
|
+
@media (min-aspect-ratio: 3/4) {
|
|
311
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
312
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
316
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
317
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (max-aspect-ratio: 9/16) {
|
|
321
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
322
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.content-container {
|
|
326
|
+
flex-direction: row;
|
|
327
|
+
padding: 0rem;
|
|
328
|
+
display: flex;
|
|
329
|
+
flex-wrap: wrap;
|
|
330
|
+
width: 100%;
|
|
331
|
+
display: grid;
|
|
332
|
+
grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
@media (max-aspect-ratio: 9/16) {
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
.digit-label-field-pair{
|
|
338
|
+
width: 100%;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.digit-label-field-pair{
|
|
343
|
+
flex: 1;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.button-container {
|
|
348
|
+
padding: 0rem;
|
|
349
|
+
display: flex;
|
|
350
|
+
flex-direction: row;
|
|
351
|
+
flex:1;
|
|
352
|
+
align-items: center;
|
|
353
|
+
justify-content: flex-end;
|
|
354
|
+
grid-column: span 2 / -1;
|
|
355
|
+
justify-self: end;
|
|
356
|
+
|
|
357
|
+
@media (min-aspect-ratio: 3/4) {
|
|
358
|
+
button{
|
|
359
|
+
margin-top: 1.875rem;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4){
|
|
364
|
+
button{
|
|
365
|
+
margin-top: 1.875rem;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
@media (max-aspect-ratio: 9/16) {
|
|
370
|
+
button{
|
|
371
|
+
margin-top: 0rem;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
&.equal-buttons {
|
|
376
|
+
justify-content: flex-end;
|
|
377
|
+
width: 100%;
|
|
378
|
+
|
|
379
|
+
button {
|
|
380
|
+
flex: unset
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.content-container::-webkit-scrollbar {
|
|
388
|
+
width: theme(digitv2.spacers.spacer2);
|
|
389
|
+
height: 0rem;
|
|
390
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.content-container::-webkit-scrollbar-track {
|
|
394
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
395
|
+
border-radius: 0.563rem;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.content-container::-webkit-scrollbar-thumb {
|
|
399
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
400
|
+
border-radius: 0.563rem;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.content-action-wrapper::-webkit-scrollbar {
|
|
404
|
+
width: theme(digitv2.spacers.spacer2);
|
|
405
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
.content-action-wrapper::-webkit-scrollbar-track {
|
|
410
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
411
|
+
border-radius: 0.563rem;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.content-action-wrapper::-webkit-scrollbar-thumb {
|
|
415
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
416
|
+
border-radius: 0.563rem;
|
|
417
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
/*.digit-action-bar-wrap {
|
|
4
|
+
@extend .light-text-color-primary;
|
|
5
|
+
@extend .light-paper-primary;
|
|
6
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
|
|
10
|
+
@apply left-0 bottom-0 w-full bg-white py-sm px-sm fixed text-right;
|
|
11
|
+
|
|
12
|
+
div {
|
|
13
|
+
@apply w-full;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.digit-menu-wrap {
|
|
17
|
+
@extend .light-background;
|
|
18
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
19
|
+
bottom: 45px;
|
|
20
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
21
|
+
width: calc(100% - 16px);
|
|
22
|
+
right: 8px;
|
|
23
|
+
|
|
24
|
+
div {
|
|
25
|
+
@extend .light-primary;
|
|
26
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
@extend .light-background;
|
|
30
|
+
@apply bg-grey-mid w-full;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@screen dt {
|
|
37
|
+
.digit-action-bar-wrap {
|
|
38
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
39
|
+
left: 0;
|
|
40
|
+
max-width: none;
|
|
41
|
+
z-index: 999;
|
|
42
|
+
|
|
43
|
+
@apply fixed bottom-0 bg-white py-sm pr-lg text-right;
|
|
44
|
+
|
|
45
|
+
div {
|
|
46
|
+
width: calc(100% - 16px);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.digit-menu-wrap {
|
|
50
|
+
bottom: 45px;
|
|
51
|
+
top: unset;
|
|
52
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
53
|
+
@apply absolute h-auto bg-white text-left mb-xs z-30;
|
|
54
|
+
width: 240px;
|
|
55
|
+
right: 24px;
|
|
56
|
+
|
|
57
|
+
div {
|
|
58
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
@apply bg-grey-mid w-full;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.digit-action-bar-wrap-registry {
|
|
69
|
+
div {
|
|
70
|
+
@apply w-full;
|
|
71
|
+
}
|
|
72
|
+
.digit-menu-wrap {
|
|
73
|
+
@extend .light-background;
|
|
74
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
75
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
76
|
+
width: 160px;
|
|
77
|
+
right: 60px;
|
|
78
|
+
|
|
79
|
+
div {
|
|
80
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
@extend .light-background;
|
|
84
|
+
@apply bg-grey-mid w-full;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.digit-search-add {
|
|
90
|
+
@extend .light-primary;
|
|
91
|
+
padding: 12px 16px;
|
|
92
|
+
color: rgb(244, 119, 56);
|
|
93
|
+
display: flex;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.digit-search-add-icon {
|
|
98
|
+
@extend .light-primary-button;
|
|
99
|
+
background: rgb(244, 119, 56);
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
height: 24px;
|
|
102
|
+
width: 24px;
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
align-items: center;
|
|
106
|
+
margin-left: 10px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
.digit-action-bar-wrap{
|
|
112
|
+
width: 100%;
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer8);
|
|
115
|
+
display: flex !important;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
119
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
120
|
+
height: 4.5rem;
|
|
121
|
+
position: fixed;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
left: 0;
|
|
124
|
+
right: 0;
|
|
125
|
+
z-index: 100;
|
|
126
|
+
|
|
127
|
+
@media (min-width: 48rem) {
|
|
128
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
132
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (max-width: 30rem) {
|
|
136
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
137
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
138
|
+
height: 8rem;
|
|
139
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.digit-action-bar-fields{
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
flex-wrap: wrap;
|
|
146
|
+
|
|
147
|
+
&.toRight{
|
|
148
|
+
margin-left: auto;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.toLeft{
|
|
152
|
+
justify-content: unset;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.action-bar-individual-action-field{
|
|
156
|
+
button{
|
|
157
|
+
flex: 1;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:not(.toRight){
|
|
162
|
+
width: 100%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@media (min-width: 48rem) {
|
|
166
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
170
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@media (max-width: 30rem) {
|
|
174
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
width: 100%;
|
|
177
|
+
|
|
178
|
+
.action-bar-individual-action-field{
|
|
179
|
+
button{
|
|
180
|
+
width: 100%;
|
|
181
|
+
max-width: 100%;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.digit-dropdown-select-wrap,
|
|
188
|
+
.digit-employee-dropdown-select-wrap{
|
|
189
|
+
margin-bottom: 0rem;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.header-dropdown-container {
|
|
193
|
+
position: relative;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.header-dropdown-menu {
|
|
197
|
+
@apply absolute z-30;
|
|
198
|
+
bottom: theme(digitv2.spacers.spacer10);
|
|
199
|
+
right: 0;
|
|
200
|
+
max-height: unset;
|
|
201
|
+
margin-top: unset;
|
|
202
|
+
|
|
203
|
+
&.showBottom{
|
|
204
|
+
bottom: unset;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
}
|