Some style in the Admin for validation errors

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043585
This commit is contained in:
skewed
2009-12-09 16:01:06 +00:00
parent ddb73d96e0
commit d2999f5cd4

View File

@@ -152,7 +152,7 @@ h4 { font-size:1.8em; } /* 18px */
h5 { font-size:1.6em; } /* 16px */ h5 { font-size:1.6em; } /* 16px */
h6, p, legend, label, input, select, .button, .cancel /* todo: (heskew) need to do something better with cancel */, h6, p, legend, label, input, select, .button, .cancel /* todo: (heskew) need to do something better with cancel */,
.message, th, td { font-size:1.5em; line-height:1.5em; } /* 15px */ .message, .validation-summary-errors, th, td { font-size:1.5em; line-height:1.5em; } /* 15px */
p .button, p .button,
td *, .mceLayout td { font-size:inherit; } td *, .mceLayout td { font-size:inherit; }
.meta { font-size:1.2em; } .meta { font-size:1.2em; }
@@ -291,7 +291,7 @@ a:hover, a:active, a:focus {
/* Confirmations, Messages and the like /* Confirmations, Messages and the like
----------------------------------------------------------*/ ----------------------------------------------------------*/
.message { .message, .validation-summary-errors {
margin:10px 0 4px 0; margin:10px 0 4px 0;
padding:4px; padding:4px;
} }
@@ -311,9 +311,13 @@ span.message {
background:#fdf5bc; /* yellow */ background:#fdf5bc; /* yellow */
border:1px solid #ffea9b; border:1px solid #ffea9b;
} }
.critical.message { /* todo: (heskew) what else (other inputs) needs this? */
background:#e68585; /* red */ .critical.message, .validation-summary-errors,
.input-validation-error.text-box, .input-validation-error.text {
border:1px solid #990808; border:1px solid #990808;
}
.critical.message, .validation-summary-errors {
background:#e68585; /* red */
color:#fff; color:#fff;
} }
.info.message { .info.message {
@@ -699,7 +703,7 @@ todo: (heskew) pull out into relevant modules where appropriate
#content, #navigation li, button, .button, #content, #navigation li, button, .button,
table, textarea, input.text, input.text-box, table, textarea, input.text, input.text-box,
.contentItems, .message { .contentItems, .message, .validation-summary-errors {
-moz-border-radius:4px; -moz-border-radius:4px;
-webkit-border-radius:4px; -webkit-border-radius:4px;
border-radius:4px; border-radius:4px;