diff --git a/src/media/css/offline.css b/src/media/css/offline.css index 0ba09bd..e5e3008 100644 --- a/src/media/css/offline.css +++ b/src/media/css/offline.css @@ -71,8 +71,10 @@ max-height: 120px; width: auto; height: auto; - filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3)) - drop-shadow(0 0 24px rgba(255, 255, 255, 0.15)); + background: #fff; + padding: 1rem 1.5rem; + border-radius: 0.5rem; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); } .moko-offline-brand .site-title { diff --git a/src/offline.php b/src/offline.php index 148a133..6f8064f 100644 --- a/src/offline.php +++ b/src/offline.php @@ -36,6 +36,11 @@ if (is_file($manifestPath)) { $wa->getRegistry()->addRegistryFile($manifestPath); } +// Load template language files (not auto-loaded in offline context) +$lang = Factory::getLanguage(); +$lang->load('tpl_' . $this->template, JPATH_ROOT . '/templates/' . $this->template); +$lang->load('tpl_' . $this->template, JPATH_ROOT); + /* ----------------------- Load assets via WebAssetManager (matches index.php pattern) ------------------------ */ @@ -283,11 +288,6 @@ if (class_exists('\Joomla\Component\Users\Site\Helper\RouteHelper')) { - -
-