@canopy-iiif/app 1.8.13 → 1.8.15

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.
@@ -71,8 +71,8 @@
71
71
  }
72
72
  @utility font-display {
73
73
  font-family: var(--font-serif);
74
- font-weight: 600;
75
- letter-spacing: -0.025em;
74
+ font-weight: 500;
75
+ letter-spacing: -0.02em;
76
76
  font-variation-settings: "SOFT" 100, "WONK" 1;
77
77
  }
78
78
  code {
@@ -190,7 +190,7 @@ section[data-footnotes] ul li,
190
190
  }
191
191
  .canopy-button-group__text {
192
192
  font-size: 1.38rem;
193
- font-weight: 600;
193
+ font-weight: 500;
194
194
  color: var(--color-gray-900);
195
195
  margin-bottom: 1rem;
196
196
  letter-spacing: -0.0125em;
@@ -410,7 +410,7 @@ section[data-footnotes] ul li,
410
410
  color: inherit;
411
411
  }
412
412
  .canopy-nav-tree__heading {
413
- font-weight: 600;
413
+ font-weight: 500;
414
414
  margin-bottom: 0.618rem;
415
415
  }
416
416
  .canopy-nav-tree__list {
@@ -479,7 +479,7 @@ section[data-footnotes] ul li,
479
479
  .referenced-items__heading {
480
480
  font-family: var(--font-serif);
481
481
  font-size: clamp(1.5rem, 2vw, 1.9rem);
482
- font-weight: 600;
482
+ font-weight: 500;
483
483
  letter-spacing: -0.02em;
484
484
  margin-bottom: 1.5rem;
485
485
  }
@@ -558,7 +558,7 @@ section[data-footnotes] ul li,
558
558
  }
559
559
 
560
560
  .canopy-index__group dt {
561
- font-weight: 600;
561
+ font-weight: 500;
562
562
  font-size: 1rem;
563
563
  margin: 0 0 0.8rem 0;
564
564
  }
@@ -684,7 +684,7 @@ section[data-footnotes] ul li,
684
684
 
685
685
  .bibliography__note-label {
686
686
  font-variant-numeric: tabular-nums;
687
- font-weight: 600;
687
+ font-weight: 500;
688
688
  color: var(--color-gray-muted);
689
689
  }
690
690
 
@@ -1051,7 +1051,7 @@ section[data-footnotes] ul li,
1051
1051
  .canopy-modal__title {
1052
1052
  margin: 0 0 1rem;
1053
1053
  font-size: 1.25rem;
1054
- font-weight: 600;
1054
+ font-weight: 500;
1055
1055
  color: var(--color-gray-900);
1056
1056
  }
1057
1057
  .canopy-modal__close {
@@ -1222,7 +1222,7 @@ section[data-footnotes] ul li,
1222
1222
  }
1223
1223
  .canopy-interstitial--hero-breadcrumb .canopy-interstitial__description {
1224
1224
  font-size: 0.9222rem;
1225
- font-weight: 700;
1225
+ font-weight: 500;
1226
1226
  color: var(--color-accent-default);
1227
1227
  font-family: var(--font-mono);
1228
1228
  }
@@ -1242,7 +1242,7 @@ section[data-footnotes] ul li,
1242
1242
  }
1243
1243
  .canopy-interstitial__breadcrumb-separator, .canopy-interstitial__breadcrumb-current {
1244
1244
  color: var(--color-gray-900);
1245
- font-weight: 600;
1245
+ font-weight: 500;
1246
1246
  }
1247
1247
  .canopy-interstitial__slider {
1248
1248
  position: relative;
@@ -1365,7 +1365,7 @@ section[data-footnotes] ul li,
1365
1365
  .canopy-interstitial__caption {
1366
1366
  position: absolute;
1367
1367
  bottom: 1.75rem;
1368
- font-weight: 600;
1368
+ font-weight: 500;
1369
1369
  right: 2rem;
1370
1370
  z-index: 3;
1371
1371
  }
@@ -1579,7 +1579,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1579
1579
  font-weight: 300;
1580
1580
  }
1581
1581
  .clover-viewer-information-panel dt {
1582
- font-weight: 600;
1582
+ font-weight: 500;
1583
1583
  }
1584
1584
  .clover-viewer-information-panel a,
