@canopy-iiif/app 1.8.14 → 1.9.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.
@@ -58,7 +58,6 @@
58
58
  padding: clamp(0.75rem, 1vw, 1rem);
59
59
  border: 1px solid var(--color-gray-200);
60
60
  border-radius: var(--canopy-gallery-radius, 1rem);
61
- background-color: #fff;
62
61
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
63
62
 
64
63
  &:focus-within {
@@ -181,24 +180,24 @@
181
180
  }
182
181
 
183
182
  &__modal-scrim {
184
- min-height: 100vh;
183
+ height: 100%;
185
184
  display: block;
186
- background: rgba(15, 23, 42, 1);
185
+ background-color: var(--color-gray-50);
187
186
  padding: 0;
187
+ display: flex;
188
+ flex-direction: row;
189
+ overflow-y: scroll;
188
190
  }
189
191
 
190
192
  &__modal-panel {
191
193
  position: relative;
192
- background: #fff;
193
- color: var(--color-gray-900);
194
- border-radius: 0;
195
- width: 100%;
196
- height: 100vh;
197
- max-height: none;
198
- overflow: auto;
194
+ padding: 1.618rem;
195
+ padding-right: 2.618rem;
199
196
  display: flex;
200
197
  flex-direction: column;
201
- box-shadow: none;
198
+ gap: 1.6181rem;
199
+ flex-grow: 1;
200
+ z-index: 1;
202
201
  }
203
202
 
204
203
  &__modal-actions {
@@ -206,41 +205,25 @@
206
205
  align-items: stretch;
207
206
  justify-content: space-between;
208
207
  flex-direction: column;
208
+ flex-grow: 0;
209
+ flex-shrink: 0;
209
210
  gap: 1rem;
210
- z-index: 5;
211
- width: var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem));
212
- position: fixed;
213
- top: var(--canopy-gallery-sticky-offset, 0);
214
- bottom: var(--canopy-gallery-sticky-offset, 0);
215
- right: 0;
216
- left: auto;
217
- padding: clamp(1rem, 2vw, 1.75rem) clamp(0.5rem, 2vw, 1rem);
218
- background: linear-gradient(
219
- to left,
220
- rgba(255, 255, 255, 1),
221
- rgba(255, 255, 255, 0.9) 60%,
222
- rgba(255, 255, 255, 0.5) 85%,
223
- rgba(255, 255, 255, 0)
224
- );
225
- border-left: 1px solid rgba(15, 23, 42, 0.08);
226
- box-shadow: -16px 0 32px rgba(15, 23, 42, 0.05);
211
+ width: 10vw;
212
+ max-width: 150px;
213
+ min-width: calc(50px + 2rem);
214
+ padding: 1rem;
227
215
  margin-left: 0;
228
216
  isolation: isolate;
217
+ z-index: 2;
229
218
  }
230
219
 
231
220
  &__modal-header {
232
221
  border: none;
233
- padding-top: 1.382rem;
234
- padding-bottom: 0;
235
- padding-left: clamp(1.25rem, 3vw, 2.5rem);
236
- padding-right: calc(
237
- clamp(1.25rem, 3vw, 2.5rem) +
238
- var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem))
239
- );
240
222
  display: flex;
241
223
  gap: 1rem;
242
224
  align-items: flex-start;
243
225
  flex-wrap: wrap;
226
+ padding: 1rem 0;
244
227
  }
245
228
 
246
229
  &__modal-text {
@@ -270,30 +253,26 @@
270
253
  }
271
254
 
272
255
  &__modal-body {
273
- padding: clamp(1rem, 3vw, 2.5rem);
274
- padding-right: calc(
275
- clamp(1rem, 3vw, 2.5rem) +
276
- var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem))
277
- );
278
256
  flex: 0 0 auto;
279
257
  }
280
258
 
281
259
  &__modal-close {
282
- background: var(--color-accent-100);
283
- border-radius: 999px;
284
260
  padding: 0.35rem 1.25rem;
285
261
  font-weight: 500;
286
262
  display: inline-flex;
287
263
  align-items: center;
288
264
  justify-content: center;
289
- width: 100%;
265
+ width: 2rem;
266
+ height: 2rem;
290
267
  text-align: center;
268
+ position: absolute;
269
+ top: 1rem;
270
+ right: 1rem;
291
271
  }
