diff options
author | Joris Guyonvarch | 2015-08-12 23:43:27 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-08-12 23:43:27 +0200 |
commit | 35557ae09d10aa6388b79e2e19ee7702efb28bc6 (patch) | |
tree | 98d2db7db4131442ee9c039d8c62b8c770ec846c /src | |
parent | 398477cb76fc8346a41afb11fc65d97eb24ba06e (diff) |
Add payment input and label error in red even if they have the focus
Diffstat (limited to 'src')
-rw-r--r-- | src/server/Design/Global.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |