@canopy-iiif/app 1.9.1 → 1.9.2

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,6 +1,27 @@
1
1
  /**
2
2
  * Main stylesheet for the @canopy-iiif/app/ui package
3
3
  */
4
+ :root {
5
+ --canopy-radius-none: 0;
6
+ --canopy-radius-sm: 0;
7
+ --canopy-radius-md: 0;
8
+ --canopy-radius-lg: 0;
9
+ --canopy-radius-xl: 0;
10
+ --canopy-radius-pill: 0;
11
+ --canopy-radius-circle: 0;
12
+ --canopy-shadow-none: none;
13
+ --canopy-shadow-sm: none;
14
+ --canopy-shadow-md: none;
15
+ --canopy-shadow-lg: none;
16
+ }
17
+
18
+ *,
19
+ *::before,
20
+ *::after {
21
+ border-radius: var(--canopy-radius-none) !important;
22
+ box-shadow: var(--canopy-shadow-none) !important;
23
+ }
24
+
4
25
  @layer base {
5
26
  body {
6
27
  margin: 0;
@@ -41,7 +62,7 @@
41
62
  }
42
63
  @layer base {
43
64
  h1 {
44
- font-size: 2.61rem;
65
+ font-size: 2rem;
45
66
  line-height: 1.25;
46
67
  margin: 0 0 1rem 0;
47
68
  }
@@ -117,9 +138,6 @@ blockquote {
117
138
  border-left: none;
118
139
  border-right: none;
119
140
  }
120
- .markdown-table tbody {
121
- box-shadow: 5px 5px 11px rgba(0, 0, 0, 0.05);
122
- }
123
141
  .markdown-table tbody tr:nth-child(even) {
124
142
  background-color: var(--color-gray-200);
125
143
  }
@@ -157,31 +175,36 @@ section[data-footnotes] ul li,
157
175
  align-items: center;
158
176
  justify-content: center;
159
177
  gap: 0.35rem;
160
- padding: 0.55rem 1.4rem;
161
- border-radius: 9999px;
162
- font-size: 0.9222rem;
163
- font-weight: 300;
178
+ padding: 0.6rem 1.4rem;
179
+ border: 1px solid currentColor;
180
+ color: inherit;
181
+ font: inherit;
164
182
  text-decoration: none;
165
- transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
183
+ cursor: pointer;
184
+ line-height: 1.4;
185
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
186
+ border-color: currentColor;
166
187
  }
167
188
  .canopy-button--primary {
168
189
  background-color: var(--color-accent-default);
190
+ border-color: var(--color-accent-default);
169
191
  color: var(--color-accent-50);
170
- box-shadow: 0 18px 32px -22px rgba(15, 23, 42, 0.55);
171
192
  }
172
193
  .canopy-button--primary:hover, .canopy-button--primary:focus-visible {
173
194
  background-color: var(--color-accent-600);
195
+ border-color: var(--color-accent-600);
174
196
  }
175
197
  .canopy-button--secondary {
176
- border: 1px solid var(--color-gray-200);
177
- color: color-mix(in srgb, var(--color-gray-900) 92%, transparent);
178
- background-color: var(--color-gray-50);
198
+ border-color: var(--color-gray-400);
199
+ color: var(--color-gray-900);
179
200
  }
180
201
  .canopy-button--secondary:hover, .canopy-button--secondary:focus-visible {
181
- border-color: color-mix(in srgb, var(--color-accent-400) 65%, transparent);
182
- background-color: color-mix(in srgb, var(--color-accent-300) 25%, transparent);
202
+ border-color: var(--color-accent-400);
183
203
  color: var(--color-accent-900);
184
204
  }
205
+ .canopy-button--ghost {
206
+ border-color: transparent;
207
+ }
185
208
  .canopy-button-group {
186
209
  display: flex;
187
210
  flex-direction: column;
@@ -189,8 +212,6 @@ section[data-footnotes] ul li,
189
212
  gap: 0.5rem;
190
213
  }
191
214
  .canopy-button-group__text {
192
- font-size: 1.38rem;
193
- font-weight: 500;
194
215
  color: var(--color-gray-900);
195
216
  margin-bottom: 1rem;
196
217
  letter-spacing: -0.0125em;
@@ -199,7 +220,7 @@ section[data-footnotes] ul li,
199
220
  display: flex;
200
221
  flex-wrap: wrap;
201
222
  align-items: center;
202
- gap: 0.75rem;
223
+ gap: 1rem;
203
224
  padding: 0.618rem 0 1.618rem;
204
225
  width: 100%;
205
226
  }
@@ -209,8 +230,6 @@ section[data-footnotes] ul li,
209
230
  text-align: center;
210
231
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 4rem);
211
232
  margin: 2rem 0;
212
- border-radius: 1.25rem;
213
- background: linear-gradient(173deg, transparent 0%, var(--color-accent-200) 100%);
214
233
  }
215
234
  .canopy-button-group--interstitial .canopy-button-group__actions {
216
235
  justify-content: center;
@@ -224,10 +243,8 @@ section[data-footnotes] ul li,
224
243
  text-decoration: none;
225
244
  color: inherit;
226
245
  border: 1px solid var(--color-gray-200);
227
- border-radius: 0.5rem;
228
246
  overflow: hidden;
229
247
  transition: all 150ms cubic-bezier(0.22, 1, 0.36, 1);
230
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
231
248
  }
232
249
  .canopy-card figure {
233
250
  margin: 0;
@@ -236,7 +253,6 @@ section[data-footnotes] ul li,
236
253
  position: relative;
237
254
  width: 100%;
238
255
  padding-bottom: var(--canopy-card-padding);
239
- background-color: var(--color-gray-100);
240
256
  overflow: hidden;
241
257
  }
242
258
  .canopy-card .canopy-card-media > img {
@@ -251,7 +267,6 @@ section[data-footnotes] ul li,
251
267
  flex-direction: column;
252
268
  opacity: 0;
253
269
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1);
254
- background: var(--color-gray-100);
255
270
  color: var(--color-gray-muted);
256
271
  font-size: 83.333%;
257
272
  }
@@ -279,7 +294,6 @@ section[data-footnotes] ul li,
279
294
  }
280
295
  .canopy-card:hover, .canopy-card:focus {
281
296
  color: var(--color-accent-default);
282
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.07);
283
297
  }
284
298
 
285
299
  .canopy-article-card {
@@ -323,7 +337,6 @@ section[data-footnotes] ul li,
323
337
  background: color-mix(in srgb, var(--color-accent-500) 38.2%, transparent);
324
338
  color: inherit;
325
339
  padding: 0.05rem 0.25rem;
326
- border-radius: 0.2rem;
327
340
  }
328
341
 
329
342
  @layer base {
@@ -438,14 +451,21 @@ section[data-footnotes] ul li,
438
451
  flex-grow: 1;
439
452
  }
