From 1612bc6ff66bd04985993ea2ccb255e551247936 Mon Sep 17 00:00:00 2001 From: Saku Laesvuori Date: Tue, 31 Oct 2023 19:33:22 +0200 Subject: [PATCH] Colour invalid input fields differently --- frontend/src/Datarekisteri/Frontend/Types.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/Datarekisteri/Frontend/Types.hs b/frontend/src/Datarekisteri/Frontend/Types.hs index 129d80f..20e7a2a 100644 --- a/frontend/src/Datarekisteri/Frontend/Types.hs +++ b/frontend/src/Datarekisteri/Frontend/Types.hs @@ -287,6 +287,9 @@ instance Yesod DataIdClient where input[type="submit"].reject-button:hover { background-color: #aa3968; } + input:invalid { + border-color: #8a003a; + } nav { display: block; position: fixed;