@sc-360-v2/storefront-cms-library 0.5.49 → 0.5.50

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