From 3088bb188f9231a2388b7041716c651a5189c6a6 Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:45:26 -0700 Subject: [PATCH] Fix login input default settings (#7248) --- themes/default/css.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/themes/default/css.php b/themes/default/css.php index 5a272c4f2c..0b06707d38 100644 --- a/themes/default/css.php +++ b/themes/default/css.php @@ -165,7 +165,7 @@ $login_input_shadow_outer_color_focus = $_SESSION['theme']['login_input_shadow_o $login_input_shadow_outer_color_focus = $login_input_shadow_outer_color_focus != 'none' ? '0 0 5px '.$login_input_shadow_outer_color_focus : 'none'; $login_input_border_radius = $_SESSION['theme']['login_input_border_radius']['text'] ?? $input_border_radius; $login_input_border_color_hover = $_SESSION['theme']['login_input_border_color_hover']['text'] ?? $input_border_color_hover; -$login_input_border_color_hover_focus = $_SESSION['theme']['login_input_border_color_hover_focus']['text'] ?? $input_border_color_hover_focus; +$login_input_border_color_focus = $_SESSION['theme']['login_input_border_color_focus']['text'] ?? $input_border_color_focus; $login_input_text_placeholder_color = $_SESSION['theme']['login_input_text_placeholder_color']['text'] ?? $input_text_placeholder_color; $pwstrength_background_color = $_SESSION['theme']['input_background_color']['text'] ?? 'rgb(245, 245, 245)'; $input_toggle_style = $_SESSION['theme']['input_toggle_style']['text'] ?? 'switch_round'; @@ -1900,7 +1900,7 @@ else { //default: white resize: both; } - input.login { + input.txt.login { font-family: ; font-size: ; color: ; @@ -1932,12 +1932,12 @@ else { //default: white } - input.login:hover { + input.txt.login:hover { border-color: ; } - input.login:focus { - border-color: ; + input.txt.login:focus { + border-color: ; /* first clear */ -webkit-box-shadow: none; -moz-box-shadow: none; @@ -1958,11 +1958,11 @@ else { //default: white } /* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */ - input.login::-webkit-input-placeholder { color: ; } /* chrome/opera/safari */ - input.login::-moz-placeholder { color: ; } /* ff 19+ */ - input.login:-moz-placeholder { color: ; } /* ff 18- */ - input.login:-ms-input-placeholder { color: ; } /* ie 10+ */ - input.login::placeholder { color: ; } /* official standard */ + input.txt.login::-webkit-input-placeholder { color: ; } /* chrome/opera/safari */ + input.txt.login::-moz-placeholder { color: ; } /* ff 19+ */ + input.txt.login:-moz-placeholder { color: ; } /* ff 18- */ + input.txt.login:-ms-input-placeholder { color: ; } /* ie 10+ */ + input.txt.login::placeholder { color: ; } /* official standard */ input[type=password].formfld_highlight_bad, input[type=password].formfld_highlight_bad:hover,