Browse Source

Improve error/warning message display

Jocelyn Delalande 6 years ago
parent
commit
e01bcf01c2
1 changed files with 11 additions and 1 deletions
  1. 11 1
      coin/static/css/local.css

+ 11 - 1
coin/static/css/local.css

@@ -421,12 +421,18 @@ form .helptext {
 }
 
 .message.warning {
-    color: #620
+    color: #620;
     background-color: #FFAE00;
     font-style: normal;
     border-radius: 0;
 }
 
+.message.error {
+    color: #B90202;
+    background-color: #FFBABA;
+}
+
+
 .eat-up {
     margin-top: -1.5em;
 }
@@ -434,6 +440,10 @@ form .helptext {
     content: "✔ ";
 }
 
+.message.error:before {
+    content: "✘ ";
+}
+
 .nowrap {
     overflow: hidden;
     text-overflow: ellipsis;