292
272
 
293
273
  &__modal-nav {
294
274
  display: flex;
295
275
  align-items: center;
296
- gap: 0.382rem;
297
276
  }
298
277
  }
299
278
 
@@ -359,11 +338,13 @@ body[data-canopy-gallery-locked="1"] {
359
338
  list-style: none;
360
339
  display: flex;
361
340
  flex-direction: column;
341
+ gap: 0.618rem;
362
342
  }
363
343
 
364
344
  &__nav-item {
365
345
  position: relative;
366
346
  list-style: none;
347
+ margin: 0;
367
348
 
368
349
  &[data-canopy-gallery-nav-selected] {
369
350
  .canopy-gallery__nav-thumb {
@@ -418,16 +399,43 @@ body[data-canopy-gallery-locked="1"] {
418
399
 
419
400
  &__nav-button {
420
401
  flex: 0 0 auto;
421
- width: 100%;
422
- height: 2.75rem;
423
- border-radius: 0.75rem;
424
- background: rgba(255, 255, 255, 0.85);
402
+ width: 5rem;
403
+ height: 100%;
404
+ color: var(--color-gray-900);
425
405
  font-size: 1.25rem;
426
406
  font-weight: 500;
427
407
  cursor: pointer;
428
- display: inline-flex;
408
+ display: none;
429
409
  align-items: center;
430
410
  justify-content: center;
411
+ position: absolute;
412
+ top: 50%;
413
+ transform: translateY(-50%);
414
+ z-index: 5;
415
+ background: linear-gradient(to right, transparent, transparent);
416
+
417
+ &--prev {
418
+ left: -1rem;
419
+
420
+ &:hover,
421
+ &:focus {
422
+ background: linear-gradient(
423
+ to right,
424
+ var(--color-gray-50),
425
+ transparent
426
+ );
427
+ }
428
+ }
429
+
430
+ &--next {
431
+ right: 0;
432
+ background: linear-gradient(to left, transparent, transparent);
433
+
434
+ &:hover,
435
+ &:focus {
436
+ background: linear-gradient(to left, var(--color-gray-50), transparent);
437
+ }
438
+ }
431
439
  }
432
440
 
433
441
  &__nav-controls {
@@ -440,13 +448,6 @@ body[data-canopy-gallery-locked="1"] {
440
448
  font-size: 1.25rem;
441
449
  line-height: 1;
442
450
  }
443
-
444
- &__modal {
445
- .canopy-gallery__nav {
446
- margin: clamp(1rem, 3vw, 1.5rem) 0;
447
- padding-bottom: 0.25rem;
448
- }
449
- }
450
451
  }
451
452
 
452
453
  // Modal popup gallery content flex
@@ -482,33 +483,3 @@ body[data-canopy-gallery-locked="1"] {
482
483
  line-height: 1.45;
483
484
  }
484
485
  }
485
-
486
- @media (max-width: 640px) {
487
- .canopy-gallery {
488
- &__grid {
489
- grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
490
- }
491
-
492
- &__item {
493
- padding: 0.75rem;
494
- }
495
-
496
- &__modal-panel {
497
- max-height: 100vh;
498
- }
499
-
500
- &__modal-header {
501
- flex-direction: column;
502
- }
503
-
504
- &__modal-thumb {
505
- width: 100%;
506
- }
507
-
508
- &__modal-actions {
509
- gap: 0.25rem;
510
- top: 0;
511
- padding: 0.5rem clamp(1rem, 4vw, 2rem) 0.25rem;
512
- }
513
- }
514
- }
@@ -68,6 +68,118 @@
68
68
  flex: 0 0 auto;
69
69
  }
70
70
 
71
+ .canopy-language-toggle {
72
+ display: inline-flex;
73
+ align-items: center;
74
+ gap: 0.5rem;
75
+ font-size: 0.9rem;
76
+ }
77
+
78
+ .canopy-language-toggle__select {
79
+ display: inline-flex;
80
+ align-items: center;
81
+ }
82
+
83
+ .canopy-language-toggle__select-input {
84
+ border: 1px solid var(--color-gray-300);
85
+ border-radius: 999px;
86
+ padding: 0.25rem 2rem 0.25rem 0.75rem;
87
+ background: var(--color-white);
88
+ color: var(--color-gray-900);
89
+ font-weight: 600;
90
+ appearance: none;
91
+ min-width: 6.5rem;
92
+ cursor: pointer;
93
+ }
94
+
95
+ .canopy-language-toggle__select-input:focus-visible {
96
+ outline: 2px solid var(--color-accent-default);
97
+ outline-offset: 2px;
98
+ }
99
+
100
+ .canopy-language-toggle__nav {
101
+ display: inline-flex;
102
+ align-items: center;
103
+ gap: 0.5rem;
104
+ }
105
+
106
+ .canopy-language-toggle__list {
107
+ display: inline-flex;
108
+ align-items: center;
109
+ gap: 0.5rem;
110
+ list-style: none;
111
+ padding: 0;
112
+ margin: 0;
113
+ }
114
+
115
+ .canopy-language-toggle__button,
116
+ .canopy-language-toggle__nav a {
117
+ text-decoration: none;
118
+ font-weight: 600;
119
+ color: var(--color-gray-700);
120
+ padding: 0.15rem 0.5rem;
121
+ border-radius: 999px;
122
+ border: none;
123
+ background: transparent;
124
+ transition:
125
+ color 150ms ease,
126
+ background 150ms ease;
127
+ cursor: pointer;
128
+ }
129
+
130
+ .canopy-language-toggle__button[data-active="true"],
131
+ .canopy-language-toggle__nav a[data-active="true"] {
132
+ color: var(--color-accent-900);
133
+ background: var(--color-accent-100);
134
+ }
135
+
136
+ .canopy-language-toggle__button:focus-visible,
137
+ .canopy-language-toggle__nav a:focus-visible {
138
+ outline: 2px solid var(--color-accent-default);
139
+ outline-offset: 2px;
140
+ }
141
+
142
+ .canopy-language-toggle--mobile {
143
+ width: 100%;
144
+ justify-content: space-between;
145
+ }
146
+
147
+ .canopy-language-toggle--mobile .canopy-language-toggle__nav {
148
+ flex-wrap: wrap;
149
+ justify-content: flex-end;
150
+ gap: 0.25rem;
151
+ }
152
+
153
+ .canopy-language-toggle--mobile .canopy-language-toggle__list {
154
+ flex-wrap: wrap;
155
+ justify-content: flex-end;
156
+ gap: 0.25rem;
157
+ }
158
+
159
+ .canopy-language-toggle--mobile .canopy-language-toggle__select {
160
+ width: 100%;
161
+ justify-content: flex-end;
162
+ }
163
+
164
+ .canopy-language-toggle--mobile .canopy-language-toggle__select-input {
165
+ width: auto;
166
+ }
167
+
168
+ .canopy-language-toggle--inline {
169
+ flex-wrap: wrap;
170
+ gap: 0.25rem 0.5rem;
171
+ }
172
+
173
+ .canopy-language-toggle--inline .canopy-language-toggle__nav {
174
+ flex-wrap: wrap;
175
+ justify-content: flex-start;
176
+ }
177
+
178
+ .canopy-language-toggle--inline .canopy-language-toggle__list {
179
+ flex-wrap: wrap;
180
+ justify-content: flex-start;
181
+ }
182
+
71
183
  .canopy-header__actions:empty {
72
184
  display: none;
73
185
  }
@@ -151,7 +263,7 @@
151
263
  }
152
264
 
153
265
  .canopy-header__actions {
154
- display: none;
266
+ display: flex;
155
267
  }
156
268
 
157
269
  .canopy-header__search-trigger {
@@ -757,6 +757,99 @@ section[data-footnotes] ul li,
757
757
  margin-left: auto;
758
758
  flex: 0 0 auto;
759
759
  }
760
+ .canopy-language-toggle {
761
+ display: inline-flex;
762
+ align-items: center;
763
+ gap: 0.5rem;
764
+ font-size: 0.9rem;
765
+ }
766
+ .canopy-language-toggle__select {
767
+ display: inline-flex;
768
+ align-items: center;
769
+ }
770
+ .canopy-language-toggle__select-input {
771
+ border: 1px solid var(--color-gray-300);
772
+ border-radius: 999px;
773
+ padding: 0.25rem 2rem 0.25rem 0.75rem;
774
+ background: var(--color-white);
775
+ color: var(--color-gray-900);
776
+ font-weight: 600;
777
+ appearance: none;
778
+ min-width: 6.5rem;
779
+ cursor: pointer;
780
+ }
781
+ .canopy-language-toggle__select-input:focus-visible {
782
+ outline: 2px solid var(--color-accent-default);
783
+ outline-offset: 2px;
784
+ }
785
+ .canopy-language-toggle__nav {
786
+ display: inline-flex;
787
+ align-items: center;
788
+ gap: 0.5rem;
789
+ }
790
+ .canopy-language-toggle__list {
791
+ display: inline-flex;
792
+ align-items: center;
793
+ gap: 0.5rem;
794
+ list-style: none;
795
+ padding: 0;
796
+ margin: 0;
797
+ }
798
+ .canopy-language-toggle__button,
799
+ .canopy-language-toggle__nav a {
800
+ text-decoration: none;
801
+ font-weight: 600;
802
+ color: var(--color-gray-700);
803
+ padding: 0.15rem 0.5rem;
804
+ border-radius: 999px;
805
+ border: none;
806
+ background: transparent;
807
+ transition: color 150ms ease, background 150ms ease;
808
+ cursor: pointer;
809
+ }
810
+ .canopy-language-toggle__button[data-active=true],
811
+ .canopy-language-toggle__nav a[data-active=true] {
812
+ color: var(--color-accent-900);
813
+ background: var(--color-accent-100);
814
+ }
815
+ .canopy-language-toggle__button:focus-visible,
816
+ .canopy-language-toggle__nav a:focus-visible {
817
+ outline: 2px solid var(--color-accent-default);
818
+ outline-offset: 2px;
819
+ }
820
+ .canopy-language-toggle--mobile {
821
+ width: 100%;
822
+ justify-content: space-between;
823
+ }
824
+ .canopy-language-toggle--mobile .canopy-language-toggle__nav {
825
+ flex-wrap: wrap;
826
+ justify-content: flex-end;
827
+ gap: 0.25rem;
828
+ }
829
+ .canopy-language-toggle--mobile .canopy-language-toggle__list {
830
+ flex-wrap: wrap;
831
+ justify-content: flex-end;
832
+ gap: 0.25rem;
833
+ }
834
+ .canopy-language-toggle--mobile .canopy-language-toggle__select {
835
+ width: 100%;
836
+ justify-content: flex-end;
837
+ }
838
+ .canopy-language-toggle--mobile .canopy-language-toggle__select-input {
839
+ width: auto;
840
+ }
841
+ .canopy-language-toggle--inline {
842
+ flex-wrap: wrap;
843
+ gap: 0.25rem 0.5rem;
844
+ }
845
+ .canopy-language-toggle--inline .canopy-language-toggle__nav {
846
+ flex-wrap: wrap;
847
+ justify-content: flex-start;
848
+ }
849
+ .canopy-language-toggle--inline .canopy-language-toggle__list {
850
+ flex-wrap: wrap;
851
+ justify-content: flex-start;
852
+ }
760
853
  .canopy-header__actions:empty {
761
854
  display: none;
762
855
  }
@@ -823,7 +916,7 @@ section[data-footnotes] ul li,
823
916
  display: flex;
824
917
  }
