diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-04-18 12:42:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-04-18 12:42:45 +0000 |
commit | 9cb3ed4ba5baf9b79b174adf8bb6c18e2d5723c2 (patch) | |
tree | 55c6a707019896381ce9fbaa12e45d8d5047a6f6 /misc | |
parent | 4eb05da890073316180b55cdbea8d0e3f4c292ca (diff) | |
download | brdo-9cb3ed4ba5baf9b79b174adf8bb6c18e2d5723c2.tar.gz brdo-9cb3ed4ba5baf9b79b174adf8bb6c18e2d5723c2.tar.bz2 |
- Patch #6829 by asimmonds: fixed drupal.css
Diffstat (limited to 'misc')
-rw-r--r-- | misc/drupal.css | 276 |
1 files changed, 157 insertions, 119 deletions
diff --git a/misc/drupal.css b/misc/drupal.css index 6d4a4468b..409d227cd 100644 --- a/misc/drupal.css +++ b/misc/drupal.css @@ -1,25 +1,60 @@ /* $Id$ */ -table { - border-collapse: collapse; - width: 100%; +/* +** HTML elements +*/ +fieldset { + margin-bottom: 1em; + padding: .5em; } form { margin: 0; padding: 0; } +hr { + height: 1px; + border: 1px solid gray; +} +img { + border: 0; +} +pre, code { + font-size: 11px; +} +table { + border-collapse: collapse; + width: 100%; +} th { text-align: left; padding-right: 1em; border-bottom: 3px solid #ccc; white-space: nowrap; } -fieldset { - margin-bottom: 1em; - padding: .5em; +tr.dark { + background-color: #ddd; } -img { - border: 0; +tr.light { + background-color: #eee; +} +tr.dark td, tr.light td { + padding: 0.1em 0.6em; +} + +/* +** Menu styles +*/ +.menu { + padding: 0 0 0 0.5em; +} +.menu ul { + list-style: none; + border: none; + text-align:left; +} +.menu li a { + width: 100%; + text-decoration: none; } li.expanded { list-style-type: circle; @@ -42,6 +77,107 @@ li.leaf { li a.active { color: #000; } +td.menu-disabled { + background: #ccc; +} + +/* +** Other common styles +*/ +.breadcrumb { + padding-bottom: .5em +} +.block ul { + margin: 0; + padding: 0 0 0.25em 1em; +} +.container-inline div { + display: inline; +} +.container-inline .form-submit { + margin: 0; +} +.error { + color: red; +} +.item-list .icon { + color: #555; + float: right; + padding-left: 0.25em; + clear: right; +} +.item-list .icon a { + color: #000; + text-decoration: none; +} +.item-list .icon a:hover { + color: #000; + text-decoration: none; +} +.item-list .title { + font-weight: bold; +} +.item-list ul { + margin: 0 0 0.75em 0; + padding: 0; +} +.item-list ul li { + margin: 0 0 0.25em 1.5em; + padding: 0; + list-style: disc; +} +.form-item { + margin-bottom: 1em; +} +.form-item .description { + font-size: 0.85em; +} +.form-item label { + font-weight: bold; +} +.form-item label.option { + font-weight: normal; +} +.form-submit { + margin: 0.5em 0; +} +.marker { + color: #f00; +} +.more-link { + text-align: right; +} +.node-form .form-text { + display: block; + width: 95%; +} +.node-form .standard { + clear: both; +} +.node-form textarea { + display: block; + width: 95%; +} +.node-form fieldset { + display: inline; +} +.node-form .admin .form-item .title { + margin-top: 0; +} +.node-form .admin .authored .form-item { + margin-bottom: 1.1em; +} +.node-form .admin .authored .form-text { + width: auto; +} +.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra { + float: left; + margin-right: 2em; + margin-bottom: 1em; +} +.ok { + color: #080; +} #pager { clear: both; text-align: center; @@ -137,48 +273,6 @@ li a.active { margin: 0; font-size: 0.8em; } -.container-inline div { - display: inline; -} -.container-inline .form-submit { - margin: 0; -} -.form-item { - margin-bottom: 1em; -} -.form-item .description { - font-size: 0.85em; -} -.form-item label { - font-weight: bold; -} -.form-item label.option { - font-weight: normal; -} -.form-submit { - margin: 0.5em 0; -} -.profile { - clear: both; - margin: 1em 0em 1em 0em; -} -.profile .picture { - float: right; - margin: 0 1em 1em 0; -} -#aggregator .feed img { - float: right; -} -#aggregator .news-item .date { - float: left; -} -#aggregator .news-item .body { - margin-top: 1em; - margin-left: 4em; -} -#aggregator .news-item .body .feed { - font-size: 0.9em; -} #forum .description { font-size: 0.9em; margin: 0.5em; @@ -186,12 +280,9 @@ li a.active { #forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager { white-space: nowrap; } -#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager, #tracker td.replies { +#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager { text-align: center; } -#tracker table { - width: 100%; -} .poll .bar { height: 1em; margin: 1px 0; @@ -220,76 +311,26 @@ li a.active { margin: 0 auto; display: table; } -.node-form .poll-form fieldset { - display: block; -} -.more-link { - text-align: right; -} -.node-form .form-text { - display: block; - width: 95%; -} -.node-form .standard { +.profile { clear: both; + margin: 1em 0em 1em 0em; } -.node-form textarea { - display: block; - width: 95%; -} -.node-form fieldset { - display: inline; -} -.node-form .admin .form-item .title { - margin-top: 0; -} -.node-form .admin .authored .form-item { - margin-bottom: 1.1em; -} -.node-form .admin .authored .form-text { - width: auto; -} -.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra { - float: left; - margin-right: 2em; - margin-bottom: 1em; +.profile .picture { + float: right; + margin: 0 1em 1em 0; } -.marker { - color: #f00; +.node-form .poll-form fieldset { + display: block; } -.error { - color: #f00; +#tracker td.replies { + text-align: center; } -.ok { - color: #080; +#tracker table { + width: 100%; } .user-login-block { text-align: center; } -tr.dark { - background-color: #ddd; -} -tr.light { - background-color: #eee; -} -tr.dark td, tr.light td { - padding: 0.1em 0.6em; -} -pre, code { - font-size: 11px; -} -.menu { - padding: 0 0 0 0.5em; -} -.menu ul { - list-style: none; - border: none; - text-align:left; -} -.menu li a { - width: 100%; - text-decoration: none; -} td.watchdog-user { background: #fea; border: 1px solid #dc8; @@ -313,7 +354,4 @@ td.watchdog-httpd { td.watchdog-error { background: #e44; border: 1px solid #c22; -} -td.menu-disabled { - background: #ccc; -} +}
\ No newline at end of file |