440
453
  .canopy-nav-tree__toggle {
441
- appearance: none;
442
- border: none;
443
- background: transparent;
444
- padding: 0.5rem;
445
454
  display: inline-flex;
446
455
  align-items: center;
447
- justify-content: flex-end;
456
+ justify-content: center;
457
+ gap: 0.35rem;
458
+ padding: 0.5rem 0.5rem;
459
+ border: 1px solid currentColor;
460
+ color: inherit;
461
+ font: inherit;
462
+ text-decoration: none;
448
463
  cursor: pointer;
464
+ line-height: 1.4;
465
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
466
+ appearance: none;
467
+ border: none;
468
+ justify-content: flex-end;
449
469
  width: 40px;
450
470
  height: 40px;
451
471
  }
@@ -601,13 +621,21 @@ section[data-footnotes] ul li,
601
621
  }
602
622
 
603
623
  .canopy-index__more {
624
+ display: inline-flex;
625
+ align-items: center;
626
+ justify-content: center;
627
+ gap: 0.35rem;
604
628
  padding: 0.45rem 1rem;
605
- font-size: 0.8333rem;
606
- border: 1px solid var(--color-accent-200);
607
- border-radius: 999px;
629
+ border: 1px solid currentColor;
630
+ color: inherit;
631
+ font: inherit;
632
+ text-decoration: none;
633
+ cursor: pointer;
634
+ line-height: 1.4;
635
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
636
+ border-color: var(--color-accent-200);
608
637
  background: var(--color-accent-100);
609
638
  color: var(--color-accent-default);
610
- cursor: pointer;
611
639
  }
612
640
 
613
641
  .canopy-index__more:hover {
@@ -708,7 +736,6 @@ section[data-footnotes] ul li,
708
736
  align-items: center;
709
737
  gap: 1.618rem;
710
738
  padding: 1rem 1.618rem;
711
- background: transparent;
712
739
  z-index: 1;
713
740
  }
714
741
  .canopy-header__brand {
@@ -722,10 +749,18 @@ section[data-footnotes] ul li,
722
749
  display: inline-flex;
723
750
  align-items: center;
724
751
  justify-content: center;
752
+ gap: 0.35rem;
753
+ padding: 0.25rem 0.75rem;
754
+ border: 1px solid currentColor;
755
+ color: inherit;
756
+ font: inherit;
757
+ text-decoration: none;
758
+ cursor: pointer;
759
+ line-height: 1.4;
760
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
725
761
  width: 2.5rem;
726
762
  height: 2.5rem;
727
- border-radius: 0.75rem;
728
- transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
763
+ border: none;
729
764
  }
730
765
  .canopy-header__menu:hover,
731
766
  .canopy-header__menu:focus-visible {
@@ -769,11 +804,8 @@ section[data-footnotes] ul li,
769
804
  }
770
805
  .canopy-language-toggle__select-input {
771
806
  border: 1px solid var(--color-gray-300);
772
- border-radius: 999px;
773
807
  padding: 0.25rem 2rem 0.25rem 0.75rem;
774
- background: var(--color-white);
775
808
  color: var(--color-gray-900);
776
- font-weight: 600;
777
809
  appearance: none;
778
810
  min-width: 6.5rem;
779
811
  cursor: pointer;
@@ -797,15 +829,20 @@ section[data-footnotes] ul li,
797
829
  }
798
830
  .canopy-language-toggle__button,
799
831
  .canopy-language-toggle__nav a {
800
- text-decoration: none;
801
- font-weight: 600;
802
- color: var(--color-gray-700);
832
+ display: inline-flex;
833
+ align-items: center;
834
+ justify-content: center;
835
+ gap: 0.35rem;
803
836
  padding: 0.15rem 0.5rem;
804
- border-radius: 999px;
805
- border: none;
806
- background: transparent;
807
- transition: color 150ms ease, background 150ms ease;
837
+ border: 1px solid currentColor;
838
+ color: inherit;
839
+ font: inherit;
840
+ text-decoration: none;
808
841
  cursor: pointer;
842
+ line-height: 1.4;
843
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
844
+ border: none;
845
+ color: var(--color-gray-700);
809
846
  }
810
847
  .canopy-language-toggle__button[data-active=true],
811
848
  .canopy-language-toggle__nav a[data-active=true] {
@@ -857,12 +894,19 @@ section[data-footnotes] ul li,
857
894
  display: inline-flex;
858
895
  align-items: center;
859
896
  justify-content: center;
897
+ gap: 0.35rem;
898
+ padding: 0.25rem 0.75rem;
899
+ border: 1px solid currentColor;
900
+ color: inherit;
901
+ font: inherit;
902
+ text-decoration: none;
903
+ cursor: pointer;
904
+ line-height: 1.4;
905
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
860
906
  width: 2.5rem;
861
907
  height: 2.5rem;
862
- border-radius: 0.75rem;
863
908
  color: var(--color-accent-900);
864
- cursor: pointer;
865
- transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
909
+ border: none;
866
910
  }
867
911
  .canopy-header__icon-button svg path {
868
912
  stroke-width: 2.618px;
@@ -895,9 +939,7 @@ section[data-footnotes] ul li,
895
939
  }
896
940
  .canopy-modal--search .canopy-search-teaser {
897
941
  position: static;
898
- background: transparent;
899
942
  border: none;
900
- box-shadow: none;
901
943
  max-height: clamp(20rem, 60vh, 32rem);
902
944
  padding: 0;
903
945
  display: block;
@@ -1024,17 +1066,23 @@ section[data-footnotes] ul li,
1024
1066
  padding: 0.618rem 0;
1025
1067
  }
1026
1068
  .canopy-modal__nav-toggle {
1027
- appearance: none;
1028
- border: none;
1029
- background: transparent;
1030
- padding: 0.25rem;
1031
- margin: -0.25rem;
1032
1069
  display: inline-flex;
1033
1070
  align-items: center;
1034
1071
  justify-content: center;
1035
- justify-content: flex-end;
1072
+ gap: 0.35rem;
1073
+ padding: 0.25rem 0.25rem;
1074
+ border: 1px solid currentColor;
1075
+ color: inherit;
1076
+ font: inherit;
1077
+ text-decoration: none;
1036
1078
  cursor: pointer;
1079
+ line-height: 1.4;
1080
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1081
+ appearance: none;
1082
+ border: none;
1083
+ margin: -0.25rem;
1037
1084
  flex-grow: 1;
1085
+ justify-content: flex-end;
1038
1086
  }
