diff --git a/templates/cassiopeia/offline.php b/templates/cassiopeia/offline.php index 42e89c2593343..1de1ee9c75c37 100644 --- a/templates/cassiopeia/offline.php +++ b/templates/cassiopeia/offline.php @@ -31,29 +31,6 @@ HTMLHelper::_('stylesheet', 'template' . ($this->direction === 'rtl' ? '-rtl' : '') . '.css', ['version' => 'auto', 'relative' => true]); HTMLHelper::_('stylesheet', 'offline.css', ['version' => 'auto', 'relative' => true]); -// Template color -if ($this->params->get('templateColor')) -{ - $this->addStyleDeclaration(' - body.site { - border-top: 3px solid ' . $this->params->get('templateColor') . '; - background-color: ' . $this->params->get('templateBackgroundColor') . '; - } - a { - color: ' . $this->params->get('templateColor') . '; - } - .nav-list > .active > a, - .nav-list > .active > a:hover, - .dropdown-menu li > a:hover, - .dropdown-menu .active > a, - .dropdown-menu .active > a:hover, - .nav-pills > .active > a, - .nav-pills > .active > a:hover, - .btn-primary { - background: ' . $this->params->get('templateColor') . '; - }'); -} - // Check for a custom CSS file HTMLHelper::_('stylesheet', 'user.css', ['version' => 'auto', 'relative' => true]);