ctt-babylon 0.8.16 → 0.8.18

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.
@@ -0,0 +1,829 @@
1
+ .not-selectable {
2
+ -moz-user-select: none;
3
+ -webkit-user-select: none;
4
+ -ms-user-select: none;
5
+ user-select: none;
6
+ }
7
+ .carousel {
8
+ position: relative;
9
+ box-sizing: border-box;
10
+ }
11
+ .carousel *,
12
+ .carousel *:before,
13
+ .carousel *:after {
14
+ box-sizing: inherit;
15
+ }
16
+ .carousel.is-draggable {
17
+ cursor: move;
18
+ cursor: grab;
19
+ }
20
+ .carousel.is-dragging {
21
+ cursor: move;
22
+ cursor: grabbing;
23
+ }
24
+ .carousel__viewport {
25
+ position: relative;
26
+ overflow: hidden;
27
+ max-width: 100%;
28
+ max-height: 100%;
29
+ }
30
+ .carousel__track {
31
+ display: flex;
32
+ }
33
+ .carousel__slide {
34
+ flex: 0 0 auto;
35
+ width: var(--carousel-slide-width, 60%);
36
+ max-width: 100%;
37
+ padding: 1rem;
38
+ position: relative;
39
+ overflow-x: hidden;
40
+ overflow-y: auto;
41
+ overscroll-behavior: contain;
42
+ -webkit-overflow-scrolling: touch;
43
+ touch-action: pan-y;
44
+ }
45
+ .has-dots {
46
+ margin-bottom: calc(0.5rem + 22px);
47
+ }
48
+ .carousel__dots {
49
+ margin: 0 auto;
50
+ padding: 0;
51
+ position: absolute;
52
+ top: calc(100% + 0.5rem);
53
+ left: 0;
54
+ right: 0;
55
+ display: flex;
56
+ justify-content: center;
57
+ list-style: none;
58
+ user-select: none;
59
+ }
60
+ .carousel__dots .carousel__dot {
61
+ margin: 0;
62
+ padding: 0;
63
+ display: block;
64
+ position: relative;
65
+ width: 22px;
66
+ height: 22px;
67
+ cursor: pointer;
68
+ }
69
+ .carousel__dots .carousel__dot:after {
70
+ content: "";
71
+ width: 8px;
72
+ height: 8px;
73
+ border-radius: 50%;
74
+ position: absolute;
75
+ top: 50%;
76
+ left: 50%;
77
+ transform: translate(-50%, -50%);
78
+ background-color: currentColor;
79
+ opacity: 0.25;
80
+ transition: opacity 0.15s ease-in-out;
81
+ }
82
+ .carousel__dots .carousel__dot.is-selected:after {
83
+ opacity: 1;
84
+ }
85
+ .carousel__button {
86
+ width: var(--carousel-button-width, 48px);
87
+ height: var(--carousel-button-height, 48px);
88
+ padding: 0;
89
+ border: 0;
90
+ display: flex;
91
+ justify-content: center;
92
+ align-items: center;
93
+ pointer-events: all;
94
+ cursor: pointer;
95
+ color: var(--carousel-button-color, currentColor);
96
+ background: var(--carousel-button-bg, transparent);
97
+ border-radius: var(--carousel-button-border-radius, 50%);
98
+ box-shadow: var(--carousel-button-shadow, none);
99
+ transition: opacity 0.15s ease;
100
+ }
101
+ .carousel__button.is-prev,
102
+ .carousel__button.is-next {
103
+ position: absolute;
104
+ top: 50%;
105
+ transform: translateY(-50%);
106
+ }
107
+ .carousel__button.is-prev {
108
+ left: 10px;
109
+ }
110
+ .carousel__button.is-next {
111
+ right: 10px;
112
+ }
113
+ .carousel__button[disabled] {
114
+ cursor: default;
115
+ opacity: 0.3;
116
+ }
117
+ .carousel__button svg {
118
+ width: var(--carousel-button-svg-width, 50%);
119
+ height: var(--carousel-button-svg-height, 50%);
120
+ fill: none;
121
+ stroke: currentColor;
122
+ stroke-width: var(--carousel-button-svg-stroke-width, 1.5);
123
+ stroke-linejoin: bevel;
124
+ stroke-linecap: round;
125
+ filter: var(--carousel-button-svg-filter, none);
126
+ pointer-events: none;
127
+ }
128
+ body.compensate-for-scrollbar {
129
+ overflow: hidden !important;
130
+ touch-action: none;
131
+ }
132
+ .fancybox__container {
133
+ font-family: "Inter", sans-serif;
134
+ color: #434343;
135
+ position: fixed;
136
+ top: 0;
137
+ left: 0;
138
+ bottom: 0;
139
+ right: 0;
140
+ direction: ltr;
141
+ margin: 0;
142
+ padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
143
+ box-sizing: border-box;
144
+ display: flex;
145
+ flex-direction: column;
146
+ color: var(--fancybox-color, #fff);
147
+ -webkit-tap-highlight-color: transparent;
148
+ overflow: hidden;
149
+ z-index: 1050;
150
+ outline: none;
151
+ transform-origin: top left;
152
+ --carousel-button-width: 48px;
153
+ --carousel-button-height: 48px;
154
+ --carousel-button-svg-width: 24px;
155
+ --carousel-button-svg-height: 24px;
156
+ --carousel-button-svg-stroke-width: 2.5;
157
+ --carousel-button-svg-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.4));
158
+ }
159
+ .fancybox__container *,
160
+ .fancybox__container *::before,
161
+ .fancybox__container *::after {
162
+ box-sizing: inherit;
163
+ }
164
+ .fancybox__container :focus {
165
+ outline: thin dotted;
166
+ }
167
+ body.is-using-mouse .fancybox__container :focus {
168
+ outline: none;
169
+ }
170
+ @media all and (min-width: 1024px) {
171
+ .fancybox__container {
172
+ --carousel-button-width: 48px;
173
+ --carousel-button-height: 48px;
174
+ --carousel-button-svg-width: 27px;
175
+ --carousel-button-svg-height: 27px;
176
+ }
177
+ }
178
+ .fancybox__backdrop {
179
+ position: absolute;
180
+ top: 0;
181
+ right: 0;
182
+ bottom: 0;
183
+ left: 0;
184
+ z-index: -1;
185
+ background: var(--fancybox-bg, rgba(24, 24, 27, 0.92));
186
+ }
187
+ .fancybox__carousel {
188
+ position: relative;
189
+ flex: 1 1 auto;
190
+ min-height: 0;
191
+ height: 100%;
192
+ z-index: 10;
193
+ }
194
+ .fancybox__carousel.has-dots {
195
+ margin-bottom: calc(0.5rem + 22px);
196
+ }
197
+ .fancybox__viewport {
198
+ position: relative;
199
+ width: 100%;
200
+ height: 100%;
201
+ overflow: visible;
202
+ cursor: default;
203
+ }
204
+ .fancybox__track {
205
+ display: flex;
206
+ height: 100%;
207
+ }
208
+ .fancybox__slide {
209
+ flex: 0 0 auto;
210
+ width: 100%;
211
+ max-width: 100%;
212
+ margin: 0;
213
+ padding: 48px 8px 8px 8px;
214
+ position: relative;
215
+ overscroll-behavior: contain;
216
+ display: flex;
217
+ flex-direction: column;
218
+ outline: 0;
219
+ overflow: auto;
220
+ -webkit-overflow-scrolling: touch;
221
+ --carousel-button-width: 36px;
222
+ --carousel-button-height: 36px;
223
+ --carousel-button-svg-width: 22px;
224
+ --carousel-button-svg-height: 22px;
225
+ }
226
+ .fancybox__slide::before,
227
+ .fancybox__slide::after {
228
+ content: "";
229
+ flex: 0 0 0;
230
+ margin: auto;
231
+ }
232
+ @media all and (min-width: 1024px) {
233
+ .fancybox__slide {
234
+ padding: 64px 100px;
235
+ }
236
+ }
237
+ .fancybox__content {
238
+ margin: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
239
+ padding: 36px;
240
+ color: var(--fancybox-content-color, #374151);
241
+ background: var(--fancybox-content-bg, #fff);
242
+ position: relative;
243
+ align-self: center;
244
+ display: flex;
245
+ flex-direction: column;
246
+ z-index: 20;
247
+ }
248
+ .fancybox__caption {
249
+ align-self: center;
250
+ max-width: 100%;
251
+ margin: 0;
252
+ padding: 1rem 0 0 0;
253
+ line-height: 1.375;
254
+ color: var(--fancybox-color, currentColor);
255
+ visibility: visible;
256
+ cursor: auto;
257
+ flex-shrink: 0;
258
+ overflow-wrap: anywhere;
259
+ }
260
+ .is-loading .fancybox__caption {
261
+ visibility: hidden;
262
+ }
263
+ .fancybox__container > .carousel__dots {
264
+ top: 100%;
265
+ color: var(--fancybox-color, #fff);
266
+ }
267
+ .fancybox__nav .carousel__button {
268
+ z-index: 40;
269
+ }
270
+ .fancybox__nav .carousel__button.is-next {
271
+ right: 8px;
272
+ }
273
+ @media all and (min-width: 1024px) {
274
+ .fancybox__nav .carousel__button.is-next {
275
+ right: 40px;
276
+ }
277
+ }
278
+ .fancybox__nav .carousel__button.is-prev {
279
+ left: 8px;
280
+ }
281
+ @media all and (min-width: 1024px) {
282
+ .fancybox__nav .carousel__button.is-prev {
283
+ left: 40px;
284
+ }
285
+ }
286
+ .carousel__button.is-close {
287
+ position: absolute;
288
+ top: 8px;
289
+ right: 8px;
290
+ top: calc(env(safe-area-inset-top, 0px) + 8px);
291
+ right: calc(env(safe-area-inset-right, 0px) + 8px);
292
+ z-index: 40;
293
+ }
294
+ @media all and (min-width: 1024px) {
295
+ .carousel__button.is-close {
296
+ right: 40px;
297
+ }
298
+ }
299
+ .fancybox__content > .carousel__button.is-close {
300
+ position: absolute;
301
+ top: -36px;
302
+ right: 0;
303
+ color: var(--fancybox-color, #fff);
304
+ }
305
+ .fancybox__no-click,
306
+ .fancybox__no-click button {
307
+ pointer-events: none;
308
+ }
309
+ .fancybox__spinner {
310
+ position: absolute;
311
+ top: 50%;
312
+ left: 50%;
313
+ transform: translate(-50%, -50%);
314
+ width: 50px;
315
+ height: 50px;
316
+ color: var(--fancybox-color, currentColor);
317
+ }
318
+ .fancybox__slide .fancybox__spinner {
319
+ cursor: pointer;
320
+ z-index: 1053;
321
+ }
322
+ .fancybox__spinner svg {
323
+ animation: fancybox-rotate 2s linear infinite;
324
+ transform-origin: center center;
325
+ position: absolute;
326
+ top: 0;
327
+ right: 0;
328
+ bottom: 0;
329
+ left: 0;
330
+ margin: auto;
331
+ width: 100%;
332
+ height: 100%;
333
+ }
334
+ .fancybox__spinner svg circle {
335
+ fill: none;
336
+ stroke-width: 2.75;
337
+ stroke-miterlimit: 10;
338
+ stroke-dasharray: 1, 200;
339
+ stroke-dashoffset: 0;
340
+ animation: fancybox-dash 1.5s ease-in-out infinite;
341
+ stroke-linecap: round;
342
+ stroke: currentColor;
343
+ }
344
+ @keyframes fancybox-rotate {
345
+ 100% {
346
+ transform: rotate(360deg);
347
+ }
348
+ }
349
+ @keyframes fancybox-dash {
350
+ 0% {
351
+ stroke-dasharray: 1, 200;
352
+ stroke-dashoffset: 0;
353
+ }
354
+ 50% {
355
+ stroke-dasharray: 89, 200;
356
+ stroke-dashoffset: -35px;
357
+ }
358
+ 100% {
359
+ stroke-dasharray: 89, 200;
360
+ stroke-dashoffset: -124px;
361
+ }
362
+ }
363
+ .fancybox__backdrop,
364
+ .fancybox__caption,
365
+ .fancybox__nav,
366
+ .carousel__dots,
367
+ .carousel__button.is-close {
368
+ opacity: var(--fancybox-opacity, 1);
369
+ }
370
+ .fancybox__container.is-animated[aria-hidden="false"] .fancybox__backdrop,
371
+ .fancybox__container.is-animated[aria-hidden="false"] .fancybox__caption,
372
+ .fancybox__container.is-animated[aria-hidden="false"] .fancybox__nav,
373
+ .fancybox__container.is-animated[aria-hidden="false"] .carousel__dots,
374
+ .fancybox__container.is-animated[aria-hidden="false"] .carousel__button.is-close {
375
+ animation: 0.15s ease backwards fancybox-fadeIn;
376
+ }
377
+ .fancybox__container.is-animated.is-closing .fancybox__backdrop,
378
+ .fancybox__container.is-animated.is-closing .fancybox__caption,
379
+ .fancybox__container.is-animated.is-closing .fancybox__nav,
380
+ .fancybox__container.is-animated.is-closing .carousel__dots,
381
+ .fancybox__container.is-animated.is-closing .carousel__button.is-close {
382
+ animation: 0.15s ease both fancybox-fadeOut;
383
+ }
384
+ .fancybox-fadeIn {
385
+ animation: 0.15s ease both fancybox-fadeIn;
386
+ }
387
+ .fancybox-fadeOut {
388
+ animation: 0.1s ease both fancybox-fadeOut;
389
+ }
390
+ .fancybox-zoomInUp {
391
+ animation: 0.2s ease both fancybox-zoomInUp;
392
+ }
393
+ .fancybox-zoomOutDown {
394
+ animation: 0.15s ease both fancybox-zoomOutDown;
395
+ }
396
+ .fancybox-throwOutUp {
397
+ animation: 0.15s ease both fancybox-throwOutUp;
398
+ }
399
+ .fancybox-throwOutDown {
400
+ animation: 0.15s ease both fancybox-throwOutDown;
401
+ }
402
+ @keyframes fancybox-fadeIn {
403
+ from {
404
+ opacity: 0;
405
+ }
406
+ to {
407
+ opacity: 1;
408
+ }
409
+ }
410
+ @keyframes fancybox-fadeOut {
411
+ to {
412
+ opacity: 0;
413
+ }
414
+ }
415
+ @keyframes fancybox-zoomInUp {
416
+ from {
417
+ transform: scale(0.97) translate3d(0, 16px, 0);
418
+ opacity: 0;
419
+ }
420
+ to {
421
+ transform: scale(1) translate3d(0, 0, 0);
422
+ opacity: 1;
423
+ }
424
+ }
425
+ @keyframes fancybox-zoomOutDown {
426
+ to {
427
+ transform: scale(0.97) translate3d(0, 16px, 0);
428
+ opacity: 0;
429
+ }
430
+ }
431
+ @keyframes fancybox-throwOutUp {
432
+ to {
433
+ transform: translate3d(0, -30%, 0);
434
+ opacity: 0;
435
+ }
436
+ }
437
+ @keyframes fancybox-throwOutDown {
438
+ to {
439
+ transform: translate3d(0, 30%, 0);
440
+ opacity: 0;
441
+ }
442
+ }
443
+ .fancybox__carousel .carousel__slide {
444
+ scrollbar-width: thin;
445
+ scrollbar-color: #ccc rgba(255, 255, 255, 0.1);
446
+ }
447
+ .fancybox__carousel .carousel__slide::-webkit-scrollbar {
448
+ width: 8px;
449
+ height: 8px;
450
+ }
451
+ .fancybox__carousel .carousel__slide::-webkit-scrollbar-track {
452
+ background-color: rgba(255, 255, 255, 0.1);
453
+ }
454
+ .fancybox__carousel .carousel__slide::-webkit-scrollbar-thumb {
455
+ background-color: #ccc;
456
+ border-radius: 2px;
457
+ box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
458
+ }
459
+ .fancybox__carousel.is-draggable .fancybox__slide,
460
+ .fancybox__carousel.is-draggable .fancybox__slide .fancybox__content {
461
+ cursor: move;
462
+ cursor: grab;
463
+ }
464
+ .fancybox__carousel.is-dragging .fancybox__slide,
465
+ .fancybox__carousel.is-dragging .fancybox__slide .fancybox__content {
466
+ cursor: move;
467
+ cursor: grabbing;
468
+ }
469
+ .fancybox__carousel .fancybox__slide .fancybox__content {
470
+ cursor: auto;
471
+ }
472
+ .fancybox__carousel .fancybox__slide.can-zoom_in .fancybox__content {
473
+ cursor: zoom-in;
474
+ }
475
+ .fancybox__carousel .fancybox__slide.can-zoom_out .fancybox__content {
476
+ cursor: zoom-out;
477
+ }
478
+ .fancybox__carousel .fancybox__slide.is-draggable .fancybox__content {
479
+ cursor: move;
480
+ cursor: grab;
481
+ }
482
+ .fancybox__carousel .fancybox__slide.is-dragging .fancybox__content {
483
+ cursor: move;
484
+ cursor: grabbing;
485
+ }
486
+ .fancybox__image {
487
+ transform-origin: 0 0;
488
+ touch-action: none;
489
+ user-select: none;
490
+ transition: none;
491
+ }
492
+ .has-image .fancybox__content {
493
+ padding: 0;
494
+ background: transparent;
495
+ min-height: 1px;
496
+ }
497
+ .is-closing .has-image .fancybox__content {
498
+ overflow: visible;
499
+ }
500
+ .has-image[data-image-fit="contain"] {
501
+ overflow: visible;
502
+ touch-action: none;
503
+ }
504
+ .has-image[data-image-fit="contain"] .fancybox__image {
505
+ max-width: 100%;
506
+ max-height: 100%;
507
+ object-fit: contain;
508
+ }
509
+ .has-image[data-image-fit="contain-w"] {
510
+ overflow-x: hidden;
511
+ overflow-y: auto;
512
+ }
513
+ .has-image[data-image-fit="contain-w"] .fancybox__content {
514
+ min-height: auto;
515
+ }
516
+ .has-image[data-image-fit="contain-w"] .fancybox__image {
517
+ max-width: 100%;
518
+ height: auto;
519
+ }
520
+ .has-image[data-image-fit="cover"] {
521
+ overflow: visible;
522
+ touch-action: none;
523
+ }
524
+ .has-image[data-image-fit="cover"] .fancybox__content {
525
+ width: 100%;
526
+ height: 100%;
527
+ }
528
+ .has-image[data-image-fit="cover"] .fancybox__image {
529
+ width: 100%;
530
+ height: 100%;
531
+ object-fit: cover;
532
+ }
533
+ .fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
534
+ .fancybox__carousel .fancybox__slide.has-map .fancybox__content,
535
+ .fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,
536
+ .fancybox__carousel .fancybox__slide.has-video .fancybox__content,
537
+ .fancybox__carousel .fancybox__slide.has-html5video .fancybox__content {
538
+ flex-shrink: 1;
539
+ min-height: 1px;
540
+ overflow: visible;
541
+ }
542
+ .fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
543
+ .fancybox__carousel .fancybox__slide.has-map .fancybox__content,
544
+ .fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
545
+ width: 100%;
546
+ height: 80%;
547
+ }
548
+ .fancybox__carousel .fancybox__slide.has-video .fancybox__content,
549
+ .fancybox__carousel .fancybox__slide.has-html5video .fancybox__content {
550
+ width: 960px;
551
+ height: 540px;
552
+ max-width: 100%;
553
+ max-height: 100%;
554
+ }
555
+ .fancybox__carousel .fancybox__slide.has-map .fancybox__content,
556
+ .fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,
557
+ .fancybox__carousel .fancybox__slide.has-video .fancybox__content,
558
+ .fancybox__carousel .fancybox__slide.has-html5video .fancybox__content {
559
+ padding: 0;
560
+ background: rgba(24, 24, 27, 0.9);
561
+ color: #fff;
562
+ }
563
+ .fancybox__carousel .fancybox__slide.has-map .fancybox__content {
564
+ background: #e5e3df;
565
+ }
566
+ .fancybox__html5video,
567
+ .fancybox__iframe {
568
+ border: 0;
569
+ display: block;
570
+ height: 100%;
571
+ width: 100%;
572
+ background: transparent;
573
+ }
574
+ .fancybox-placeholder {
575
+ position: absolute;
576
+ width: 1px;
577
+ height: 1px;
578
+ padding: 0;
579
+ margin: -1px;
580
+ overflow: hidden;
581
+ clip: rect(0, 0, 0, 0);
582
+ white-space: nowrap;
583
+ border-width: 0;
584
+ }
585
+ .fancybox__thumbs {
586
+ flex: 0 0 auto;
587
+ position: relative;
588
+ padding: 0px 3px;
589
+ opacity: var(--fancybox-opacity, 1);
590
+ }
591
+ .fancybox__container.is-animated[aria-hidden="false"] .fancybox__thumbs {
592
+ animation: 0.15s ease-in backwards fancybox-fadeIn;
593
+ }
594
+ .fancybox__container.is-animated.is-closing .fancybox__thumbs {
595
+ opacity: 0;
596
+ }
597
+ .fancybox__thumbs .carousel__slide {
598
+ flex: 0 0 auto;
599
+ width: var(--fancybox-thumbs-width, 96px);
600
+ margin: 0;
601
+ padding: 8px 3px;
602
+ box-sizing: content-box;
603
+ display: flex;
604
+ align-items: center;
605
+ justify-content: center;
606
+ overflow: visible;
607
+ cursor: pointer;
608
+ }
609
+ .fancybox__thumbs .carousel__slide .fancybox__thumb::after {
610
+ content: "";
611
+ position: absolute;
612
+ top: 0;
613
+ left: 0;
614
+ right: 0;
615
+ bottom: 0;
616
+ border: 5px solid var(--fancybox-accent-color, rgba(1, 210, 232, 0.94));
617
+ opacity: 0;
618
+ transition: opacity 0.15s ease;
619
+ border-radius: var(--fancybox-thumbs-border-radius, 4px);
620
+ }
621
+ .fancybox__thumbs .carousel__slide.is-nav-selected .fancybox__thumb::after {
622
+ opacity: 0.92;
623
+ }
624
+ .fancybox__thumbs .carousel__slide > * {
625
+ pointer-events: none;
626
+ user-select: none;
627
+ }
628
+ .fancybox__thumb {
629
+ position: relative;
630
+ width: 100%;
631
+ padding-top: calc(100% / (var(--fancybox-thumbs-ratio, 1.5)));
632
+ background-size: cover;
633
+ background-position: center center;
634
+ background-color: rgba(255, 255, 255, 0.1);
635
+ background-repeat: no-repeat;
636
+ border-radius: var(--fancybox-thumbs-border-radius, 4px);
637
+ }
638
+ .fancybox__toolbar {
639
+ position: absolute;
640
+ top: 0;
641
+ right: 0;
642
+ left: 0;
643
+ z-index: 20;
644
+ background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.006) 8.1%, rgba(0, 0, 0, 0.021) 15.5%, rgba(0, 0, 0, 0.046) 22.5%, rgba(0, 0, 0, 0.077) 29%, rgba(0, 0, 0, 0.114) 35.3%, rgba(0, 0, 0, 0.155) 41.2%, rgba(0, 0, 0, 0.198) 47.1%, rgba(0, 0, 0, 0.242) 52.9%, rgba(0, 0, 0, 0.285) 58.8%, rgba(0, 0, 0, 0.326) 64.7%, rgba(0, 0, 0, 0.363) 71%, rgba(0, 0, 0, 0.394) 77.5%, rgba(0, 0, 0, 0.419) 84.5%, rgba(0, 0, 0, 0.434) 91.9%, rgba(0, 0, 0, 0.44) 100%);
645
+ padding: 0;
646
+ touch-action: none;
647
+ display: flex;
648
+ justify-content: space-between;
649
+ --carousel-button-svg-width: 20px;
650
+ --carousel-button-svg-height: 20px;
651
+ opacity: var(--fancybox-opacity, 1);
652
+ text-shadow: var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, 0.4));
653
+ }
654
+ @media all and (min-width: 1024px) {
655
+ .fancybox__toolbar {
656
+ padding: 8px;
657
+ }
658
+ }
659
+ .fancybox__container.is-animated[aria-hidden="false"] .fancybox__toolbar {
660
+ animation: 0.15s ease-in backwards fancybox-fadeIn;
661
+ }
662
+ .fancybox__container.is-animated.is-closing .fancybox__toolbar {
663
+ opacity: 0;
664
+ }
665
+ .fancybox__toolbar__items {
666
+ display: flex;
667
+ }
668
+ .fancybox__toolbar__items--left {
669
+ margin-right: auto;
670
+ }
671
+ .fancybox__toolbar__items--center {
672
+ position: absolute;
673
+ left: 50%;
674
+ transform: translateX(-50%);
675
+ }
676
+ .fancybox__toolbar__items--right {
677
+ margin-left: auto;
678
+ }
679
+ @media (max-width: 640px) {
680
+ .fancybox__toolbar__items--center:not(:last-child) {
681
+ display: none;
682
+ }
683
+ }
684
+ .fancybox__counter {
685
+ min-width: 72px;
686
+ padding: 0 10px;
687
+ line-height: var(--carousel-button-height, 48px);
688
+ text-align: center;
689
+ font-size: 17px;
690
+ font-variant-numeric: tabular-nums;
691
+ -webkit-font-smoothing: subpixel-antialiased;
692
+ }
693
+ .fancybox__progress {
694
+ background: var(--fancybox-accent-color, rgba(1, 210, 232, 0.94));
695
+ height: 3px;
696
+ left: 0;
697
+ position: absolute;
698
+ right: 0;
699
+ top: 0;
700
+ transform: scaleX(0);
701
+ transform-origin: 0;
702
+ transition-property: transform;
703
+ transition-timing-function: linear;
704
+ z-index: 30;
705
+ user-select: none;
706
+ }
707
+ .fancybox__container:fullscreen::backdrop {
708
+ opacity: 0;
709
+ }
710
+ .fancybox__button--fullscreen g:nth-child(2) {
711
+ display: none;
712
+ }
713
+ .fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(1) {
714
+ display: none;
715
+ }
716
+ .fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(2) {
717
+ display: block;
718
+ }
719
+ .fancybox__button--slideshow g:nth-child(2) {
720
+ display: none;
721
+ }
722
+ .fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(1) {
723
+ display: none;
724
+ }
725
+ .fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(2) {
726
+ display: block;
727
+ }
728
+
729
+ /*****/
730
+ a[data-fancybox] img {
731
+ cursor: zoom-in;
732
+ }
733
+
734
+ .fancybox__container {
735
+ --fancybox-color: #334155;
736
+ --fancybox-bg: #fff;
737
+
738
+ --fancybox-content-color: #6b7280;
739
+ --fancybox-content-bg: #fff;
740
+
741
+ --fancybox-thumbs-width: 48px;
742
+ --fancybox-thumbs-ratio: 1;
743
+
744
+ --carousel-button-svg-stroke-width: 1.5;
745
+ --carousel-button-svg-filter: none;
746
+ }
747
+
748
+ /**
749
+ * Navigation buttons
750
+ */
751
+ .fancybox__nav {
752
+ --carousel-button-bg: #e5e7eb;
753
+
754
+ --carousel-button-svg-width: 20px;
755
+ --carousel-button-svg-height: 20px;
756
+
757
+ --carousel-button-svg-stroke-width: 3;
758
+ }
759
+
760
+ .fancybox__nav .carousel__button.is-next {
761
+ right: 30px;
762
+ }
763
+
764
+ .fancybox__nav .carousel__button.is-prev {
765
+ left: 30px;
766
+ }
767
+
768
+ .carousel__button.is-close {
769
+ top: 0;
770
+ right: 0;
771
+ z-index: 10;
772
+ }
773
+
774
+ /**
775
+ * Toolbar
776
+ */
777
+
778
+ .fancybox__toolbar {
779
+ padding: 0;
780
+
781
+ background: var(--fancybox-bg);
782
+ text-shadow: none;
783
+
784
+ --carousel-button-svg-width: 24px;
785
+ --carousel-button-svg-height: 24px;
786
+ }
787
+
788
+ .fancybox__toolbar {
789
+ display: flex;
790
+ border-bottom: 1px solid #d4dedb;
791
+ }
792
+
793
+ /**
794
+ * Thumbnails
795
+ */
796
+
797
+ .carousel__slide.has-thumb {
798
+ padding: 5px;
799
+ margin: 16px 8px;
800
+ border: 1px solid #d1d5db;
801
+ border-radius: 4px;
802
+ }
803
+
804
+ .is-nav-selected .fancybox__thumb::after {
805
+ display: none;
806
+ }
807
+
808
+ .carousel__slide.has-thumb:hover,
809
+ .carousel__slide.has-thumb.is-nav-selected {
810
+ border-color: #6b7280;
811
+ }
812
+
813
+ .carousel__slide.has-thumb.has-video {
814
+ --fancybox-thumbs-ratio: 16 / 9;
815
+ }
816
+
817
+ .carousel__slide.has-thumb.has-video .fancybox__thumb::before {
818
+ content: "";
819
+ position: absolute;
820
+ top: 0;
821
+ left: 0;
822
+ right: 0;
823
+ height: auto;
824
+ bottom: 0;
825
+ background-position: center center;
826
+ background-size: 60% 60%;
827
+ background-repeat: no-repeat;
828
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 24.38"><path d="M35.46 3.81A4.58 4.36 0 0032.24.75C29.37 0 17.93 0 17.93 0S6.48 0 3.63.72c-1.54.4-2.8 1.6-3.23 3.1-.75 2.72-.75 8.37-.75 8.37s0 5.68.75 8.37a4.58 4.36 0 003.22 3.07c2.9.75 14.3.75 14.3.75s11.45 0 14.32-.72a4.58 4.36 0 003.22-3.07c.75-2.72.75-8.37.75-8.37s.03-5.68-.75-8.4zm0 0" fill="white"/><path d="M14.29 17.4l9.51-5.21-9.51-5.22zm0 0" fill="black"/></svg>');
829
+ }