aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-12 23:43:27 +0200
committerJoris Guyonvarch2015-08-12 23:43:27 +0200
commit35557ae09d10aa6388b79e2e19ee7702efb28bc6 (patch)
tree98d2db7db4131442ee9c039d8c62b8c770ec846c /src
parent398477cb76fc8346a41afb11fc65d97eb24ba06e (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.hs3
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