From 35557ae09d10aa6388b79e2e19ee7702efb28bc6 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Wed, 12 Aug 2015 23:43:27 +0200 Subject: Add payment input and label error in red even if they have the focus --- src/server/Design/Global.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs index 15d3196..76db6dd 100644 --- a/src/server/Design/Global.hs +++ b/src/server/Design/Global.hs @@ -88,9 +88,10 @@ global = do width (pct 20) height (px inputHeight) - ".error" ? do + ".name.error" <> ".cost.error" ? do input ? borderColor C.red label ? backgroundColor C.red + "input:focus + label" ? backgroundColor C.red ".errorMessage" ? do position absolute -- cgit v1.2.3