Commit ad5e3ebb authored by Steven Wittens's avatar Steven Wittens
Browse files

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.
parent ef6cbfda
...@@ -18,6 +18,10 @@ hr { ...@@ -18,6 +18,10 @@ hr {
img { img {
border: 0; border: 0;
} }
p {
margin-top: 0.5em;
margin-bottom: 0.9em;
}
pre, code { pre, code {
font-size: 11px; font-size: 11px;
} }
...@@ -129,8 +133,14 @@ td.menu-disabled { ...@@ -129,8 +133,14 @@ td.menu-disabled {
list-style: disc; list-style: disc;
} }
.form-item { .form-item {
margin-top: 1em;
margin-bottom: 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 { .form-item input.error {
border: 2px solid red; border: 2px solid red;
} }
...@@ -359,29 +369,35 @@ td.menu-disabled { ...@@ -359,29 +369,35 @@ td.menu-disabled {
.user-login-block { .user-login-block {
text-align: center; text-align: center;
} }
td.watchdog-user { tr td.watchdog-user {
background: #fea; background: #ffd;
border: 1px solid #dc8; }
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 { tr td.watchdog-warning.active {
background: #fff; background: #ec9;
border: 1px solid #ddd;
} }
td.watchdog-special { tr td.watchdog-httpd {
background: #ccf; background: #dfd;
border: 1px solid #99c;
} }
td.watchdog-warning { tr td.watchdog-httpd.active {
background: #fa2; background: #cec;
border: 1px solid #d80;
} }
td.watchdog-httpd { tr td.watchdog-error {
background: #9d9; background: #ffc9c9;
border: 1px solid #7b7;
} }
td.watchdog-error { tr td.watchdog-error.active {
background: #e44; background: #eeb9b9;
border: 1px solid #c22;
} }
/* Tab navigation */ /* Tab navigation */
......
...@@ -52,9 +52,6 @@ table { ...@@ -52,9 +52,6 @@ table {
/* make <td> sizes relative to body size! */ /* make <td> sizes relative to body size! */
font-size: 1em; font-size: 1em;
} }
.form-item {
margin-top: 1em;
}
.form-item label { .form-item label {
font-size: 1em; font-size: 1em;
color: #222; color: #222;
...@@ -63,6 +60,9 @@ table { ...@@ -63,6 +60,9 @@ table {
font-size: 1em; font-size: 1em;
color: #222; color: #222;
} }
.links {
margin-bottom: 2em;
}
/* /*
** Page layout blocks / IDs ** Page layout blocks / IDs
...@@ -209,7 +209,7 @@ table { ...@@ -209,7 +209,7 @@ table {
border: solid 1px #ddd; border: solid 1px #ddd;
} }
.node .content, .comment .content { .node .content, .comment .content {
padding: .5em 0 .75em 0; margin: .5em 0 .5em 0;
} }
.node .taxonomy { .node .taxonomy {
color: #999; color: #999;
......
...@@ -318,7 +318,7 @@ table#footer-menu { ...@@ -318,7 +318,7 @@ table#footer-menu {
margin: .5em 0 2.5em 0; margin: .5em 0 2.5em 0;
} }
.node .content, .comment .content { .node .content, .comment .content {
padding: .5em 0 .75em 0; margin: .5em 0 .5em 0;
} }
.node .taxonomy { .node .taxonomy {
color: #999; color: #999;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment