From 9353edeb292f8999e37beb9a97ce7bb1914a69e0 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 29 Nov 2022 15:13:14 -0700 Subject: [PATCH 1/3] fix autofill colors --- web/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index eaf38727a258..d4204329c5ea 100644 --- a/web/index.html +++ b/web/index.html @@ -59,7 +59,9 @@ select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus { - -webkit-transition-delay: 99999s; + -webkit-background-clip: text; + -webkit-text-fill-color: #FFFFFF; + caret-color: #FFFFFF; } From 016ad4c88f5728d5fda765fc2bf90e20b74d8fd9 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 29 Nov 2022 15:14:27 -0700 Subject: [PATCH 2/3] style --- web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index d4204329c5ea..81b564f8f5d2 100644 --- a/web/index.html +++ b/web/index.html @@ -60,8 +60,8 @@ select:-webkit-autofill:hover, select:-webkit-autofill:focus { -webkit-background-clip: text; - -webkit-text-fill-color: #FFFFFF; - caret-color: #FFFFFF; + -webkit-text-fill-color: #ffffff; + caret-color: #ffffff; } From 329430fadb647e5db01cfc61af8ef8d92245771b Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 29 Nov 2022 15:15:55 -0700 Subject: [PATCH 3/3] update comment --- web/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index 81b564f8f5d2..4c173ababa7c 100644 --- a/web/index.html +++ b/web/index.html @@ -48,8 +48,7 @@ display: none; } - /* At the time of writing this User Agent styles for autofill inputs in Chrome are not customizable. This hack exploits the fact that - these styles are applied with a transition. Chromium team has labeled this as a WontFix so it seems there's not much else we can do here. */ + /* Customizes the background and text colors for autofill inputs in Chrome */ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus,