summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-27 07:44:55 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-27 07:44:55 +0000
commit4ffdd6dfe6348d647fd96cc5e83950276cab3237 (patch)
tree589b8b45dfe8e1ed7c62c4af7f1b097c3ff48b76
parentac7d82606baaaa3d2d7e984cdb1b2fd21c8dec89 (diff)
downloadbrdo-4ffdd6dfe6348d647fd96cc5e83950276cab3237.tar.gz
brdo-4ffdd6dfe6348d647fd96cc5e83950276cab3237.tar.bz2
- Patch #80717 by jeff/ma3vrck: clean up admin css.
-rw-r--r--modules/system/admin.css15
-rw-r--r--modules/system/system.module12
-rw-r--r--themes/bluemarine/style.css6
-rw-r--r--themes/chameleon/marvin/style.css11
-rw-r--r--themes/chameleon/style.css11
-rw-r--r--themes/pushbutton/style.css14
6 files changed, 50 insertions, 19 deletions
diff --git a/modules/system/admin.css b/modules/system/admin.css
index ba564c2ac..ebb591f3f 100644
--- a/modules/system/admin.css
+++ b/modules/system/admin.css
@@ -2,15 +2,13 @@
** Formatting for administration page
*/
div.admin-panel {
- margin: 0px 0px 0px 0px;
+ margin: 0;
padding: 5px 5px 15px 5px;
}
div.admin-panel .description {
- margin: 0px 0px 3px;
+ margin: 0 0 3px;
padding: 2px 0 3px 0;
- font-weight: normal;
- text-align: left;
color: #999;
}
@@ -20,15 +18,6 @@ div.admin-panel .body {
line-height: 1.2em;
}
-div.admin-panel .head {
- background-color: #6699CC;
- color: #FFFFFF;
- font-weight: bold;
- font-size: 14px;
- margin: 0px 0px 0px 0px;
- padding: 4px 4px 4px 8px;
-}
-
div.admin {
padding-top: 15px;
}
diff --git a/modules/system/system.module b/modules/system/system.module
index cadf534b9..045d09b5e 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1602,7 +1602,7 @@ function theme_admin_page($blocks) {
$output .= '</div>';
foreach ($container as $id => $data) {
- $output .= '<div class="'. $id .'">';
+ $output .= '<div class="'. $id .' clear-block">';
$output .= $data;
$output .= '</div>';
}
@@ -1625,14 +1625,14 @@ function theme_admin_block($block) {
}
$output = <<< EOT
- <div class="admin-panel collapsible">
- <div class="head">
+ <div class="admin-panel">
+ <h3>
$block[title]
- </div>
+ </h3>
<div class="body">
- <div class="description">
+ <p class="description">
$block[description]
- </div>
+ </p>
$block[content]
</div>
</div>
diff --git a/themes/bluemarine/style.css b/themes/bluemarine/style.css
index 05b1411bb..6575f1197 100644
--- a/themes/bluemarine/style.css
+++ b/themes/bluemarine/style.css
@@ -328,6 +328,12 @@ table {
.block-forum h3 {
margin-bottom: .5em;
}
+div.admin-panel h3 {
+ background-color: #69c;
+ color: #fff;
+ padding: 5px 8px 5px;
+ margin: 0;
+}
.calendar a {
text-decoration: none;
}
diff --git a/themes/chameleon/marvin/style.css b/themes/chameleon/marvin/style.css
index 75142b7e7..1698d2e4e 100644
--- a/themes/chameleon/marvin/style.css
+++ b/themes/chameleon/marvin/style.css
@@ -87,6 +87,17 @@ table {
}
/*
+** Administration page styles
+*/
+
+div.admin-panel h3 {
+ background-color: #888;
+ color: #fff;
+ padding: 5px 8px 5px;
+ margin: 0;
+}
+
+/*
** Module specific styles
*/
.item-list ul li {
diff --git a/themes/chameleon/style.css b/themes/chameleon/style.css
index 705b746c0..38a4cf5ed 100644
--- a/themes/chameleon/style.css
+++ b/themes/chameleon/style.css
@@ -88,3 +88,14 @@ ul {
.item-list ul li {
list-style: square;
}
+
+/*
+** Administration page styles
+*/
+
+div.admin-panel h3 {
+ background-color: #999;
+ color: #fff;
+ padding: 5px 8px 5px;
+ margin: 0;
+} \ No newline at end of file
diff --git a/themes/pushbutton/style.css b/themes/pushbutton/style.css
index 297358d0a..30bca12c6 100644
--- a/themes/pushbutton/style.css
+++ b/themes/pushbutton/style.css
@@ -488,6 +488,20 @@ table#footer-menu {
}
/*
+** Administration page styles
+*/
+
+div.admin-panel h3 {
+ background-color: #369;
+ color: #fff;
+ padding: 5px 8px 5px;
+ margin: 0;
+}
+div.admin-panel .body {
+ background: #fffaf0;
+}
+
+/*
** Module specific styles
*/
.content .active {