@canopy-iiif/app 0.10.30 → 0.10.32

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.
@@ -136,6 +136,13 @@
136
136
  align-items: stretch;
137
137
  }
138
138
 
139
+ &__slide-link {
140
+ display: block;
141
+ text-decoration: none;
142
+ color: inherit;
143
+ height: 100%;
144
+ }
145
+
139
146
  &__pane {
140
147
  position: relative;
141
148
  width: 100%;
@@ -264,43 +271,20 @@
264
271
  text-align: center;
265
272
  }
266
273
 
267
- &__caption-link {
268
- color: var(--hero-caption-link);
269
- text-decoration: underline;
270
- text-underline-offset: 0.35em;
271
- text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
272
- transition:
273
- color 0.2s ease,
274
- text-decoration-color 0.2s ease;
275
-
276
- &:hover,
277
- &:focus-visible {
278
- color: var(--hero-caption-link);
279
- text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
280
- }
281
- }
282
-
283
274
  &__nav {
284
275
  position: absolute;
285
276
  inset: 0;
286
277
  z-index: 4;
278
+ pointer-events: none;
287
279
  }
288
280
 
289
281
  &__nav-btn {
290
282
  position: absolute;
291
283
  top: 50%;
292
284
  transform: translateY(-50%);
293
- width: 2.75rem;
294
- height: 2.75rem;
285
+ width: 2.618rem !important;
286
+ height: 2.618rem !important;
295
287
  border-radius: 9999px;
296
- border: 1px solid
297
- color-mix(in srgb, var(--color-gray-400) 55%, transparent);
298
- background-color: color-mix(
299
- in srgb,
300
- var(--color-gray-100) 65%,
301
- transparent
302
- );
303
- backdrop-filter: blur(6px);
304
288
  cursor: pointer;
305
289
  display: inline-flex;
306
290
  align-items: center;
@@ -309,15 +293,20 @@
309
293
  background-color 0.2s ease,
310
294
  border-color 0.2s ease,
311
295
  color 0.2s ease;
312
- color: var(--colors-primary);
296
+ stroke: var(--color-accent-default) !important;
297
+ color: var(--color-accent-default) !important;
298
+ pointer-events: auto;
313
299
 
314
300
  &::after {
315
- content: "";
316
- border: solid currentColor;
317
- border-width: 0 2px 2px 0;
318
- display: inline-block;
319
- padding: 7px;
320
- transform: rotate(135deg);
301
+ content: none;
302
+ display: none;
303
+ }
304
+
305
+ svg {
306
+ display: block;
307
+ width: 1rem;
308
+ height: 1rem;
309
+ stroke: var(--color-accent-default);
321
310
  }
322
311
 
323
312
  &--prev {
@@ -326,25 +315,10 @@
326
315
 
327
316
  &--next {
328
317
  right: 1.5rem;
329
-
330
- &::after {
331
- transform: rotate(-45deg);
332
- }
333
318
  }
334
319
 
335
320
  &:hover,
336
321
  &:focus-visible {
337
- background-color: color-mix(
338
- in srgb,
339
- var(--color-accent-200) 55%,
340
- transparent
341
- );
342
- border-color: color-mix(
343
- in srgb,
344
- var(--color-accent-400) 70%,
345
- transparent
346
- );
347
- color: var(--color-accent-700);
348
322
  }
349
323
  }
350
324
 
@@ -1034,6 +1034,12 @@ section[data-footnotes] ul li,
1034
1034
  justify-content: center;
1035
1035
  align-items: stretch;
1036
1036
  }
1037
+ .canopy-interstitial__slide-link {
1038
+ display: block;
1039
+ text-decoration: none;
1040
+ color: inherit;
1041
+ height: 100%;
1042
+ }
1037
1043
  .canopy-interstitial__pane {
1038
1044
  position: relative;
1039
1045
  width: 100%;
@@ -1141,46 +1147,37 @@ section[data-footnotes] ul li,
1141
1147
  margin: 1.5rem auto 0;
1142
1148
  text-align: center;
1143
1149
  }
1144
- .canopy-interstitial__caption-link {
1145
- color: var(--hero-caption-link);
1146
- text-decoration: underline;
1147
- text-underline-offset: 0.35em;
1148
- text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
1149
- transition: color 0.2s ease, text-decoration-color 0.2s ease;
1150
- }
1151
- .canopy-interstitial__caption-link:hover, .canopy-interstitial__caption-link:focus-visible {
1152
- color: var(--hero-caption-link);
1153
- text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
1154
- }
1155
1150
  .canopy-interstitial__nav {
1156
1151
  position: absolute;
1157
1152
  inset: 0;
1158
1153
  z-index: 4;
1154
+ pointer-events: none;
1159
1155
  }
1160
1156
  .canopy-interstitial__nav-btn {
1161
1157
  position: absolute;
1162
1158
  top: 50%;
1163
1159
  transform: translateY(-50%);
1164
- width: 2.75rem;
1165
- height: 2.75rem;
1160
+ width: 2.618rem !important;
1161
+ height: 2.618rem !important;
1166
1162
  border-radius: 9999px;
1167
- border: 1px solid color-mix(in srgb, var(--color-gray-400) 55%, transparent);
1168
- background-color: color-mix(in srgb, var(--color-gray-100) 65%, transparent);
1169
- backdrop-filter: blur(6px);
1170
1163
  cursor: pointer;
1171
1164
  display: inline-flex;
1172
1165
  align-items: center;
1173
1166
  justify-content: center;
1174
1167
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
1175
- color: var(--colors-primary);
1168
+ stroke: var(--color-accent-default) !important;
1169
+ color: var(--color-accent-default) !important;
1170
+ pointer-events: auto;
1176
1171
  }
1177
1172
  .canopy-interstitial__nav-btn::after {
1178
- content: "";
1179
- border: solid currentColor;
1180
- border-width: 0 2px 2px 0;
1181
- display: inline-block;
1182
- padding: 7px;
1183
- transform: rotate(135deg);
1173
+ content: none;
1174
+ display: none;
1175
+ }
1176
+ .canopy-interstitial__nav-btn svg {
1177
+ display: block;
1178
+ width: 1rem;
1179
+ height: 1rem;
1180
+ stroke: var(--color-accent-default);
1184
1181
  }
1185
1182
  .canopy-interstitial__nav-btn--prev {
1186
1183
  left: 1.5rem;
@@ -1188,14 +1185,6 @@ section[data-footnotes] ul li,
1188
1185
  .canopy-interstitial__nav-btn--next {
1189
1186
  right: 1.5rem;
1190
1187
  }
1191
- .canopy-interstitial__nav-btn--next::after {
1192
- transform: rotate(-45deg);
1193
- }
1194
- .canopy-interstitial__nav-btn:hover, .canopy-interstitial__nav-btn:focus-visible {
1195
- background-color: color-mix(in srgb, var(--color-accent-200) 55%, transparent);
1196
- border-color: color-mix(in srgb, var(--color-accent-400) 70%, transparent);
1197
- color: var(--color-accent-700);
1198
- }
1199
1188
  .canopy-interstitial__pagination {
1200
1189
  position: absolute;
1201
1190
  z-index: 4;