1039
1087
  .canopy-modal__nav-toggle:hover, .canopy-modal__nav-toggle:focus {
1040
1088
  color: var(--color-accent-default);
@@ -1119,8 +1167,6 @@ section[data-footnotes] ul li,
1119
1167
  max-width: 400px;
1120
1168
  max-height: min(90vh, 640px);
1121
1169
  background: var(--color-gray-50);
1122
- border-radius: 1rem;
1123
- box-shadow: 12px 24px 48px rgba(0, 0, 0, 0.5);
1124
1170
  overflow: hidden;
1125
1171
  margin: 0;
1126
1172
  }
@@ -1148,18 +1194,25 @@ section[data-footnotes] ul li,
1148
1194
  color: var(--color-gray-900);
1149
1195
  }
1150
1196
  .canopy-modal__close {
1151
- position: absolute;
1152
- top: 0.75rem;
1153
- right: 0.75rem;
1154
1197
  display: inline-flex;
1155
1198
  align-items: center;
1156
1199
  justify-content: center;
1200
+ gap: 0.35rem;
1201
+ padding: 0.25rem 0.75rem;
1202
+ border: 1px solid currentColor;
1203
+ color: inherit;
1204
+ font: inherit;
1205
+ text-decoration: none;
1206
+ cursor: pointer;
1207
+ line-height: 1.4;
1208
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1209
+ position: absolute;
1210
+ top: 0.75rem;
1211
+ right: 0.75rem;
1157
1212
  width: 2.5rem;
1158
1213
  height: 2.5rem;
1159
- border-radius: 9999px;
1160
1214
  color: var(--color-accent-900);
1161
- cursor: pointer;
1162
- transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
1215
+ border: none;
1163
1216
  }
1164
1217
  .canopy-modal__close svg path {
1165
1218
  stroke-width: 2.618px;
@@ -1183,14 +1236,11 @@ section[data-footnotes] ul li,
1183
1236
  width: 100%;
1184
1237
  height: 100%;
1185
1238
  max-height: none;
1186
- border-radius: 0;
1187
1239
  margin: 0;
1188
- box-shadow: none;
1189
1240
  }
1190
1241
  .canopy-modal__close {
1191
1242
  top: 1rem;
1192
1243
  right: 1rem;
1193
- border-radius: 0.75rem;
1194
1244
  }
1195
1245
  .canopy-modal__brand {
1196
1246
  margin-bottom: 1rem;
@@ -1234,10 +1284,9 @@ section[data-footnotes] ul li,
1234
1284
  display: flex;
1235
1285
  align-items: center;
1236
1286
  justify-content: center;
1237
- padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
1287
+ padding: clamp(1.618rem, 5vw, 3rem) clamp(1.618rem, 4vw, 3rem);
1238
1288
  box-sizing: border-box;
1239
1289
  min-width: 0;
1240
- background: transparent;
1241
1290
  }
1242
1291
  .canopy-interstitial--hero .canopy-interstitial__body {
1243
1292
  align-items: flex-start;
@@ -1247,9 +1296,6 @@ section[data-footnotes] ul li,
1247
1296
  margin: 0;
1248
1297
  gap: 1.5rem;
1249
1298
  }
1250
- .canopy-interstitial--hero .canopy-interstitial__actions {
1251
- justify-content: flex-start;
1252
- }
1253
1299
  .canopy-interstitial--hero .canopy-interstitial__media-group {
1254
1300
  flex: 1;
1255
1301
  position: relative;
@@ -1261,7 +1307,6 @@ section[data-footnotes] ul li,
1261
1307
  box-sizing: border-box;
1262
1308
  min-width: 0;
1263
1309
  overflow: hidden;
1264
- background: transparent;
1265
1310
  }
1266
1311
  .canopy-interstitial--hero .canopy-interstitial__caption {
1267
1312
  position: static;
@@ -1281,10 +1326,16 @@ section[data-footnotes] ul li,
1281
1326
  padding-bottom: 2px;
1282
1327
  }
1283
1328
  @media (max-width: 63.9375rem) {
1329
+ .canopy-interstitial--hero {
1330
+ background: none !important;
1331
+ }
1284
1332
  .canopy-interstitial--hero .canopy-interstitial__panel,
1285
1333
  .canopy-interstitial--hero .canopy-interstitial__media-group {
1286
1334
  width: 100%;
1287
1335
  }
1336
+ .canopy-interstitial--hero .canopy-interstitial__media-group {
1337
+ padding: 1rem 0 !important;
1338
+ }
1288
1339
  }
