Offline bg: use header background when no offline_image. Bump 03.09.22
Some checks failed
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 4s
Repo Health / Scripts governance (push) Successful in 4s
Repo Health / Repository health (push) Failing after 4s
Auto-Update SHA Hash / Update SHA-256 Hash in updates.xml (release) Failing after 9s

Falls back to --color-primary + --header-background-image instead of
--body-bg, so light theme shows the branded header background.
Inline style from Joomla offline_image overrides when set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-04-18 13:38:27 -05:00
parent b7b9dfc3ad
commit e70731543c
5 changed files with 24 additions and 23 deletions

View File

@@ -16,12 +16,13 @@
padding: 2rem 1rem;
color: #fff;
font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
/* Background set inline via Joomla offline_image or fallback */
background-color: var(--body-bg, #0e1318);
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
/* Background: offline_image set inline, or fall back to header background */
background-color: var(--color-primary, #112855);
background-image: var(--header-background-image, none);
background-position: var(--header-background-position, center);
background-attachment: var(--header-background-attachment, fixed);
background-repeat: var(--header-background-repeat, repeat);
background-size: var(--header-background-size, auto);
}
/* === Centered Card Overlay === */