Change the happy_ style to white text on solid green. I think it looks better and is way more visible. What do you think james?

This commit is contained in:
dave 2009-09-20 18:54:22 +00:00
parent 1e1a7d6202
commit 4308ee7b71
2 changed files with 6 additions and 3 deletions

View File

@ -53,7 +53,7 @@ function notice_create(type,str,timeout)
_notice_id++;
$("#notice_area").append("<div id=\"notice_"+_notice_id+"\" class=\""+type+"\" >"+str+"</div>");
$("#notice_"+_notice_id).show('puff');
$("#notice_"+_notice_id).fadeTo('fast', 0.85);
$("#notice_"+_notice_id).fadeTo('fast', 0.95);
setTimeout("notice_delete("+_notice_id+")", timeout);
}

View File

@ -326,6 +326,7 @@ div.notice_area {
div.notice_area div {
padding: 0.1em 0;
border: 0;
text-align: center;
position: relative;
font-size: 1.5em;
@ -345,9 +346,11 @@ div.notice_area div.error {
}
div.notice_area div.happy {
border: 3px solid green;
/* border: 2px solid white;
color: green;
background-color: #99FF99;
background-color: #99FF99;*/
color: white;
background-color: green;
}
/* The popup windows created with jquery-ui use the following classes: