Skip to content

Commit

Permalink
Remove template color handling from Cassiopeia offline.php
Browse files Browse the repository at this point in the history
  • Loading branch information
richard67 committed Nov 11, 2018
1 parent 316bd2f commit c65f215
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions templates/cassiopeia/offline.php
Expand Up @@ -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]);

Expand Down

0 comments on commit c65f215

Please sign in to comment.