Theme: Add Default Setting to control Upgrade step color.

This commit is contained in:
Nate
2020-04-13 11:56:32 -06:00
parent 6d451e311b
commit ac4841b627
2 changed files with 9 additions and 1 deletions

View File

@@ -126,7 +126,7 @@
//adjust color and initialize step counter
$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_number_style = "font-size: 150%; font-weight: 600; color: ".$step_color.";";