From 3ebb5194116ef7c8f411f87764349072660554d0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 1 Jul 2014 11:09:33 +0000 Subject: [PATCH] themes/bootstrap: add missing styles for server side validation errors Signed-off-by: Jo-Philipp Wich --- .../bootstrap/htdocs/luci-static/bootstrap/cascade.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css index 24b0e049b..7654aa303 100644 --- a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1337,7 +1337,8 @@ footer { border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } -.cbi-input-invalid { +.cbi-input-invalid, +.cbi-value-error input { color: #FF0000; border-color: #FF0000; } @@ -1771,6 +1772,20 @@ table.cbi-section-table td.cbi-section-table-cell select { .cbi-value-description img { vertical-align: middle; } +.cbi-section-error { + border: 1px solid #FF0000; + border-radius: 3px; + background-color: #FCE6E6; + padding: 5px; +} + +.cbi-section-error ul { margin: 0 0 0 20px; } + +.cbi-section-error ul li { + color: #FF0000; + font-weight: bold; +} + .ifacebox { background-color: #FFFFFF; border: 1px solid #CCCCCC; -- 2.11.0