Template: Fix domain selector active background color.

This commit is contained in:
Nate
2020-03-18 09:44:16 -06:00
parent 0df02b95dd
commit 5382b00610
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -149,6 +149,7 @@
//domain selector row background colors //domain selector row background colors
$view->assign('domain_selector_background_color_1', $_SESSION['theme']['domain_inactive_background_color'][0] != '' ? $_SESSION['theme']['domain_inactive_background_color'][0] : '#eaedf2'); $view->assign('domain_selector_background_color_1', $_SESSION['theme']['domain_inactive_background_color'][0] != '' ? $_SESSION['theme']['domain_inactive_background_color'][0] : '#eaedf2');
$view->assign('domain_selector_background_color_2', $_SESSION['theme']['domain_inactive_background_color'][1] != '' ? $_SESSION['theme']['domain_inactive_background_color'][1] : '#ffffff'); $view->assign('domain_selector_background_color_2', $_SESSION['theme']['domain_inactive_background_color'][1] != '' ? $_SESSION['theme']['domain_inactive_background_color'][1] : '#ffffff');
$view->assign('domain_active_background_color', $_SESSION['theme']['domain_active_background_color']['text'] != '' ? $_SESSION['theme']['domain_active_background_color']['text'] : '#eeffee');
//domain list //domain list
$view->assign('domains', $_SESSION['domains']); $view->assign('domains', $_SESSION['domains']);
//domain uuid //domain uuid
-2
View File
@@ -803,8 +803,6 @@
{*//set active domain color *} {*//set active domain color *}
{if $domain_active_background_color != ''} {if $domain_active_background_color != ''}
{if $row.domain_uuid == $domain_uuid}{$background_color=$domain_active_background_color}{/if} {if $row.domain_uuid == $domain_uuid}{$background_color=$domain_active_background_color}{/if}
{else}
{if $row.domain_uuid == $domain_uuid}{$background_color='#eeffee'}{/if}
{/if} {/if}
{*//active domain text hover color *} {*//active domain text hover color *}
{if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid} {if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid}