fix chromium -webkit-autofill input colors

This commit is contained in:
ghost 2023-12-01 23:56:57 +02:00
parent 9087c4b0d7
commit fa3c0491e2
3 changed files with 12 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;