1289
1340
  @media (min-width: 48rem) {
1290
1341
  .canopy-interstitial--hero .canopy-interstitial__layout {
@@ -1365,7 +1416,6 @@ section[data-footnotes] ul li,
1365
1416
  width: 100%;
1366
1417
  min-height: var(--hero-height);
1367
1418
  overflow: hidden;
1368
- background-color: color-mix(in srgb, var(--hero-bg-start) 65%, transparent);
1369
1419
  }
1370
1420
  .canopy-interstitial__pane::before, .canopy-interstitial__pane::after {
1371
1421
  content: "";
@@ -1382,7 +1432,6 @@ section[data-footnotes] ul li,
1382
1432
  display: flex;
1383
1433
  flex-direction: column;
1384
1434
  height: var(--hero-height);
1385
- background-color: transparent;
1386
1435
  }
1387
1436
  .canopy-interstitial__media {
1388
1437
  position: absolute;
@@ -1399,7 +1448,6 @@ section[data-footnotes] ul li,
1399
1448
  height: 100%;
1400
1449
  flex: 1 1 auto;
1401
1450
  overflow: hidden;
1402
- border-radius: 0.75rem;
1403
1451
  }
1404
1452
  .canopy-interstitial__media--static {
1405
1453
  position: static;
@@ -1449,12 +1497,6 @@ section[data-footnotes] ul li,
1449
1497
  margin: 0;
1450
1498
  max-width: 42rem;
1451
1499
  }
1452
- .canopy-interstitial__actions {
1453
- display: flex;
1454
- flex-wrap: wrap;
1455
- justify-content: center;
1456
- gap: 0.75rem;
1457
- }
1458
1500
  .canopy-interstitial__caption {
1459
1501
  position: absolute;
1460
1502
  bottom: 1.75rem;
@@ -1474,20 +1516,27 @@ section[data-footnotes] ul li,
1474
1516
  pointer-events: none;
1475
1517
  }
1476
1518
  .canopy-interstitial__nav-btn {
1519
+ display: inline-flex;
1520
+ align-items: center;
1521
+ justify-content: center;
1522
+ gap: 0.35rem;
1523
+ padding: 0.25rem 0.75rem;
1524
+ border: 1px solid currentColor;
1525
+ color: inherit;
1526
+ font: inherit;
1527
+ text-decoration: none;
1528
+ cursor: pointer;
1529
+ line-height: 1.4;
1530
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1477
1531
  position: absolute;
1478
1532
  top: 50%;
1479
1533
  transform: translateY(-50%);
1480
1534
  width: 2.618rem !important;
1481
1535
  height: 2.618rem !important;
1482
- border-radius: 9999px;
1483
- cursor: pointer;
1484
- display: inline-flex;
1485
- align-items: center;
1486
- justify-content: center;
1487
- transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
1488
- stroke: var(--color-accent-default) !important;
1489
- color: var(--color-accent-default) !important;
1536
+ color: var(--color-gray-50) !important;
1537
+ background-color: var(--color-accent-default) !important;
1490
1538
  pointer-events: auto;
1539
+ border: none;
1491
1540
  }
1492
1541
  .canopy-interstitial__nav-btn::after {
1493
1542
  content: none;
@@ -1497,13 +1546,13 @@ section[data-footnotes] ul li,
1497
1546
  display: block;
1498
1547
  width: 1rem;
1499
1548
  height: 1rem;
1500
- stroke: var(--color-accent-default);
1549
+ stroke: var(--color-gray-50);
1501
1550
  }
1502
1551
  .canopy-interstitial__nav-btn--prev {
1503
- left: 1.5rem;
1552
+ left: 0 !important;
1504
1553
  }
1505
1554
  .canopy-interstitial__nav-btn--next {
1506
- right: 1.5rem;
1555
+ right: 0 !important;
1507
1556
  }
1508
1557
  .canopy-interstitial__pagination {
1509
1558
  position: absolute;
@@ -1518,7 +1567,6 @@ section[data-footnotes] ul li,
1518
1567
  display: inline-block;
1519
1568
  width: 0.45rem;
1520
1569
  height: 0.45rem;
1521
- border-radius: 9999px;
1522
1570
  background-color: var(--hero-dot-bg);
1523
1571
  opacity: 1;
1524
1572
  transition: transform 0.2s ease, background-color 0.2s ease;
@@ -1563,9 +1611,7 @@ section[data-footnotes] ul li,
1563
1611
  width: 100%;
1564
1612
  height: var(--canopy-iiif-image-height);
1565
1613
  background-color: var(--canopy-iiif-image-bg);
1566
- border-radius: 0.5rem;
1567
1614
  overflow: hidden;
1568
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
1569
1615
  }
1570
1616
  .canopy-iiif-image__placeholder > script {
1571
1617
  display: none;
@@ -1635,12 +1681,9 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1635
1681
  color: inherit;
1636
1682
  border: 1px solid var(--color-gray-200);
1637
1683
  overflow: hidden;
1638
- border-radius: 0.5rem;
1639
1684
  transition: all 150ms cubic-bezier(0.22, 1, 0.36, 1);
1640
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
1641
1685
  }
1642
1686
  .canopy-slider figure > div {
1643
- border-radius: 3px;
1644
1687
  overflow: hidden;
1645
1688
  }
1646
1689
  .canopy-slider figcaption {
@@ -1711,11 +1754,9 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1711
1754
  --storiiies-viewer-row-gap: 0.618rem;
1712
1755
  --storiiies-viewer-button-bg: var(--color-accent-default);
1713
1756
  --storiiies-viewer-button-fg: var(--color-gray-50);
1714
- border-radius: 0.5rem;
1715
1757
  position: relative;
1716
1758
  display: block;
1717
1759
  overflow: hidden;
1718
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.0509803922);
1719
1760
  }
1720
1761
  .canopy-image-story.storiiies-viewer .storiiies-viewer__info-text {
1721
1762
  margin-top: 1.618rem;
@@ -1736,8 +1777,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1736
1777
  color: var(--color-gray-900);
1737
1778
  }
1738
1779
  .canopy-image-story.storiiies-viewer .storiiies-viewer__info-area {
1739
- border-radius: 0.5rem;
1740
- box-shadow: 5px 5px 21px rgba(0, 0, 0, 0.0666666667);
1741
1780
  font-weight: 300;
1742
1781
  }
1743
1782
  .canopy-image-story.storiiies-viewer[data-canopy-image-story] {
@@ -1749,7 +1788,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1749
1788
  --search-form-label-padding-y: 0.625rem;
1750
1789
  position: relative;
1751
1790
  backdrop-filter: blur(12px);
1752
- transition: box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;
1791
+ transition: background-color var(--duration-fast) ease;
1753
1792
  background-color: var(--color-gray-50);
1754
1793
  cursor: text;
1755
1794
  padding-right: 0.4rem;
@@ -1769,9 +1808,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1769
1808
  text-overflow: ellipsis;
1770
1809
  transition: opacity var(--duration-fast) ease;
1771
1810
  }
1772
- .canopy-search-form-shell:hover {
1773
- box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06));
1774
- }
1775
1811
  .canopy-search-form-shell svg {
1776
1812
  width: 1.25rem;
1777
1813
  height: 1.25rem;
@@ -1784,8 +1820,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1784
1820
  width: 100%;
1785
1821
  border: 0;
1786
1822
  outline: none;
1787
- background: transparent;
1788
- box-shadow: none;
1789
1823
  caret-color: transparent;
1790
1824
  transition: opacity var(--duration-fast) ease;
1791
1825
  }
@@ -1809,14 +1843,11 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1809
1843
  align-items: center;
1810
1844
  gap: 0.5rem;
1811
1845
  border: 1px solid var(--color-gray-200);
1812
- border-radius: 0.75rem;
1813
1846
  color: var(--color-gray-muted);
1814
- box-shadow: var(--shadow-sm);
1815
- transition: border-color var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard), background-color var(--duration-fast) var(--easing-standard);
1847
+ transition: border-color var(--duration-fast) var(--easing-standard), background-color var(--duration-fast) var(--easing-standard);
1816
1848
  }
1817
1849
  .canopy-search-form:focus-within {
1818
1850
  border-color: var(--color-accent-500);
1819
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent-500) 45%, transparent), var(--shadow-sm);
1820
1851
  }
1821
1852
  .canopy-search-form:focus-within .canopy-search-form__icon {
1822
1853
  color: var(--color-accent-500);
@@ -1836,17 +1867,25 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1836
1867
  }
1837
1868
 
1838
1869
  .canopy-search-form__clear {
1839
- border: 0;
1840
- background: transparent;
1870
+ display: inline-flex;
1871
+ align-items: center;
1872
+ justify-content: center;
1873
+ gap: 0.35rem;
1874
+ padding: 0.25rem 0.25rem;
1875
+ border: 1px solid currentColor;
1876
+ color: inherit;
1877
+ font: inherit;
1878
+ text-decoration: none;
1879
+ cursor: pointer;
1880
+ line-height: 1.4;
1881
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1882
+ border: none;
1883
+ background: none;
1841
1884
  color: rgba(100, 116, 139, 0.9);
1842
1885
  font-size: 1.25rem;
1843
1886
  line-height: 1;
1844
1887
  padding: 0 0.25rem;
1845
1888
  margin-right: 0.25rem;
1846
- display: inline-flex;
1847
- align-items: center;
1848
- justify-content: center;
1849
- cursor: pointer;
1850
1889
  transition: color var(--duration-fast) var(--easing-standard);
1851
1890
  }
