From: Michael Tremer Date: Mon, 1 May 2017 11:24:07 +0000 (+0100) Subject: captive: Style any error messages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb3e3017cbd65d3b46bf1ca69195e72e56f64442;p=people%2Fms%2Fipfire-2.x.git captive: Style any error messages Signed-off-by: Michael Tremer --- diff --git a/html/html/captive/assets/captive.css b/html/html/captive/assets/captive.css index d02efeee3d..f575f01ee4 100644 --- a/html/html/captive/assets/captive.css +++ b/html/html/captive/assets/captive.css @@ -107,8 +107,8 @@ footer { box-shadow: inset 0 -2px 0 0 #546e7a; } -.form-text .error { - box-shadow: 0 -2px 0 0 #ff3d00; +.form-error { + box-shadow: inset 0 -2px 0 0 #ff3d00; } .form-submit { @@ -163,3 +163,14 @@ footer { border: 2px solid #546e7a; border-radius: 2px; } + +.text-error { + position: block; + margin-top: 6px; + min-height: 23px; + + color: white; + background-color: #ff3d00; + + border-radius: 2px; +} diff --git a/html/html/captive/template.html b/html/html/captive/template.html index a15c9a3ff3..ad1c6ce2be 100644 --- a/html/html/captive/template.html +++ b/html/html/captive/template.html @@ -38,7 +38,7 @@ "> - error" type="text" name="COUPON"> + form-error" type="text" name="COUPON"> "> @@ -47,9 +47,9 @@ -

+

-

+