Browse Source

Add CSS for message.warning

Classes used by django messaging framework
Jocelyn Delande 9 years ago
parent
commit
7441a37b1e
1 changed files with 12 additions and 4 deletions
  1. 12 4
      coin/static/css/local.css

+ 12 - 4
coin/static/css/local.css

@@ -401,16 +401,24 @@ form .helptext {
     margin-right: 1em;
 }
 
-.message.success {
+.message {
     padding: 0.5em;
-    color: #FFFFFF;
     text-align: center;
-    background-color: #20BA44;
-    /*background-color: #00A986;*/
     border: 1px solid #E0E0E0;
     margin: 1em;
 }
 
+.message.success {
+	color: #FFFFFF;
+	background-color: #20BA44;
+}
+
+.message.warning {
+    color: #FFFFFF;
+    background-color: #FFAE00;
+    font-style: normal;
+}
+
 .eat-up {
 	margin-top: -1.5em;
 }