Colour invalid input fields differently

This commit is contained in:
Saku Laesvuori 2023-10-31 19:33:22 +02:00
parent c8610caa54
commit 1612bc6ff6
Signed by: slaesvuo
GPG Key ID: 257D284A2A1D3A32
1 changed files with 3 additions and 0 deletions

View File

@ -287,6 +287,9 @@ instance Yesod DataIdClient where
input[type="submit"].reject-button:hover { input[type="submit"].reject-button:hover {
background-color: #aa3968; background-color: #aa3968;
} }
input:invalid {
border-color: #8a003a;
}
nav { nav {
display: block; display: block;
position: fixed; position: fixed;