@museumwnf/viewer-layout 3.69.0 → 3.70.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@museumwnf/viewer-layout",
3
- "version": "3.69.0",
3
+ "version": "3.70.1",
4
4
  "description": "Page structure for MWNF websites: PageShell composing seven optional, token-styled sections, the content components a page is made of, and the composed views a website names instead of writing a page.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -913,14 +913,27 @@ a { color: inherit; }
913
913
  background-color: var(--main-color);
914
914
  color: var(--main-text-color);
915
915
  }
916
+ /* The picture's name and its link to the sheet in the contrast colour, the
917
+ link underlined, as the deployed client draws them (live, and the Hijaz
918
+ demo). */
916
919
  .mwnf-dxa-theme-page__detail--title {
917
920
  font-weight: 700;
921
+ color: var(--contrast-color);
918
922
  }
919
923
  .mwnf-dxa-theme-page__entry {
920
924
  margin-top: 20px;
921
925
  font-style: italic;
922
926
  color: var(--contrast-color);
923
- text-decoration: none;
927
+ text-decoration: underline;
928
+ }
929
+ /* ThemeComponent's glossary links: underlined, the contrast colour under the
930
+ pointer. */
931
+ .mwnf-dxa-theme-page .gloss-term {
932
+ text-decoration: underline;
933
+ cursor: pointer;
934
+ }
935
+ .mwnf-dxa-theme-page .gloss-term:hover {
936
+ color: var(--contrast-color);
924
937
  }
925
938
  .mwnf-dxa-theme-page__entry:hover {
926
939
  text-decoration: underline;
@@ -2201,7 +2214,6 @@ a { color: inherit; }
2201
2214
  }
2202
2215
  .mwnf-dxa-exhibition-partners .mwnf-dxa-gallery-partners__name { font-size: 20px; }
2203
2216
  .mwnf-dxa-exhibition-partners .mwnf-dxa-partner-badge { font-size: 16px; }
2204
- .mwnf-dxa-partner-badge--institution { background: var(--mwnf-dxa-badge-institution, #006950); color: #ffffff; }
2205
2217
  @media only screen and (max-width: 74.9375rem) {
2206
2218
  .mwnf-dxa-exhibition-partners .mwnf-dxa-gallery-partners__country { font-size: 38px; }
2207
2219
  .mwnf-dxa-exhibition-partners .mwnf-dxa-gallery-partners__name { font-size: 20px; }
@@ -54,7 +54,8 @@
54
54
  --mwnf-font-heading: 'Roboto Condensed', 'mwnf-arrows', 'Roboto', Arial, sans-serif;
55
55
  --mwnf-line-height: 1.4;
56
56
  --mwnf-weight-heading: 700;
57
- --mwnf-color-text: #1a1a1a;
57
+ /* Legacy's gallery sets no text colour: the browser's black. */
58
+ --mwnf-color-text: #000000;
58
59
  --mwnf-color-background: var(--background-color);
59
60
  --mwnf-color-accent: var(--theme-dark);
60
61
  --mwnf-color-muted: #555555;
@@ -140,7 +141,8 @@
140
141
  --mwnf-banner-overlay-text: #ffffff;
141
142
  --mwnf-banner-overlay-background: color-mix(in srgb, var(--theme-dark) 60%, transparent);
142
143
  --mwnf-banner-caption-background: rgba(0, 0, 0, 0.6);
143
- --mwnf-banner-caption-text: rgba(255, 255, 255, 0.85);
144
+ /* dxa-client BannerComponent's and SubBanner's caption. */
145
+ --mwnf-banner-caption-text: rgba(255, 255, 255, 0.8);
144
146
  --mwnf-banner-section-height: 20vh;
145
147
  --mwnf-banner-section-max-height: 150px;
146
148
  --mwnf-banner-section-title-size: 190%;
@@ -402,8 +404,10 @@ a { color: inherit; }
402
404
  text-decoration: underline;
403
405
  cursor: pointer;
404
406
  }
407
+ /* Legacy's pager buttons are disabled where they lead nowhere, and the live
408
+ site draws them in the browser's own colour for a disabled button. */
405
409
  .mwnf-dxa-gallery-pages__button.is-disabled {
406
- color: #707070;
410
+ color: rgba(16, 16, 16, 0.3);
407
411
  cursor: default;
408
412
  }
409
413
  .mwnf-dxa-gallery-pages__numbers .is-disabled {
@@ -420,6 +424,7 @@ a { color: inherit; }
420
424
  .mwnf-banner--section .mwnf-banner__caption {
421
425
  margin-inline-start: auto;
422
426
  line-height: normal;
427
+ color: var(--mwnf-banner-caption-text);
423
428
  }
424
429
  /* Legacy's band is 50px at least, its 10px above and below the title's own
425
430
  (dxa-client SubBanner): with no title, the caption is centred in 50px. */
@@ -463,6 +468,7 @@ a { color: inherit; }
463
468
  line is taller). */
464
469
  .mwnf-back-link__button {
465
470
  padding: 2px 8px 2px 0;
471
+ font-weight: bold;
466
472
  }
467
473
  .mwnf-back-link__arrow {
468
474
  display: inline-block;