1852
1891
  .canopy-search-form__clear:hover, .canopy-search-form__clear:focus-visible {
@@ -1854,8 +1893,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1854
1893
  }
1855
1894
  .canopy-search-form__clear:focus-visible {
1856
1895
  outline: none;
1857
- box-shadow: 0 0 0 2px var(--color-gray-100), 0 0 0 4px color-mix(in srgb, var(--color-accent-800) 65%, transparent);
1858
- border-radius: 999px;
1859
1896
  }
1860
1897
 
1861
1898
  .canopy-search-form__input {
@@ -1864,7 +1901,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1864
1901
  padding: 0.125rem 0;
1865
1902
  font-size: var(--font-size-base);
1866
1903
  line-height: var(--line-height-base);
1867
- background: transparent;
1868
1904
  border: 0;
1869
1905
  color: inherit;
1870
1906
  outline: none;
@@ -1877,25 +1913,28 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1877
1913
  .canopy-search-form__submit {
1878
1914
  display: inline-flex;
1879
1915
  align-items: center;
1880
- gap: 0.382rem;
1881
- border-radius: 0.382rem;
1916
+ justify-content: center;
1917
+ gap: 0.35rem;
1918
+ padding: 0.382rem 0.618rem;
1919
+ border: 1px solid currentColor;
1920
+ color: inherit;
1921
+ font: inherit;
1922
+ text-decoration: none;
1923
+ cursor: pointer;
1924
+ line-height: 1.4;
1925
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1882
1926
  margin-right: 1px;
1883
- border: 0;
1927
+ border-color: var(--color-accent-default);
1884
1928
  background: var(--color-accent-default);
1885
1929
  color: var(--color-accent-50);
1886
- font-weight: 300;
1887
- font-size: 1rem;
1888
- padding: 0.382rem 0.618rem;
1930
+ gap: 0.382rem;
1889
1931
  transition: background-color var(--duration-fast) var(--easing-standard), transform var(--duration-fast) var(--easing-standard);
1890
- cursor: pointer;
1891
1932
  }
1892
1933
  .canopy-search-form__submit:hover, .canopy-search-form__submit:focus-visible {
1893
1934
  background: var(--color-accent-800);
1894
- box-shadow: var(--shadow-md);
1895
1935
  }
1896
1936
  .canopy-search-form__submit:focus-visible {
1897
1937
  outline: none;
1898
- box-shadow: 0 0 0 2px var(--color-gray-100), 0 0 0 4px color-mix(in srgb, var(--color-accent-500) 65%, transparent);
1899
1938
  }
1900
1939
  .canopy-search-form__submit:active {
1901
1940
  transform: translateY(1px);
@@ -1925,31 +1964,46 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1925
1964
  margin-bottom: 1rem;
1926
1965
  }
1927
1966
  .canopy-search-tabs button {
1928
- background: none;
1929
- border: none;
1967
+ display: inline-flex;
1968
+ align-items: center;
1969
+ justify-content: center;
1970
+ gap: 0.35rem;
1930
1971
  padding: 0.382rem 0.618rem;
1931
- font-size: 1rem;
1972
+ border: 1px solid currentColor;
1973
+ color: inherit;
1974
+ font: inherit;
1975
+ text-decoration: none;
1932
1976
  cursor: pointer;
1977
+ line-height: 1.4;
1978
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1979
+ border: none;
1980
+ font-size: 1rem;
1933
1981
  color: var(--color-gray-muted);
1934
1982
  transition: all 0.2s ease-in-out;
1935
1983
  }
1936
1984
  .canopy-search-tabs button.active, .canopy-search-tabs button:hover {
1937
1985
  color: var(--color-accent-default);
1938
1986
  background-color: var(--color-accent-100);
1939
- border-radius: 0.382rem;
1940
1987
  font-weight: 400;
1941
1988
  }
1942
1989
 
1943
1990
  .canopy-search-form-modal .canopy-search-form-modal__trigger {
1944
1991
  display: inline-flex;
1945
1992
  align-items: center;
1946
- gap: 0.25rem;
1993
+ justify-content: center;
1994
+ gap: 0.35rem;
1947
1995
  padding: 0.25rem 0.5rem;
1948
- border: 1px solid var(--color-gray-200);
1996
+ border: 1px solid currentColor;
1997
+ color: inherit;
1998
+ font: inherit;
1999
+ text-decoration: none;
2000
+ cursor: pointer;
2001
+ line-height: 1.4;
2002
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2003
+ gap: 0.25rem;
2004
+ border-color: var(--color-gray-200);
1949
2005
  color: var(--color-gray-muted);
1950
2006
  background: var(--color-gray-100);
1951
- border-radius: 6px;
1952
- cursor: pointer;
1953
2007
  }
1954
2008
  .canopy-search-form-modal .canopy-search-form-modal__overlay {
1955
2009
  position: fixed;
@@ -1967,20 +2021,28 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1967
2021
  min-width: 320px;
1968
2022
  max-width: 720px;
1969
2023
  width: 90%;
1970
- border-radius: 8px;
1971
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
1972
2024
  overflow: hidden;
1973
2025
  font-family: var(--canopy-font-sans, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
1974
2026
  }
1975
2027
  .canopy-search-form-modal .canopy-search-form-modal__close {
2028
+ display: inline-flex;
2029
+ align-items: center;
2030
+ justify-content: center;
2031
+ gap: 0.35rem;
2032
+ padding: 0.125rem 0.5rem;
2033
+ border: 1px solid currentColor;
2034
+ color: inherit;
2035
+ font: inherit;
2036
+ text-decoration: none;
2037
+ cursor: pointer;
2038
+ line-height: 1.4;
2039
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1976
2040
  position: absolute;
1977
2041
  top: 8px;
1978
2042
  right: 8px;
1979
- border: 1px solid var(--color-gray-200);
2043
+ border-color: var(--color-gray-200);
1980
2044
  background: var(--color-gray-100);
1981
- border-radius: 6px;
1982
2045
  padding: 2px 6px;
1983
- cursor: pointer;
1984
2046
  }
1985
2047
  .canopy-search-form-modal .canopy-search-form-modal__inputWrap {
1986
2048
  padding: 10px 12px;
@@ -1990,7 +2052,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
1990
2052
  width: 100%;
1991
2053
  padding: 8px 10px;
1992
2054
  border: 1px solid var(--color-gray-200);
1993
- border-radius: 6px;
1994
2055
  outline: none;
1995
2056
  }
1996
2057
  .canopy-search-form-modal .canopy-search-form-modal__list {
@@ -2007,7 +2068,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2007
2068
  width: 40px;
2008
2069
  height: 40px;
2009
2070
  object-fit: cover;
2010
- border-radius: 4px;
2011
2071
  }
2012
2072
  .canopy-search-form-modal .canopy-search-form-modal__title {
2013
2073
  font-size: var(--font-size-sm);
@@ -2027,8 +2087,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2027
2087
  top: calc(100% + 4px);
2028
2088
  background: var(--color-gray-50);
2029
2089
  border: 1px solid var(--color-gray-200);
2030
- border-radius: 8px;
2031
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
2032
2090
  z-index: 1000;
2033
2091
  overflow: auto;
2034
2092
  max-height: 60vh;
@@ -2055,7 +2113,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2055
2113
  align-items: center;
2056
2114
  gap: 0.618rem;
2057
2115
  padding: 0.382rem;
2058
- border-radius: 0.6rem;
2059
2116
  text-decoration: none;
2060
2117
  color: var(--color-gray-900);
2061
2118
  transition: background 120ms ease;
@@ -2068,7 +2125,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2068
2125
  .canopy-search-teaser__thumb {
2069
2126
  flex: 0 0 48px;
2070
2127
  height: 48px;
2071
- border-radius: 0.5rem;
2072
2128
  overflow: hidden;
2073
2129
  background: var(--color-gray-100);
2074
2130
  display: flex;
@@ -2144,7 +2200,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2144
2200
  }
2145
2201
  .canopy-search-filters__facet {
2146
2202
  border: 1px solid var(--color-gray-200);
2147
- border-radius: 0.75rem;
2148
2203
  background: var(--color-gray-50);
2149
2204
  overflow: hidden;
2150
2205
  }
@@ -2183,20 +2238,17 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2183
2238
  .canopy-search-filters__quick-input {
2184
2239
  flex: 1;
2185
2240
  min-width: 0;
2186
- border-radius: 0.5rem;
2187
2241
  border: 1px solid var(--color-gray-300);
2188
2242
  padding: 0.375rem 0.75rem;
2189
2243
  font-size: var(--font-size-sm);
2190
2244
  color: var(--color-gray-muted);
2191
- transition: border-color var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard);
2245
+ transition: border-color var(--duration-fast) var(--easing-standard);
2192
2246
  }
2193
2247
  .canopy-search-filters__quick-input:focus {
2194
2248
  outline: none;
2195
2249
  border-color: var(--color-accent-500);
2196
- box-shadow: 0 0 0 1px var(--color-accent-500);
2197
2250
  }
2198
2251
  .canopy-search-filters__quick-clear {
2199
- border-radius: 0.375rem;
2200
2252
  border: 1px solid var(--color-gray-200);
2201
2253
  padding: 0.25rem 0.5rem;
2202
2254
  font-size: var(--font-size-xs);
@@ -2227,7 +2279,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2227
2279
  margin-top: 0.25rem;
2228
2280
  width: 1rem;
2229
2281
  height: 1rem;
2230
- border-radius: 0.375rem;
2231
2282
  border: 1px solid var(--color-gray-300);
2232
2283
  color: var(--color-accent-500);
2233
2284
  accent-color: var(--color-accent-500);
@@ -2257,15 +2308,22 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2257
2308
  gap: 0.75rem;
2258
2309
  }
2259
2310
  .canopy-search-filters__button {
2260
- border-radius: 9999px;
2311
+ display: inline-flex;
2312
+ align-items: center;
2313
+ justify-content: center;
2314
+ gap: 0.35rem;
2261
2315
  padding: 0.5rem 1.25rem;
2262
- font-size: var(--font-size-sm);
2316
+ border: 1px solid currentColor;
2317
+ color: inherit;
2318
+ font: inherit;
2319
+ text-decoration: none;
2263
2320
  cursor: pointer;
2264
- transition: background-color var(--duration-fast) var(--easing-standard), color var(--duration-fast) var(--easing-standard);
2321
+ line-height: 1.4;
2322
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2323
+ font-size: var(--font-size-sm);
2265
2324
  }
2266
2325
  .canopy-search-filters__button--secondary {
2267
2326
  border: 1px solid var(--color-gray-300);
2268
- background: transparent;
2269
2327
  color: var(--color-gray-muted);
2270
2328
  }
2271
2329
  .canopy-search-filters__button--secondary:hover,
@@ -2313,14 +2371,24 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2313
2371
  }
2314
2372
 
2315
2373
  .canopy-search-tab {
2374
+ display: inline-flex;
2375
+ align-items: center;
2376
+ justify-content: center;
2377
+ gap: 0.35rem;
2378
+ padding: 0.25rem 0.75rem;
2379
+ border: 1px solid currentColor;
2380
+ color: inherit;
2381
+ font: inherit;
2382
+ text-decoration: none;
2383
+ cursor: pointer;
2384
+ line-height: 1.4;
2385
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2316
2386
  position: relative;
2317
2387
  border: none;
2318
- background: transparent;
2319
- padding: 0.25rem 0.75rem 0.5rem;
2388
+ padding-bottom: 0.5rem;
2320
2389
  font-size: 0.875rem;
2321
2390
  font-weight: 500;
2322
2391
  color: var(--color-gray-muted);
2323
- cursor: pointer;
2324
2392
  }
2325
2393
 
2326
2394
  .canopy-search-tab.is-active {
@@ -2332,7 +2400,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2332
2400
  bottom: -3px;
2333
2401
  left: 0;
2334
2402
  height: 3px; /* underline */
2335
- border-radius: 999px;
2336
2403
  background: var(--color-accent-default);
2337
2404
  pointer-events: none;
2338
2405
  opacity: 0;
@@ -2450,7 +2517,7 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2450
2517
  display: flex;
2451
2518
  flex-direction: column;
2452
2519
  gap: 0.618rem;
2453
- transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, padding 150ms ease;
2520
+ transition: background-color 150ms ease, border-color 150ms ease, padding 150ms ease;
2454
2521
  color: var(--color-gray-muted);
2455
2522
  }
2456
2523
 
@@ -2458,7 +2525,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2458
2525
  padding: 0.25rem;
2459
2526
  border-color: transparent;
2460
2527
  background: none;
2461
- box-shadow: none;
2462
2528
  }
