@sc-360-v2/storefront-cms-library 0.2.43 → 0.2.45

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 (38) hide show
  1. package/README.md +12 -12
  2. package/dist/allocations.scss +106 -0
  3. package/dist/amount-estimator.scss +27 -15
  4. package/dist/builder.js +1 -1
  5. package/dist/button.scss +4 -1
  6. package/dist/cart.scss +45 -0
  7. package/dist/container.scss +41 -0
  8. package/dist/countdown.scss +11 -3
  9. package/dist/custom-fonts.scss +41 -0
  10. package/dist/globals.scss +94 -94
  11. package/dist/hotspot.scss +5 -5
  12. package/dist/image-temp.scss +7 -1
  13. package/dist/layouter-item.scss +65 -0
  14. package/dist/layouter.scss +259 -0
  15. package/dist/light-box-v2.scss +71 -0
  16. package/dist/product-basic-elements.scss +20 -8
  17. package/dist/product-highlights.scss +38 -5
  18. package/dist/product-image copy.scss +788 -0
  19. package/dist/product-image.scss +529 -444
  20. package/dist/productDetails.scss +15 -2
  21. package/dist/profile.scss +14 -0
  22. package/dist/quantity-selector.scss +2 -0
  23. package/dist/repeater-item.scss +44 -3
  24. package/dist/repeater.scss +38 -0
  25. package/dist/search.scss +61 -21
  26. package/dist/section.scss +69 -54
  27. package/dist/static-text.scss +53 -0
  28. package/dist/text-temp.scss +24 -13
  29. package/dist/types/builder/elements/category-details/index.d.ts +68 -0
  30. package/dist/types/builder/enums/index.d.ts +3 -0
  31. package/dist/types/builder/index.d.ts +2 -1
  32. package/dist/types/builder/tools/element-edit/categoryDetails.d.ts +17 -0
  33. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  34. package/dist/uom-selector.scss +280 -4
  35. package/dist/variant-picker.scss +71 -0
  36. package/dist/volume-pricing.scss +8 -0
  37. package/dist/widget.scss +5 -1
  38. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  &[data-element-type="productImage"] {
5
5
  // width: var(--_sf-nw-wh, var(--_tst-lt-wh));
6
6
  width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
7
- // height: var(--_ctm-lt-ht);
7
+ height: var(--_ctm-lt-ht);
8
8
  // height: var(--_ctm-lt-ht);
9
9
  margin: var(--_ctm-lt-mn, --_tst-lt-mn);
10
10
 
@@ -13,14 +13,14 @@
13
13
  1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
14
14
  );
15
15
 
16
- &[data-view-state="full"] {
17
- width: auto;
18
- // height: 100%;
19
- margin: 0;
20
- justify-self: stretch !important;
21
- align-self: stretch !important;
22
- cursor: auto;
23
- }
16
+ // &[data-view-state="full"] {
17
+ // width: auto;
18
+ // // height: 100%;
19
+ // margin: 0;
20
+ // justify-self: stretch !important;
21
+ // align-self: stretch !important;
22
+ // cursor: auto;
23
+ // }
24
24
 
25
25
  & > .wrapper {
26
26
  width: 100%;
@@ -192,517 +192,602 @@
192
192
  }
193
193
  }
194
194
  }
