@sc-360-v2/storefront-cms-library 0.1.93 → 0.1.95

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 (41) hide show
  1. package/README.md +12 -12
  2. package/dist/amount-estimator.scss +438 -4
  3. package/dist/builder.js +1 -1
  4. package/dist/bulk-variant-picker.scss +725 -19
  5. package/dist/gallery-slider-temp.scss +455 -340
  6. package/dist/globals.scss +94 -94
  7. package/dist/menu.scss +89 -0
  8. package/dist/payment-methods.scss +170 -11
  9. package/dist/pickup-locations.scss +437 -11
  10. package/dist/product-actions.scss +881 -77
  11. package/dist/product-highlights.scss +108 -4
  12. package/dist/product-image.scss +466 -338
  13. package/dist/product-inventory.scss +550 -14
  14. package/dist/product-options.scss +156 -0
  15. package/dist/product-price.scss +686 -284
  16. package/dist/product-promotions.scss +1112 -17
  17. package/dist/product.scss +18 -172
  18. package/dist/quantity-selector.scss +52 -4
  19. package/dist/repeater-item.scss +21 -0
  20. package/dist/repeater.scss +106 -0
  21. package/dist/shipping-estimator.scss +7 -5
  22. package/dist/stack.scss +7 -2
  23. package/dist/store-locations.scss +436 -14
  24. package/dist/tooltip.scss +276 -0
  25. package/dist/types/builder/enums/index.d.ts +9 -2
  26. package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +2 -1
  27. package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
  28. package/dist/types/builder/tools/element-edit/productActions.d.ts +1 -0
  29. package/dist/types/builder/tools/element-edit/productDetails.d.ts +6 -31
  30. package/dist/types/builder/tools/element-edit/productDetailsOLd.d.ts +42 -0
  31. package/dist/types/builder/tools/element-edit/productOptions.d.ts +59 -0
  32. package/dist/types/builder/tools/element-edit/repeater.d.ts +2 -1
  33. package/dist/uom-selector.scss +495 -4
  34. package/dist/variant-picker.scss +767 -19
  35. package/dist/volume-pricing.scss +468 -19
  36. package/dist/widget.scss +24 -3
  37. package/package.json +1 -1
  38. package/dist/App.scss +0 -31
  39. package/dist/mixin.scss +0 -9
  40. package/dist/modal.module.scss +0 -121
  41. package/dist/range-slider.module.scss +0 -85