2463
2529
 
2464
2530
  .canopy-content-navigation--floating {
@@ -2473,16 +2539,21 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2473
2539
  }
2474
2540
 
2475
2541
  .canopy-content-navigation__toggle {
2476
- align-self: flex-end;
2477
2542
  display: inline-flex;
2478
2543
  align-items: center;
2479
2544
  justify-content: center;
2480
- color: color-mix(in srgb, var(--color-gray-900) 92%, transparent);
2481
- font-size: 1rem;
2482
- font-weight: 500;
2545
+ gap: 0.35rem;
2546
+ padding: 0.35rem 0.75rem;
2547
+ border: 1px solid currentColor;
2548
+ color: inherit;
2549
+ font: inherit;
2550
+ text-decoration: none;
2483
2551
  cursor: pointer;
2484
- line-height: 1.2;
2485
- transition: color 150ms ease;
2552
+ line-height: 1.4;
2553
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2554
+ align-self: flex-end;
2555
+ color: color-mix(in srgb, var(--color-gray-900) 92%, transparent);
2556
+ border: none;
2486
2557
  }
2487
2558
 
2488
2559
  .canopy-content-navigation__toggle:hover,
@@ -2572,7 +2643,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2572
2643
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
2573
2644
  }
2574
2645
  .canopy-diagram__grid article {
2575
- border-radius: 1.25rem;
2576
2646
  background: linear-gradient(173deg, transparent 0%, var(--color-accent-200) 100%);
2577
2647
  padding: 1rem 1.618rem;
2578
2648
  }
