From 19090b824d1fc2fa78030c95a23daba5c1ee4c13 Mon Sep 17 00:00:00 2001 From: Abdi Tolessa <41271840+AbdiTolesa@users.noreply.github.com> Date: Mon, 23 Mar 2026 22:44:57 +0300 Subject: [PATCH 1/2] Match autofill fields look with Style applied --- css/custom_theme.css.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/custom_theme.css.php b/css/custom_theme.css.php index 12e489161d..8dfa6416b7 100644 --- a/css/custom_theme.css.php +++ b/css/custom_theme.css.php @@ -228,6 +228,10 @@ font-weight: var(--field-weight); } +.with_frm_style input:-webkit-autofill { + -webkit-box-shadow: 0 0 0 30px var(--bg-color) inset ; +} + .with_frm_style .chosen-container-multi .chosen-choices, From 1d96474d31b32c64b1ff085143e19d4655243ff1 Mon Sep 17 00:00:00 2001 From: Abdi Tolessa <41271840+AbdiTolesa@users.noreply.github.com> Date: Tue, 24 Mar 2026 14:07:55 +0300 Subject: [PATCH 2/2] Hide autofill background color on focus --- css/custom_theme.css.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/css/custom_theme.css.php b/css/custom_theme.css.php index 8dfa6416b7..c814e79de1 100644 --- a/css/custom_theme.css.php +++ b/css/custom_theme.css.php @@ -232,6 +232,11 @@ -webkit-box-shadow: 0 0 0 30px var(--bg-color) inset ; } +.with_frm_style input:-webkit-autofill:focus { + /* Prevent the user agent autofill background color from taking effect on focus. */ + transition: background-color 5000s ease-in-out 0s; +} + .with_frm_style .chosen-container-multi .chosen-choices,