From: Nizamudeen A Date: Wed, 30 Aug 2023 05:20:30 +0000 (+0530) Subject: mgr/dashboard: remove green tick on old password field X-Git-Tag: v19.0.0~559^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=798a95dece66095db8ef0de9ed81c99fe23c4a11;p=ceph.git mgr/dashboard: remove green tick on old password field a green tick is showing to the field where we enter the old password in login password change form. It starts showing green tick as soon as we start typing on it. Removing that because its misleads the user. Fixes: https://tracker.ceph.com/issues/62644 Signed-off-by: Nizamudeen A --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss index 15addd1e8216..9d16a710e3dd 100755 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss @@ -66,3 +66,8 @@ input:-webkit-autofill { .is-invalid.cd-form-control { border-color: transparent; } + +#oldpassword.is-valid { + background-image: unset; + border-color: transparent; +} diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss index e69de29bb2d1..b507fceb03f1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss @@ -0,0 +1,6 @@ +@use './src/styles/vendor/variables' as vv; + +#oldpassword.is-valid { + background-image: unset; + border-color: vv.$gray-400; +}