@@ -2720,13 +2790,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2720
2790
  pointer-events: none;
2721
2791
  z-index: 1;
2722
2792
  }
2723
- .canopy-timeline__step--start .canopy-timeline__step-line {
2724
- background: transparent;
2725
- }
2726
- .canopy-timeline__step--end .canopy-timeline__step-line {
2727
- background: transparent;
2728
- }
2729
-
2730
2793
  .canopy-timeline__step-line {
2731
2794
  width: 1.5rem;
2732
2795
  height: 0.125rem;
@@ -2767,12 +2830,10 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2767
2830
  .canopy-timeline__point,
2768
2831
  .canopy-timeline__group {
2769
2832
  width: min(100%, 28rem);
2770
- border-radius: 1.25rem;
2771
2833
  border: 1px solid var(--color-gray-200);
2772
2834
  background: var(--color-gray-50);
2773
2835
  padding: 1rem 1.25rem;
2774
- box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
2775
- transition: border-color 150ms ease, box-shadow 150ms ease;
2836
+ transition: border-color 150ms ease;
2776
2837
  display: flex;
2777
2838
  flex-direction: column;
2778
2839
  }
@@ -2811,14 +2872,12 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2811
2872
  .canopy-timeline__connector-line {
2812
2873
  width: clamp(2.618rem, 6vw, 2.618rem);
2813
2874
  height: 0.125rem;
2814
- border-radius: 999px;
2815
2875
  background: var(--color-accent-default);
2816
2876
  }
2817
2877
 
2818
2878
  .canopy-timeline__connector-dot {
2819
2879
  width: 0.618rem;
2820
2880
  height: 0.618rem;
2821
- border-radius: 50%;
2822
2881
  background: var(--color-accent-default);
2823
2882
  border: 2px solid var(--color-accent-default);
2824
2883
  }
@@ -2860,12 +2919,22 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2860
2919
  }
2861
2920
 
2862
2921
  .canopy-timeline__group-toggle {
2922
+ display: inline-flex;
2923
+ align-items: center;
2924
+ justify-content: center;
2925
+ gap: 0.35rem;
2926
+ padding: 0.25rem 0.5rem;
2927
+ border: 1px solid currentColor;
2928
+ color: inherit;
2929
+ font: inherit;
2930
+ text-decoration: none;
2931
+ cursor: pointer;
2932
+ line-height: 1.4;
2933
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2863
2934
  font-size: 1rem;
2864
- background: transparent;
2865
2935
  border: none;
2866
2936
  color: var(--color-accent-default);
2867
2937
  font-weight: 500;
2868
- cursor: pointer;
2869
2938
  }
2870
2939
 
2871
2940
  .canopy-timeline__group-points {
@@ -2876,13 +2945,22 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2876
2945
  }
2877
2946
 
