summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-30 23:30:55 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-30 23:30:55 +0000
commit84ad17f73b6b75ff569db3e053830b9406582b70 (patch)
treec8c9e3247096a3873a7aac6bd9cb8c72592b0e5d
parent927cb12ffb1d19fb22d7e4b49ac3135ba4960151 (diff)
downloadbrdo-84ad17f73b6b75ff569db3e053830b9406582b70.tar.gz
brdo-84ad17f73b6b75ff569db3e053830b9406582b70.tar.bz2
Patch by Michael:
admin.css: * Removed border-bottom for menu list items. The only work around to retain the border-bottom on lists with nested items is to use divs rather than li tags as far as I know. I think the list items are still readable this way. * Made title of site in sidenav more differentiated from menu. * Made color changes so that all headings are the same hue (navy bluish). * Modified th text-align: left; for better readability. Modified border-bottom: 1px solid #ccc; Black addded visual noise. * Modified tr.dark background-color: #ddd, tr.light background-color: #fff; * Changed all colors to #xxx three number hex shortcuts. * Added hr rule to make horizontal rules have height: 1px; color: #ccc; admin.php: * Added 1 line to admin.php to include <link rel="stylesheet" ...>. The stylesheet refers to a misc/print.css stylesheet which may not exist in your misc/ directory. This fixes the flash of unstyled content that users of Win IE 5+ are experiencing. You can use this to specify print styles if you like. See more about this here: http://www.bluerobot.com/web/css/fouc.asp
-rw-r--r--admin.php1
-rw-r--r--misc/admin.css49
2 files changed, 29 insertions, 21 deletions
diff --git a/admin.php b/admin.php
index b910a431b..fc49e9a51 100644
--- a/admin.php
+++ b/admin.php
@@ -17,6 +17,7 @@ function admin_page($mod) {
<html>
<head>
<title><?php echo variable_get("site_name", "drupal") . " " . t("administration pages"); ?></title>
+ <link rel="stylesheet" type="text/css" media="print" href="misc/print.css" />
<style type="text/css" title="layout" media="Screen">
@import url("misc/admin.css");
</style>
diff --git a/misc/admin.css b/misc/admin.css
index e9a86a5e6..79b06bb58 100644
--- a/misc/admin.css
+++ b/misc/admin.css
@@ -6,8 +6,6 @@ body {
body, th, td, h1, h2, h3, h4, #menu, #main {
font-family: helvetica, arial;
}
-a {
-}
a:link {
color: #059;
}
@@ -17,67 +15,76 @@ a:visited {
h1 {
font-size: 1.3em;
font-weight: bold;
- color: #000066;
+ color: #006;
}
h2 {
font-size: 1.3em;
font-weight: bold;
- color: #000066;
+ color: #006;
margin: 0;
padding: 0 0 .5em 0;
}
h3 {
font-size: 1.2em;
font-weight: bold;
- color: #006600;
+ color: #006;
margin: 0;
padding: 0 0 .5em 0;
}
th {
- text-align: center;
- color: #994444;
- border-bottom: 1px solid #000;
+ text-align: left;
+ color: #006;
+ border-bottom: 1px solid #ccc;
}
tr.dark {
- background-color: #ccc;
+ background-color: #ddd;
}
tr.light {
- background-color: #ddd;
+ background-color: #fff;
}
td {
- font-size: 90%;
padding: 5px;
+ font-size: 90%;
+}
+hr {
+ margin: .5em 0;
+ height: 1px;
+ color: #ccc;
}
#menu {
position: absolute;
left: 0px;
top: 0px;
- padding: 1em 0 1em 0;
+ margin: 0 0 0 0;
+ padding: 0 0 .85em 0;
width: 200px;
z-index: 1;
overflow: hidden;
- background-color: #6699cc;
+ background-color: #69c;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
}
-#menu h1 a {
+#menu h1 {
+ background-color: #369;
display: block;
- margin: 0;
- padding: 0 0 .2em .6em;
+ margin: 0 0 .85em 0;
+ padding: 1em 0 .2em .6em;
+ border-top: 1px solid #69c;
+ border-bottom: 1px solid #90bade;
+}
+#menu h1 a {
color: #fff;
text-decoration: none;
- border-bottom: 1px dotted #90bade;
}
#menu ul {
list-style: none;
- margin: 0 0 0 0;
- padding: 0 0 0 .75em;
+ margin: 0;
+ padding: 0 0 0 .85em;
border: none;
}
#menu li {
margin: 0;
- padding: .25em .25em .25em 0;
- border-bottom: 1px dotted #90bade;
+ padding: .25em .25em .4em 0;
}
#menu li a {
display: block;