825
918
  .canopy-header__actions {
826
- display: none;
919
+ display: flex;
827
920
  }
828
921
  .canopy-header__search-trigger {
829
922
  display: none;
@@ -3150,7 +3243,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3150
3243
  padding: clamp(0.75rem, 1vw, 1rem);
3151
3244
  border: 1px solid var(--color-gray-200);
3152
3245
  border-radius: var(--canopy-gallery-radius, 1rem);
3153
- background-color: #fff;
3154
3246
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
3155
3247
  }
3156
3248
  .canopy-gallery__item:focus-within {
@@ -3246,54 +3338,47 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3246
3338
  transform: none;
3247
3339
  }
3248
3340
  .canopy-gallery__modal-scrim {
3249
- min-height: 100vh;
3341
+ height: 100%;
3250
3342
  display: block;
3251
- background: rgb(15, 23, 42);
3343
+ background-color: var(--color-gray-50);
3252
3344
  padding: 0;
3345
+ display: flex;
3346
+ flex-direction: row;
3347
+ overflow-y: scroll;
3253
3348
  }
3254
3349
  .canopy-gallery__modal-panel {
3255
3350
  position: relative;
3256
- background: #fff;
3257
- color: var(--color-gray-900);
3258
- border-radius: 0;
3259
- width: 100%;
3260
- height: 100vh;
3261
- max-height: none;
3262
- overflow: auto;
3351
+ padding: 1.618rem;
3352
+ padding-right: 2.618rem;
3263
3353
  display: flex;
3264
3354
  flex-direction: column;
3265
- box-shadow: none;
3355
+ gap: 1.6181rem;
3356
+ flex-grow: 1;
3357
+ z-index: 1;
3266
3358
  }
