summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-22 05:05:20 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-22 05:05:20 +0000
commitc4313b718b5e87adfd02744659d338fad5b6bb7a (patch)
tree3824ab284b33560967370aa5de4939fff51e2ada
parent37340bd7f618b1d7e82f92f432823681e0253993 (diff)
CSS updates for form validation messages and icons. Don't show error, info, warning icons next to form fields, just messages.
-rw-r--r--themes/default/css/screen.css26
1 files changed, 18 insertions, 8 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 1abd5de2..4f8bdf49 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -289,10 +289,15 @@ li.gError select {
border-bottom: 1px solid #ccc;
}
-.gError,
-.gInfo,
-.gSuccess,
-.gWarning {
+#gSiteStatus .gError,
+#gMessage .gError,
+form p.gError,
+#gSiteStatus .gInfo,
+#gMessage .gInfo,
+#gSiteStatus .gSuccess,
+#gMessage .gSuccess,
+#gSiteStatus .gWarning,
+#gMessage .gWarning {
background-position: .4em 50%;
background-repeat: no-repeat;
padding: .4em .5em .4em 30px;
@@ -304,7 +309,9 @@ li.gError select {
background-color: #fcc;
}
-.gError {
+#gSiteStatus .gError,
+#gMessage .gError,
+form p.gError {
background-image: url('../images/ico-error.png');
}
@@ -314,7 +321,8 @@ li.gError select {
background-color: #e8e8e8;
}
-.gInfo {
+#gSiteStatus .gInfo,
+#gMessage .gInfo{
background-image: url('../images/ico-info.png');
}
@@ -325,7 +333,8 @@ li.gError select {
background-color: #cfc;
}
-.gSuccess {
+#gSiteStatus .gSuccess,
+#gMessage .gSuccess {
background-image: url('../images/ico-success.png');
}
@@ -335,7 +344,8 @@ li.gError select {
background-color: #ff9;
}
-.gWarning {
+#gSiteStatus .gWarning,
+#gMessage .gWarning {
background-image: url('../images/ico-warning.png');
}