@@ -1,6 +1,6 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
-
3
+ @import "./functions.scss";
4
4
  [data-div-type="element"] {
5
5
  &[data-element-type="variantPicker"] {
6
6
  // width: var(--_lt-wh);
@@ -12,10 +12,10 @@
12
12
  margin: var(--_ctm-lt-mn, --_tst-lt-mn);
13
13
  // height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
14
14
  // height: ;
15
- aspect-ratio: 1 / var(--_sf-aspect-ratio);
16
- --_aspect-ratio: calc(
17
- 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
18
- );
15
+ // aspect-ratio: 1 / var(--_sf-aspect-ratio);
16
+ // --_aspect-ratio: calc(
17
+ // 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
18
+ // );
19
19
 
20
20
  & > .wrapper {
21
21
  width: 100%;
@@ -24,26 +24,774 @@
24
24
  &[data-show-shadow="false"] {
25
25
  --_show-shadow: none;
26
26
  }
27
- .options-container {
28
- .option-group {
29
- margin: 10px 0;
30
- .option-values {
27
+ .variant__container {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: var(--_ctm-lt-im-sg);
31
+ padding: var(--_ctm-lt-pg);
32
+ // Select Colors
33
+ .select__colors {
34
+ font-size: 16px;
35
+ color: var(--_gray-500);
36
+ display: flex;
37
+ flex-direction: column;
38
+ gap: var(--_ctm-lt-on-te-ve-sg);
39
+ .title {
40
+ margin-bottom: 4px;
41
+ }
42
+ .select__group {
43
+ display: flex;
44
+ flex-wrap: wrap;
45
+ flex-direction: row;
46
+ gap: var(--_ctm-lt-sh-te-dy-se-im-sg);
47
+ &[data-swatch-dispaly="Vertically"] {
48
+ flex-direction: column;
49
+ }
50
+ .item {
51
+ padding: var(--_ctm-lt-sh-te-dy-se-im-pg);
52
+ background-color: var(--_ctm-dn-sh-on-ve-se-dt-se-bd-cr);
53
+ // height: 30px;
54
+ // width: 30px;
55
+ // &[data-dt-se-bd-se="Circle"] {
56
+ // border-radius: 50%;
57
+ // }
58
+ // &[data-dt-se-bd-se="None"] {
59
+ // height: 0;
60
+ // width: 0;
61
+ // }
62
+ &:hover {
63
+ background-color: var(--_ctm-dn-sh-on-ve-se-hr-se-bd-cr);
64
+ // height: 30px;
65
+ // width: 30px;
66
+ // &[data-dt-se-bd-se="Circle"] {
67
+ // border-radius: 50%;
68
+ // }
69
+ // &[data-dt-se-bd-se="None"] {
70
+ // height: 0;
71
+ // width: 0;
72
+ // }
73
+ }
74
+ &.selected_item {
75
+ background-color: var(--_ctm-dn-sh-on-ve-se-sd-se-bd-cr);
76
+ border-radius: var(--_ctm-dn-sh-on-ve-se-sd-se-br-rs);
77
+ border-color: var(
78
+ --_show-border-im-se,
79
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-cr, var(--_tst-dn-br-cr))
80
+ );
81
+ border-style: var(
82
+ --_show-border-im-se,
83
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-se, var(--_tst-dn-br-se))
84
+ );
85
+ border-width: var(
86
+ --_show-border-im-se,
87
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-wh, var(--_tst-dn-br-wh))
88
+ );
89
+ // height: 30px;
90
+ // width: 30px;
91
+ // &[data-dt-se-bd-se="Circle"] {
92
+ // border-radius: 50%;
93
+ // }
94
+ // &[data-dt-se-bd-se="None"] {
95
+ // height: 0;
96
+ // width: 0;
97
+ // }
98
+ }
99
+ .select__group__item {
100
+ transition: width 0.3s ease;
101
+ width: 30px;
102
+ height: 30px;
103
+ border-color: var(
104
+ --_show-border-im-se,
105
+ var(--_ctm-dn-sh-on-ve-se-dt-se-br-cr, var(--_tst-dn-br-cr))
106
+ );
107
+ border-style: var(
108
+ --_show-border-im-se,
109
+ var(--_ctm-dn-sh-on-ve-se-dt-se-br-se, var(--_tst-dn-br-se))
110
+ );
111
+ border-width: var(
112
+ --_show-border-im-se,
113
+ var(--_ctm-dn-sh-on-ve-se-dt-se-br-wh, var(--_tst-dn-br-wh))
114
+ );
115
+ border-radius: var(--_ctm-dn-sh-on-ve-se-dt-se-br-rs, var(--_tst-dn-br-rs));
116
+ box-shadow: var(
117
+ --_show-shadow-im-se,
118
+ var(--_ctm-dn-sh-on-ve-se-dt-se-sw-ae, var(--_tst-dn-sw-ae))
119
+ var(--_ctm-dn-sh-on-ve-se-dt-se-sw-br, var(--_tst-dn-sw-br))
120
+ var(--_ctm-dn-sh-on-ve-se-dt-se-sw-sd, var(--_tst-dn-sw-sd))
121
+ var(--_ctm-dn-sh-on-ve-se-dt-se-sw-cr, var(--_tst-dn-sw-cr))
122
+ );
123
+ border-radius: var(--_ctm-dn-sh-on-ve-se-dt-se-br-rs);
124
+ cursor: pointer;
125
+ overflow: hidden;
126
+ &:hover {
127
+ border-color: var(
128
+ --_show-border-im-se,
129
+ var(--_ctm-dn-sh-on-ve-se-hr-se-br-cr, var(--_tst-dn-br-cr))
130
+ );
131
+ border-style: var(
132
+ --_show-border-im-se,
133
+ var(--_ctm-dn-sh-on-ve-se-hr-se-br-se, var(--_tst-dn-br-se))
134
+ );
135
+ border-width: var(
136
+ --_show-border-im-se,
137
+ var(--_ctm-dn-sh-on-ve-se-hr-se-br-wh, var(--_tst-dn-br-wh))
138
+ );
139
+ border-radius: var(--_ctm-dn-sh-on-ve-se-hr-se-br-rs, var(--_tst-dn-br-rs));
140
+ box-shadow: var(
141
+ --_show-shadow-im-se,
142
+ var(--_ctm-dn-sh-on-ve-se-hr-se-sw-ae, var(--_tst-dn-sw-ae))
143
+ var(--_ctm-dn-sh-on-ve-se-hr-se-sw-br, var(--_tst-dn-sw-br))
144
+ var(--_ctm-dn-sh-on-ve-se-hr-se-sw-sd, var(--_tst-dn-sw-sd))
145
+ var(--_ctm-dn-sh-on-ve-se-hr-se-sw-cr, var(--_tst-dn-sw-cr))
146
+ );
147
+ border-radius: var(--_ctm-dn-sh-on-ve-se-hr-se-br-rs);
148
+ }
149
+ &.selected {
150
+ width: 45px;
151
+ border-radius: 20px;
152
+ outline: 1px solid var(--_gray-300);
153
+ border: 3px solid #fff;
154
+ border-color: var(
155
+ --_show-border-im-se,
156
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-cr, var(--_tst-dn-br-cr))
157
+ );
158
+ border-style: var(
159
+ --_show-border-im-se,
160
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-se, var(--_tst-dn-br-se))
161
+ );
162
+ border-width: var(
163
+ --_show-border-im-se,
164
+ var(--_ctm-dn-sh-on-ve-se-sd-se-br-wh, var(--_tst-dn-br-wh))
165
+ );
166
+ border-radius: var(--_ctm-dn-sh-on-ve-se-sd-se-br-rs, var(--_tst-dn-br-rs));
167
+ box-shadow: var(
168
+ --_show-shadow-im-se,
169
+ var(--_ctm-dn-sh-on-ve-se-sd-se-sw-ae, var(--_tst-dn-sw-ae))
170
+ var(--_ctm-dn-sh-on-ve-se-sd-se-sw-br, var(--_tst-dn-sw-br))
171
+ var(--_ctm-dn-sh-on-ve-se-sd-se-sw-sd, var(--_tst-dn-sw-sd))
172
+ var(--_ctm-dn-sh-on-ve-se-sd-se-sw-cr, var(--_tst-dn-sw-cr))
173
+ );
174
+ border-radius: var(--_ctm-dn-sh-on-ve-se-sd-se-br-rs);
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+ // Select Fit and Size
181
+ .select__fit {
182
+ font-size: 16px;
183
+ color: var(--_gray-500);
184
+ display: flex;
185
+ flex-direction: column;
186
+ gap: var(--_ctm-lt-on-te-ve-sg);
187
+ padding: var(--_ctm-lt-se-st-dy-se-im-pg);
188
+ .title {
189
+ margin-bottom: 4px;
190
+ }
191
+ .select__group {
192
+ display: flex;
193
+ gap: 8px;
194
+ flex-wrap: wrap;
195
+ margin-bottom: 10px;
196
+ flex-direction: row;
197
+ gap: var(--_ctm-lt-se-st-dy-se-im-sg);
198
+ &[data-single-dispaly="Vertically"] {
199
+ flex-direction: column;
200
+ }
201
+ &[data-single-dispaly="Grid"] {
202
+ display: grid;
203
+ grid-template-columns: repeat(var(--_ctm-lt-se-st-dy-se-is-pr-rw), minmax(auto, 1fr));
204
+ }
205
+ .select__group__item {
206
+ transition: color 0.3s ease;
207
+ padding: 8px 12px;
208
+ border-radius: 6px;
209
+ border: 1px solid var(--_gray-200);
210
+ font-size: 16px;
211
+ font-weight: 600;
212
+ cursor: pointer;
213
+ border-color: var(
214
+ --_show-border-im-se,
215
+ var(--_ctm-dn-se-on-ve-se-dt-se-br-cr, var(--_tst-dn-br-cr))
216
+ );
217
+ border-style: var(
218
+ --_show-border-im-se,
219
+ var(--_ctm-dn-se-on-ve-se-dt-se-br-se, var(--_tst-dn-br-se))
220
+ );
221
+ border-width: var(
222
+ --_show-border-im-se,
223
+ var(--_ctm-dn-se-on-ve-se-dt-se-br-wh, var(--_tst-dn-br-wh))
224
+ );
225
+ border-radius: var(--_ctm-dn-se-on-ve-se-dt-se-br-rs, var(--_tst-dn-br-rs));
226
+ box-shadow: var(
227
+ --_show-shadow-im-se,
228
+ var(--_ctm-dn-se-on-ve-se-dt-se-sw-ae, var(--_tst-dn-sw-ae))
229
+ var(--_ctm-dn-se-on-ve-se-dt-se-sw-br, var(--_tst-dn-sw-br))
230
+ var(--_ctm-dn-se-on-ve-se-dt-se-sw-sd, var(--_tst-dn-sw-sd))
231
+ var(--_ctm-dn-se-on-ve-se-dt-se-sw-cr, var(--_tst-dn-sw-cr))
232
+ );
233
+ border-radius: var(--_ctm-dn-se-on-ve-se-dt-se-br-rs);
234
+ background-color: var(--_ctm-dn-se-on-ve-se-dt-se-bd-cr);
235
+ &:hover {
236
+ border-color: var(
237
+ --_show-border-im-se,
238
+ var(--_ctm-dn-se-on-ve-se-hr-se-br-cr, var(--_tst-dn-br-cr))
239
+ );
240
+ border-style: var(
241
+ --_show-border-im-se,
242
+ var(--_ctm-dn-se-on-ve-se-hr-se-br-se, var(--_tst-dn-br-se))
243
+ );
244
+ border-width: var(
245
+ --_show-border-im-se,
246
+ var(--_ctm-dn-se-on-ve-se-hr-se-br-wh, var(--_tst-dn-br-wh))
247
+ );
248
+ border-radius: var(--_ctm-dn-se-on-ve-se-hr-se-br-rs, var(--_tst-dn-br-rs));
249
+ box-shadow: var(
250
+ --_show-shadow-im-se,
251
+ var(--_ctm-dn-se-on-ve-se-hr-se-sw-ae, var(--_tst-dn-sw-ae))
252
+ var(--_ctm-dn-se-on-ve-se-hr-se-sw-br, var(--_tst-dn-sw-br))
253
+ var(--_ctm-dn-se-on-ve-se-hr-se-sw-sd, var(--_tst-dn-sw-sd))
254
+ var(--_ctm-dn-se-on-ve-se-hr-se-sw-cr, var(--_tst-dn-sw-cr))
255
+ );
256
+ border-radius: var(--_ctm-dn-se-on-ve-se-hr-se-br-rs);
257
+ background-color: var(--_ctm-dn-se-on-ve-se-hr-se-bd-cr);
258
+ }
259
+ &.child {
260
+ border: 0;
261
+ border-radius: 0;
262
+ border-bottom: 2px solid var(--_gray-200);
263
+ }
264
+ &.selected {
265
+ border: 1px solid var(--_primary-200);
266
+ background-color: var(--_primary-25);
267
+ color: var(--_primary-400);
268
+ border-color: var(
269
+ --_show-border-im-se,
270
+ var(--_ctm-dn-se-on-ve-se-sd-se-br-cr, var(--_tst-dn-br-cr))
271
+ );
272
+ border-style: var(
273
+ --_show-border-im-se,
274
+ var(--_ctm-dn-se-on-ve-se-sd-se-br-se, var(--_tst-dn-br-se))
275
+ );
276
+ border-width: var(
277
+ --_show-border-im-se,
278
+ var(--_ctm-dn-se-on-ve-se-sd-se-br-wh, var(--_tst-dn-br-wh))
279
+ );
280
+ border-radius: var(--_ctm-dn-se-on-ve-se-sd-se-br-rs, var(--_tst-dn-br-rs));
281
+ box-shadow: var(
282
+ --_show-shadow-im-se,
283
+ var(--_ctm-dn-se-on-ve-se-sd-se-sw-ae, var(--_tst-dn-sw-ae))
284
+ var(--_ctm-dn-se-on-ve-se-sd-se-sw-br, var(--_tst-dn-sw-br))
285
+ var(--_ctm-dn-se-on-ve-se-sd-se-sw-sd, var(--_tst-dn-sw-sd))
286
+ var(--_ctm-dn-se-on-ve-se-sd-se-sw-cr, var(--_tst-dn-sw-cr))
287
+ );
288
+ border-radius: var(--_ctm-dn-se-on-ve-se-sd-se-br-rs);
289
+ background-color: var(--_ctm-dn-se-on-ve-se-sd-se-bd-cr);
290
+ }
291
+ &.selected__child {
292
+ border: 0px;
293
+ border-bottom: 2px solid var(--_primary-400);
294
+ }
295
+ }
296
+ }
297
+ }
298
+ //Dropdown
299
+ .dropdown__main {
300
+ position: relative;
301
+ cursor: pointer;
302
+ // z-index: 101;
303
+
304
+ &.dropdown__outline {
305
+ // border: 1px solid var(--_primary-300);
306
+ // border-radius: var(--_br-6);
307
+ .dropdown__header {
308
+ border: 0;
309
+ background-color: transparent;
310
+ }
311
+ }
312
+
313
+ .selected__value {
314
+ display: flex;
315
+ align-items: center;
316
+ gap: 4px;
317
+ font-weight: 500;
318
+ color: var(--_gray-900);
319
+ &::placeholder {
320
+ color: var(--_gray-500);
321
+ }
322
+ .selected__text {
323
+ margin-top: -2px;
324
+ }
325
+ &.updated__values {
326
+ background-color: var();
327
+ }
328
+ }
329
+
330
+ .dropdown__header {
331
+ border-radius: 6px;
332
+ border: 1px solid var(--_gray-300);
333
+ height: 40px;
334
+ // line-height: 40px;
335
+ background-color: #fff;
336
+ padding: 0 8px 0 14px;
337
+ display: flex;
338
+ align-items: center;
339
+ justify-content: space-between;
340
+ background-color: #fff;
341
+
342
+ gap: 10px;
343
+
344
+ &.remove__radius {
345
+ border-radius: 0;
346
+ }
347
+
348
+ &.pl__0 {
349
+ padding-left: 0px;
350
+ }
351
+ &.primary__btn {
352
+ background-color: var(--_primary-500);
353
+ color: var(--_base-white);
354
+ .selected__value {
355
+ color: var(--_base-white);
356
+ }
357
+ svg {
358
+ width: var(--_width-20);
359
+ height: var(--height-20);
360
+ path {
361
+ stroke: var(--_base-white);
362
+ }
363
+ }
364
+ }
365
+
366
+ .dropdown__arrow {
367
+ // margin-left: 10px;
368
+ margin-top: var(--_mt-3);
369
+ margin-left: -3px;
370
+ margin-top: 2px;
371
+ &[data-attr="chevron-down"] {
372
+ margin-top: -3px;
373
+ svg {
374
+ width: var(--_width-18);
375
+ height: var(--height-18);
376
+ path {
377
+ stroke: var(--_gray-700);
378
+ }
379
+ }
380
+ }
381
+ svg {
382
+ width: var(--_width-20);
383
+ height: var(--_height-20);
384
+ }
385
+ }
386
+ .close__btn {
387
+ svg {
388
+ width: var(--_width-18);
389
+ height: var(--_height-18);
390
+ }
391
+ }
392
+ }
393
+
394
+ .dropdown__list {
395
+ display: flex;
396
+ left: 0;
397
+ position: absolute;
398
+ z-index: var(--_higher-zIndex);
399
+ // margin-top: var(--_mt-4);
400
+ flex-direction: var(--_f-column);
401
+ // width: max-content;
402
+ border-radius: var(--_br-8);
403
+ border: 1px solid var(--_border-light-color);
404
+ background: var(--_base-white);
405
+ // min-width: 130px;
406
+ // max-width: 200px;
407
+ width: 100%;
408
+ gap: var(--_ctm-lt-dn-dy-se-dn-os-sg);
409
+ // box-shadow:
410
+ // 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
411
+ // 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
412
+ padding: var(--_ctm-lt-dn-dy-se-dn-os-pg);
413
+ max-height: 200px;
414
+ overflow-y: auto;
415
+ .no__content {
416
+ padding: 10px;
417
+ text-align: center;
418
+ }
419
+ .dropdown__option {
420
+ padding: var(--_ctm-lt-dn-dy-se-dn-lt-im-pg);
421
+ border-bottom: 1px solid var(--_gray-200);
422
+ display: var(--_d-flex);
423
+ justify-content: var(--_justify-between);
424
+ background-color: var(--_base-white);
425
+ gap: var(--_ctm-lt-dn-dy-se-dn-lt-im-sg);
426
+ &[data-list="true"] {
427
+ pointer-events: none;
428
+ opacity: 0.3;
429
+ // border: 1px solid red;
430
+ }
431
+ span {
432
+ display: inline-block;
433
+ @include restrictToLinesShow(1);
434
+ white-space: normal;
435
+ text-overflow: ellipsis;
436
+ // width: 140px;
437
+ button {
438
+ display: var(--_d-flex);
439
+ }
440
+ }
441
+
442
+ &:hover {
443
+ background-color: var(--_primary-25);
444
+ }
445
+
446
+ &.selected {
447
+ background-color: var(--_primary-25);
448
+ color: var(--_primary-500);
449
+ // font-weight: medium;
450
+
451
+ svg {
452
+ path {
453
+ stroke: var(--_primary-500);
454
+ }
455
+ }
456
+ }
457
+
458
+ &:last-child {
459
+ border-bottom: none;
460
+ }
461
+ }
462
+ }
463
+ }
464
+ // variant dropdown selection
465
+ .var__drop__selection {
466
+ display: flex;
467
+ width: 100%;
468
+ gap: var(--_ctm-lt-dn-dy-se-dn-lt-im-sg);
469
+ flex-direction: row;
470
+ &[data-dropdown-style="Vertical List"] {
471
+ flex-direction: column;
472
+ }
473
+ & > div {
31
474
  width: 100%;
32
- height: 30px;
475
+ }
476
+ }
477
+ // Quantity Fields
478
+ .field__group {
479
+ display: flex;
480
+ flex-wrap: wrap;
481
+ gap: 8px;
482
+ .field__group__item {
483
+ font-size: 16px;
484
+ display: flex;
485
+ flex-direction: column;
486
+ align-items: center;
487
+ justify-content: center;
488
+ gap: 8px;
489
+ input[type="text"] {
490
+ width: 70px !important;
491
+ border: 1px solid var(--_gray-300) !important;
492
+ padding-inline: 10px;
493
+ border-radius: 4px;
494
+ text-align: center;
495
+ &:focus-within {
496
+ border: 1px solid var(--_primary-200) !important;
497
+ box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
498
+ }
499
+ }
500
+ }
501
+ }
502
+ // Enter quantity styles
503
+ .quantiy__details {
504
+ display: flex;
505
+ flex-direction: column;
506
+ gap: 20px;
507
+ .title {
33
508
  display: flex;
509
+ justify-content: space-between;
34
510
  align-items: center;
35
- gap: 1rem;
36
- .option-figure {
37
- width: 30px;
38
- .option-image {
511
+ font-weight: 600;
512
+ font-size: 18px;
513
+ & > button {
514
+ border-bottom: 1px solid var(--_gray-400);
515
+ color: var(--_gray-600);
516
+ font-size: 14px;
517
+ }
518
+ }
519
+ .fit__details {
520
+ display: flex;
521
+ flex-direction: column;
522
+ gap: 12px;
523
+ .fit__desc {
524
+ font-size: 16px;
525
+ color: var(--_gray-900);
526
+ .each__price {
527
+ font-weight: 600;
528
+ }
529
+ }
530
+ }
531
+ }
532
+ .grouped_items {
533
+ display: flex;
534
+ flex-direction: column;
535
+ gap: var(--_ctm-lt-gd-os-dy-se-gp-sg);
536
+ padding: var(--_ctm-lt-gd-os-dy-se-gp-pg);
537
+ }
538
+ // tabs
539
+ .tabs__container {
540
+ display: flex;
541
+ position: relative;
542
+ .tab {
543
+ flex: 1;
544
+ padding-block: 20px;
545
+ font-weight: 600;
546
+ text-align: center;
547
+ cursor: pointer;
548
+ position: relative;
549
+ &.tab__active {
550
+ font-weight: bold;
551
+ }
552
+ }
553
+ .tab__active-indicator {
554
+ position: absolute;
555
+ bottom: 0;
556
+ left: 0;
557
+ height: 2px;
558
+ background-color: #000;
559
+ transition:
560
+ left 0.3s ease,
561
+ width 0.3s ease;
562
+ }
563
+ }
564
+
565
+ // accordion tabs
566
+ .tab__accordion {
567
+ display: flex;
568
+ flex-direction: column;
569
+ .tab__container {
570
+ .tab {
571
+ display: flex;
572
+ padding-inline: 2px;
573
+ position: relative;
574
+ cursor: pointer;
575
+ flex-direction: row;
576
+ &[data-expand-icon="Left"] {
577
+ flex-direction: row-reverse;
578
+ justify-content: flex-end;
579
+ }
580
+ &[data-item-dividers="true"] {
581
+ &::after {
582
+ content: "";
583
+ position: absolute;
584
+ bottom: 0;
585
+ height: 2px;
586
+ width: 100%;
587
+ border-bottom: 1px solid var(--_gray-200);
588
+ }
589
+ }
590
+ span {
591
+ padding-block: 12px;
592
+ display: inline-block;
593
+ }
594
+ .active {
595
+ border-bottom: 2px solid var(--_primary-400);
596
+ }
597
+ &.inactive {
598
+ height: 0px;
599
+ }
600
+ }
601
+ .tab__content {
602
+ padding-block: 20px;
603
+ &.d-none {
604
+ display: none;
605
+ }
606
+ &.d-block {
607
+ display: block;
608
+ }
609
+ }
610
+ }
611
+ }
612
+ // table
613
+ .table__class {
614
+ border: 1px solid var(--_gray-200);
615
+ border-radius: 8px;
616
+ .custom__table {
617
+ border: 1px solid var(--_gray-200);
618
+ width: 100%;
619
+ table-layout: fixed;
620
+ // height: 300px;
621
+
622
+ border-collapse: collapse;
623
+ &[data-header-divider="true"] {
624
+ thead tr th {
625
+ border-bottom: 1px solid var(--_gray-200);
626
+ }
627
+ }
628
+ &[data-row-divider="true"] {
629
+ tbody tr td {
630
+ border-bottom: 1px solid var(--_gray-200);
631
+ }
632
+ }
633
+ &[data-column-divider="true"] {
634
+ tbody tr td,
635
+ thead tr th {
636
+ border-right: 1px solid var(--_gray-200);
637
+ }
638
+
639
+ tbody tr td:last-child,
640
+ thead tr th:last-child {
641
+ border-right: none;
642
+ }
643
+ }
644
+ &[data-alternative-row-colors="true"] {
645
+ tbody tr:nth-child(odd) {
646
+ background-color: var(--_gray-300);
39
647
  width: 100%;
40
- border-radius: 1rem;
41
648
  }
42
649
  }
43
- .option-button {
44
- padding: 0.6rem 1rem;
45
- border: 1px solid lightblue;
46
- border-radius: 10px;
650
+ thead {
651
+ height: var(--_ctm-lt-te-dy-se-hr-ht);
652
+ th {
653
+ height: var(--_ctm-lt-te-dy-se-hr-ht);
654
+ text-align: var(--_ctm-lt-te-dy-se-ct-at);
655
+ padding: var(--_ctm-lt-te-dy-se-hr-cl-pg);
656
+ background-color: var(--_gray-50);
657
+ font-weight: 600;
658
+ color: var(--_gray-600);
659
+ }
660
+ }
661
+ tbody {
662
+ tr {
663
+ border-bottom: 1px solid var(--_gray-200);
664
+ height: var(--_ctm-lt-te-dy-se-rw-ht);
665
+ td {
666
+ text-align: var(--_ctm-lt-te-dy-se-ct-at);
667
+ padding: var(--_ctm-lt-te-dy-se-rw-cl-pg);
668
+ .disocunted__price {
669
+ color: var(--_gray-900);
670
+ }
671
+ .actual__price {
672
+ color: var(--_gray-500);
673
+ }
674
+ .qty__input {
675
+ border: 1px solid var(--_gray-200);
676
+ padding-inline: 10px;
677
+ text-align: center;
678
+ border-radius: 6px;
679
+ }
680
+ }
681
+ }
682
+ }
683
+ }
684
+ }
685
+
686
+ // horizontal tabs
687
+ .tabs__main {
688
+ &.tabs__vertical {
689
+ .tabs {
690
+ .tabs__container {
691
+ flex-direction: column;
692
+ min-width: 120px;
693
+ }
694
+ }
695
+ }
696
+ &.tabs__hr {
697
+ .tabs {
698
+ flex-direction: column;
699
+ .tabs__container {
700
+ width: 100%;
701
+ }
702
+ }
703
+ }
704
+ .tabs {
705
+ display: flex;
706
+ gap: var(--_ctm-dn-tb-im-se-dt-se-tb-ad-cr-sg);
707
+
708
+ .tabs__container {
709
+ display: flex;
710
+ gap: var(--_ctm-lt-gd-os-dy-se-tb-sg);
711
+ background-color: var(--_gray-100);
712
+ .tab {
713
+ display: flex;
714
+ justify-content: var(--_tab-aliginment);
715
+ padding: var(--_ctm-lt-gd-os-dy-se-tb-vl-pg) var(--_ctm-lt-gd-os-dy-se-tb-hl-pg);
716
+ background-color: var(--_ctm-dn-tb-im-se-dt-se-bd-cr);
717
+ border-color: var(
718
+ --_show-border-im-se,
719
+ var(--_ctm-dn-tb-im-se-dt-se-br-cr, var(--_tst-dn-br-cr))
720
+ );
721
+ border-style: var(
722
+ --_show-border-im-se,
723
+ var(--_ctm-dn-tb-im-se-dt-se-br-se, var(--_tst-dn-br-se))
724
+ );
725
+ border-width: var(
726
+ --_show-border-im-se,
727
+ var(--_ctm-dn-tb-im-se-dt-se-br-wh, var(--_tst-dn-br-wh))
728
+ );
729
+ border-radius: var(--_ctm-dn-tb-im-se-dt-se-br-rs, var(--_tst-dn-br-rs));
730
+ box-shadow: var(
731
+ --_show-shadow-im-se,
732
+ var(--_ctm-dn-tb-im-se-dt-se-sw-ae, var(--_tst-dn-sw-ae))
733
+ var(--_ctm-dn-tb-im-se-dt-se-sw-br, var(--_tst-dn-sw-br))
734
+ var(--_ctm-dn-tb-im-se-dt-se-sw-sd, var(--_tst-dn-sw-sd))
735
+ var(--_ctm-dn-tb-im-se-dt-se-sw-cr, var(--_tst-dn-sw-cr))
736
+ );
737
+ border-radius: var(--_ctm-dn-tb-im-se-dt-se-br-rs);
738
+ &:hover {
739
+ background-color: var(--_ctm-dn-tb-im-se-hr-se-bd-cr);
740
+ border-color: var(
741
+ --_show-border-im-se,
742
+ var(--_ctm-dn-tb-im-se-hr-se-br-cr, var(--_tst-dn-br-cr))
743
+ );
744
+ border-style: var(
745
+ --_show-border-im-se,
746
+ var(--_ctm-dn-tb-im-se-hr-se-br-se, var(--_tst-dn-br-se))
747
+ );
748
+ border-width: var(
749
+ --_show-border-im-se,
750
+ var(--_ctm-dn-tb-im-se-hr-se-br-wh, var(--_tst-dn-br-wh))
751
+ );
752
+ border-radius: var(--_ctm-dn-tb-im-se-hr-se-br-rs, var(--_tst-dn-br-rs));
753
+ box-shadow: var(
754
+ --_show-shadow-im-se,
755
+ var(--_ctm-dn-tb-im-se-hr-se-sw-ae, var(--_tst-dn-sw-ae))
756
+ var(--_ctm-dn-tb-im-se-hr-se-sw-br, var(--_tst-dn-sw-br))
757
+ var(--_ctm-dn-tb-im-se-hr-se-sw-sd, var(--_tst-dn-sw-sd))
758
+ var(--_ctm-dn-tb-im-se-hr-se-sw-cr, var(--_tst-dn-sw-cr))
759
+ );
760
+ border-radius: var(--_ctm-dn-tb-im-se-hr-se-br-rs);
761
+ }
762
+ &.active {
763
+ background-color: var(--_ctm-dn-tb-im-se-sd-se-bd-cr);
764
+ border-color: var(
765
+ --_show-border-im-se,
766
+ var(--_ctm-dn-tb-im-se-sd-se-br-cr, var(--_tst-dn-br-cr))
767
+ );
768
+ border-style: var(
769
+ --_show-border-im-se,
770
+ var(--_ctm-dn-tb-im-se-sd-se-br-se, var(--_tst-dn-br-se))
771
+ );
772
+ border-width: var(
773
+ --_show-border-im-se,
774
+ var(--_ctm-dn-tb-im-se-sd-se-br-wh, var(--_tst-dn-br-wh))
775
+ );
776
+ border-radius: var(--_ctm-dn-tb-im-se-sd-se-br-rs, var(--_tst-dn-br-rs));
777
+ box-shadow: var(
778
+ --_show-shadow-im-se,
779
+ var(--_ctm-dn-tb-im-se-sd-se-sw-ae, var(--_tst-dn-sw-ae))
780
+ var(--_ctm-dn-tb-im-se-sd-se-sw-br, var(--_tst-dn-sw-br))
781
+ var(--_ctm-dn-tb-im-se-sd-se-sw-sd, var(--_tst-dn-sw-sd))
782
+ var(--_ctm-dn-tb-im-se-sd-se-sw-cr, var(--_tst-dn-sw-cr))
783
+ );
784
+ border-radius: var(--_ctm-dn-tb-im-se-sd-se-br-rs);
785
+ }
786
+ // span {
787
+ // &.active {
788
+ // // border-bottom: 2px solid var(--_primary-400);
789
+ // }
790
+ // }
791
+ }
792
+ }
793
+ .tab__content {
794
+ padding: var(--_ctm-lt-gd-os-dy-se-cr-pg);
47
795
  }
48
796
  }
49
797
  }