Browse Source

Staff UI colors working

tags/3.1.0
Mike Koch 2 years ago
parent
commit
550d7f5d3c
2 changed files with 9 additions and 5 deletions
  1. 3
    3
      admin/admin_settings.php
  2. 6
    2
      inc/headerAdmin.inc.php

+ 3
- 3
admin/admin_settings.php View File

@@ -3753,7 +3753,7 @@ $modsForHesk_settings = mfh_getSettings();
$('input[name="admin-sidebar-header-background-color"]').val(lightTheme ? '#f9fafc' : '#1a2226');
$('input[name="admin-sidebar-text-color"]').val(lightTheme ? '#444' : '#b8c7ce');
$('input[name="admin-sidebar-header-text-color"]').val(lightTheme ? '#848484' : '#4b646f');
$('input[name="admin-sidebar-text-hover-color"]').val(lightTheme ? '#444' : '#b8c7ce');
$('input[name="admin-sidebar-text-hover-color"]').val(lightTheme ? '#444' : '#fff');
$('input[name="admin-sidebar-background-hover-color"]').val(lightTheme ? '#f4f4f5' : '#1e282c');
$('input[name="admin-sidebar-font-weight"]').val(lightTheme ? ['bold'] : ['normal']);

@@ -3894,7 +3894,7 @@ $modsForHesk_settings = mfh_getSettings();
</label>

<div class="col-sm-5 col-xs-12">
<input type="text" id="admin-navbar-text-color" name="admin-navbar-text-color"
<input type="text" id="admin-navbar-text-hover-color" name="admin-navbar-text-hover-color"
class="form-control"
value="<?php echo $modsForHesk_settings['admin_navbar_text_hover']; ?>">
</div>
@@ -3911,7 +3911,7 @@ $modsForHesk_settings = mfh_getSettings();
</label>

<div class="col-sm-5 col-xs-12">
<input type="text" id="admin-navbar-brand-text-color" name="admin-navbar-brand-text-color"
<input type="text" id="admin-navbar-brand-text-hover-color" name="admin-navbar-brand-text-hover-color"
class="form-control"
value="<?php echo $modsForHesk_settings['admin_navbar_brand_text_hover']; ?>">
</div>

+ 6
- 2
inc/headerAdmin.inc.php View File

@@ -103,7 +103,10 @@ $modsForHesk_settings = mfh_getSettings();
}

.main-header .navbar .nav > li > a:hover,
.main-header .navbar .sidebar-toggle:hover {
.main-header .navbar .sidebar-toggle:hover,
.main-header .navbar .nav > .active > a,
.main-header .navbar .nav .open > a,
.main-header .navbar .nav > li > a:focus {
background-color: <?php echo $modsForHesk_settings['admin_navbar_background_hover']; ?>;
color: <?php echo $modsForHesk_settings['admin_navbar_text_hover']; ?>;
}
@@ -117,7 +120,8 @@ $modsForHesk_settings = mfh_getSettings();
background-color: <?php echo $modsForHesk_settings['admin_sidebar_header_background']; ?>;
}

.sidebar a {
.sidebar a,
.sidebar .ticket-info {
color: <?php echo $modsForHesk_settings['admin_sidebar_text']; ?>;
}


Loading…
Cancel
Save