From e70731543cd31c3d8afdfc701e8c1f24dfe43ccb Mon Sep 17 00:00:00 2001
From: Jonathan Miller
Date: Sat, 18 Apr 2026 13:38:27 -0500
Subject: [PATCH] Offline bg: use header background when no offline_image. Bump
03.09.22
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)
---
README.md | 2 +-
src/joomla.asset.json | 2 +-
src/media/css/offline.css | 13 +++++++------
src/templateDetails.xml | 4 ++--
updates.xml | 26 +++++++++++++-------------
5 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/README.md b/README.md
index d88eb4d..a0fcd85 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
INGROUP: MokoCassiopeia.Documentation
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia
FILE: ./README.md
- VERSION: 03.09.21
+ VERSION: 03.09.22
BRIEF: Documentation for MokoCassiopeia template
-->
diff --git a/src/joomla.asset.json b/src/joomla.asset.json
index 0d403ba..3cf36cb 100644
--- a/src/joomla.asset.json
+++ b/src/joomla.asset.json
@@ -17,7 +17,7 @@
"defgroup": "Joomla.Template.Site",
"ingroup": "MokoCassiopeia.Template.Assets",
"path": "./media/templates/site/mokocassiopeia/joomla.asset.json",
- "version": "03.09.21",
+ "version": "03.09.22",
"brief": "Joomla asset registry for MokoCassiopeia"
}
},
diff --git a/src/media/css/offline.css b/src/media/css/offline.css
index c48650d..14ee0e3 100644
--- a/src/media/css/offline.css
+++ b/src/media/css/offline.css
@@ -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 === */
diff --git a/src/templateDetails.xml b/src/templateDetails.xml
index 34ecd52..44da9e8 100644
--- a/src/templateDetails.xml
+++ b/src/templateDetails.xml
@@ -39,13 +39,13 @@
MokoCassiopeia
- 03.09.21
+ 03.09.22
script.php
2026-04-15
Jonathan Miller || Moko Consulting
hello@mokoconsulting.tech
(C)GNU General Public License Version 3 - 2026 Moko Consulting
-

