summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-26 23:05:14 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-26 23:05:14 +0000
commit0ff789c61d1c2ed332064d1af928fb3dfb4800af (patch)
tree25954cee35e9a5cff3018bcef4a162e61850dd63 /misc
parent36b90c05e30db562b52f4b278e418e6605fcb4b9 (diff)
downloadbrdo-0ff789c61d1c2ed332064d1af928fb3dfb4800af.tar.gz
brdo-0ff789c61d1c2ed332064d1af928fb3dfb4800af.tar.bz2
- Patch by Kjartan:
+ Fixed CSS to use the same format as the rest of drupal.css. + Added fallback routine for menu icons. + Fixed anonymous users not seeing the menu. + Added proper access checks for admin and help menu items.
Diffstat (limited to 'misc')
-rw-r--r--misc/drupal.css46
1 files changed, 37 insertions, 9 deletions
diff --git a/misc/drupal.css b/misc/drupal.css
index 936715445..881657227 100644
--- a/misc/drupal.css
+++ b/misc/drupal.css
@@ -259,12 +259,40 @@ pre, code {
color: red;
}
-#menu { padding: 0 0 0 0.5em; }
-#menu ul { list-style: none; margin: 0; padding: 0 0 0.25em 1em; border: none; text-align:left;}
-#menu li { margin: 0; padding: 0.2em 0.5em 0 0; }
-#menu li a { display: block; width: 100%; text-decoration: none; }
-#menu li a.current { color: #000; }
-#menu li a:hover { color: #009; }
-#menu li.expanded { list-style-image: url(menu-expanded.gif); }
-#menu li.collapsed { list-style-image: url(menu-collapsed.gif); }
-#menu li.leaf { list-style-image: url(menu-leaf.gif); }
+#menu {
+ padding: 0 0 0 0.5em;
+}
+#menu ul {
+ list-style: none;
+ margin: 0;
+ padding: 0 0 0.25em 1em;
+ border: none;
+ text-align:left;
+}
+#menu li {
+ margin: 0;
+ padding: 0.2em 0.5em 0 0;
+}
+#menu li a {
+ display: block;
+ width: 100%;
+ text-decoration: none;
+}
+#menu li a.current {
+ color: #000;
+}
+#menu li a:hover {
+ color: #009;
+}
+#menu li.expanded {
+ list-style-type: circle;
+ list-style-image: url(menu-expanded.gif);
+}
+#menu li.collapsed {
+ list-style-type: disc;
+ list-style-image: url(menu-collapsed.gif);
+}
+#menu li.leaf {
+ list-style-type: square;
+ list-style-image: url(menu-leaf.gif);
+}