LP#1268636 improve fines warning color contrast
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Jan 2014 14:01:38 +0000 (09:01 -0500)
committerDan Scott <dscott@laurentian.ca>
Tue, 11 Feb 2014 03:22:09 +0000 (22:22 -0500)
Use the text_attention CSS color instead of the text_badnews for the my
account fines label, since the badnews color does not contrast highly
engouh with the dark green background for WCAG compliance.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/css/style.css.tt2

index fadfd53..e57741f 100644 (file)
@@ -128,7 +128,15 @@ div.select-box-wrapper {
 #dash_checked { color: [% css_colors.text_attention %]; }
 #dash_holds { color: [% css_colors.text_attention %]; }
 #dash_pickup { color: [% css_colors.text_goodnews %]; }
+
+/*  
 #dash_fines { color: [% css_colors.text_badnews %]; }
+the color contrast between "text_badnews" and "primary"
+is too low for WCAG compliance.  Use "text_attention" 
+for now until a better color is picked - if needed.
+*/
+#dash_fines { color: [% css_colors.text_attention %]; }
+
 #header-wrap {
     background: linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]);
     background: -moz-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]);