MokoCassiopeia Template Description
MokoCassiopeia continues Joomla's tradition of space-themed default templates— building on the legacy of Solarflare (Joomla 1.0), Milkyway (Joomla 1.5), and Protostar (Joomla 3.0).
This template is a customized fork of the Cassiopeia template introduced in Joomla 4, preserving its modern, accessible, and mobile-first foundation while introducing new stylistic enhancements and structural refinements specifically tailored for use by Moko Consulting.
Custom Colour Themes
Starter palette files are included with the template. To create a custom colour scheme, copy templates/mokocassiopeia/templates/light.custom.css to media/templates/site/mokocassiopeia/css/theme/light.custom.css, or templates/mokocassiopeia/templates/dark.custom.css to media/templates/site/mokocassiopeia/css/theme/dark.custom.css. Customise the CSS variables to match your brand, then activate your palette in System → Site Templates → MokoCassiopeia → Theme tab by selecting "Custom" for the Light or Dark Mode Palette. A full variable reference is available in the CSS Variables tab in template options.
Custom CSS & JavaScript
For site-specific styles and scripts that should survive template updates, create the following files:
media/templates/site/mokocassiopeia/css/user.css — loaded on every page for custom CSS overrides. media/templates/site/mokocassiopeia/js/user.js — loaded on every page for custom JavaScript.
These files are gitignored and will not be overwritten by template updates.
Code Attribution
This template is based on the original Cassiopeia template developed by the Joomla! Project and released under the GNU General Public License.
Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.
It includes integration with Bootstrap TOC, an open-source table of contents generator by A. Feld, licensed under the MIT License.
All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.
]]>
+
MokoCassiopeia Template Description
MokoCassiopeia continues Joomla's tradition of space-themed default templates— building on the legacy of Solarflare (Joomla 1.0), Milkyway (Joomla 1.5), and Protostar (Joomla 3.0).
This template is a customized fork of the Cassiopeia template introduced in Joomla 4, preserving its modern, accessible, and mobile-first foundation while introducing new stylistic enhancements and structural refinements specifically tailored for use by Moko Consulting.
Custom Colour Themes
Starter palette files are included with the template. To create a custom colour scheme, copy templates/mokocassiopeia/templates/light.custom.css to media/templates/site/mokocassiopeia/css/theme/light.custom.css, or templates/mokocassiopeia/templates/dark.custom.css to media/templates/site/mokocassiopeia/css/theme/dark.custom.css. Customise the CSS variables to match your brand, then activate your palette in System → Site Templates → MokoCassiopeia → Theme tab by selecting "Custom" for the Light or Dark Mode Palette. A full variable reference is available in the CSS Variables tab in template options.
Custom CSS & JavaScript
For site-specific styles and scripts that should survive template updates, create the following files:
media/templates/site/mokocassiopeia/css/user.css — loaded on every page for custom CSS overrides. media/templates/site/mokocassiopeia/js/user.js — loaded on every page for custom JavaScript.
These files are gitignored and will not be overwritten by template updates.
Code Attribution
This template is based on the original Cassiopeia template developed by the Joomla! Project and released under the GNU General Public License.
Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.
It includes integration with Bootstrap TOC, an open-source table of contents generator by A. Feld, licensed under the MIT License.
All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.
]]>
1
component.php
diff --git a/updates.xml b/updates.xml
index 145166c..89d066f 100644
--- a/updates.xml
+++ b/updates.xml
@@ -1,7 +1,7 @@
@@ -13,11 +13,11 @@
mokocassiopeia
template
site
- 03.09.21
+ 03.09.22
2026-04-18
https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/tag/development
- https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/development/mokocassiopeia-03.09.21-dev.zip
+ https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/development/mokocassiopeia-03.09.22-dev.zip
b5be8fd0e46a9aa1c4b05a267e578a64b21136faa545a149699fdecfd87f8bcc
development
@@ -34,11 +34,11 @@
mokocassiopeia
template
site
- 03.09.21
+ 03.09.22
2026-04-14
https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/tag/alpha
- https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/alpha/mokocassiopeia-03.09.21-alpha.zip
+ https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/alpha/mokocassiopeia-03.09.22-alpha.zip
c2660acdf7389244462485f7ab4c286e9f851366a148acc16739a184576f7932
alpha
@@ -55,11 +55,11 @@
mokocassiopeia
template
site
- 03.09.21
+ 03.09.22
2026-04-14
https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/tag/beta
- https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/beta/mokocassiopeia-03.09.21-beta.zip
+ https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/beta/mokocassiopeia-03.09.22-beta.zip
4cbe4fc379182ef17580396e7d12ce4ce95a90017ef364b922bdc2d04b0b3d97
beta
@@ -76,12 +76,12 @@
mokocassiopeia
template
site
- 03.09.21
+ 03.09.22
2026-04-14
https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/tag/release-candidate
- https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/release-candidate/mokocassiopeia-03.09.21-rc.zip
- https://github.com/mokoconsulting-tech/MokoCassiopeia/releases/download/release-candidate/mokocassiopeia-03.09.21-rc.zip
+ https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/release-candidate/mokocassiopeia-03.09.22-rc.zip
+ https://github.com/mokoconsulting-tech/MokoCassiopeia/releases/download/release-candidate/mokocassiopeia-03.09.22-rc.zip
c2660acdf7389244462485f7ab4c286e9f851366a148acc16739a184576f7932
rc
@@ -98,12 +98,12 @@
mokocassiopeia
template
site
- 03.09.21
+ 03.09.22
2026-04-14
https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/tag/v03
- https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/v03/mokocassiopeia-03.09.21.zip
- https://github.com/mokoconsulting-tech/MokoCassiopeia/releases/download/v03/mokocassiopeia-03.09.21.zip
+ https://git.mokoconsulting.tech/MokoConsulting/MokoCassiopeia/releases/download/v03/mokocassiopeia-03.09.22.zip
+ https://github.com/mokoconsulting-tech/MokoCassiopeia/releases/download/v03/mokocassiopeia-03.09.22.zip
c2660acdf7389244462485f7ab4c286e9f851366a148acc16739a184576f7932
stable