Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

menu template/css improvements

  • Loading branch information...
commit 1a5e57d74082682d121fb71e8a905dfccb8c0c0b 1 parent d348af9
Daniele Procida authored
5 arkestra_utilities/static/arkestra/css/arkestra_navigation.css
View
@@ -2,6 +2,8 @@
ul.menu { /* the whole thing */
text-align: left;
+ z-index: 200;
+ position: relative;
}
li.menu_item a {
@@ -71,14 +73,15 @@ ul#tab-menu {
width: 100%; /* width of entire menu */
margin: 0 0 .5em 0; /*margin underneath menu*/
padding: 0;
- list-style: none;
}
ul#tab-menu li {
background:url(/static/arkestra/images/tabmenu/tabmenu_bg_inactive_rt.gif) no-repeat right top;
float:left;
margin: 0 2px 0 0; /*gap between menu tabs*/
padding:0;
+ list-style: none;
}
+
ul#tab-menu a {
background:url(/static/arkestra/images/tabmenu/tabmenu_bg_inactive_lt.gif) no-repeat left top;
display:block;
7 arkestra_utilities/templates/cms/arkestra_menu.html
View
@@ -4,9 +4,10 @@
{#% cache CMS_CONTENT_CACHE_DURATION menu page.id lang current_page.id %#}
{% for child in children %}
-<li class="menu_item">
- <a href="{{ child.get_absolute_url }}"
- {% if child.selected %}class = "selected"{% endif %}>
+<li class="menu_item">
+ <a href="{{ child.get_absolute_url }}"
+ class="{{ child.selected|yesno:"selected,"}}{{ child.children|yesno:" children,"}}"
+ >
{{ child.get_menu_title|amp|smartypants|caps|initial_quotes }}</a>
{% if child.children %}
<ul>{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}</ul>
Please sign in to comment.
Something went wrong with that request. Please try again.