]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix autocomplete input backgrounds in chrome and firefox 35718/head
authorIshan Rai <ishanrai05@gmail.com>
Fri, 19 Jun 2020 14:56:16 +0000 (14:56 +0000)
committerLaura Paduano <lpaduano@suse.com>
Tue, 23 Jun 2020 05:38:15 +0000 (07:38 +0200)
Fixes: https://tracker.ceph.com/issues/46109
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
(cherry picked from commit 01df08a49d7d06c7688cc1bcb5eac1fac402c5da)

src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss

index daacf5ee32683e7bcf42a88df3a41fc87de03ef3..9370066183edf3ba613631b9b7f420e3461c7730 100644 (file)
@@ -30,6 +30,7 @@
     box-shadow: none;
     color: $color-password-toggle-text;
     background-color: $color-password-toggle-bg;
+    filter: none;
   }
 
   .placeholder {
@@ -52,4 +53,8 @@
 input:-webkit-autofill {
   animation-name: autofill;
   animation-fill-mode: both;
+  box-shadow: 0 0 0px 1000px $color-password-toggle-bg inset;
+  -webkit-text-fill-color: $color-password-toggle-text;
+  transition-property: none;
+  border-radius: 0px;
 }