@sc-360-v2/storefront-cms-library 0.5.70 → 0.5.72

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.
Files changed (141) hide show
  1. package/dist/add-existing-form.scss +68 -68
  2. package/dist/add-products-tab-details.scss +4071 -4071
  3. package/dist/add-products-tab-uom-details.scss +1106 -1106
  4. package/dist/add-products-tab.scss +2377 -2377
  5. package/dist/allocation-header-quota-details.scss +609 -609
  6. package/dist/allocations-quota-details.scss +525 -525
  7. package/dist/amount-estimator.scss +1192 -1192
  8. package/dist/animation-control.scss +23 -23
  9. package/dist/badge.scss +408 -408
  10. package/dist/brand-basic-elements.scss +387 -387
  11. package/dist/brand.scss +142 -142
  12. package/dist/breadcrumbs.scss +966 -966
  13. package/dist/builder.js +1 -1
  14. package/dist/bulk-order-pad.scss +692 -692
  15. package/dist/bundleDetails.scss +6189 -6189
  16. package/dist/buy-for-tab-container.scss +141 -141
  17. package/dist/buy-for-tab.scss +649 -649
  18. package/dist/buy-for-tabs-container-item.scss +80 -80
  19. package/dist/buyForPopup.scss +339 -339
  20. package/dist/cart-details.scss +3986 -3986
  21. package/dist/cart-products-sidebar.scss +211 -211
  22. package/dist/cart-wrapper.scss +127 -127
  23. package/dist/cartDropdownOverlay.scss +653 -653
  24. package/dist/cartGrouping.scss +89 -89
  25. package/dist/category-groups-element.scss +739 -739
  26. package/dist/category-groups-quota-details.scss +626 -626
  27. package/dist/category.scss +137 -137
  28. package/dist/categoryDetails.scss +61 -61
  29. package/dist/categoryWidget.scss +34 -34
  30. package/dist/checkbox-radio.scss +124 -124
  31. package/dist/code-temp.scss +59 -59
  32. package/dist/colorpicker_v2.scss +62 -62
  33. package/dist/common-element.scss +35 -35
  34. package/dist/confirm-modal.scss +370 -370
  35. package/dist/confirmationModal.scss +139 -139
  36. package/dist/contact-us.scss +105 -105
  37. package/dist/container.scss +168 -168
  38. package/dist/custom-fonts.scss +100 -100
  39. package/dist/customization-tree.scss +162 -162
  40. package/dist/default-dropdown.scss +259 -259
  41. package/dist/dropdownTemplate.scss +699 -699
  42. package/dist/editCartItem.scss +110 -110
  43. package/dist/embed-temp.scss +73 -73
  44. package/dist/embroider-preview-element.scss +94 -94
  45. package/dist/embroider-template-1-v2.scss +1105 -1105
  46. package/dist/embroider-template-1.scss +501 -501
  47. package/dist/embroidery.scss +247 -247
  48. package/dist/employee-bulk-order.scss +4060 -4060
  49. package/dist/emtpy-templates.scss +165 -165
  50. package/dist/faq.scss +696 -696
  51. package/dist/fb-dropdown.scss +135 -135
  52. package/dist/filter-results.scss +361 -361
  53. package/dist/flex-text-editor.scss +271 -271
  54. package/dist/form-preview.scss +530 -530
  55. package/dist/global-styles.scss +198 -198
  56. package/dist/grid.scss +169 -169
  57. package/dist/icon-library.scss +78 -78
  58. package/dist/image-for-product.scss +21 -21
  59. package/dist/image-temp.scss +203 -203
  60. package/dist/item-stock.scss +93 -93
  61. package/dist/kitDetails.scss +5739 -5739
  62. package/dist/kits.scss +305 -305
  63. package/dist/language-selector.scss +948 -948
  64. package/dist/last-x-orders.scss +285 -285
  65. package/dist/layouter-item.scss +141 -141
  66. package/dist/layouter-pro-item.scss +139 -139
  67. package/dist/layouter-pro.scss +134 -134
  68. package/dist/layouter.scss +491 -491
  69. package/dist/light-box-v2.scss +155 -155
  70. package/dist/lightbox.scss +78 -78
  71. package/dist/loader.scss +37 -37
  72. package/dist/login.scss +29 -11
  73. package/dist/marchandiserSets.scss +141 -141
  74. package/dist/mega-menu-container.scss +152 -152
  75. package/dist/menu-item.scss +19 -19
  76. package/dist/menu-v2.scss +999 -999
  77. package/dist/menu.scss +174 -174
  78. package/dist/multi-select-dropdown.scss +316 -316
  79. package/dist/my-templates.scss +477 -477
  80. package/dist/my-wishlist.scss +27 -27
  81. package/dist/option-bar.scss +886 -886
  82. package/dist/order-processing.scss +61 -61
  83. package/dist/order-status.scss +74 -0
  84. package/dist/overflow-module.scss +63 -63
  85. package/dist/past-orders.scss +1039 -1039
  86. package/dist/payment-methods.scss +307 -307
  87. package/dist/phone-input.scss +208 -208
  88. package/dist/pickup-locations.scss +1359 -1359
  89. package/dist/position-module.scss +95 -95
  90. package/dist/prefix-list.scss +86 -86
  91. package/dist/product-actions.scss +2872 -2872
  92. package/dist/product-basic-elements.scss +600 -600
  93. package/dist/product-customizations.scss +155 -155
  94. package/dist/product-inventory.scss +1621 -1621
  95. package/dist/product-labels.scss +265 -265
  96. package/dist/product-price.scss +3392 -3392
  97. package/dist/product-promotions.scss +3224 -3224
  98. package/dist/product-sizechart.scss +1921 -1921
  99. package/dist/product.scss +140 -140
  100. package/dist/profile.scss +824 -824
  101. package/dist/quantity-selector.scss +1074 -1074
  102. package/dist/quick-inventory-check.scss +285 -285
  103. package/dist/quick-links.scss +627 -627
  104. package/dist/quota-details.scss +526 -526
  105. package/dist/repeater-embla-controls.scss +211 -211
  106. package/dist/repeater-grid-toggle.scss +206 -206
  107. package/dist/repeater-item.scss +152 -152
  108. package/dist/repeater.scss +946 -946
  109. package/dist/request-for-quotes.scss +841 -841
  110. package/dist/responsive-behaviour.scss +29 -29
  111. package/dist/rfqs.scss +861 -861
  112. package/dist/scroll.scss +414 -414
  113. package/dist/search.scss +689 -689
  114. package/dist/section.scss +276 -276
  115. package/dist/shareCartSideBar.scss +254 -254
  116. package/dist/shipping-estimator.scss +41 -41
  117. package/dist/shipping-payments.scss +2518 -2518
  118. package/dist/simple-list.scss +338 -338
  119. package/dist/skeleton.scss +64 -64
  120. package/dist/sort.scss +176 -176
  121. package/dist/spotlight.scss +1706 -1706
  122. package/dist/stack.scss +171 -171
  123. package/dist/static-global.scss +292 -292
  124. package/dist/static-text.scss +52 -52
  125. package/dist/stockStatus.scss +70 -70
  126. package/dist/store-locations.scss +1592 -1592
  127. package/dist/sub-category.scss +74 -74
  128. package/dist/submit-quote.scss +275 -275
  129. package/dist/tab-container-item.scss +80 -80
  130. package/dist/tab-container.scss +141 -141
  131. package/dist/table.scss +9 -0
  132. package/dist/tabs.scss +440 -440
  133. package/dist/text-temp.scss +109 -109
  134. package/dist/theme-classes.scss +421 -421
  135. package/dist/toaster.scss +392 -392
  136. package/dist/toggle-button.scss +32 -32
  137. package/dist/transform-properties-module.scss +20 -20
  138. package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
  139. package/dist/types/builder/tools/element-edit/resetPassword.d.ts +1 -0
  140. package/dist/wishlist-overlay.scss +48 -48
  141. package/package.json +1 -1