3267
3359
  .canopy-gallery__modal-actions {
3268
3360
  display: flex;
3269
3361
  align-items: stretch;
3270
3362
  justify-content: space-between;
3271
3363
  flex-direction: column;
3364
+ flex-grow: 0;
3365
+ flex-shrink: 0;
3272
3366
  gap: 1rem;
3273
- z-index: 5;
3274
- width: var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem));
3275
- position: fixed;
3276
- top: var(--canopy-gallery-sticky-offset, 0);
3277
- bottom: var(--canopy-gallery-sticky-offset, 0);
3278
- right: 0;
3279
- left: auto;
3280
- padding: clamp(1rem, 2vw, 1.75rem) clamp(0.5rem, 2vw, 1rem);
3281
- background: linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.5) 85%, rgba(255, 255, 255, 0));
3282
- border-left: 1px solid rgba(15, 23, 42, 0.08);
3283
- box-shadow: -16px 0 32px rgba(15, 23, 42, 0.05);
3367
+ width: 10vw;
3368
+ max-width: 150px;
3369
+ min-width: calc(50px + 2rem);
3370
+ padding: 1rem;
3284
3371
  margin-left: 0;
3285
3372
  isolation: isolate;
3373
+ z-index: 2;
3286
3374
  }
3287
3375
  .canopy-gallery__modal-header {
3288
3376
  border: none;
3289
- padding-top: 1.382rem;
3290
- padding-bottom: 0;
3291
- padding-left: clamp(1.25rem, 3vw, 2.5rem);
3292
- padding-right: calc(clamp(1.25rem, 3vw, 2.5rem) + var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem)));
3293
3377
  display: flex;