1585
1585
  .clover-viewer-information-panel dd {
@@ -1598,7 +1598,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1598
1598
 
1599
1599
  .clover-viewer-header .label {
1600
1600
  font-size: 1.1111rem;
1601
- font-weight: 600;
1601
+ font-weight: 500;
1602
1602
  }
1603
1603
 
1604
1604
  .clover-viewer-media-navigation button svg {
@@ -1639,7 +1639,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1639
1639
  }
1640
1640
  .canopy-image-story.storiiies-viewer .storiiies-viewer__text-section.storiiies-viewer__title {
1641
1641
  font-size: var(--storiiies-viewer-title-font-size);
1642
- font-weight: 600;
1642
+ font-weight: 500;
1643
1643
  color: var(--color-gray-900);
1644
1644
  }
1645
1645
  .canopy-image-story.storiiies-viewer .storiiies-viewer__info-area {
@@ -1952,7 +1952,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1952
1952
 
1953
1953
  .canopy-search-teaser__label {
1954
1954
  padding: 0.382rem 0.618rem;
1955
- font-weight: 600;
1955
+ font-weight: 500;
1956
1956
  font-size: 0.8333rem;
1957
1957
  color: var(--color-gray-muted);
1958
1958
  }
@@ -1997,7 +1997,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1997
1997
  }
1998
1998
 
1999
1999
  .canopy-search-teaser__title {
2000
- font-weight: 600;
2000
+ font-weight: 500;
2001
2001
  font-size: 0.95rem;
2002
2002
  line-height: 1.3;
2003
2003
  color: var(--color-gray-900);
@@ -2062,7 +2062,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2062
2062
  gap: 0.75rem;
2063
2063
  padding: 0.75rem 1rem;
2064
2064
  font-size: var(--font-size-sm);
2065
- font-weight: 600;
2065
+ font-weight: 500;
2066
2066
  color: var(--color-gray-900);
2067
2067
  cursor: pointer;
2068
2068
  list-style: none;
@@ -2315,7 +2315,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2315
2315
  align-items: center;
2316
2316
  justify-content: center;
2317
2317
  font-size: 0.6111rem;
2318
- font-weight: 600;
2318
+ font-weight: 500;
2319
2319
  line-height: 1;
2320
2320
  white-space: nowrap;
2321
2321
  z-index: 0;
@@ -2332,7 +2332,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2332
2332
  .canopy-sub-navigation__tree .canopy-nav-tree__link.is-active,
2333
2333
  .canopy-modal__section-nav .canopy-nav-tree__link.is-active {
2334
2334
  color: var(--color-gray-900);
2335
- font-weight: 600;
2335
+ font-weight: 500;
2336
2336
  }
2337
2337
 
2338
2338
  .canopy-sub-navigation__list--nested,
@@ -2386,7 +2386,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2386
2386
  justify-content: center;
2387
2387
  color: color-mix(in srgb, var(--color-gray-900) 92%, transparent);
2388
2388
  font-size: 1rem;
2389
- font-weight: 600;
2389
+ font-weight: 500;
2390
2390
  cursor: pointer;
2391
2391
  line-height: 1.2;
2392
2392
  transition: color 150ms ease;
@@ -2485,7 +2485,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2485
2485
  }
2486
2486
  .canopy-diagram__grid h3 {
2487
2487
  margin: 0 0 0.382rem;
2488
- font-weight: 600;
2488
+ font-weight: 500;
2489
2489
  text-align: center;
2490
2490
  color: var(--color-accent-default);
2491
2491
  }
@@ -2580,7 +2580,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2580
2580
  .canopy-timeline__title {
2581
2581
  margin: 0;
2582
2582
  font-size: 1.382rem;
2583
- font-weight: 600;
2583
+ font-weight: 500;
2584
2584
  }
2585
2585
 
2586
2586
  .canopy-timeline__description {
@@ -2593,7 +2593,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2593
2593
  margin: 0;
2594
2594
  color: var(--color-accent-default);
2595
2595
  font-size: 1.382rem;
2596
- font-weight: 600;
2596
+ font-weight: 500;
2597
2597
  }
2598
2598
 
2599
2599
  .canopy-timeline__body {
@@ -2697,7 +2697,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2697
2697
  .canopy-timeline__group-point-title {
2698
2698
  display: block;
2699
2699
  font-size: 1rem;
2700
- font-weight: 600;
2700
+ font-weight: 500;
2701
2701
  color: var(--color-gray-900);
2702
2702
  margin-top: 0.382rem 0;
2703
2703
  }
@@ -2771,7 +2771,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2771
2771
  background: transparent;
2772
2772
  border: none;
2773
2773
  color: var(--color-accent-default);
2774
- font-weight: 600;
2774
+ font-weight: 500;
2775
2775
  cursor: pointer;
2776
2776
  }
2777
2777
 
@@ -2941,7 +2941,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2941
2941
  text-decoration: none;
2942
2942
  color: inherit;
2943
2943
  font-size: 1rem;
2944
- font-weight: 600;
2944
+ font-weight: 500;
2945
2945
  margin: 0.38rem 0;
2946
2946
  }