195
- }
196
- }
197
- .embla {
198
- width: 100%;
199
- height: 100%;
200
- position: relative;
201
- display: flex;
202
- flex-direction: column;
203
- // overflow: hidden;
204
-
205
- .embla__viewport {
206
- width: 100%;
207
- height: 100%;
208
- position: relative;
209
- display: flex;
210
- flex-direction: column;
211
-
212
- overflow: hidden;
213
-
214
- .embla__container {
195
+ .embla {
215
196
  width: 100%;
216
197
  height: 100%;
217
- display: grid;
218
- grid-template-rows: 100%;
219
- // grid-template-columns: 100%;
220
- grid-template-columns: repeat(var(--_ctm-lt-is-pr-se), calc(100% / var(--_ctm-lt-is-pr-se)));
221
- grid-auto-flow: column;
222
- gap: var(--_ctm-lt-im-gp);
223
-
224
- .embla__slide {
198
+ position: relative;
199
+ display: flex;
200
+ flex-direction: column;
201
+ // overflow: hidden;
202
+
203
+ .embla__viewport {
225
204
  width: 100%;
226
205
  height: 100%;
227
- }
228
- }
229
- }
230
- &:not([data-display-style="Column"]) {
231
- .embla__container {
232
- grid-auto-columns: calc(100% / var(--_ctm-lt-is-pr-se));
233
- }
234
- }
206
+ position: relative;
207
+ display: flex;
208
+ flex-direction: column;
209
+
210
+ overflow: hidden;
235
211
 
236
- &[data-display-style="Grid"][data-scroll-direction="Vertical"] {
237
- // overflow: unset;
212
+ .embla__container {
213
+ width: 100%;
214
+ height: 100%;
215
+ display: grid;
216
+ grid-template-rows: 100%;
217
+ // grid-template-columns: 100%;
218
+ grid-template-columns: repeat(
219
+ var(--_ctm-lt-is-pr-se),
220
+ calc(100% / var(--_ctm-lt-is-pr-se))
221
+ );
222
+ grid-auto-flow: column;
223
+ gap: var(--_ctm-lt-im-gp);
224
+ &[data-control-type="Bottom"][data-slider-control="Arrows"] {
225
+ height: calc(100% - calc(var(--_ctm-dn-pn-as-aw-se) + 10px));
226
+ }
227
+ &[data-control-type="Bottom"][data-slider-control="Pagination Line"] {
228
+ height: calc(100% - calc(var(--_ctm-dn-pn-le-le-ht) + 20px));
229
+ }
230
+ &[data-control-type="Bottom"][data-slider-control="Dots"] {
231
+ height: calc(100% - calc(var(--_ctm-dn-pn-ds-dt-se) + 20px));
232
+ }
238
233
 
239
- .embla__viewport {
240
- overflow: unset;
241
- height: 80%;
242
- flex-grow: 1;
243
- &:not([data-is-builder-type="true"]) {
244
- height: var(--_ctm-height);
234
+ .embla__slide {
235
+ width: 100%;
236
+ height: 100%;
237
+ }
238
+ }
245
239
  }
240
+ &:not([data-display-style="Column"]) {
241
+ .embla__container {
242
+ grid-auto-columns: calc(100% / var(--_ctm-lt-is-pr-se));
243
+ }
244
+ }
245
+
246
+ &[data-display-style="Grid"][data-scroll-direction="Vertical"] {
247
+ // overflow: unset;
246
248
 
247
- .embla__container {
248
- overflow: unset;
249
- height: var(--_ctm-height);
250
- // min-height: var(--_ctm-height);
249
+ .embla__viewport {
250
+ overflow: unset;
251
+ height: 80%;
252
+ flex-grow: 1;
253
+ &:not([data-is-builder-type="true"]) {
254
+ height: var(--_ctm-height);
255
+ }
251
256
 
252
- grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
253
- grid-template-rows: unset;
257
+ .embla__container {
258
+ overflow: unset;
259
+ height: var(--_ctm-height);
260
+ // min-height: var(--_ctm-height);
254
261
 
255
- grid-auto-flow: row;
256
- &[data-overflow-hidden="true"] {
257
- overflow: hidden;
262
+ grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
263
+ grid-template-rows: unset;
264
+
265
+ grid-auto-flow: row;
266
+ &[data-overflow-hidden="true"] {
267
+ overflow: hidden;
268
+ }
269
+ }
258
270
  }
259
271
  }
260
- }
261
- }
262
272
 
263
- &[data-display-style="Grid"][data-scroll-direction="Horizontal"] {
264
- .embla__viewport {
265
- .embla__container {
266
- grid-template-rows: repeat(var(--_ctm-lt-is-pr-cn), calc(100% / var(--_ctm-lt-is-pr-cn)));
273
+ &[data-display-style="Grid"][data-scroll-direction="Horizontal"] {
274
+ .embla__viewport {
275
+ .embla__container {
276
+ grid-template-rows: repeat(
277
+ var(--_ctm-lt-is-pr-cn),
278
+ calc(100% / var(--_ctm-lt-is-pr-cn))
279
+ );
280
+ }
281
+ }
267
282
  }
268
- }
269
- }
270
283
 
271
- &[data-display-style="Rows"] {
272
- // overflow: unset;
284
+ &[data-display-style="Rows"] {
285
+ // overflow: unset;
273
286
 
274
- .embla__viewport {
275
- overflow: unset;
276
- height: 80%;
277
- flex-grow: 1;
278
- &:not([data-is-builder-type="true"]) {
279
- height: var(--_ctm-height);
280
- }
287
+ .embla__viewport {
288
+ overflow: unset;
289
+ height: 80%;
290
+ flex-grow: 1;
291
+ &:not([data-is-builder-type="true"]) {
292
+ height: var(--_ctm-height);
293
+ }
281
294
 
282
- .embla__container {
283
- overflow: hidden;
284
- height: var(--_ctm-height);
285
- // min-height: var(--_ctm-height);
295
+ .embla__container {
296
+ overflow: hidden;
297
+ height: var(--_ctm-height);
298
+ // min-height: var(--_ctm-height);
286
299
 
287
- grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
288
- grid-template-rows: unset;
300
+ grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
301
+ grid-template-rows: unset;
289
302
 
290
- grid-auto-flow: row;
303
+ grid-auto-flow: row;
304
+ }
305
+ }
291
306
  }
292
- }
293
- }
294
307
 
295
- &[data-display-style="Column"] {
296
- // overflow: unset;
308
+ &[data-display-style="Column"] {
309
+ // overflow: unset;
297
310
 
298
- .embla__viewport {
299
- .embla__container {
300
- display: flex;
301
- .embla__slide {
302
- width: unset;
303
- height: 100%;
304
- aspect-ratio: 1 / 2;
311
+ .embla__viewport {
312
+ .embla__container {
313
+ display: flex;
314
+ .embla__slide {
315
+ width: unset;
316
+ height: 100%;
317
+ aspect-ratio: 1 / 2;
318
+ }
319
+ }
305
320
  }
306
321
  }
307
- }
308
- }
309
- &[data-display-style="Masonry"] {
310
- // overflow: unset;
311
-
312
- .embla__viewport {
313
- overflow: hidden;
314
- height: 80%;
315
- flex-grow: 1;
316
- &:not([data-is-builder-type="true"]) {
317
- height: var(--_ctm-height);
318
- }
319
- .embla__container {
320
- overflow: unset;
321
-
322
- display: block;
323
- column-count: var(--_ctm-lt-is-pr-rw);
324
- gap: unset;
325
- column-gap: var(--_ctm-lt-im-gp);
326
- // height: auto;
327
-
328
- height: auto;
329
-
330
- .embla__slide {
331
- // break-inside: avoid;
332
- margin-bottom: var(--_ctm-lt-im-gp);
333
- height: unset;
334
- .gallery__slide {
335
- height: unset;
322
+ &[data-display-style="Masonry"] {
323
+ // overflow: unset;
324
+
325
+ .embla__viewport {
326
+ overflow: hidden;
327
+ height: 80%;
328
+ flex-grow: 1;
329
+ &:not([data-is-builder-type="true"]) {
330
+ height: var(--_ctm-height);
331
+ }
332
+ .embla__container {
333
+ overflow: unset;
334
+
335
+ display: block;
336
+ column-count: var(--_ctm-lt-is-pr-rw);
337
+ gap: unset;
338
+ column-gap: var(--_ctm-lt-im-gp);
339
+ // height: auto;
340
+
341
+ height: auto;
342
+
343
+ .embla__slide {
344
+ // break-inside: avoid;
345
+ margin-bottom: var(--_ctm-lt-im-gp);
346
+ height: unset;
347
+ .gallery__slide {
348
+ height: unset;
349
+ }
350
+ }
336
351
  }
337
352
  }
338
353
  }
339
- }
340
- }
341
354
 
342
- .arrow-navigation {
343
- display: flex;
344
- position: absolute;
345
- top: 50%;
346
- left: 50%;
347
- width: 100%;
348
- justify-content: space-between;
349
- transform: translate(-50%, -50%);
350
- // padding-left: 20px;
351
- &[data-control-type="Side"] {
352
- .left-button,
353
- .right-button {
354
- background-color: transparent;
355
- }
356
- }
357
- &[data-background-shape="Round"] {
358
- .left-button,
359
- .right-button {
360
- background-color: #f2f5f5;
361
- box-sizing: 0 4px 8px rgba(0, 0, 0, 0.1);
362
- }
363
- }
364
- &[data-control-type="Bottom-Overflow"] {
365
- transform: translateX(-50%);
366
- width: 100%;
367
- justify-content: center;
368
- gap: 12px;
369
- top: unset;
370
- bottom: 6px;
371
- }
372
- &[data-control-type="Bottom"] {
373
- transform: unset;
374
- position: static;
375
- width: 100%;
376
- justify-content: center;
377
- gap: 12px;
378
- margin-top: 10px;
379
- }
380
- .left-button {
381
- padding: 20px;
382
- border-radius: 50%;
383
- border: none;
384
- width: 40px;
385
- height: 40px;
386
- display: flex;
387
- align-items: center;
388
- justify-content: center;
389
- cursor: pointer;
390
- outline: none;
391
- margin-left: 12px;
392
- &:disabled {
393
- & svg {
394
- path {
395
- stroke: rgb(192, 192, 192);
355
+ .arrow-navigation {
356
+ display: flex;
357
+ position: absolute;
358
+ top: 50%;
359
+ left: 50%;
360
+ width: 100%;
361
+ justify-content: space-between;
362
+ transform: translate(-50%, -50%);
363
+ // padding-left: 20px;
364
+ &[data-control-type="Side"] {
365
+ .left-button,
366
+ .right-button {
367
+ background-color: transparent;
396
368
  }
397
369
  }
398
- }
399
- }
400
- .right-button {
401
- border-radius: 50%;
402
- border: none;
403
- width: 40px;
404
- height: 40px;
405
- display: flex;
406
- align-items: center;
407
- justify-content: center;
408
- cursor: pointer;
409
- outline: none;
410
- margin-right: 12px;
411
- &:disabled {
412
- & svg {
413
- path {
414
- stroke: rgb(192, 192, 192);
370
+ &[data-background-shape="Round"] {
371
+ .left-button,
372
+ .right-button {
373
+ background-color: #f2f5f5;
374
+ box-sizing: 0 4px 8px rgba(0, 0, 0, 0.1);
375
+ }
376
+ }
377
+ &[data-control-type="Bottom-Overflow"] {
378
+ transform: translateX(-50%);
379
+ width: 100%;
380
+ justify-content: center;
381
+ gap: 12px;
382
+ top: unset;
383
+ bottom: 6px;
384
+ }
385
+ &[data-control-type="Bottom"] {
386
+ transform: unset;
387
+ position: static;
388
+ width: 100%;
389
+ justify-content: center;
390
+ gap: 12px;
391
+ margin-top: 10px;
392
+ }
393
+ .left-button {
394
+ padding: 10px;
395
+ border-radius: 50%;
396
+ border: none;
397
+ width: var(--_ctm-dn-pn-as-aw-se);
398
+ height: var(--_ctm-dn-pn-as-aw-se);
399
+ display: flex;
400
+ align-items: center;
401
+ justify-content: center;
402
+ cursor: pointer;
403
+ outline: none;
404
+ margin-left: 12px;
405
+ &:disabled {
406
+ & svg {
407
+ path {
408
+ stroke: rgb(192, 192, 192);
409
+ }
410
+ }
411
+ }
412
+ }
413
+ .right-button {
414
+ border-radius: 50%;
415
+ border: none;
416
+ width: var(--_ctm-dn-pn-as-aw-se);
417
+ height: var(--_ctm-dn-pn-as-aw-se);
418
+ display: flex;
419
+ align-items: center;
420
+ justify-content: center;
421
+ cursor: pointer;
422
+ outline: none;
423
+ margin-right: 12px;
424
+ padding: 10px;
425
+
426
+ &:disabled {
427
+ & svg {
428
+ path {
429
+ stroke: rgb(192, 192, 192);
430
+ }
431
+ }
432
+ }
433
+ }
434
+ .icon {
435
+ display: flex;
436
+ svg {
437
+ width: calc(var(--_ctm-dn-pn-as-aw-se) * 0.5);
438
+ height: calc(var(--_ctm-dn-pn-as-aw-se) * 0.5);
439
+ path {
440
+ stroke: var(--_ctm-dn-pn-as-aw-cr, var(--_tst-dn-pn-as-aw-cr));
441
+ }
415
442
  }
416
443
  }
417
444
  }
418
- }
419
- .icon {
420
- display: flex;
421
- svg {
422
- width: var(--_ctm-dn-pn-as-aw-se, var(--_tst-dn-pn-as-aw-se));
423
- height: var(--_ctm-dn-pn-as-aw-se, var(--_tst-dn-pn-as-aw-se));
424
- path {
425
- stroke: var(--_ctm-dn-pn-as-aw-cr, var(--_tst-dn-pn-as-aw-cr));
445
+
446
+ &[data-control-type="Side"] {
447
+ .embla__viewport {
448
+ width: calc(100% - 120px);
449
+ margin-inline: auto;
426
450
  }
427
451
  }
428
- }
429
- }
430
452
 
431
- &[data-control-type="Side"] {
432
- .embla__viewport {
433
- width: calc(100% - 120px);
434
- margin-inline: auto;
435
- }
436
- }
453
+ &[data-thumbnail-placement="top"] {
454
+ flex-direction: column-reverse;
455
+ }
456
+ &[data-thumbnail-placement="bottom"] {
457
+ flex-direction: column;
458
+ }
459
+ &[data-thumbnail-placement="left"] {
460
+ flex-direction: row-reverse;
437
461
 
438
- &[data-thumbnail-placement="top"] {
439
- flex-direction: column-reverse;
440
- }
441
- &[data-thumbnail-placement="bottom"] {
442
- flex-direction: column;
443
- }
444
- &[data-thumbnail-placement="left"] {
445
- flex-direction: row-reverse;
462
+ .embla__thumbs {
463
+ width: var(--_ctm-lt-tl-se);
464
+ height: 100%;
446
465
 
447
- .embla__thumbs {
448
- width: var(--_ctm-lt-tl-se);
449
- height: 100%;
466
+ & .embla__thumbs__container {
467
+ flex-direction: column;
468
+ height: 100%;
469
+ }
470
+ }
471
+ }
472
+ &[data-thumbnail-placement="right"] {
473
+ flex-direction: row;
474
+ .embla__thumbs {
475
+ width: var(--_ctm-lt-tl-se);
476
+ height: 100%;
450
477
 
451
- & .embla__thumbs__container {
452
- flex-direction: column;
453
- height: 100%;
478
+ & .embla__thumbs__container {
479
+ flex-direction: column;
480
+ height: 100%;
481
+ }
482
+ }
454
483
  }
455
- }
456
- }
457
- &[data-thumbnail-placement="right"] {
458
- flex-direction: row;
459
- .embla__thumbs {
460
- width: var(--_ctm-lt-tl-se);
461
- height: 100%;
484
+ .embla__dots {
485
+ display: flex;
486
+ flex-wrap: wrap;
487
+ justify-content: center;
488
+ align-items: center;
489
+ margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
490
+ gap: 6px;
491
+ margin-top: 16px;
492
+
493
+ &[data-control-type="Bottom-Overflow"] {
494
+ position: absolute;
495
+ bottom: 10px;
496
+ left: 50%;
497
+ transform: translateX(-50%);
498
+ width: 75%;
499
+ }
500
+ .embla__dot {
501
+ -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
502
+ -webkit-appearance: none;
503
+ appearance: none;
504
+ background-color: var(--_ctm-dn-pn-ds-or-dt-cr, var(--_tst-dn-pn-ds-or-dt-cr));
505
+ touch-action: manipulation;
506
+ display: inline-flex;
507
+ text-decoration: none;
508
+ cursor: pointer;
509
+ border: 0;
510
+ padding: 0;
511
+ margin: 0;
512
+ // width: 0.6rem;
513
+ // height: 0.6rem;
514
+ width: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
515
+ height: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
516
+ display: flex;
517
+ align-items: center;
518
+ justify-content: center;
519
+ border-radius: 50%;
520
+ }
521
+ .embla__dot:after {
522
+ // box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
523
+ width: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
524
+ height: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
525
+ border-radius: 50%;
526
+ display: flex;
527
+ align-items: center;
528
+ content: "";
529
+ }
530
+ .embla__dot--selected:after {
531
+ box-shadow: inset 0 0 0 1px var(--text-body);
532
+ background-color: var(--_ctm-dn-pn-ds-ct-dt-cr, var(--_tst-dn-pn-ds-ct-dt-cr));
533
+ }
534
+ &[data-slider-control="Pagination Line"] {
535
+ .embla__dot {
536
+ width: var(--_ctm-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh));
537
+ height: var(--_ctm-dn-pn-le-le-ht, var(--_tst-dn-pn-le-le-ht));
538
+ background-color: var(--_ctm-dn-pn-le-or-le-cr, var(--_ctm-dn-pn-le-or-le-cr));
462
539
 
463
- & .embla__thumbs__container {
464
- flex-direction: column;
465
- height: 100%;
540
+ border-radius: 6px;
541
+ }
542
+ .embla__dot--selected:after {
543
+ box-shadow: inset 0 0 0 1px var(--text-body);
544
+ border-radius: 6px;
545
+ width: var(--_ctm-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh));
546
+ height: var(--_ctm-dn-pn-le-le-ht, var(--_tst-dn-pn-le-le-ht));
547
+ // background-color: #fff;
548
+ background-color: var(--_ctm-dn-pn-le-ct-le-cr, var(--_tst-dn-pn-le-ct-le-cr));
549
+ }
550
+ }
551
+ }
552
+
553
+ .embla__thumbs {
554
+ width: 100%;
555
+ height: var(--_ctm-lt-tl-se);
556
+ position: relative;
557
+ display: grid;
558
+ grid-template-columns: 1fr;
559
+ overflow: hidden;
560
+ // margin: 10px;
561
+ padding: 10px;
562
+
563
+ .embla__thumbs__viewport {
564
+ width: 100%;
565
+ height: 100%;
566
+ position: relative;
567
+ display: flex;
568
+ flex-direction: column;
569
+
570
+ overflow: hidden;
571
+ }
572
+ .embla__thumbs__container {
573
+ display: flex;
574
+ flex-direction: row;
575
+ margin-left: calc(var(--thumbs-slide-spacing) * -1);
576
+ gap: var(--_ctm-lt-tl-sg);
577
+ width: 100%;
578
+ // justify-content: center;
579
+ // height: 200px;
580
+
581
+ .embla__thumbs__slide {
582
+ min-width: var(--_ctm-lt-tl-se);
583
+ max-width: var(--_ctm-lt-tl-se);
584
+ height: var(--_ctm-lt-tl-se);
585
+ & img {
586
+ width: 100%;
587
+ height: 100%;
588
+ }
589
+ }
590
+ }
466
591
  }
467
592
  }
468
- }
469
593
 
470
- .embla__thumbs {
471
- width: 100%;
472
- height: var(--_ctm-lt-tl-se);
473
- position: relative;
474
- display: grid;
475
- grid-template-columns: 1fr;
476
- overflow: hidden;
477
- // margin: 10px;
478
- padding: 10px;
479
-
480
- .embla__thumbs__viewport {
594
+ .gallery__slide {
481
595
  width: 100%;
482
596
  height: 100%;
483
- position: relative;
484
597
  display: flex;
485
- flex-direction: column;
598
+ // flex-direction: column;
486
599
 
487
- overflow: hidden;
488
- }
489
- .embla__thumbs__container {
490
- display: flex;
491
- flex-direction: row;
492
- margin-left: calc(var(--thumbs-slide-spacing) * -1);
493
- gap: var(--_ctm-lt-tl-sg);
494
- width: 100%;
495
- // justify-content: center;
496
- // height: 200px;
600
+ background-color: var(--_ctm-dn-im-se-bd-cr, var(--_tst-dn-im-se-bd-cr));
601
+ border-color: var(--_ctm-dn-im-se-br-cr, var(--_tst-dn-im-se-br-cr));
602
+ border-style: var(--_ctm-dn-im-se-br-se, var(--_tst-dn-im-se-br-se));
603
+ border-width: var(--_ctm-dn-im-se-br-wh, var(--_tst-dn-im-se-br-wh));
604
+ border-radius: var(--_ctm-dn-im-se-br-rs, var(--_tst-dn-im-se-br-rs));
605
+ box-shadow: var(
606
+ --_show-shadow,
607
+ var(--_ctm-dn-im-se-sw-ae, var(--_tst-dn-im-se-sw-ae))
608
+ var(--_ctm-dn-im-se-sw-br, var(--_tst-dn-im-se-sw-br))
609
+ var(--_ctm-dn-im-se-sw-sd, var(--_tst-dn-im-se-sw-sd))
610
+ var(--_ctm-dn-im-se-sw-cr, var(--_tst-dn-im-se-sw-cr))
611
+ );
612
+ gap: var(--_ctm-dn-im-lt-gy-tt-ad-im-sg, var(--_tst-dn-gy-lt-tt-ad-im-sg));
613
+ .gallery-header {
614
+ // text-align: var(--_ctm-dn-gy-lt-an, var(--_tst-dn-gy-lt-an));
615
+ // line-height: var(--_ctm-dn-gy-lt-tt-ad-dn-sg, var(--_tst-dn-gy-lt-tt-ad-dn-sg));
616
+ display: flex;
617
+ flex-direction: column;
497
618
 
498
- .embla__thumbs__slide {
499
- min-width: var(--_ctm-lt-tl-se);
500
- max-width: var(--_ctm-lt-tl-se);
501
- height: var(--_ctm-lt-tl-se);
502
- > img {
503
- width: 100%;
504
- height: 100%;
619
+ gap: var(--_ctm-dn-im-tt-cr-lt-te-ad-dn-sg);
620
+ padding-block: var(--_ctm-dn-im-tt-cr-lt-tt-vl-pg);
621
+ padding-inline: var(--_ctm-dn-im-tt-cr-lt-tt-hl-pg);
622
+ background-color: var(--_ctm-dn-im-tt-cr-dn-bd-cr, var(--_tst-dn-im-se-cr-dn-bd-cr));
623
+ width: 100%;
624
+ border-color: var(--_ctm-dn-im-tt-cr-dn-br-cr, var(--_tst-dn-im-tt-cr-dn-br-cr));
625
+ border-style: var(--_ctm-dn-im-tt-cr-dn-br-se, var(--_tst-dn-im-tt-cr-dn-br-se));
626
+ border-width: var(--_ctm-dn-im-tt-cr-dn-br-wh, var(--_tst-dn-im-tt-cr-dn-br-wh));
627
+ border-radius: var(--_ctm-dn-im-tt-cr-dn-br-rs, var(--_tst-dn-im-tt-cr-dn-br-rs));
628
+ box-shadow: var(
629
+ --_show-shadow,
630
+ var(--_ctm-dn-im-tt-cr-dn-sw-ae, var(--_tst-dn-im-tt-cr-dn-sw-ae))
631
+ var(--_ctm-dn-im-tt-cr-dn-sw-br, var(--_tst-dn-im-tt-cr-dn-sw-br))
632
+ var(--_ctm-dn-im-tt-cr-dn-sw-sd, var(--_tst-dn-im-tt-cr-dn-sw-sd))
633
+ var(--_ctm-dn-im-tt-cr-dn-sw-cr, var(--_tst-dn-gy-wt-sw-cr))
634
+ );
635
+
636
+ & h3 {
637
+ color: var(--_ctm-dn-im-se-cr, var(--_tst-dn-im-se-cr));
638
+ font-family: var(--_ctm-dn-im-se-ft-fy, var(--_tst-dn-im-se-ft-fy)), sans-serif;
639
+ font-size: var(--_ctm-dn-im-se-ft-se, var(--_tst-dn-im-se-ft-se));
640
+ font-weight: var(--_ctm-dn-im-se-ft-wt, var(--_tst-dn-im-se-ft-wt));
641
+ font-style: var(--_ctm-dn-im-se-ft-se-ic, var(--_tst-dn-im-se-ft-se-ic));
642
+ text-align: var(--_ctm-dn-im-se-tt-an, var(--_tst-dn-im-se-se-an));
643
+ letter-spacing: var(--_ctm-dn-im-se-lr-sg, var(--_tst-dn-im-se-lr-sg));
644
+ line-height: var(--_ctm-dn-im-se-le-ht, var(--_tst-dn-im-se-le-ht));
645
+ text-decoration: var(--_ctm-dn-im-se-ue,);
646
+ }
647
+ & p {
648
+ color: var(--_ctm-dn-im-se-cr-dc, var(--_tst-dn-im-se-cr-dc));
649
+ font-family: var(--_ctm-dn-im-se-ft-fy-dc, var(--_tst-dn-im-se-ft-fy-dc)), sans-serif;
650
+ font-size: var(--_ctm-dn-im-se-ft-se-dc, var(--_tst-dn-im-se-ft-se-dc));
651
+ font-weight: var(--_ctm-dn-im-se-ft-wt-dc, var(--_tst-dn-im-se-ft-wt-dc));
652
+ font-style: var(--_ctm-dn-im-se-ft-se-ic-dc, var(--_tst-dn-im-se-ft-se-ic-dc));
653
+ text-align: var(--_ctm-dn-im-se-tt-an-dc, var(--_tst-dn-im-se-se-an-dc));
654
+ letter-spacing: var(--_ctm-dn-im-se-lr-sg-dc, var(--_tst-dn-im-se-lr-sg-dc));
655
+ line-height: var(--_ctm-dn-im-se-le-ht-dc, var(--_tst-dn-im-se-le-ht-dc));
656
+ text-decoration: var(--_ctm-dn-im-se-ue-dc,);
505
657
  }
658
+ // h3 {
659
+ // margin-bottom: var(--_mb-4);
660
+ // }
506
661
  }
507
- }
508
- }
509
- }
662
+ > img {
663
+ object-fit: cover;
664
+ }
665
+ &[data-text-position="On Image"] {
666
+ .gallery-header {
667
+ width: 100%;
668
+ // height: 100%;
669
+ position: absolute;
670
+ }
510
671
 
511
- .gallery__slide {
512
- width: 100%;
513
- height: 100%;
514
- display: flex;
515
- // flex-direction: column;
516
-
517
- background-color: var(--_ctm-dn-im-se-bd-cr, var(--_tst-dn-im-se-bd-cr));
518
- border-color: var(--_ctm-dn-im-se-br-cr, var(--_tst-dn-im-se-br-cr));
519
- border-style: var(--_ctm-dn-im-se-br-se, var(--_tst-dn-im-se-br-se));
520
- border-width: var(--_ctm-dn-im-se-br-wh, var(--_tst-dn-im-se-br-wh));
521
- border-radius: var(--_ctm-dn-im-se-br-rs, var(--_tst-dn-im-se-br-rs));
522
- box-shadow: var(
523
- --_show-shadow,
524
- var(--_ctm-dn-im-se-sw-ae, var(--_tst-dn-im-se-sw-ae))
525
- var(--_ctm-dn-im-se-sw-br, var(--_tst-dn-im-se-sw-br))
526
- var(--_ctm-dn-im-se-sw-sd, var(--_tst-dn-im-se-sw-sd))
527
- var(--_ctm-dn-im-se-sw-cr, var(--_tst-dn-im-se-sw-cr))
528
- );
529
- gap: var(--_ctm-dn-im-lt-gy-tt-ad-im-sg, var(--_tst-dn-gy-lt-tt-ad-im-sg));
530
- .gallery-header {
531
- // text-align: var(--_ctm-dn-gy-lt-an, var(--_tst-dn-gy-lt-an));
532
- // line-height: var(--_ctm-dn-gy-lt-tt-ad-dn-sg, var(--_tst-dn-gy-lt-tt-ad-dn-sg));
533
- display: flex;
534
- flex-direction: column;
535
-
536
- gap: var(--_ctm-dn-im-tt-cr-lt-te-ad-dn-sg);
537
- padding-block: var(--_ctm-dn-im-tt-cr-lt-tt-vl-pg);
538
- padding-inline: var(--_ctm-dn-im-tt-cr-lt-tt-hl-pg);
539
- background-color: var(--_ctm-dn-im-tt-cr-dn-bd-cr, var(--_tst-dn-im-se-cr-dn-bd-cr));
540
- width: 100%;
541
- border-color: var(--_ctm-dn-im-tt-cr-dn-br-cr, var(--_tst-dn-im-tt-cr-dn-br-cr));
542
- border-style: var(--_ctm-dn-im-tt-cr-dn-br-se, var(--_tst-dn-im-tt-cr-dn-br-se));
543
- border-width: var(--_ctm-dn-im-tt-cr-dn-br-wh, var(--_tst-dn-im-tt-cr-dn-br-wh));
544
- border-radius: var(--_ctm-dn-im-tt-cr-dn-br-rs, var(--_tst-dn-im-tt-cr-dn-br-rs));
545
- box-shadow: var(
546
- --_show-shadow,
547
- var(--_ctm-dn-im-tt-cr-dn-sw-ae, var(--_tst-dn-im-tt-cr-dn-sw-ae))
548
- var(--_ctm-dn-im-tt-cr-dn-sw-br, var(--_tst-dn-im-tt-cr-dn-sw-br))
549
- var(--_ctm-dn-im-tt-cr-dn-sw-sd, var(--_tst-dn-im-tt-cr-dn-sw-sd))
550
- var(--_ctm-dn-im-tt-cr-dn-sw-cr, var(--_tst-dn-gy-wt-sw-cr))
551
- );
672
+ &[data-widget-alignment="top"] {
673
+ // align-items: flex-start;
552
674
 
553
- & h3 {
554
- color: var(--_ctm-dn-im-se-cr, var(--_tst-dn-im-se-cr));
555
- font-family: var(--_ctm-dn-im-se-ft-fy, var(--_tst-dn-im-se-ft-fy)), sans-serif;
556
- font-size: var(--_ctm-dn-im-se-ft-se, var(--_tst-dn-im-se-ft-se));
557
- font-weight: var(--_ctm-dn-im-se-ft-wt, var(--_tst-dn-im-se-ft-wt));
558
- font-style: var(--_ctm-dn-im-se-ft-se-ic, var(--_tst-dn-im-se-ft-se-ic));
559
- text-align: var(--_ctm-dn-im-se-tt-an, var(--_tst-dn-im-se-se-an));
560
- letter-spacing: var(--_ctm-dn-im-se-lr-sg, var(--_tst-dn-im-se-lr-sg));
561
- line-height: var(--_ctm-dn-im-se-le-ht, var(--_tst-dn-im-se-le-ht));
562
- text-decoration: var(--_ctm-dn-im-se-ue,);
563
- }
564
- & p {
565
- color: var(--_ctm-dn-im-se-cr-dc, var(--_tst-dn-im-se-cr-dc));
566
- font-family: var(--_ctm-dn-im-se-ft-fy-dc, var(--_tst-dn-im-se-ft-fy-dc)), sans-serif;
567
- font-size: var(--_ctm-dn-im-se-ft-se-dc, var(--_tst-dn-im-se-ft-se-dc));
568
- font-weight: var(--_ctm-dn-im-se-ft-wt-dc, var(--_tst-dn-im-se-ft-wt-dc));
569
- font-style: var(--_ctm-dn-im-se-ft-se-ic-dc, var(--_tst-dn-im-se-ft-se-ic-dc));
570
- text-align: var(--_ctm-dn-im-se-tt-an-dc, var(--_tst-dn-im-se-se-an-dc));
571
- letter-spacing: var(--_ctm-dn-im-se-lr-sg-dc, var(--_tst-dn-im-se-lr-sg-dc));
572
- line-height: var(--_ctm-dn-im-se-le-ht-dc, var(--_tst-dn-im-se-le-ht-dc));
573
- text-decoration: var(--_ctm-dn-im-se-ue-dc,);
574
- }
575
- // h3 {
576
- // margin-bottom: var(--_mb-4);
577
- // }
578
- }
579
- > img {
580
- object-fit: cover;
581
- }
582
- &[data-text-position="On Image"] {
583
- .gallery-header {
584
- width: 100%;
585
- // height: 100%;
586
- position: absolute;
587
- }
675
+ .gallery-header {
676
+ top: 0;
588
677
 
589
- &[data-widget-alignment="top"] {
590
- // align-items: flex-start;
678
+ justify-content: flex-start;
679
+ }
680
+ }
681
+ &[data-widget-alignment="center"] {
682
+ // align-items: center;
591
683
 
592
- .gallery-header {
593
- top: 0;
684
+ .gallery-header {
685
+ top: 50%;
686
+ transform: translateY(-50%);
687
+ justify-content: center;
688
+ }
689
+ }
690
+ &[data-widget-alignment="bottom"] {
691
+ // align-items: flex-end;
692
+ .gallery-header {
693
+ bottom: 0;
594
694
 
595
- justify-content: flex-start;
695
+ justify-content: flex-end;
696
+ }
697
+ }
596
698
  }
597
- }
598
- &[data-widget-alignment="center"] {
599
- // align-items: center;
600
699
 
601
- .gallery-header {
602
- top: 50%;
603
- transform: translateY(-50%);
604
- justify-content: center;
700
+ &[data-text-position="top"] {
701
+ flex-direction: column;
605
702
  }
606
- }
607
- &[data-widget-alignment="bottom"] {
608
- // align-items: flex-end;
609
- .gallery-header {
610
- bottom: 0;
611
703
 
612
- justify-content: flex-end;
704
+ &[data-text-position="bottom"] {
705
+ flex-direction: column-reverse;
613
706
  }
614
- }
615
- }
707
+ &[data-text-position="left"] {
708
+ flex-direction: row;
616
709
 
617
- &[data-text-position="top"] {
618
- flex-direction: column;
619
- }
710
+ .gallery-header {
711
+ width: fit-content;
712
+ height: 100%;
713
+ }
714
+ &[data-widget-alignment="top"] {
715
+ align-items: flex-start;
620
716
 
621
- &[data-text-position="bottom"] {
622
- flex-direction: column-reverse;
623
- }
624
- &[data-text-position="left"] {
625
- flex-direction: row;
717
+ .gallery-header {
718
+ justify-content: flex-start;
719
+ }
720
+ }
721
+ &[data-widget-alignment="center"] {
722
+ align-items: center;
626
723
 
627
- .gallery-header {
628
- width: fit-content;
629
- height: 100%;
630
- }
631
- &[data-widget-alignment="top"] {
632
- align-items: flex-start;
724
+ .gallery-header {
725
+ justify-content: center;
726
+ }
727
+ }
728
+ &[data-widget-alignment="bottom"] {
729
+ align-items: flex-end;
633
730
 
634
- .gallery-header {
635
- justify-content: flex-start;
731
+ .gallery-header {
732
+ justify-content: flex-end;
733
+ }
734
+ }
636
735
  }
637
- }
638
- &[data-widget-alignment="center"] {
639
- align-items: center;
736
+ &[data-text-position="right"] {
737
+ flex-direction: row-reverse;
738
+ .gallery-header {
739
+ width: fit-content;
740
+ height: 100%;
741
+ }
640
742
 
641
- .gallery-header {
642
- justify-content: center;
643
- }
644
- }
645
- &[data-widget-alignment="bottom"] {
646
- align-items: flex-end;
743
+ &[data-widget-alignment="top"] {
744
+ align-items: flex-start;
647
745
 
648
- .gallery-header {
649
- justify-content: flex-end;
650
- }
651
- }
652
- }
653
- &[data-text-position="right"] {
654
- flex-direction: row-reverse;
655
- .gallery-header {
656
- width: fit-content;
657
- height: 100%;
658
- }
746
+ .gallery-header {
747
+ justify-content: flex-start;
748
+ }
749
+ }
750
+ &[data-widget-alignment="center"] {
751
+ align-items: center;
659
752
 
660
- &[data-widget-alignment="top"] {
661
- align-items: flex-start;
753
+ .gallery-header {
754
+ justify-content: center;
755
+ }
756
+ }
757
+ &[data-widget-alignment="bottom"] {
758
+ align-items: flex-end;
662
759
 
663
- .gallery-header {
664
- justify-content: flex-start;
760
+ .gallery-header {
761
+ justify-content: flex-end;
762
+ }
763
+ }
665
764
  }
666
- }
667
- &[data-widget-alignment="center"] {
668
- align-items: center;
765
+ & > img {
766
+ width: 100%;
767
+ height: 100%;
768
+ // object-fit: cover;
669
769
 
670
- .gallery-header {
671
- justify-content: center;
672
- }
673
- }
674
- &[data-widget-alignment="bottom"] {
675
- align-items: flex-end;
770
+ // object-fit: var(--_ctm-dn-im-se-ot-ft, var(--_tst-dn-im-se-ot-ft));
771
+ // object-fit: cover;
676
772
 
677
- .gallery-header {
678
- justify-content: flex-end;
773
+ &[data-has-title="true"] {
774
+ height: 85%;
775
+ }
776
+
777
+ /* display: block; */
679
778
  }
680
779
  }
681
- }
682
- & > img {
683
- width: 100%;
684
- height: 100%;
685
- // object-fit: cover;
686
780
 
687
- // object-fit: var(--_ctm-dn-im-se-ot-ft, var(--_tst-dn-im-se-ot-ft));
688
- // object-fit: cover;
689
-
690
- &[data-has-title="true"] {
691
- height: 85%;
781
+ .load__more__div {
782
+ display: flex;
783
+ justify-content: center;
784
+ margin-block: 12px;
785
+ & > button {
786
+ padding-inline: 24px;
787
+ border: 1px solid gray;
788
+ padding-block: 12px;
789
+ border-radius: 6px;
790
+ }
692
791
  }
693
-
694
- /* display: block; */
695
- }
696
- }
697
-
698
- .load__more__div {
699
- display: flex;
700
- justify-content: center;
701
- margin-block: 12px;
702
- & > button {
703
- padding-inline: 24px;
704
- border: 1px solid gray;
705
- padding-block: 12px;
706
- border-radius: 6px;
707
792
  }
708
793
  }