3294
3378
  gap: 1rem;
3295
3379
  align-items: flex-start;
3296
3380
  flex-wrap: wrap;
3381
+ padding: 1rem 0;
3297
3382
  }
3298
3383
  .canopy-gallery__modal-text {
3299
3384
  flex: 1;
@@ -3318,25 +3403,24 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3318
3403
  font-weight: 300;
3319
3404
  }
3320
3405
  .canopy-gallery__modal-body {
3321
- padding: clamp(1rem, 3vw, 2.5rem);
3322
- padding-right: calc(clamp(1rem, 3vw, 2.5rem) + var(--canopy-gallery-modal-actions-width, clamp(5rem, 18vw, 8rem)));
3323
3406
  flex: 0 0 auto;
3324
3407
  }
3325
3408
  .canopy-gallery__modal-close {
3326
- background: var(--color-accent-100);
3327
- border-radius: 999px;
3328
3409
  padding: 0.35rem 1.25rem;
3329
3410
  font-weight: 500;
3330
3411
  display: inline-flex;
3331
3412
  align-items: center;
3332
3413
  justify-content: center;
3333
- width: 100%;
3414
+ width: 2rem;
3415
+ height: 2rem;
3334
3416
  text-align: center;
3417
+ position: absolute;
3418
+ top: 1rem;
3419
+ right: 1rem;
3335
3420
  }