2947
2947
  .canopy-map__popup-summary {
@@ -2956,7 +2956,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2956
2956
  gap: 0.25rem;
2957
2957
  align-items: center;
2958
2958
  color: var(--color-accent-600);
2959
- font-weight: 600;
2959
+ font-weight: 500;
2960
2960
  text-decoration: none;
2961
2961
  }
2962
2962
  .canopy-map__popup-manifests {
@@ -2965,7 +2965,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2965
2965
  .canopy-map__popup-manifests-title {
2966
2966
  margin: 0 0 0.25rem;
2967
2967
  font-size: 0.75rem;
2968
- font-weight: 600;
2968
+ font-weight: 500;
2969
2969
  letter-spacing: 0.05em;
2970
2970
  text-transform: uppercase;
2971
2971
  color: var(--color-gray-muted);
@@ -2983,7 +2983,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2983
2983
  padding: 0;
2984
2984
  }
2985
2985
  .canopy-map__popup-manifests-link, .canopy-map__popup-manifests-text {
2986
- font-weight: 600;
2986
+ font-weight: 500;
2987
2987
  text-decoration: none;
2988
2988
  display: inline-flex;
2989
2989
  align-items: center;
@@ -3087,7 +3087,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3087
3087
  .canopy-map__cluster {
3088
3088
  font-size: 0.8333rem;
3089
3089
  font-family: var(--font-sans);
3090
- font-weight: 600;
3090
+ font-weight: 500;
3091
3091
  width: 40px;
3092
3092
  height: 40px;
3093
3093
  border-radius: 999px;
@@ -3150,7 +3150,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3150
3150
  padding: clamp(0.75rem, 1vw, 1rem);
3151
3151
  border: 1px solid var(--color-gray-200);
3152
3152
  border-radius: var(--canopy-gallery-radius, 1rem);
3153
- background-color: #fff;
3154
3153
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
3155
3154
  }
3156
3155
  .canopy-gallery__item:focus-within {
@@ -3192,7 +3191,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3192
3191
  color: var(--color-gray-muted);
3193
3192
  }
3194
3193
  .canopy-gallery__title-text {
3195
- font-weight: 600;
3194
+ font-weight: 500;
3196
3195
  font-size: 1.05rem;
3197
3196
  line-height: 1.3;
3198
3197
  color: var(--color-gray-900);
@@ -3246,54 +3245,47 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3246
3245
  transform: none;
3247
3246
  }
3248
3247
  .canopy-gallery__modal-scrim {
3249
- min-height: 100vh;
3248
+ height: 100%;
3250
3249
  display: block;
3251
- background: rgb(15, 23, 42);
3250
+ background-color: var(--color-gray-50);
3252
3251
  padding: 0;
3252
+ display: flex;
3253
+ flex-direction: row;
3254
+ overflow-y: scroll;
3253
3255
  }
3254
3256
  .canopy-gallery__modal-panel {
3255
3257
  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;
3258
+ padding: 1.618rem;
3259
+ padding-right: 2.618rem;
3263
3260
  display: flex;
3264
3261
  flex-direction: column;
3265
- box-shadow: none;
3262
+ gap: 1.6181rem;
3263
+ flex-grow: 1;
3264
+ z-index: 1;
3266
3265
  }
3267
3266
  .canopy-gallery__modal-actions {
3268
3267
  display: flex;
3269
3268
  align-items: stretch;
3270
3269
  justify-content: space-between;
3271
3270
  flex-direction: column;
3271
+ flex-grow: 0;
3272
+ flex-shrink: 0;
3272
3273
  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);
3274
+ width: 10vw;
3275
+ max-width: 150px;
3276
+ min-width: calc(50px + 2rem);
3277
+ padding: 1rem;
3284
3278
  margin-left: 0;
3285
3279
  isolation: isolate;
3280
+ z-index: 2;
3286
3281
  }
3287
3282
  .canopy-gallery__modal-header {
3288
3283
  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
3284
  display: flex;
3294
3285
  gap: 1rem;
3295
3286
  align-items: flex-start;
3296
3287
  flex-wrap: wrap;
3288
+ padding: 1rem 0;
3297
3289
  }
3298
3290
  .canopy-gallery__modal-text {
3299
3291
  flex: 1;
@@ -3318,25 +3310,24 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3318
3310
  font-weight: 300;
3319
3311
  }
3320
3312
  .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
3313
  flex: 0 0 auto;
3324
3314
  }
