Added dashboard_shadow_color default setting (#7114)
* Added dashboard_shadow_color default setting * Update css.php * Update app_config.php
This commit is contained in:
parent
0cc12aac52
commit
77db4aa9dc
|
|
@ -1120,6 +1120,14 @@
|
||||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the edge gradient color of the Dashboard block detail area.";
|
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the edge gradient color of the Dashboard block detail area.";
|
||||||
$y++;
|
$y++;
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b60d97bf-fed3-4484-b5ba-18c46b1a58a7";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "dashboard_shadow_color";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_value'] = "rgba(153,153,153,0.5)";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the shadow color (and opacity) of the Dashboard blocks.";
|
||||||
|
$y++;
|
||||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "499f4068-f6d7-48b4-9ec8-344cadcb1028";
|
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "499f4068-f6d7-48b4-9ec8-344cadcb1028";
|
||||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
||||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "dashboard_footer_background_color";
|
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "dashboard_footer_background_color";
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,7 @@ $dashboard_detail_heading_text_size = $_SESSION['theme']['dashboard_detail_headi
|
||||||
$dashboard_detail_background_color_edge = $_SESSION['theme']['dashboard_detail_background_color_edge']['text'] ?? '#edf1f7';
|
$dashboard_detail_background_color_edge = $_SESSION['theme']['dashboard_detail_background_color_edge']['text'] ?? '#edf1f7';
|
||||||
$dashboard_detail_background_color_center = $_SESSION['theme']['dashboard_detail_background_color_center']['text'] ?? '#f9fbfe';
|
$dashboard_detail_background_color_center = $_SESSION['theme']['dashboard_detail_background_color_center']['text'] ?? '#f9fbfe';
|
||||||
$dashboard_detail_row_text_size = $_SESSION['theme']['dashboard_detail_row_text_size']['text'] ?? '11px';
|
$dashboard_detail_row_text_size = $_SESSION['theme']['dashboard_detail_row_text_size']['text'] ?? '11px';
|
||||||
|
$dashboard_shadow_color = $_SESSION['theme']['dashboard_shadow_color']['text'] ?? '';
|
||||||
$dashboard_footer_background_color = $_SESSION['theme']['dashboard_footer_background_color']['text'] ?? '#e5e9f0';
|
$dashboard_footer_background_color = $_SESSION['theme']['dashboard_footer_background_color']['text'] ?? '#e5e9f0';
|
||||||
$dashboard_footer_background_color_hover = $_SESSION['theme']['dashboard_footer_background_color_hover']['text'] ?? color_adjust($dashboard_footer_background_color, 0.02);
|
$dashboard_footer_background_color_hover = $_SESSION['theme']['dashboard_footer_background_color_hover']['text'] ?? color_adjust($dashboard_footer_background_color, 0.02);
|
||||||
$dashboard_footer_dots_color = $_SESSION['theme']['dashboard_footer_dots_color']['text'] ?? '#a4aebf';
|
$dashboard_footer_dots_color = $_SESSION['theme']['dashboard_footer_dots_color']['text'] ?? '#a4aebf';
|
||||||
|
|
@ -2549,6 +2550,16 @@ else { //default: white
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget {
|
||||||
|
<?php
|
||||||
|
if (!empty($dashboard_shadow_color)) {
|
||||||
|
echo "-webkit-box-shadow: 0 3px 5px ".$dashboard_shadow_color.";\n";
|
||||||
|
echo "-moz-box-shadow: 0 3px 5px ".$dashboard_shadow_color.";\n";
|
||||||
|
echo "box-shadow: 0 3px 5px ".$dashboard_shadow_color.";\n";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
}
|
||||||
|
|
||||||
/* hud boxes */
|
/* hud boxes */
|
||||||
div.hud_box {
|
div.hud_box {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue