diff --git a/src/webui/explore.php b/src/webui/explore.php index 8ce5ec1..e9219ca 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -218,7 +218,10 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp) text-align: center; } - input { + input, + input:-webkit-autofill, + input:-webkit-autofill:focus { + transition: background-color 0s 600000s, color 0s 600000s; /* chrome */ width: 100%; margin: 12px 0; padding: 6px 0; diff --git a/src/webui/index.php b/src/webui/index.php index cba66c5..bbaea8b 100644 --- a/src/webui/index.php +++ b/src/webui/index.php @@ -82,7 +82,10 @@ $placeholder = sprintf( text-align: center; } - input { + input, + input:-webkit-autofill, + input:-webkit-autofill:focus { + transition: background-color 0s 600000s, color 0s 600000s; /* chrome */ width: 100%; margin: 8px 0; padding: 12px 0; diff --git a/src/webui/search.php b/src/webui/search.php index 53d9d59..98041e7 100644 --- a/src/webui/search.php +++ b/src/webui/search.php @@ -242,7 +242,10 @@ $results = $query->offset($p * $config->webui->pagination->limit - $config->webu accent-color: #3394fb; } - input[type="text"] { + input[type="text"], + input[type="text"]:-webkit-autofill, + input[type="text"]:-webkit-autofill:focus { + transition: background-color 0s 600000s, color 0s 600000s; /* chrome */ width: 100%; margin: 12px 0; padding: 6px 0;