@sc-360-v2/storefront-cms-library 0.1.99 → 0.2.0

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