Theme: Add Default Setting to control Upgrade step color.
This commit is contained in:
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
//adjust color and initialize step counter
|
//adjust color and initialize step counter
|
||||||
$step = 1;
|
$step = 1;
|
||||||
$step_color = color_adjust(($_SESSION['theme']['form_table_label_background_color']['text'] != '' ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'), -0.1);
|
$step_color = $_SESSION['theme']['upgrade_step_color']['text'] ? $_SESSION['theme']['upgrade_step_color']['text'] : color_adjust(($_SESSION['theme']['form_table_label_background_color']['text'] != '' ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'), -0.1);
|
||||||
$step_container_style = "width: 30px; height: 30px; border: 2px solid ".$step_color."; border-radius: 50%; float: left; text-align: center; vertical-align: middle;";
|
$step_container_style = "width: 30px; height: 30px; border: 2px solid ".$step_color."; border-radius: 50%; float: left; text-align: center; vertical-align: middle;";
|
||||||
$step_number_style = "font-size: 150%; font-weight: 600; color: ".$step_color.";";
|
$step_number_style = "font-size: 150%; font-weight: 600; color: ".$step_color.";";
|
||||||
|
|
||||||
|
|||||||
@@ -2246,5 +2246,13 @@
|
|||||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0 0 20px 0";
|
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0 0 20px 0";
|
||||||
$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'] = "";
|
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||||
|
$y++;
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f8ccc98a-111d-42d5-a4ab-4ef7787aec90";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "upgrade_step_color";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_value'] = "#e5e9f0";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||||
|
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user