3325
3315
  .canopy-gallery__modal-close {
3326
- background: var(--color-accent-100);
3327
- border-radius: 999px;
3328
3316
  padding: 0.35rem 1.25rem;
3329
- font-weight: 600;
3317
+ font-weight: 500;
3330
3318
  display: inline-flex;
3331
3319
  align-items: center;
3332
3320
  justify-content: center;
3333
- width: 100%;
3321
+ width: 2rem;
3322
+ height: 2rem;
3334
3323
  text-align: center;
3324
+ position: absolute;
3325
+ top: 1rem;
3326
+ right: 1rem;
3335
3327
  }
3336
3328
  .canopy-gallery__modal-nav {
3337
3329
  display: flex;
3338
3330
  align-items: center;
3339
- gap: 0.382rem;
3340
3331
  }
3341
3332
 
3342
3333
  body[data-canopy-gallery-locked="1"] {
@@ -3390,10 +3381,12 @@ body[data-canopy-gallery-locked="1"] {
3390
3381
  list-style: none;
3391
3382
  display: flex;
3392
3383
  flex-direction: column;
3384
+ gap: 0.618rem;
3393
3385
  }
3394
3386
  .canopy-gallery__nav-item {
3395
3387
  position: relative;
3396
3388
  list-style: none;
3389
+ margin: 0;
3397
3390
  }
3398
3391
  .canopy-gallery__nav-item[data-canopy-gallery-nav-selected] .canopy-gallery__nav-thumb {
3399
3392
  outline: 3px solid var(--color-accent-default);
@@ -3440,16 +3433,33 @@ body[data-canopy-gallery-locked="1"] {
3440
3433
  }
3441
3434
  .canopy-gallery__nav-button {
3442
3435
  flex: 0 0 auto;
3443
- width: 100%;
3444
- height: 2.75rem;
3445
- border-radius: 0.75rem;
3446
- background: rgba(255, 255, 255, 0.85);
3436
+ width: 5rem;
3437
+ height: 100%;
3438
+ color: var(--color-gray-900);
3447
3439
  font-size: 1.25rem;
3448
- font-weight: 600;
3440
+ font-weight: 500;
3449
3441
  cursor: pointer;
3450
- display: inline-flex;
3442
+ display: none;
3451
3443
  align-items: center;
3452
3444
  justify-content: center;
3445
+ position: absolute;
3446
+ top: 50%;
3447
+ transform: translateY(-50%);
3448
+ z-index: 5;
3449
+ background: linear-gradient(to right, transparent, transparent);
3450
+ }
3451
+ .canopy-gallery__nav-button--prev {
3452
+ left: -1rem;
3453
+ }
3454
+ .canopy-gallery__nav-button--prev:hover, .canopy-gallery__nav-button--prev:focus {
3455
+ background: linear-gradient(to right, var(--color-gray-50), transparent);
3456
+ }
3457
+ .canopy-gallery__nav-button--next {
3458
+ right: 0;
3459
+ background: linear-gradient(to left, transparent, transparent);
3460
+ }
3461
+ .canopy-gallery__nav-button--next:hover, .canopy-gallery__nav-button--next:focus {
3462
+ background: linear-gradient(to left, var(--color-gray-50), transparent);
3453
3463
  }
3454
3464
  .canopy-gallery__nav-controls {
3455
3465
  display: grid;
@@ -3460,10 +3470,6 @@ body[data-canopy-gallery-locked="1"] {
3460
3470
  font-size: 1.25rem;
3461
3471
  line-height: 1;
3462
3472
  }
3463
- .canopy-gallery__modal .canopy-gallery__nav {
3464
- margin: clamp(1rem, 3vw, 1.5rem) 0;
3465
- padding-bottom: 0.25rem;
3466
- }
3467
3473
 
3468
3474
  .canopy-gallery-item__content_flex {
3469
3475
  display: flex;
@@ -3494,28 +3500,6 @@ body[data-canopy-gallery-locked="1"] {
3494
3500
  line-height: 1.45;
3495
3501
  }
3496
3502
 
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
3503
  /**
3520
3504
  * Define source files for utility classes
3521
3505
  */