2878
2947
  .canopy-timeline__group-point {
2948
+ display: inline-flex;
2949
+ align-items: center;
2950
+ justify-content: center;
2951
+ gap: 0.35rem;
2952
+ padding: 0.75rem 1rem;
2953
+ border: 1px solid currentColor;
2954
+ color: inherit;
2955
+ font: inherit;
2956
+ text-decoration: none;
2957
+ cursor: pointer;
2958
+ line-height: 1.4;
2959
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
2879
2960
  width: 100%;
2880
- border-radius: 0.85rem;
2881
- border: 1px solid var(--color-gray-200);
2961
+ border-color: var(--color-gray-200);
2882
2962
  background: color-mix(in srgb, var(--color-gray-50) 70%, #fff);
2883
- padding: 0.75rem 1rem;
2884
2963
  text-align: left;
2885
- cursor: pointer;
2886
2964
  }
2887
2965
 
2888
2966
  .canopy-timeline__group-point.is-active {
@@ -2930,7 +3008,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2930
3008
  position: relative;
2931
3009
  width: 100%;
2932
3010
  min-height: 320px;
2933
- border-radius: 0.5rem;
2934
3011
  overflow: hidden;
2935
3012
  background-color: var(--color-gray-100);
2936
3013
  z-index: 0;
@@ -2972,12 +3049,10 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
2972
3049
  max-width: 320px;
2973
3050
  z-index: 4;
2974
3051
  padding: 0.5rem 0.75rem;
2975
- border-radius: 999px;
2976
3052
  background-color: rgba(15, 23, 42, 0.85);
2977
3053
  color: var(--color-gray-50);
2978
3054
  font-size: 0.875rem;
2979
3055
  line-height: 1.25rem;
2980
- box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
2981
3056
  pointer-events: auto;
2982
3057
  }
2983
3058
  .canopy-map__key {
@@ -3006,7 +3081,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3006
3081
  .canopy-map__key-dot {
3007
3082
  width: 12px;
3008
3083
  height: 12px;
3009
- border-radius: 999px;
3010
3084
  background-color: var(--color-accent-default);
3011
3085
  flex-shrink: 0;
3012
3086
  }
@@ -3021,7 +3095,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3021
3095
  }
3022
3096
  .canopy-map__popup-media {
3023
3097
  width: 100%;
3024
- border-radius: 0.25rem;
3025
3098
  overflow: hidden;
3026
3099
  }
3027
3100
  .canopy-map__popup-media img {
@@ -3094,7 +3167,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3094
3167
  color: var(--color-gray-muted);
3095
3168
  }
3096
3169
  .canopy-map .leaflet-marker-icon.canopy-map__marker {
3097
- background: transparent;
3098
3170
  border: none;
3099
3171
  width: auto;
3100
3172
  height: auto;
@@ -3109,8 +3181,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3109
3181
  .canopy-map__marker-thumb, .canopy-map__marker-solid {
3110
3182
  width: 40px;
3111
3183
  height: 40px;
3112
- border-radius: 999px;
3113
- box-shadow: 0 4px 10px rgba(15, 23, 42, 0.35);
3114
3184
  overflow: hidden;
3115
3185
  display: flex;
3116
3186
  align-items: center;
@@ -3134,7 +3204,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3134
3204
  background: var(--color-accent-600);
3135
3205
  }
3136
3206
  .canopy-map__marker--label {
3137
- background: transparent;
3138
3207
  border: none;
3139
3208
  }
3140
3209
  .canopy-map__marker--label.is-hovered .canopy-map__marker-label {
@@ -3143,9 +3212,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3143
3212
  .canopy-map__marker--label.is-hovered .canopy-map__marker-label-text {
3144
3213
  opacity: 1;
3145
3214
  }
3146
- .canopy-map__marker--label.is-hovered .canopy-map__marker-label-text {
3147
- box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
3148
- }
3149
3215
  .canopy-map__marker-label {
3150
3216
  display: inline-flex;
3151
3217
  align-items: center;
@@ -3155,13 +3221,11 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3155
3221
  background: rgba(255, 255, 255, 0.8666666667);
3156
3222
  white-space: nowrap;
3157
3223
  position: relative;
3158
- border-radius: 999px;
3159
3224
  padding-left: 4px;
3160
3225
  }
3161
3226
  .canopy-map__marker-label-dot {
3162
3227
  width: 12px;
3163
3228
  height: 12px;
3164
- border-radius: 999px;
3165
3229
  background-color: var(--color-accent-default);
3166
3230
  flex-shrink: 0;
3167
3231
  cursor: default;
@@ -3183,13 +3247,11 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3183
3247
  font-weight: 500;
3184
3248
  width: 40px;
3185
3249
  height: 40px;
3186
- border-radius: 999px;
3187
3250
  background: var(--color-gray-default);
3188
3251
  color: var(--color-gray-50);
3189
3252
  display: flex;
3190
3253
  align-items: center;
3191
3254
  justify-content: center;
3192
- box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
3193
3255
  box-sizing: content-box;
3194
3256
  }
3195
3257
 
@@ -3242,8 +3304,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3242
3304
  height: 100%;
3243
3305
  padding: clamp(0.75rem, 1vw, 1rem);
3244
3306
  border: 1px solid var(--color-gray-200);
3245
- border-radius: var(--canopy-gallery-radius, 1rem);
3246
- box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
3247
3307
  }
3248
3308
  .canopy-gallery__item:focus-within {
3249
3309
  outline: 2px solid var(--color-accent-default, #3b82f6);
@@ -3253,7 +3313,6 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3253
3313
  position: relative;
3254
3314
  aspect-ratio: 1/1;
3255
3315
  overflow: hidden;
3256
- border-radius: calc(var(--canopy-gallery-radius, 1rem) - 0.25rem);
3257
3316
  background: var(--color-gray-100);
3258
3317
  }
3259
3318
  .canopy-gallery__media img,
@@ -3310,12 +3369,10 @@ html.dark .clover-iiif-image-openseadragon .clover-iiif-image-openseadragon-anno
3310
3369
  .canopy-gallery__trigger {
3311
3370
  position: absolute;
3312
3371
  inset: 0;
3313
- border-radius: inherit;
3314
3372
  text-decoration: none;
3315
3373
  border: 0;
3316
3374
  z-index: 2;
3317
3375
  color: inherit;
3318
- background: transparent;
3319
3376
  }
3320
3377
 
3321
3378
  .canopy-gallery__modals {
@@ -3439,8 +3496,6 @@ body[data-canopy-gallery-locked="1"] {
3439
3496
  width: min(960px, 100% - clamp(2rem, 4vw, 4rem));
3440
3497
  height: auto;
3441
3498
  max-height: min(90vh, 960px);
3442
- border-radius: 0.75rem;
3443
- box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
3444
3499
  }
3445
3500
 
3446
3501
  .canopy-gallery--popup-full .canopy-gallery__modal-scrim {
@@ -3466,7 +3521,6 @@ body[data-canopy-gallery-locked="1"] {
3466
3521
  }
3467
3522
  .canopy-gallery__nav-viewport::-webkit-scrollbar-thumb {
3468
3523
  background-color: rgba(15, 23, 42, 0.2);
3469
- border-radius: 0.5rem;
3470
3524
  }
3471
3525
  .canopy-gallery__nav-list {
3472
3526
  margin: 0;
@@ -3488,7 +3542,6 @@ body[data-canopy-gallery-locked="1"] {
3488
3542
  display: inline-flex;
3489
3543
  flex-direction: column;
3490
3544
  text-decoration: none;
3491
- border-radius: 0.75rem;
3492
3545
  background: var(--color-gray-50);
3493
3546
  color: inherit;
3494
3547
  width: 100%;
@@ -3507,7 +3560,6 @@ body[data-canopy-gallery-locked="1"] {
3507
3560
  .canopy-gallery__nav-thumb {
3508
3561
  width: 100%;
3509
3562
  aspect-ratio: 1/1;
3510
- border-radius: 0.5rem;
3511
3563
  overflow: hidden;
3512
3564
  padding: 1px;
3513
3565
  outline: 3px solid var(--color-gray-50);
@@ -3522,16 +3574,25 @@ body[data-canopy-gallery-locked="1"] {
3522
3574
  display: block;
3523
3575
  opacity: 1;
3524
3576
  transition: all 0.2s ease;
3525
- border-radius: 0.5rem;
3526
3577
  }
3527
3578
  .canopy-gallery__nav-button {
3579
+ display: inline-flex;
3580
+ align-items: center;
3581
+ justify-content: center;
3582
+ gap: 0.35rem;
3583
+ padding: 0.25rem 0.75rem;
3584
+ border: 1px solid currentColor;
3585
+ color: inherit;
3586
+ font: inherit;
3587
+ text-decoration: none;
3588
+ cursor: pointer;
3589
+ line-height: 1.4;
3590
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
3528
3591
  flex: 0 0 auto;
3529
3592
  width: 5rem;
3530
3593
  height: 100%;
3531
3594
  color: var(--color-gray-900);
3532
3595
  font-size: 1.25rem;
3533
- font-weight: 500;
3534
- cursor: pointer;
3535
3596
  display: none;
3536
3597
  align-items: center;
3537
3598
  justify-content: center;
@@ -3539,6 +3600,7 @@ body[data-canopy-gallery-locked="1"] {
3539
3600
  top: 50%;
3540
3601
  transform: translateY(-50%);
3541
3602
  z-index: 5;
3603
+ border: none;
3542
3604
  background: linear-gradient(to right, transparent, transparent);
3543
3605
  }
3544
3606
  .canopy-gallery__nav-button--prev {