summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-07-25 22:18:32 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-07-25 22:18:32 +0000
commitad5e3ebb75df5c861251ba3ed3dd954a2b2241b4 (patch)
treeae072431439cd5b75e170cd1434021d3dbc98b7f
parentef6cbfda6fdc0e5d1c8c5fd900eb662722e89e0f (diff)
downloadbrdo-ad5e3ebb75df5c861251ba3ed3dd954a2b2241b4.tar.gz
brdo-ad5e3ebb75df5c861251ba3ed3dd954a2b2241b4.tar.bz2
CSS improvements:
- Restoring background coloring for the watchdog logs (was broken) - Making watchdog backgrounds lighter, makes it easier on the eyes and improves readability. - Adjusted the spacing between items on the frontpage a bit to be clearer. - Fixed the vertical stretching of table rows with form controls in them.
-rw-r--r--misc/drupal.css52
-rw-r--r--themes/xtemplate/default/xtemplate.css8
-rw-r--r--themes/xtemplate/pushbutton/xtemplate.css2
3 files changed, 39 insertions, 23 deletions
diff --git a/misc/drupal.css b/misc/drupal.css
index 0316f628b..b65cb315f 100644
--- a/misc/drupal.css
+++ b/misc/drupal.css
@@ -18,6 +18,10 @@ hr {
img {
border: 0;
}
+p {
+ margin-top: 0.5em;
+ margin-bottom: 0.9em;
+}
pre, code {
font-size: 11px;
}
@@ -129,8 +133,14 @@ td.menu-disabled {
list-style: disc;
}
.form-item {
+ margin-top: 1em;
margin-bottom: 1em;
}
+tr.light .form-item, tr.dark .form-item {
+ margin-top: 0em;
+ margin-bottom: 0em;
+ white-space: nowrap;
+}
.form-item input.error {
border: 2px solid red;
}
@@ -359,29 +369,35 @@ td.menu-disabled {
.user-login-block {
text-align: center;
}
-td.watchdog-user {
- background: #fea;
- border: 1px solid #dc8;
+tr td.watchdog-user {
+ background: #ffd;
+}
+tr td.watchdog-user.active {
+ background: #eed;
+}
+tr td.watchdog-special {
+ background: #ddf;
+}
+tr td.watchdog-special.active {
+ background: #cce;
+}
+tr td.watchdog-warning {
+ background: #fda;
}
-td.watchdog-message {
- background: #fff;
- border: 1px solid #ddd;
+tr td.watchdog-warning.active {
+ background: #ec9;
}
-td.watchdog-special {
- background: #ccf;
- border: 1px solid #99c;
+tr td.watchdog-httpd {
+ background: #dfd;
}
-td.watchdog-warning {
- background: #fa2;
- border: 1px solid #d80;
+tr td.watchdog-httpd.active {
+ background: #cec;
}
-td.watchdog-httpd {
- background: #9d9;
- border: 1px solid #7b7;
+tr td.watchdog-error {
+ background: #ffc9c9;
}
-td.watchdog-error {
- background: #e44;
- border: 1px solid #c22;
+tr td.watchdog-error.active {
+ background: #eeb9b9;
}
/* Tab navigation */
diff --git a/themes/xtemplate/default/xtemplate.css b/themes/xtemplate/default/xtemplate.css
index 8828323a4..48f9e330a 100644
--- a/themes/xtemplate/default/xtemplate.css
+++ b/themes/xtemplate/default/xtemplate.css
@@ -52,9 +52,6 @@ table {
/* make <td> sizes relative to body size! */
font-size: 1em;
}
-.form-item {
- margin-top: 1em;
-}
.form-item label {
font-size: 1em;
color: #222;
@@ -63,6 +60,9 @@ table {
font-size: 1em;
color: #222;
}
+.links {
+ margin-bottom: 2em;
+}
/*
** Page layout blocks / IDs
@@ -209,7 +209,7 @@ table {
border: solid 1px #ddd;
}
.node .content, .comment .content {
- padding: .5em 0 .75em 0;
+ margin: .5em 0 .5em 0;
}
.node .taxonomy {
color: #999;
diff --git a/themes/xtemplate/pushbutton/xtemplate.css b/themes/xtemplate/pushbutton/xtemplate.css
index cdf464eec..f1f5b8568 100644
--- a/themes/xtemplate/pushbutton/xtemplate.css
+++ b/themes/xtemplate/pushbutton/xtemplate.css
@@ -318,7 +318,7 @@ table#footer-menu {
margin: .5em 0 2.5em 0;
}
.node .content, .comment .content {
- padding: .5em 0 .75em 0;
+ margin: .5em 0 .5em 0;
}
.node .taxonomy {
color: #999;