Commit 4ffdd6df authored by Dries's avatar Dries

- Patch #80717 by jeff/ma3vrck: clean up admin css.

parent ac7d8260
......@@ -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;
}
......
......@@ -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>
......
......@@ -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;
}
......
......@@ -86,6 +86,17 @@ table {
margin: 0;
}
/*
** Administration page styles
*/
div.admin-panel h3 {
background-color: #888;
color: #fff;
padding: 5px 8px 5px;
margin: 0;
}
/*
** Module specific styles
*/
......
......@@ -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
......@@ -487,6 +487,20 @@ table#footer-menu {
background: transparent url(arrow-up-hover.png) center top no-repeat;
}
/*
** 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
*/
......
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