@@ -1,699 +1,699 @@
1
- .dropdown-with-input-section {
2
- width: 100%;
3
- background-color: var(--_base-white);
4
-
5
- &:focus-within {
6
- box-shadow: 0px 0px 0px 2px var(--_gray-100);
7
- }
8
-
9
- .dropdown-label {
10
- display: block;
11
- margin-bottom: 6px;
12
- }
13
-
14
- .dropdown-input-section {
15
- position: relative;
16
- display: flex;
17
- justify-content: space-between;
18
- padding: 0px 12px;
19
- border-radius: 4px;
20
- width: 100%;
21
- align-items: center;
22
- height: 40px;
23
- line-height: 40px;
24
- // outline: 2px solid var(--_base-white);
25
- border: 1px solid var(--_thm-cs-be-se-3);
26
- &:focus-within {
27
- box-shadow: 0px 0px 0px 2px var(--_gray-100);
28
- }
29
-
30
- .selected-display {
31
- .selected-item {
32
- display: flex;
33
- align-items: center;
34
- gap: 4px;
35
- font-size: 14px;
36
- font-weight: 500;
37
- line-height: 20px;
38
- color: var(--_thm-cs-be-se-1);
39
- .svg_icon {
40
- vertical-align: middle;
41
- display: flex;
42
- svg {
43
- width: 12px;
44
- height: 12px;
45
- cursor: pointer;
46
- vertical-align: middle;
47
- g {
48
- path {
49
- stroke: var(--_thm-cs-be-se-3);
50
- }
51
- }
52
- }
53
- }
54
- &:hover {
55
- .svg_icon {
56
- svg {
57
- g {
58
- path {
59
- stroke: var(--_thm-cs-be-se-1);
60
- }
61
- }
62
- }
63
- }
64
- }
65
- &:hover {
66
- color: var(--_thm-ty-p1-tt-cr);
67
- }
68
- }
69
- .multi-selected-display {
70
- display: flex;
71
- align-items: center;
72
- gap: 8px;
73
- .selected-item {
74
- border: 1px solid var(--_thm-cs-be-se-3);
75
- border-radius: 4px;
76
- padding: 2px 4px;
77
- font-size: 12px;
78
- .svg_icon {
79
- vertical-align: middle;
80
- display: flex;
81
- svg {
82
- width: 12px;
83
- height: 12px;
84
- cursor: pointer;
85
- vertical-align: middle;
86
- g {
87
- path {
88
- stroke: var(--_thm-cs-be-se-3);
89
- }
90
- }
91
- }
92
- }
93
- &:hover {
94
- border: 1px solid var(--_thm-cs-be-se-1);
95
- .svg_icon {
96
- svg {
97
- g {
98
- path {
99
- stroke: var(--_thm-cs-be-se-1);
100
- }
101
- }
102
- }
103
- }
104
- }
105
- }
106
- }
107
- }
108
-
109
- &:focus-within {
110
- box-shadow: 0px 0px 0px 3px var(--_gray-100);
111
- }
112
- cursor: pointer;
113
- .selected-display {
114
- .selected-item {
115
- display: flex;
116
- align-items: center;
117
- gap: 6px;
118
- img {
119
- margin-top: 2px;
120
- border-radius: 50%;
121
- width: 24px;
122
- height: 24px;
123
- object-fit: cover;
124
- }
125
- }
126
- }
127
- &.visibility_hidden {
128
- visibility: hidden;
129
- }
130
- &:focus-within {
131
- box-shadow: 0px 0px 0px 3px var(--_gray-100);
132
- }
133
- &.w-full {
134
- width: 100%;
135
- }
136
-
137
- &.disabled {
138
- opacity: 0.6;
139
- pointer-events: none;
140
- user-select: none;
141
-
142
- input {
143
- background-color: var(--_thm-cs-be-se-2);
144
- cursor: not-allowed;
145
- }
146
- }
147
-
148
- // chips
149
- .dropdown-chips {
150
- display: flex;
151
- // flex-wrap: wrap;
152
- gap: 4px;
153
- // margin-bottom: 4px;
154
- max-width: 88%;
155
- min-width: 88%;
156
- overflow: hidden;
157
- .dropdown-chip {
158
- background: var(--_thm-cs-be-se-2);
159
- padding: 4px 8px;
160
- border-radius: 12px;
161
- font-size: 12px;
162
- display: flex;
163
- align-items: center;
164
- min-width: 48px;
165
- max-width: 60px;
166
- .chip-lable {
167
- max-width: 80%;
168
- text-overflow: ellipsis;
169
- white-space: nowrap;
170
- overflow: hidden;
171
- }
172
-
173
- .remove-chip {
174
- margin-left: 6px;
175
- cursor: pointer;
176
- font-weight: bold;
177
- }
178
- }
179
-
180
- .dropdown-chip-overflow {
181
- background-color: #d1d1d1;
182
- color: #555;
183
- cursor: default;
184
- }
185
- }
186
-
187
- // .input-field {
188
- // flex: 1;
189
- // font-size: 14px;
190
- // }
191
- .readonly-input,
192
- .dropdown__clear__icon,
193
- .dropdown__icon {
194
- transition: transform 0.4s ease-in-out;
195
- .icon {
196
- transition: transform 0.4s ease-in-out;
197
- display: flex;
198
- // transform: rotate(0deg);
199
- &:hover {
200
- svg path {
201
- stroke: var(--_gray-700);
202
- }
203
- }
204
- svg {
205
- width: 16px;
206
- height: 16px;
207
- }
208
- // &.up {
209
- // transform: rotate(0deg);
210
- // }
211
- // &.down {
212
- // transform: rotate(180deg);
213
- // }
214
- &.up,
215
- &.down {
216
- svg {
217
- width: 18px !important;
218
- height: 18px !important;
219
- }
220
- }
221
- }
222
- cursor: pointer;
223
- .icon svg {
224
- vertical-align: middle;
225
- }
226
- .icon.down svg {
227
- transform: rotate(180deg);
228
- }
229
- }
230
- .dropdown__clear__icon {
231
- position: absolute;
232
- right: 10px;
233
- .icon {
234
- display: flex;
235
- svg {
236
- width: 16px;
237
- height: 16px;
238
- }
239
- &.up,
240
- &.down {
241
- svg {
242
- width: 18px !important;
243
- height: 18px !important;
244
- }
245
- }
246
- }
247
- }
248
-
249
- .dropdown-with-icon {
250
- width: 100%;
251
- // pointer-events: none;
252
- border: none;
253
- padding: 0;
254
- }
255
- }
256
-
257
- .dropdown-menu {
258
- position: fixed;
259
- width: 100%;
260
- background: white;
261
- border: 1px solid var(--_thm-cs-be-se-3);
262
- border-radius: 4px;
263
- max-height: 200px;
264
- box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
265
- z-index: 10;
266
- // min-width: 240px;
267
- max-height: 300px;
268
- display: flex;
269
- flex-direction: column;
270
- // margin-left: -6px;
271
- &.open_dropdown {
272
- animation: open_dropdown 300ms cubic-bezier(0.16, 1, 0.3, 1);
273
- }
274
- &.close_dropdown {
275
- animation: close_dropdown 300ms cubic-bezier(0.4, 0, 1, 1);
276
- }
277
- &.w-full {
278
- width: 100%;
279
- }
280
- .dropdown_template_panel_search {
281
- background: none;
282
- padding: 8px;
283
- border-bottom: 1px solid var(--_thm-cs-be-se-3);
284
- height: max-content !important;
285
- position: relative;
286
- &:hover {
287
- background: none !important;
288
- }
289
-
290
- input {
291
- width: 100%;
292
- padding-inline: 10px;
293
- border-radius: 4px;
294
- border: 1px solid var(--_thm-cs-be-se-3);
295
- height: 40px;
296
- &:focus {
297
- border: 1px solid var(--_gray-300);
298
- }
299
- }
300
- .close_btn {
301
- position: absolute;
302
- right: 14px;
303
- top: 14px;
304
- z-index: 10;
305
- padding: 4px;
306
- border-radius: 2px;
307
- &:hover {
308
- background: var(--_gray-100);
309
- }
310
- }
311
- }
312
-
313
- .dropdown_menu_ul {
314
- min-height: 40px;
315
- max-height: 200px;
316
- overflow-y: auto;
317
- display: flex;
318
- flex-direction: column;
319
- gap: 4px;
320
- padding: 4px;
321
- &:has(.show_scroll) {
322
- overflow-y: scroll;
323
- }
324
- }
325
- .empty_message {
326
- height: 160px;
327
- display: flex;
328
- justify-content: center;
329
- align-items: center;
330
- }
331
- .loading_data {
332
- height: 160px;
333
- display: flex;
334
- justify-content: center;
335
- flex-direction: column;
336
- gap: 4px;
337
- padding: 4px;
338
- // align-items: center;
339
- // padding: 24px;
340
- // font-size: 16px;
341
- // font-weight: 500;
342
- // text-align: center;
343
- // .dots {
344
- // display: inline-flex;
345
- // width: 20px; /* fixed space so text doesn’t shift */
346
- // justify-content: space-between;
347
- // align-items: flex-end;
348
- // margin-left: 6px;
349
- // margin-bottom: -9px;
350
- // }
351
-
352
- // .dots span {
353
- // animation: blink 1.5s infinite;
354
- // opacity: 0;
355
- // width: 2px;
356
- // height: 2px;
357
- // border-radius: 50%;
358
- // background-color: var(--_gray-700);
359
- // }
360
-
361
- // .dots span:nth-child(1) {
362
- // animation-delay: 0s;
363
- // }
364
- // .dots span:nth-child(2) {
365
- // animation-delay: 0.3s;
366
- // }
367
- // .dots span:nth-child(3) {
368
- // animation-delay: 0.6s;
369
- // }
370
-
371
- // @keyframes blink {
372
- // 0% {
373
- // opacity: 0;
374
- // }
375
- // 50% {
376
- // opacity: 1;
377
- // }
378
- // 100% {
379
- // opacity: 0;
380
- // }
381
- // }
382
- }
383
-
384
- .dropdown-opt {
385
- font-size: 14px;
386
- cursor: pointer;
387
-
388
- &.no-result {
389
- color: #aaa;
390
- cursor: default;
391
- }
392
- .dropdown-item {
393
- width: 100%;
394
- height: 100%;
395
- padding: 8px 12px;
396
- text-align: left;
397
- display: flex;
398
- align-items: center;
399
- gap: 8px;
400
- // height: auto !important;
401
- max-height: 52px;
402
- border-radius: 4px;
403
- .profile_block {
404
- width: 32px;
405
- height: 32px;
406
- border-radius: 50%;
407
- overflow: hidden;
408
- background-color: var(--_thm-cs-be-se-3);
409
- display: flex;
410
- justify-content: center;
411
- align-items: center;
412
- color: var(--_gray-600);
413
- font-size: 12px;
414
- font-weight: 600;
415
- img {
416
- max-width: 100%;
417
- max-height: 100%;
418
- object-fit: contain;
419
- }
420
- }
421
- &:hover {
422
- background-color: var(--_primary-25);
423
- color: var(--_primary-400);
424
- }
425
-
426
- .item-image {
427
- // background-image: url("");
428
- width: 32px;
429
- height: 32px;
430
- background-size: 100%;
431
- background-position: center;
432
- border-radius: 50%;
433
- object-fit: cover;
434
- }
435
- .item-image-svg {
436
- display: flex;
437
- align-items: center;
438
- justify-content: center;
439
- background: #dfdfdf;
440
- margin-right: 8px;
441
- }
442
-
443
- .dropdown-item-details {
444
- max-width: 100%;
445
- // width: 100%;
446
- .item-name {
447
- color: var(--_gray-900);
448
- }
449
- .item-code {
450
- color: var(--_gray-600);
451
- }
452
- }
453
- }
454
- .selected {
455
- background-color: var(--_gray-100);
456
- font-weight: normal;
457
- color: var(--_gray-900);
458
- .dropdown-item-details {
459
- width: 70% !important;
460
- }
461
- .check_mark {
462
- margin-left: auto;
463
- svg path {
464
- stroke: var(--_gray-900);
465
- }
466
- }
467
- }
468
- }
469
- .dropdown-group-li {
470
- height: auto;
471
- .group-header {
472
- height: 40px;
473
- align-items: center;
474
- display: flex;
475
- gap: 8px;
476
- padding: 4px 8px;
477
- max-width: 230px;
478
- background: var(--_gray-50);
479
- border-radius: 4px;
480
- margin-bottom: 4px;
481
- input {
482
- width: auto;
483
- }
484
- .group-header-name {
485
- display: flex;
486
- align-items: center;
487
- justify-content: space-between;
488
- width: 100%;
489
- .trigger-icon {
490
- display: flex;
491
- transform: rotate(0deg);
492
- transition: all 400ms ease-in;
493
- &.up {
494
- transform: rotate(180deg);
495
- transition: all 400ms ease-in;
496
- }
497
- }
498
- }
499
- }
500
- // .input-checkbox {
501
- // display: flex;
502
- // align-items: center;
503
- // cursor: pointer;
504
- // font-size: 16px;
505
- // user-select: none;
506
-
507
- // input[type="checkbox"] {
508
- // display: none;
509
-
510
- // &:checked + .checkmark::after {
511
- // content: "";
512
- // position: absolute;
513
- // left: 5px;
514
- // top: 1px;
515
- // width: 6px;
516
- // height: 12px;
517
- // border: solid #2196f3;
518
- // border-width: 0 2px 2px 0;
519
- // transform: rotate(45deg);
520
- // }
521
- // }
522
-
523
- // .checkmark {
524
- // height: 18px;
525
- // width: 18px;
526
- // background-color: #eee;
527
- // border: 2px solid #ccc;
528
- // border-radius: 4px;
529
- // margin-right: 10px;
530
- // position: relative;
531
- // transition: all 0.2s ease;
532
- // }
533
-
534
- // &:hover .checkmark {
535
- // background-color: #f0f0f0;
536
- // }
537
- // }
538
-
539
- .dropdown-item {
540
- height: 40px;
541
- &:not(:last-child) {
542
- margin-bottom: 2px;
543
- }
544
- }
545
- }
546
-
547
- .dropdown_selection_actions {
548
- display: flex;
549
- align-items: center;
550
- height: 50px;
551
- // position: absolute;
552
- // bottom: 0;
553
- width: 100%;
554
- background: #fff;
555
- border-top: 1px solid var(--_thm-cs-be-se-3);
556
- .opts_selection_action {
557
- width: 50%;
558
- height: 100%;
559
- /* text-align: center; */
560
- display: flex;
561
- align-items: center;
562
- justify-content: center;
563
- cursor: pointer;
564
- .add_selected_options {
565
- &:hover {
566
- background-color: var(--_primary-25);
567
- svg path {
568
- stroke: var(--_primary-400);
569
- }
570
- }
571
- }
572
- &:not(:last-child) {
573
- border-right: 1px solid var(--_thm-cs-be-se-3);
574
- }
575
- &.discard_selection {
576
- &:hover {
577
- background-color: var(--_gray-50);
578
- }
579
- }
580
- &:hover {
581
- background-color: var(--_primary-25);
582
- }
583
- .svg_icon {
584
- cursor: pointer;
585
- position: relative !important;
586
- background: none !important;
587
- right: 0px !important;
588
- }
589
- }
590
- }
591
- }
592
- .drodown-menu-with-icon-dropdown {
593
- top: 11px;
594
- }
595
- }
596
-
597
- .icon_with_label_section {
598
- display: flex;
599
- gap: 4px;
600
- cursor: pointer;
601
- .label_elm {
602
- color: var(--_primary-400);
603
- font-size: 14px;
604
- }
605
- }
606
-
607
- .text-ellipsis {
608
- overflow: hidden;
609
- max-width: 100%;
610
- text-overflow: ellipsis;
611
- white-space: nowrap;
612
- }
613
- .no_data_found {
614
- padding: 24px;
615
- text-align: center;
616
- font-weight: 600;
617
- font-size: 16px;
618
- width: 100%;
619
- height: 200px;
620
- display: flex;
621
- justify-content: center;
622
- align-items: center;
623
- font-weight: 600;
624
- }
625
-
626
- // spinner for dropdown
627
- .spinner_dropdown {
628
- width: 32px;
629
- height: 32px;
630
- border-radius: 50%;
631
- position: relative;
632
- animation: rotate 1s linear infinite;
633
- }
634
- .spinner_dropdown::before,
635
- .spinner_dropdown::after {
636
- content: "";
637
- box-sizing: border-box;
638
- position: absolute;
639
- inset: 0px;
640
- border-radius: 50%;
641
- border: 2px solid var(--_primary-300);
642
- animation: prixClipFix 2s linear infinite;
643
- }
644
- .spinner_dropdown::after {
645
- border-color: var(--_primary-500);
646
- animation:
647
- prixClipFix 2s linear infinite,
648
- rotate 0.5s linear infinite reverse;
649
- inset: 6px;
650
- }
651
-
652
- @keyframes rotate {
653
- 0% {
654
- transform: rotate(0deg);
655
- }
656
- 100% {
657
- transform: rotate(360deg);
658
- }
659
- }
660
-
661
- @keyframes prixClipFix {
662
- 0% {
663
- clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
664
- }
665
- 25% {
666
- clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
667
- }
668
- 50% {
669
- clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
670
- }
671
- 75% {
672
- clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
673
- }
674
- 100% {
675
- clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
676
- }
677
- }
678
-
679
- @keyframes open_dropdown {
680
- 0% {
681
- transform: translateY(-4px);
682
- opacity: 0;
683
- }
684
- 100% {
685
- transform: translateY(0);
686
- opacity: 1;
687
- }
688
- }
689
-
690
- @keyframes close_dropdown {
691
- 0% {
692
- transform: translateY(0);
693
- opacity: 1;
694
- }
695
- 100% {
696
- transform: translateY(-4px);
697
- opacity: 0;
698
- }
699
- }
1
+ .dropdown-with-input-section {
2
+ width: 100%;
3
+ background-color: var(--_base-white);
4
+
5
+ &:focus-within {
6
+ box-shadow: 0px 0px 0px 2px var(--_gray-100);
7
+ }
8
+
9
+ .dropdown-label {
10
+ display: block;
11
+ margin-bottom: 6px;
12
+ }
13
+
14
+ .dropdown-input-section {
15
+ position: relative;
16
+ display: flex;
17
+ justify-content: space-between;
18
+ padding: 0px 12px;
19
+ border-radius: 4px;
20
+ width: 100%;
21
+ align-items: center;
22
+ height: 40px;
23
+ line-height: 40px;
24
+ // outline: 2px solid var(--_base-white);
25
+ border: 1px solid var(--_thm-cs-be-se-3);
26
+ &:focus-within {
27
+ box-shadow: 0px 0px 0px 2px var(--_gray-100);
28
+ }
29
+
30
+ .selected-display {
31
+ .selected-item {
32
+ display: flex;
33
+ align-items: center;
34
+ gap: 4px;
35
+ font-size: 14px;
36
+ font-weight: 500;
37
+ line-height: 20px;
38
+ color: var(--_thm-cs-be-se-1);
39
+ .svg_icon {
40
+ vertical-align: middle;
41
+ display: flex;
42
+ svg {
43
+ width: 12px;
44
+ height: 12px;
45
+ cursor: pointer;
46
+ vertical-align: middle;
47
+ g {
48
+ path {
49
+ stroke: var(--_thm-cs-be-se-3);
50
+ }
51
+ }
52
+ }
53
+ }
54
+ &:hover {
55
+ .svg_icon {
56
+ svg {
57
+ g {
58
+ path {
59
+ stroke: var(--_thm-cs-be-se-1);
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ &:hover {
66
+ color: var(--_thm-ty-p1-tt-cr);
67
+ }
68
+ }
69
+ .multi-selected-display {
70
+ display: flex;
71
+ align-items: center;
72
+ gap: 8px;
73
+ .selected-item {
74
+ border: 1px solid var(--_thm-cs-be-se-3);
75
+ border-radius: 4px;
76
+ padding: 2px 4px;
77
+ font-size: 12px;
78
+ .svg_icon {
79
+ vertical-align: middle;
80
+ display: flex;
81
+ svg {
82
+ width: 12px;
83
+ height: 12px;
84
+ cursor: pointer;
85
+ vertical-align: middle;
86
+ g {
87
+ path {
88
+ stroke: var(--_thm-cs-be-se-3);
89
+ }
90
+ }
91
+ }
92
+ }
93
+ &:hover {
94
+ border: 1px solid var(--_thm-cs-be-se-1);
95
+ .svg_icon {
96
+ svg {
97
+ g {
98
+ path {
99
+ stroke: var(--_thm-cs-be-se-1);
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ &:focus-within {
110
+ box-shadow: 0px 0px 0px 3px var(--_gray-100);
111
+ }
112
+ cursor: pointer;
113
+ .selected-display {
114
+ .selected-item {
115
+ display: flex;
116
+ align-items: center;
117
+ gap: 6px;
118
+ img {
119
+ margin-top: 2px;
120
+ border-radius: 50%;
121
+ width: 24px;
122
+ height: 24px;
123
+ object-fit: cover;
124
+ }
125
+ }
126
+ }
127
+ &.visibility_hidden {
128
+ visibility: hidden;
129
+ }
130
+ &:focus-within {
131
+ box-shadow: 0px 0px 0px 3px var(--_gray-100);
132
+ }
133
+ &.w-full {
134
+ width: 100%;
135
+ }
136
+
137
+ &.disabled {
138
+ opacity: 0.6;
139
+ pointer-events: none;
140
+ user-select: none;
141
+
142
+ input {
143
+ background-color: var(--_thm-cs-be-se-2);
144
+ cursor: not-allowed;
145
+ }
146
+ }
147
+
148
+ // chips
149
+ .dropdown-chips {
150
+ display: flex;
151
+ // flex-wrap: wrap;
152
+ gap: 4px;
153
+ // margin-bottom: 4px;
154
+ max-width: 88%;
155
+ min-width: 88%;
156
+ overflow: hidden;
157
+ .dropdown-chip {
158
+ background: var(--_thm-cs-be-se-2);
159
+ padding: 4px 8px;
160
+ border-radius: 12px;
161
+ font-size: 12px;
162
+ display: flex;
163
+ align-items: center;
164
+ min-width: 48px;
165
+ max-width: 60px;
166
+ .chip-lable {
167
+ max-width: 80%;
168
+ text-overflow: ellipsis;
169
+ white-space: nowrap;
170
+ overflow: hidden;
171
+ }
172
+
173
+ .remove-chip {
174
+ margin-left: 6px;
175
+ cursor: pointer;
176
+ font-weight: bold;
177
+ }
178
+ }
179
+
180
+ .dropdown-chip-overflow {
181
+ background-color: #d1d1d1;
182
+ color: #555;
183
+ cursor: default;
184
+ }
185
+ }
186
+
187
+ // .input-field {
188
+ // flex: 1;
189
+ // font-size: 14px;
190
+ // }
191
+ .readonly-input,
192
+ .dropdown__clear__icon,
193
+ .dropdown__icon {
194
+ transition: transform 0.4s ease-in-out;
195
+ .icon {
196
+ transition: transform 0.4s ease-in-out;
197
+ display: flex;
198
+ // transform: rotate(0deg);
199
+ &:hover {
200
+ svg path {
201
+ stroke: var(--_gray-700);
202
+ }
203
+ }
204
+ svg {
205
+ width: 16px;
206
+ height: 16px;
207
+ }
208
+ // &.up {
209
+ // transform: rotate(0deg);
210
+ // }
211
+ // &.down {
212
+ // transform: rotate(180deg);
213
+ // }
214
+ &.up,
215
+ &.down {
216
+ svg {
217
+ width: 18px !important;
218
+ height: 18px !important;
219
+ }
220
+ }
221
+ }
222
+ cursor: pointer;
223
+ .icon svg {
224
+ vertical-align: middle;
225
+ }
226
+ .icon.down svg {
227
+ transform: rotate(180deg);
228
+ }
229
+ }
230
+ .dropdown__clear__icon {
231
+ position: absolute;
232
+ right: 10px;
233
+ .icon {
234
+ display: flex;
235
+ svg {
236
+ width: 16px;
237
+ height: 16px;
238
+ }
239
+ &.up,
240
+ &.down {
241
+ svg {
242
+ width: 18px !important;
243
+ height: 18px !important;
244
+ }
245
+ }
246
+ }
247
+ }
248
+
249
+ .dropdown-with-icon {
250
+ width: 100%;
251
+ // pointer-events: none;
252
+ border: none;
253
+ padding: 0;
254
+ }
255
+ }
256
+
257
+ .dropdown-menu {
258
+ position: fixed;
259
+ width: 100%;
260
+ background: white;
261
+ border: 1px solid var(--_thm-cs-be-se-3);
262
+ border-radius: 4px;
263
+ max-height: 200px;
264
+ box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
265
+ z-index: 10;
266
+ // min-width: 240px;
267
+ max-height: 300px;
268
+ display: flex;
269
+ flex-direction: column;
270
+ // margin-left: -6px;
271
+ &.open_dropdown {
272
+ animation: open_dropdown 300ms cubic-bezier(0.16, 1, 0.3, 1);
273
+ }
274
+ &.close_dropdown {
275
+ animation: close_dropdown 300ms cubic-bezier(0.4, 0, 1, 1);
276
+ }
277
+ &.w-full {
278
+ width: 100%;
279
+ }
280
+ .dropdown_template_panel_search {
281
+ background: none;
282
+ padding: 8px;
283
+ border-bottom: 1px solid var(--_thm-cs-be-se-3);
284
+ height: max-content !important;
285
+ position: relative;
286
+ &:hover {
287
+ background: none !important;
288
+ }
289
+
290
+ input {
291
+ width: 100%;
292
+ padding-inline: 10px;
293
+ border-radius: 4px;
294
+ border: 1px solid var(--_thm-cs-be-se-3);
295
+ height: 40px;
296
+ &:focus {
297
+ border: 1px solid var(--_gray-300);
298
+ }
299
+ }
300
+ .close_btn {
301
+ position: absolute;
302
+ right: 14px;
303
+ top: 14px;
304
+ z-index: 10;
305
+ padding: 4px;
306
+ border-radius: 2px;
307
+ &:hover {
308
+ background: var(--_gray-100);
309
+ }
310
+ }
311
+ }
312
+
313
+ .dropdown_menu_ul {
314
+ min-height: 40px;
315
+ max-height: 200px;
316
+ overflow-y: auto;
317
+ display: flex;
318
+ flex-direction: column;
319
+ gap: 4px;
320
+ padding: 4px;
321
+ &:has(.show_scroll) {
322
+ overflow-y: scroll;
323
+ }
324
+ }
325
+ .empty_message {
326
+ height: 160px;
327
+ display: flex;
328
+ justify-content: center;
329
+ align-items: center;
330
+ }
331
+ .loading_data {
332
+ height: 160px;
333
+ display: flex;
334
+ justify-content: center;
335
+ flex-direction: column;
336
+ gap: 4px;
337
+ padding: 4px;
338
+ // align-items: center;
339
+ // padding: 24px;
340
+ // font-size: 16px;
341
+ // font-weight: 500;
342
+ // text-align: center;
343
+ // .dots {
344
+ // display: inline-flex;
345
+ // width: 20px; /* fixed space so text doesn’t shift */
346
+ // justify-content: space-between;
347
+ // align-items: flex-end;
348
+ // margin-left: 6px;
349
+ // margin-bottom: -9px;
350
+ // }
351
+
352
+ // .dots span {
353
+ // animation: blink 1.5s infinite;
354
+ // opacity: 0;
355
+ // width: 2px;
356
+ // height: 2px;
357
+ // border-radius: 50%;
358
+ // background-color: var(--_gray-700);
359
+ // }
360
+
361
+ // .dots span:nth-child(1) {
362
+ // animation-delay: 0s;
363
+ // }
364
+ // .dots span:nth-child(2) {
365
+ // animation-delay: 0.3s;
366
+ // }
367
+ // .dots span:nth-child(3) {
368
+ // animation-delay: 0.6s;
369
+ // }
370
+
371
+ // @keyframes blink {
372
+ // 0% {
373
+ // opacity: 0;
374
+ // }
375
+ // 50% {
376
+ // opacity: 1;
377
+ // }
378
+ // 100% {
379
+ // opacity: 0;
380
+ // }
381
+ // }
382
+ }
383
+
384
+ .dropdown-opt {
385
+ font-size: 14px;
386
+ cursor: pointer;
387
+
388
+ &.no-result {
389
+ color: #aaa;
390
+ cursor: default;
391
+ }
392
+ .dropdown-item {
393
+ width: 100%;
394
+ height: 100%;
395
+ padding: 8px 12px;
396
+ text-align: left;
397
+ display: flex;
398
+ align-items: center;
399
+ gap: 8px;
400
+ // height: auto !important;
401
+ max-height: 52px;
402
+ border-radius: 4px;
403
+ .profile_block {
404
+ width: 32px;
405
+ height: 32px;
406
+ border-radius: 50%;
407
+ overflow: hidden;
408
+ background-color: var(--_thm-cs-be-se-3);
409
+ display: flex;
410
+ justify-content: center;
411
+ align-items: center;
412
+ color: var(--_gray-600);
413
+ font-size: 12px;
414
+ font-weight: 600;
415
+ img {
416
+ max-width: 100%;
417
+ max-height: 100%;
418
+ object-fit: contain;
419
+ }
420
+ }
421
+ &:hover {
422
+ background-color: var(--_primary-25);
423
+ color: var(--_primary-400);
424
+ }
425
+
426
+ .item-image {
427
+ // background-image: url("");
428
+ width: 32px;
429
+ height: 32px;
430
+ background-size: 100%;
431
+ background-position: center;
432
+ border-radius: 50%;
433
+ object-fit: cover;
434
+ }
435
+ .item-image-svg {
436
+ display: flex;
437
+ align-items: center;
438
+ justify-content: center;
439
+ background: #dfdfdf;
440
+ margin-right: 8px;
441
+ }
442
+
443
+ .dropdown-item-details {
444
+ max-width: 100%;
445
+ // width: 100%;
446
+ .item-name {
447
+ color: var(--_gray-900);
448
+ }
449
+ .item-code {
450
+ color: var(--_gray-600);
451
+ }
452
+ }
453
+ }
454
+ .selected {
455
+ background-color: var(--_gray-100);
456
+ font-weight: normal;
457
+ color: var(--_gray-900);
458
+ .dropdown-item-details {
459
+ width: 70% !important;
460
+ }
461
+ .check_mark {
462
+ margin-left: auto;
463
+ svg path {
464
+ stroke: var(--_gray-900);
465
+ }
466
+ }
467
+ }
468
+ }
469
+ .dropdown-group-li {
470
+ height: auto;
471
+ .group-header {
472
+ height: 40px;
473
+ align-items: center;
474
+ display: flex;
475
+ gap: 8px;
476
+ padding: 4px 8px;
477
+ max-width: 230px;
478
+ background: var(--_gray-50);
479
+ border-radius: 4px;
480
+ margin-bottom: 4px;
481
+ input {
482
+ width: auto;
483
+ }
484
+ .group-header-name {
485
+ display: flex;
486
+ align-items: center;
487
+ justify-content: space-between;
488
+ width: 100%;
489
+ .trigger-icon {
490
+ display: flex;
491
+ transform: rotate(0deg);
492
+ transition: all 400ms ease-in;
493
+ &.up {
494
+ transform: rotate(180deg);
495
+ transition: all 400ms ease-in;
496
+ }
497
+ }
498
+ }
499
+ }
500
+ // .input-checkbox {
501
+ // display: flex;
502
+ // align-items: center;
503
+ // cursor: pointer;
504
+ // font-size: 16px;
505
+ // user-select: none;
506
+
507
+ // input[type="checkbox"] {
508
+ // display: none;
509
+
510
+ // &:checked + .checkmark::after {
511
+ // content: "";
512
+ // position: absolute;
513
+ // left: 5px;
514
+ // top: 1px;
515
+ // width: 6px;
516
+ // height: 12px;
517
+ // border: solid #2196f3;
518
+ // border-width: 0 2px 2px 0;
519
+ // transform: rotate(45deg);
520
+ // }
521
+ // }
522
+
523
+ // .checkmark {
524
+ // height: 18px;
525
+ // width: 18px;
526
+ // background-color: #eee;
527
+ // border: 2px solid #ccc;
528
+ // border-radius: 4px;
529
+ // margin-right: 10px;
530
+ // position: relative;
531
+ // transition: all 0.2s ease;
532
+ // }
533
+
534
+ // &:hover .checkmark {
535
+ // background-color: #f0f0f0;
536
+ // }
537
+ // }
538
+
539
+ .dropdown-item {
540
+ height: 40px;
541
+ &:not(:last-child) {
542
+ margin-bottom: 2px;
543
+ }
544
+ }
545
+ }
546
+
547
+ .dropdown_selection_actions {
548
+ display: flex;
549
+ align-items: center;
550
+ height: 50px;
551
+ // position: absolute;
552
+ // bottom: 0;
553
+ width: 100%;
554
+ background: #fff;
555
+ border-top: 1px solid var(--_thm-cs-be-se-3);
556
+ .opts_selection_action {
557
+ width: 50%;
558
+ height: 100%;
559
+ /* text-align: center; */
560
+ display: flex;
561
+ align-items: center;
562
+ justify-content: center;
563
+ cursor: pointer;
564
+ .add_selected_options {
565
+ &:hover {
566
+ background-color: var(--_primary-25);
567
+ svg path {
568
+ stroke: var(--_primary-400);
569
+ }
570
+ }
571
+ }
572
+ &:not(:last-child) {
573
+ border-right: 1px solid var(--_thm-cs-be-se-3);
574
+ }
575
+ &.discard_selection {
576
+ &:hover {
577
+ background-color: var(--_gray-50);
578
+ }
579
+ }
580
+ &:hover {
581
+ background-color: var(--_primary-25);
582
+ }
583
+ .svg_icon {
584
+ cursor: pointer;
585
+ position: relative !important;
586
+ background: none !important;
587
+ right: 0px !important;
588
+ }
589
+ }
590
+ }
591
+ }
592
+ .drodown-menu-with-icon-dropdown {
593
+ top: 11px;
594
+ }
595
+ }
596
+
597
+ .icon_with_label_section {
598
+ display: flex;
599
+ gap: 4px;
600
+ cursor: pointer;
601
+ .label_elm {
602
+ color: var(--_primary-400);
603
+ font-size: 14px;
604
+ }
605
+ }
606
+
607
+ .text-ellipsis {
608
+ overflow: hidden;
609
+ max-width: 100%;
610
+ text-overflow: ellipsis;
611
+ white-space: nowrap;
612
+ }
613
+ .no_data_found {
614
+ padding: 24px;
615
+ text-align: center;
616
+ font-weight: 600;
617
+ font-size: 16px;
618
+ width: 100%;
619
+ height: 200px;
620
+ display: flex;
621
+ justify-content: center;
622
+ align-items: center;
623
+ font-weight: 600;
624
+ }
625
+
626
+ // spinner for dropdown
627
+ .spinner_dropdown {
628
+ width: 32px;
629
+ height: 32px;
630
+ border-radius: 50%;
631
+ position: relative;
632
+ animation: rotate 1s linear infinite;
633
+ }
634
+ .spinner_dropdown::before,
635
+ .spinner_dropdown::after {
636
+ content: "";
637
+ box-sizing: border-box;
638
+ position: absolute;
639
+ inset: 0px;
640
+ border-radius: 50%;
641
+ border: 2px solid var(--_primary-300);
642
+ animation: prixClipFix 2s linear infinite;
643
+ }
644
+ .spinner_dropdown::after {
645
+ border-color: var(--_primary-500);
646
+ animation:
647
+ prixClipFix 2s linear infinite,
648
+ rotate 0.5s linear infinite reverse;
649
+ inset: 6px;
650
+ }
651
+
652
+ @keyframes rotate {
653
+ 0% {
654
+ transform: rotate(0deg);
655
+ }
656
+ 100% {
657
+ transform: rotate(360deg);
658
+ }
659
+ }
660
+
661
+ @keyframes prixClipFix {
662
+ 0% {
663
+ clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
664
+ }
665
+ 25% {
666
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
667
+ }
668
+ 50% {
669
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
670
+ }
671
+ 75% {
672
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
673
+ }
674
+ 100% {
675
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
676
+ }
677
+ }
678
+
679
+ @keyframes open_dropdown {
680
+ 0% {
681
+ transform: translateY(-4px);
682
+ opacity: 0;
683
+ }
684
+ 100% {
685
+ transform: translateY(0);
686
+ opacity: 1;
687
+ }
688
+ }
689
+
690
+ @keyframes close_dropdown {
691
+ 0% {
692
+ transform: translateY(0);
693
+ opacity: 1;
694
+ }
695
+ 100% {
696
+ transform: translateY(-4px);
697
+ opacity: 0;
698
+ }
699
+ }