mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Dashboard - Add background color settings (#6959)
* Dashboard - Add background color settings * Update missed_calls.php * Update recent_calls.php * Update app_languages.php * Update app_config.php * Update dashboard_edit.php * Update index.php * Update css.php * Update system_status.php * Update system_cpu_status.php * Update system_counts.php * Update system_counts.php * Update switch_status.php * Update index.php * Update system_counts.php * Update domain_limits.php * Update call_forward.php * Update caller_id.php * Update ring_group_forward.php
This commit is contained in:
@@ -219,15 +219,15 @@ $dashboard_heading_text_size = $_SESSION['theme']['dashboard_heading_text_size']
|
||||
$dashboard_heading_text_font = $_SESSION['theme']['dashboard_heading_text_font']['text'] ?? 'Arial, Calibri, Candara, Segoe, "Segoe UI", Optima, sans-serif';
|
||||
$dashboard_heading_text_shadow_color = $_SESSION['theme']['dashboard_heading_text_shadow_color']['text'] ?? 'rgba(0,0,0,0)';
|
||||
$dashboard_heading_background_color = $_SESSION['theme']['dashboard_heading_background_color']['text'] ?? '';
|
||||
$dashboard_heading_background_color_hover = $_SESSION['theme']['dashboard_heading_background_color_hover']['text'] ?? color_adjust($dashboard_heading_background_color, 0.03);
|
||||
$dashboard_heading_background_color_hover = $_SESSION['theme']['dashboard_heading_background_color_hover']['text'] ?? '';
|
||||
$dashboard_number_text_color = $_SESSION['theme']['dashboard_number_text_color']['text'] ?? '#444';
|
||||
$dashboard_number_text_color_hover = $_SESSION['theme']['dashboard_number_text_color_hover']['text'] ?? '';
|
||||
$dashboard_number_text_font = $_SESSION['theme']['dashboard_number_text_font']['text'] ?? 'Arial, Calibri, Candara, Segoe, "Segoe UI", Optima, sans-serif';
|
||||
$dashboard_number_text_size = $_SESSION['theme']['dashboard_number_text_size']['text'] ?? '100px';
|
||||
$dashboard_number_text_size = $_SESSION['theme']['dashboard_number_text_size']['text'] ?? '60pt';
|
||||
$dashboard_number_text_shadow_color = $_SESSION['theme']['dashboard_number_text_shadow_color']['text'] ?? 'rgba(0,0,0,0)';
|
||||
$dashboard_number_text_shadow_color_hover = $_SESSION['theme']['dashboard_number_text_shadow_color_hover']['text'] ?? 'rgba(0,0,0,0)';
|
||||
$dashboard_number_background_color = $_SESSION['theme']['dashboard_number_background_color']['text'] ?? '';
|
||||
$dashboard_number_background_color_hover = $_SESSION['theme']['dashboard_number_background_color_hover']['text'] ?? color_adjust($dashboard_number_background_color, 0.03);
|
||||
$dashboard_number_background_color_hover = $_SESSION['theme']['dashboard_number_background_color_hover']['text'] ?? '';
|
||||
$dashboard_number_title_text_color = $_SESSION['theme']['dashboard_number_title_text_color']['text'] ?? '#fff';
|
||||
$dashboard_number_title_text_size = $_SESSION['theme']['dashboard_number_title_text_size']['text'] ?? '14px';
|
||||
$dashboard_number_title_text_font = $_SESSION['theme']['dashboard_number_title_text_font']['text'] ?? 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif';
|
||||
@@ -2620,7 +2620,6 @@ else { //default: white
|
||||
border-top: 1px solid <?php echo color_adjust($dashboard_number_background_color, 0.2); ?>;
|
||||
overflow: hidden;
|
||||
<?php
|
||||
/*
|
||||
//calculate font padding
|
||||
$font_size = strtolower($dashboard_heading_text_size);
|
||||
$tmp = str_replace(' ', '', $font_size);
|
||||
@@ -2630,14 +2629,9 @@ else { //default: white
|
||||
$tmp = str_replace('%', '', $tmp);
|
||||
$font_size_number = $tmp;
|
||||
$padding_top_bottom = (int) floor((100-$tmp) * 0.25);
|
||||
*/
|
||||
?>
|
||||
<!--
|
||||
padding-top: <?php echo $padding_top_bottom.'px' ?>;
|
||||
padding-bottom: <?php echo $padding_top_bottom.'px' ?>;
|
||||
-->
|
||||
padding-top: 5px;
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: <?php echo ($padding_top_bottom).'px' ?>;
|
||||
}
|
||||
|
||||
span.hud_stat:hover {
|
||||
|
||||
Reference in New Issue
Block a user