[Rt-commit] r3439 - in rt/branches/3.5-TESTING: . html/Elements
html/NoAuth/css
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 8 14:31:39 EDT 2005
Author: trs
Date: Fri Jul 8 14:31:38 2005
New Revision: 3439
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/Menu
rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
Log:
r4941 at wintermute: tom | 2005-07-08 13:09:27 -0400
IE should now have the menu arrows
Modified: rt/branches/3.5-TESTING/html/Elements/Menu
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Menu (original)
+++ rt/branches/3.5-TESTING/html/Elements/Menu Fri Jul 8 14:31:38 2005
@@ -63,7 +63,14 @@
%
% $sep = $toptabs->{$tab}->{'separator'} ? 1 : 0;
%
-% $class->{a} = $path eq $current ? ' class="selected"' : undef;
+% my @aclass;
+% push @aclass, 'selected'
+% if $path eq $current;
+%
+% push @aclass, 'odd'
+% if $level % 2;
+%
+% $class->{a} = join ' ', @aclass;
%
% my @li;
% push @li, 'first'
@@ -77,7 +84,7 @@
%
% $class->{li} = join ' ', @li;
%
- <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && "· "|n%><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>"<%$class->{a}|n%><% $class->{a} ? ' name="focus"' : ''|n %><% !$level && " accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
+ <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && "· "|n%><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>"<% $class->{a} && qq[ class="$class->{a}"] |n%><% !$level && " accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
%# Second-level items
% if ($toptabs->{$tab}->{'subtabs'}) {
<& /Elements/Menu, level => $level+1,
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/nav.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/nav.css Fri Jul 8 14:31:38 2005
@@ -105,8 +105,8 @@
background: transparent url(<%$RT::WebImagesURL%>/css/dark-arrow.png) no-repeat bottom center;
}
-html>body #nav .odd > div > li > :link.selected,
-html>body #nav .odd > div > li > :visited.selected
+html>body #nav :link.selected.odd,
+html>body #nav :visited.selected.odd
{
padding-bottom: 0.8em;
background: transparent url(<%$RT::WebImagesURL%>/css/light-arrow.png) no-repeat bottom center;
More information about the Rt-commit
mailing list