aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-03-05 17:13:18 +0000
committerGareth Rees <gareth@mysociety.org>2015-03-18 12:38:00 +0000
commitf8a30c73ca68f4b9f8595b7ea3065df1d7a673dc (patch)
tree6912de196fd3feb885acdea405e5adb1870d18e3
parentdbad939a2bf74ec4107b67be8764e1b971f3e819 (diff)
Highlight fields with errors in the admin interface.
-rw-r--r--app/assets/stylesheets/admin.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss
index 31fe7e95a..9b792dee3 100644
--- a/app/assets/stylesheets/admin.scss
+++ b/app/assets/stylesheets/admin.scss
@@ -123,6 +123,14 @@ body.admin {
padding: 3px 0;
}
+ .fieldWithErrors {
+ display:block;
+ padding:0.2em;
+ textarea, input {
+ border:solid 1px Red !important;
+ }
+ }
+
/* Holidays */
.day_select {
width: 75px;