3336
3421
  .canopy-gallery__modal-nav {
3337
3422
  display: flex;
3338
3423
  align-items: center;
3339
- gap: 0.382rem;
3340
3424
  }
3341
3425
 
3342
3426
  body[data-canopy-gallery-locked="1"] {
@@ -3390,10 +3474,12 @@ body[data-canopy-gallery-locked="1"] {
3390
3474
  list-style: none;
3391
3475
  display: flex;
3392
3476
  flex-direction: column;
3477
+ gap: 0.618rem;
3393
3478
  }
3394
3479
  .canopy-gallery__nav-item {
3395
3480
  position: relative;
3396
3481
  list-style: none;
3482
+ margin: 0;
3397
3483
  }
3398
3484
  .canopy-gallery__nav-item[data-canopy-gallery-nav-selected] .canopy-gallery__nav-thumb {
3399
3485
  outline: 3px solid var(--color-accent-default);
@@ -3440,16 +3526,33 @@ body[data-canopy-gallery-locked="1"] {
3440
3526
  }
3441
3527
  .canopy-gallery__nav-button {
3442
3528
  flex: 0 0 auto;
3443
- width: 100%;
3444
- height: 2.75rem;
3445
- border-radius: 0.75rem;
3446
- background: rgba(255, 255, 255, 0.85);
3529
+ width: 5rem;
3530
+ height: 100%;
3531
+ color: var(--color-gray-900);
3447
3532
  font-size: 1.25rem;
3448
3533
  font-weight: 500;
3449
3534
  cursor: pointer;
3450
- display: inline-flex;
3535
+ display: none;
3451
3536
  align-items: center;
3452
3537
  justify-content: center;
3538
+ position: absolute;
3539
+ top: 50%;
3540
+ transform: translateY(-50%);
3541
+ z-index: 5;
3542
+ background: linear-gradient(to right, transparent, transparent);
3543
+ }
3544
+ .canopy-gallery__nav-button--prev {
3545
+ left: -1rem;
3546
+ }
3547
+ .canopy-gallery__nav-button--prev:hover, .canopy-gallery__nav-button--prev:focus {
3548
+ background: linear-gradient(to right, var(--color-gray-50), transparent);
3549
+ }
3550
+ .canopy-gallery__nav-button--next {
3551
+ right: 0;
3552
+ background: linear-gradient(to left, transparent, transparent);
3553
+ }
3554
+ .canopy-gallery__nav-button--next:hover, .canopy-gallery__nav-button--next:focus {
3555
+ background: linear-gradient(to left, var(--color-gray-50), transparent);
3453
3556
  }
3454
3557
  .canopy-gallery__nav-controls {
3455
3558
  display: grid;
@@ -3460,10 +3563,6 @@ body[data-canopy-gallery-locked="1"] {
3460
3563
  font-size: 1.25rem;
3461
3564
  line-height: 1;
3462
3565
  }
3463
- .canopy-gallery__modal .canopy-gallery__nav {
3464
- margin: clamp(1rem, 3vw, 1.5rem) 0;
3465
- padding-bottom: 0.25rem;
3466
- }
3467
3566
 
3468
3567
  .canopy-gallery-item__content_flex {
3469
3568
  display: flex;
@@ -3494,28 +3593,6 @@ body[data-canopy-gallery-locked="1"] {
3494
3593
  line-height: 1.45;
3495
3594
  }
3496
3595
 
3497
- @media (max-width: 640px) {
3498
- .canopy-gallery__grid {
3499
- grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
3500
- }
3501
- .canopy-gallery__item {
3502
- padding: 0.75rem;
3503
- }
3504
- .canopy-gallery__modal-panel {
3505
- max-height: 100vh;
3506
- }
3507
- .canopy-gallery__modal-header {
3508
- flex-direction: column;
3509
- }
3510
- .canopy-gallery__modal-thumb {
3511
- width: 100%;
3512
- }
3513
- .canopy-gallery__modal-actions {
3514
- gap: 0.25rem;
3515
- top: 0;
3516
- padding: 0.5rem clamp(1rem, 4vw, 2rem) 0.25rem;
3517
- }
3518
- }
3519
3596
  /**
3520
3597
  * Define source files for utility classes
3521
3598
  */