summaryrefslogtreecommitdiff
path: root/themes/chameleon
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-30 07:37:14 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-30 07:37:14 +0000
commite57fac565a11a7350abebd26ec3a47c642330e7a (patch)
tree289203067a47bd97487955b41838cb2ba05b80e7 /themes/chameleon
parentc0d00699086f8a32093db8a8132f7aea17774a9c (diff)
downloadbrdo-e57fac565a11a7350abebd26ec3a47c642330e7a.tar.gz
brdo-e57fac565a11a7350abebd26ec3a47c642330e7a.tar.bz2
#65151 by m3avrck. theme_links() is now marked up as a list.
Diffstat (limited to 'themes/chameleon')
-rw-r--r--themes/chameleon/chameleon.theme10
-rw-r--r--themes/chameleon/common.css2
-rw-r--r--themes/chameleon/marvin/style.css11
-rw-r--r--themes/chameleon/style.css13
4 files changed, 27 insertions, 9 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index ca67eaa4b..086bf2128 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -55,15 +55,15 @@ function chameleon_page($content, $show_blocks = TRUE) {
$output .= "</div>\n";
- $primary_links = theme('links', menu_primary_links());
- $secondary_links = theme('links', menu_secondary_links());
+ $primary_links = theme('links', menu_primary_links(), array('class' => 'links', 'id' => 'navlist'));
+ $secondary_links = theme('links', menu_secondary_links(), array('class' => 'links', 'id' => 'subnavlist'));
if (isset($primary_links) || isset($secondary_links)) {
$output .= ' <div class="navlinks">';
if (isset($primary_links)) {
- $output .= '<div class="primary">'. $primary_links .'</div>';
+ $output .= $primary_links;
}
if (isset($secondary_links)) {
- $output .= '<div class="secondary">'. $secondary_links .'</div>';
+ $output .= $secondary_links;
}
$output .= " </div>\n";
}
@@ -150,7 +150,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) {
$links = array_merge($links, $node->links);
}
if (count($links)) {
- $output .= " <div class=\"links\">". theme('links', $links) ."</div>\n";
+ $output .= '<div class="links">'. theme('links', $links, array('class' => 'links inline')) ."</div>\n";
}
$output .= "</div>\n";
diff --git a/themes/chameleon/common.css b/themes/chameleon/common.css
index 14192d89d..f1f213b89 100644
--- a/themes/chameleon/common.css
+++ b/themes/chameleon/common.css
@@ -93,7 +93,7 @@ br {
.content {
margin: 0 0 .5em 0;
}
-.links {
+ul.links.inline {
font-size: 0.8em;
line-height: 1.25em;
}
diff --git a/themes/chameleon/marvin/style.css b/themes/chameleon/marvin/style.css
index c24c7dd82..0e6b799f5 100644
--- a/themes/chameleon/marvin/style.css
+++ b/themes/chameleon/marvin/style.css
@@ -45,6 +45,15 @@ table {
#header .title {
padding-top: .75em;
}
+#subnavlist {
+ font-size: 0.8em;
+}
+ul.links li {
+ border-left: 1px solid #888;
+}
+ul.links li.first {
+ border: none;
+}
/*
** Common declarations for child classes of node, comment, block, box etc
@@ -65,7 +74,7 @@ table {
padding-left: 1em;
}
.node .links {
- padding: 1em;
+ padding: 1em 0 1em 0.2em;
}
.comment {
border: solid 1px #777;
diff --git a/themes/chameleon/style.css b/themes/chameleon/style.css
index 33c34c6aa..aee4706ed 100644
--- a/themes/chameleon/style.css
+++ b/themes/chameleon/style.css
@@ -55,6 +55,15 @@ ul {
margin-top: -0.1em;
font-size: 0.8em;
}
+#subnavlist {
+ font-size: 0.8em;
+}
+ul.links li {
+ border-left: 1px solid #000;
+}
+ul.links li.first {
+ border-left: none;
+}
.node .title {
font-size: 1.2em;
}
@@ -68,10 +77,10 @@ ul {
.node .title a:hover {
text-decoration: underline;
}
-.links {
+div.links {
margin: 1em 0 3em 0;
text-align: right;
- }
+}
.comment .content, .block .content, .menu {
font-size: 0.9em;
}