@sc-360-v2/storefront-cms-library 0.3.5 → 0.3.8
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/builder.js +1 -1
- package/dist/builder.js.LICENSE.txt +1 -1
- package/dist/bulk-order-pad.scss +13 -8
- package/dist/button copy.scss +2 -1
- package/dist/checkout.scss +141 -16
- package/dist/common-element.scss +6 -0
- package/dist/confirmationModal.scss +79 -0
- package/dist/dropdownTemplate.scss +71 -8
- package/dist/employee-bulk-order.scss +547 -0
- package/dist/fb-dropdown.scss +124 -0
- package/dist/filter-results.scss +324 -0
- package/dist/filters.scss +1324 -31
- package/dist/form-preview.scss +163 -108
- package/dist/functions.js +1 -1
- package/dist/globals.scss +6 -0
- package/dist/icon-list.scss +11 -11
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +6 -0
- package/dist/layouter-pro.scss +30 -2
- package/dist/menu-v2.scss +5 -2
- package/dist/modal.scss +13 -6
- package/dist/past-orders.scss +770 -26
- package/dist/product-actions.scss +254 -393
- package/dist/product-basic-elements.scss +12 -12
- package/dist/product-options.scss +73 -46
- package/dist/quotes.scss +1 -0
- package/dist/repeater.scss +5 -2
- package/dist/text-temp-v2.scss +2 -2
- package/dist/toggle-button.scss +32 -0
- package/dist/types/builder/constants/data-connectors.d.ts +55 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +15 -0
- package/dist/types/builder/elements/product-sizechart/index.d.ts +26 -0
- package/dist/types/builder/elements/user-elements/index.d.ts +30 -0
- package/dist/types/builder/enums/data-connectors.d.ts +21 -0
- package/dist/types/builder/enums/index.d.ts +5 -1
- package/dist/types/builder/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/common.d.ts +8 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +14 -1
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +9 -2
- package/dist/types/builder/tools/element-edit/pastOrders.d.ts +61 -1
- package/dist/types/builder/tools/element-edit/productActions.d.ts +100 -1
- package/dist/types/builder/tools/element-edit/productSizeChart.d.ts +98 -0
- package/dist/types/builder/tools/element-edit/profile.d.ts +26 -2
- package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +16 -2
- package/dist/types/builder/tools/element-edit/userElements.d.ts +555 -0
- package/dist/types/global/types.d.ts +2 -1
- package/dist/user-elements.scss +1375 -0
- package/dist/variant-picker.scss +132 -84
- package/dist/widget.scss +5 -0
- package/package.json +5 -1
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
.employee_bulk_order_header {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-self: end;
|
|
4
|
+
gap: 10px;
|
|
5
|
+
.single_payment_action {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 6px;
|
|
9
|
+
}
|
|
10
|
+
.svg_icon {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.product-card {
|
|
17
|
+
display: flex;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
.image-section {
|
|
21
|
+
width: 80px;
|
|
22
|
+
height: 100%;
|
|
23
|
+
img {
|
|
24
|
+
width: 50px;
|
|
25
|
+
height: 65px;
|
|
26
|
+
object-fit: cover;
|
|
27
|
+
border-radius: 2px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.info-section {
|
|
31
|
+
margin-left: 12px;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
width: calc(100% - 80px);
|
|
36
|
+
.header {
|
|
37
|
+
width: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: space-between;
|
|
41
|
+
position: relative;
|
|
42
|
+
.product-name {
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
font-size: 16px;
|
|
45
|
+
color: #1a1a1a;
|
|
46
|
+
}
|
|
47
|
+
.svg_icon {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.item-number,
|
|
54
|
+
.quota {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
color: #6b7280;
|
|
57
|
+
margin-top: 2px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.item-number span,
|
|
61
|
+
.quota span {
|
|
62
|
+
margin-left: 4px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.employee-bulk-order-section {
|
|
68
|
+
height: 100%;
|
|
69
|
+
width: 100%;
|
|
70
|
+
overflow: auto;
|
|
71
|
+
.employee-products {
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
text-align: center;
|
|
75
|
+
height: 36px;
|
|
76
|
+
display: grid;
|
|
77
|
+
align-items: anchor-center;
|
|
78
|
+
}
|
|
79
|
+
.employee-content-section {
|
|
80
|
+
display: flex;
|
|
81
|
+
height: calc(100% - 50px);
|
|
82
|
+
width: calc(100% - 10px);
|
|
83
|
+
.employees-section-title {
|
|
84
|
+
writing-mode: vertical-rl;
|
|
85
|
+
transform: rotate(180deg);
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
font-size: 14px;
|
|
88
|
+
margin-right: 10px;
|
|
89
|
+
display: flex;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
overflow: visible;
|
|
92
|
+
position: sticky;
|
|
93
|
+
top: 0;
|
|
94
|
+
height: 100%;
|
|
95
|
+
position: relative;
|
|
96
|
+
&:before,
|
|
97
|
+
&:after {
|
|
98
|
+
content: "";
|
|
99
|
+
width: 1px;
|
|
100
|
+
height: calc(50% - 50px);
|
|
101
|
+
background: #eaecf0;
|
|
102
|
+
position: relative;
|
|
103
|
+
left: -10px;
|
|
104
|
+
}
|
|
105
|
+
&:before {
|
|
106
|
+
top: -14px;
|
|
107
|
+
}
|
|
108
|
+
&:after {
|
|
109
|
+
top: 14px;
|
|
110
|
+
}
|
|
111
|
+
.title {
|
|
112
|
+
background: #ffffff;
|
|
113
|
+
height: max-content;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
.employee-content {
|
|
117
|
+
width: calc(100% - 21px);
|
|
118
|
+
display: flex;
|
|
119
|
+
.em_content {
|
|
120
|
+
// display: flex;
|
|
121
|
+
.add-entity-section {
|
|
122
|
+
width: 250px;
|
|
123
|
+
height: 88px;
|
|
124
|
+
position: relative;
|
|
125
|
+
border: 1px solid #d0d5dd;
|
|
126
|
+
border-bottom: none;
|
|
127
|
+
border-right: none;
|
|
128
|
+
.svg_icon {
|
|
129
|
+
position: absolute;
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
background: #243dc6;
|
|
133
|
+
width: 20px;
|
|
134
|
+
height: 20px;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
border-radius: 50%;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
svg {
|
|
139
|
+
path {
|
|
140
|
+
stroke: #fff;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.em_add-product {
|
|
145
|
+
position: absolute;
|
|
146
|
+
right: 0;
|
|
147
|
+
.svg_icon {
|
|
148
|
+
right: -10px;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
.em_add-employee {
|
|
152
|
+
position: absolute;
|
|
153
|
+
bottom: 0;
|
|
154
|
+
.svg_icon {
|
|
155
|
+
left: -10px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
.em_add-product-disabled {
|
|
159
|
+
pointer-events: none;
|
|
160
|
+
opacity: 0.8;
|
|
161
|
+
cursor: default;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.employees-section {
|
|
165
|
+
height: calc(100% - 88px);
|
|
166
|
+
border: 1px solid #d0d5dd;
|
|
167
|
+
overflow: auto;
|
|
168
|
+
width: 250px;
|
|
169
|
+
.employee_card {
|
|
170
|
+
padding: 12px;
|
|
171
|
+
display: grid;
|
|
172
|
+
gap: 12px;
|
|
173
|
+
border-bottom: 1px solid #d0d5dd;
|
|
174
|
+
height: 112px;
|
|
175
|
+
width: 100%;
|
|
176
|
+
.em_data {
|
|
177
|
+
display: flex;
|
|
178
|
+
// align-items: baseline;
|
|
179
|
+
gap: 10px;
|
|
180
|
+
.em_profile {
|
|
181
|
+
width: 40px;
|
|
182
|
+
height: 40px;
|
|
183
|
+
background: #ededed;
|
|
184
|
+
border-radius: 50%;
|
|
185
|
+
align-items: center;
|
|
186
|
+
text-align: center;
|
|
187
|
+
display: flex;
|
|
188
|
+
background-size: 100% 100%;
|
|
189
|
+
.em_profile_text {
|
|
190
|
+
width: 100%;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
.em_info {
|
|
194
|
+
display: grid;
|
|
195
|
+
gap: 4px;
|
|
196
|
+
.em_name_section {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
.em_name {
|
|
200
|
+
width: 158px;
|
|
201
|
+
color: var(--_gray-900);
|
|
202
|
+
font-size: 14px;
|
|
203
|
+
}
|
|
204
|
+
.svg_icon {
|
|
205
|
+
display: flex;
|
|
206
|
+
cursor: pointer;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
.em_code {
|
|
210
|
+
width: 158px;
|
|
211
|
+
color: var(--_gray-600);
|
|
212
|
+
font-size: 12px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
.em_entity-status {
|
|
217
|
+
display: flex;
|
|
218
|
+
gap: 10px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
.employee_card.selected {
|
|
223
|
+
background: #e6f0ff;
|
|
224
|
+
}
|
|
225
|
+
.em_empty_section {
|
|
226
|
+
width: 100%;
|
|
227
|
+
height: 100%;
|
|
228
|
+
text-align: center;
|
|
229
|
+
display: grid;
|
|
230
|
+
align-items: anchor-center;
|
|
231
|
+
color: #475467;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
.products-section {
|
|
235
|
+
width: calc(100% - 250px);
|
|
236
|
+
height: 100%;
|
|
237
|
+
border: 1px solid #d0d5dd;
|
|
238
|
+
display: flex;
|
|
239
|
+
overflow-x: auto;
|
|
240
|
+
.em_product {
|
|
241
|
+
min-width: 320px;
|
|
242
|
+
width: 320px;
|
|
243
|
+
height: 100%;
|
|
244
|
+
border: 1px solid #d0d5dd;
|
|
245
|
+
border-left: 0;
|
|
246
|
+
border-top: 0;
|
|
247
|
+
.em_product-data {
|
|
248
|
+
width: 100%;
|
|
249
|
+
// height: 177px;
|
|
250
|
+
border-bottom: 1px solid #d0d5dd;
|
|
251
|
+
.em_product-info {
|
|
252
|
+
height: 88px;
|
|
253
|
+
border-bottom: 1px solid #d0d5dd;
|
|
254
|
+
}
|
|
255
|
+
.em_product-variant,
|
|
256
|
+
.em_product-info {
|
|
257
|
+
// height: 50%;
|
|
258
|
+
padding: 12px;
|
|
259
|
+
}
|
|
260
|
+
.em_product-variant {
|
|
261
|
+
height: 68px;
|
|
262
|
+
.em_variant-status {
|
|
263
|
+
display: flex;
|
|
264
|
+
gap: 10px;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.em_pr_actions {
|
|
269
|
+
display: flex;
|
|
270
|
+
justify-content: end;
|
|
271
|
+
gap: 8px;
|
|
272
|
+
height: 40px;
|
|
273
|
+
align-items: center;
|
|
274
|
+
border-bottom: 1px solid #d0d5dd;
|
|
275
|
+
padding: 0 12px;
|
|
276
|
+
.action {
|
|
277
|
+
font-size: 14px;
|
|
278
|
+
cursor: pointer;
|
|
279
|
+
}
|
|
280
|
+
.discard {
|
|
281
|
+
color: #475467;
|
|
282
|
+
}
|
|
283
|
+
.save {
|
|
284
|
+
color: #243dc6;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
.product-option-details {
|
|
288
|
+
height: calc(100% - 204px);
|
|
289
|
+
width: 100%;
|
|
290
|
+
overflow: auto;
|
|
291
|
+
.em_p_variant_options {
|
|
292
|
+
padding: 12px;
|
|
293
|
+
.em_p_opt {
|
|
294
|
+
margin-bottom: 4px;
|
|
295
|
+
.em_opt_name {
|
|
296
|
+
font-size: 12px;
|
|
297
|
+
color: #101828;
|
|
298
|
+
font-weight: 500;
|
|
299
|
+
}
|
|
300
|
+
.em_p_opt_values {
|
|
301
|
+
display: inline-block;
|
|
302
|
+
padding: 8px 0;
|
|
303
|
+
.em_opt_val {
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
&:hover {
|
|
306
|
+
// scale: 1.01;
|
|
307
|
+
transition: all 0.2s;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
.em_opt_val.selected {
|
|
311
|
+
border: 1px solid #243dc6;
|
|
312
|
+
}
|
|
313
|
+
.em_opt_val.not-avl {
|
|
314
|
+
position: relative;
|
|
315
|
+
overflow: hidden;
|
|
316
|
+
&:after {
|
|
317
|
+
content: "";
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 100%;
|
|
320
|
+
position: absolute;
|
|
321
|
+
left: 0;
|
|
322
|
+
top: 0;
|
|
323
|
+
background: url(https://sellerscommerce.sirv.com/00000000-0000-0000-0000-000000000000/development/Line%207.png);
|
|
324
|
+
background-repeat: no-repeat;
|
|
325
|
+
background-size: 100% 100%;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
.em_opt_val_swatch {
|
|
330
|
+
width: 25px;
|
|
331
|
+
height: 25px;
|
|
332
|
+
float: left;
|
|
333
|
+
margin: 0px 4px 4px 0px;
|
|
334
|
+
border-radius: 50%;
|
|
335
|
+
background-size: 100% 100%;
|
|
336
|
+
background-repeat: no-repeat;
|
|
337
|
+
}
|
|
338
|
+
.em_opt_val_single {
|
|
339
|
+
min-width: 25px;
|
|
340
|
+
max-width: max-content;
|
|
341
|
+
padding: 4px;
|
|
342
|
+
text-align: center;
|
|
343
|
+
border-radius: 6px;
|
|
344
|
+
margin: 0px 4px 4px 0px;
|
|
345
|
+
float: left;
|
|
346
|
+
border: 1px solid #d0d5dd;
|
|
347
|
+
font-size: 16px;
|
|
348
|
+
font-weight: 400;
|
|
349
|
+
color: var(--_gray-600);
|
|
350
|
+
}
|
|
351
|
+
.em_opt_val_single.selected {
|
|
352
|
+
background: #f2f4fc;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
// .em_opt_val_swatch.selected {
|
|
356
|
+
|
|
357
|
+
// }
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
.product-qty-section {
|
|
363
|
+
height: 46px;
|
|
364
|
+
position: relative;
|
|
365
|
+
input {
|
|
366
|
+
height: 100%;
|
|
367
|
+
width: 100%;
|
|
368
|
+
border: 1px solid #d0d5dd;
|
|
369
|
+
/* border-radius: 4px; */
|
|
370
|
+
border-left: 0;
|
|
371
|
+
border-right: 0;
|
|
372
|
+
padding: 0 64px;
|
|
373
|
+
text-align: center;
|
|
374
|
+
}
|
|
375
|
+
.qty-action {
|
|
376
|
+
position: absolute;
|
|
377
|
+
top: 0;
|
|
378
|
+
height: 100%;
|
|
379
|
+
width: 64px;
|
|
380
|
+
display: grid;
|
|
381
|
+
// align-items: anchor-center;
|
|
382
|
+
// text-align: center;
|
|
383
|
+
background: #e6f0ff;
|
|
384
|
+
cursor: pointer;
|
|
385
|
+
&:hover {
|
|
386
|
+
background: #c3dbff;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.svg_icon {
|
|
390
|
+
display: flex;
|
|
391
|
+
align-items: center;
|
|
392
|
+
justify-self: center;
|
|
393
|
+
cursor: pointer;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
.qty-action.decrease {
|
|
397
|
+
left: 0;
|
|
398
|
+
}
|
|
399
|
+
.qty-action.increase {
|
|
400
|
+
right: 1px;
|
|
401
|
+
}
|
|
402
|
+
.qty_action_disabled {
|
|
403
|
+
pointer-events: none;
|
|
404
|
+
opacity: 0.8;
|
|
405
|
+
cursor: default;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
.invalid_qty {
|
|
409
|
+
border: #f51605 1px solid !important;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
.invalid_em_pr {
|
|
413
|
+
border: #f51605 1px solid !important;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.heade-body {
|
|
421
|
+
position: absolute;
|
|
422
|
+
right: 84px;
|
|
423
|
+
.employee_bulk_order_header {
|
|
424
|
+
display: flex;
|
|
425
|
+
justify-self: end;
|
|
426
|
+
gap: 16px;
|
|
427
|
+
.single_payment_action {
|
|
428
|
+
display: flex;
|
|
429
|
+
align-items: center;
|
|
430
|
+
gap: 6px;
|
|
431
|
+
}
|
|
432
|
+
.svg_icon {
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
cursor: pointer;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.employee_bulk_order_header_item {
|
|
439
|
+
color: #344054;
|
|
440
|
+
font-size: 14px;
|
|
441
|
+
display: flex;
|
|
442
|
+
justify-content: center;
|
|
443
|
+
align-items: center;
|
|
444
|
+
gap: 4px;
|
|
445
|
+
position: relative;
|
|
446
|
+
&:after {
|
|
447
|
+
content: "";
|
|
448
|
+
width: 1px;
|
|
449
|
+
height: 24px;
|
|
450
|
+
background: #d0d5dd;
|
|
451
|
+
position: absolute;
|
|
452
|
+
right: -8px;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
.action_item {
|
|
456
|
+
cursor: pointer;
|
|
457
|
+
}
|
|
458
|
+
.em_order_settings_act {
|
|
459
|
+
width: 40px;
|
|
460
|
+
}
|
|
461
|
+
.em_btn_act {
|
|
462
|
+
padding: 8px 14px;
|
|
463
|
+
height: 40px;
|
|
464
|
+
border-radius: 4px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.em_review_btn {
|
|
468
|
+
background: #243dc6;
|
|
469
|
+
color: #fff;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.em_btn_act_disabled {
|
|
473
|
+
pointer-events: none;
|
|
474
|
+
opacity: 0.8;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.product-card {
|
|
480
|
+
display: flex;
|
|
481
|
+
width: 100%;
|
|
482
|
+
height: 100%;
|
|
483
|
+
.image-section {
|
|
484
|
+
width: 48px;
|
|
485
|
+
height: 64px;
|
|
486
|
+
img {
|
|
487
|
+
width: 100%;
|
|
488
|
+
height: 100%;
|
|
489
|
+
object-fit: cover;
|
|
490
|
+
border-radius: 2px;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
.info-section {
|
|
494
|
+
margin-left: 12px;
|
|
495
|
+
display: flex;
|
|
496
|
+
gap: 4px;
|
|
497
|
+
flex-direction: column;
|
|
498
|
+
justify-content: center;
|
|
499
|
+
width: calc(100% - 48px);
|
|
500
|
+
.header {
|
|
501
|
+
width: 100%;
|
|
502
|
+
display: flex;
|
|
503
|
+
align-items: center;
|
|
504
|
+
justify-content: space-between;
|
|
505
|
+
position: relative;
|
|
506
|
+
.product-name {
|
|
507
|
+
font-weight: 600;
|
|
508
|
+
font-size: 14px;
|
|
509
|
+
color: #1a1a1a;
|
|
510
|
+
white-space: nowrap;
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
text-overflow: ellipsis;
|
|
513
|
+
}
|
|
514
|
+
.svg_icon {
|
|
515
|
+
display: flex;
|
|
516
|
+
align-items: center;
|
|
517
|
+
cursor: pointer;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
.em_p_code_s {
|
|
521
|
+
display: flex;
|
|
522
|
+
gap: 4px;
|
|
523
|
+
.em_p_code {
|
|
524
|
+
max-width: 160px;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
.em_p_code_s,
|
|
528
|
+
.em_quota {
|
|
529
|
+
font-size: 12px;
|
|
530
|
+
color: #6b7280;
|
|
531
|
+
margin-top: 2px;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.em_quota span {
|
|
535
|
+
margin-left: 4px;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.icon_with_label_section {
|
|
541
|
+
display: flex;
|
|
542
|
+
gap: 4px;
|
|
543
|
+
.label_elm {
|
|
544
|
+
color: var(--_primary-400);
|
|
545
|
+
font-size: 14px;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
.dropdown_macro {
|
|
2
|
+
&.underline {
|
|
3
|
+
.dropdown_label {
|
|
4
|
+
border-radius: 0;
|
|
5
|
+
border: none;
|
|
6
|
+
border-bottom: 1px solid #333;
|
|
7
|
+
padding-inline: 0px;
|
|
8
|
+
|
|
9
|
+
&:focus-within,
|
|
10
|
+
&:focus {
|
|
11
|
+
border: 0;
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
border-bottom: 1px solid #333;
|
|
14
|
+
// box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
|
15
|
+
background-color: var(--_base-white);
|
|
16
|
+
|
|
17
|
+
.dropdown_text {
|
|
18
|
+
color: var(--_primary-500);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
stroke: var(--_primary-500);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.label {
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
display: block;
|
|
30
|
+
margin-bottom: 4px;
|
|
31
|
+
}
|
|
32
|
+
.dropdown_label {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 40px;
|
|
35
|
+
border: 1px solid var(--_gray-300);
|
|
36
|
+
border-radius: 6px;
|
|
37
|
+
background: white;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
padding-inline: 12px;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
|
|
44
|
+
.dropdown_icon {
|
|
45
|
+
display: flex;
|
|
46
|
+
transition: transform 400ms ease;
|
|
47
|
+
will-change: transform;
|
|
48
|
+
|
|
49
|
+
&.open {
|
|
50
|
+
transform: rotate(180deg); // flipped up
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.close {
|
|
54
|
+
transform: rotate(0deg); // pointing down
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
svg {
|
|
59
|
+
width: 16px;
|
|
60
|
+
height: 16px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:focus-within,
|
|
64
|
+
&:focus {
|
|
65
|
+
border: 1px solid var(--_primary-300);
|
|
66
|
+
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
|
67
|
+
background-color: var(--_base-white);
|
|
68
|
+
|
|
69
|
+
.dropdown_text {
|
|
70
|
+
color: var(--_primary-500);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
svg {
|
|
74
|
+
stroke: var(--_primary-500);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dropdown_panel_macro {
|
|
81
|
+
border: 1px solid var(--_gray-300);
|
|
82
|
+
padding: 4px;
|
|
83
|
+
border-radius: 6px;
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: var(--_top-pos, 100%);
|
|
86
|
+
left: var(--_left-pos, 0);
|
|
87
|
+
width: var(--_panel-width, auto);
|
|
88
|
+
background-color: var(--_base-white);
|
|
89
|
+
opacity: 0;
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
transition:
|
|
92
|
+
opacity 300ms ease,
|
|
93
|
+
transform 300ms ease;
|
|
94
|
+
|
|
95
|
+
&.open {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
transform: translateY(0);
|
|
98
|
+
pointer-events: auto;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.closed {
|
|
102
|
+
opacity: 0;
|
|
103
|
+
transform: translateY(20px);
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
ul {
|
|
108
|
+
list-style: none;
|
|
109
|
+
padding: 0;
|
|
110
|
+
margin: 0;
|
|
111
|
+
li {
|
|
112
|
+
padding: 8px 12px;
|
|
113
|
+
font-size: 14px;
|
|
114
|
+
color: var(--_gray-600);
|
|
115
|
+
background-color: var(--_base-white);
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
border-radius: 4px;
|
|
118
|
+
&:hover {
|
|
119
|
+
background-color: var(--_primary-50);
|
|
120
|
+
color: var(--_primary-500);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|