# HG changeset patch # User Mads Kiilerich # Date 2013-01-23 19:26:33 # Node ID fd449fb5925fe162e92f8240b79b64f84ff078bb # Parent 62ad5f2c474e0a729f5a48d9ffec7c7f20f3c90e top menu: highlight current menu item - reusing hover Giving a visual hint where the user 'is' helps navigating and feeling comfortable with the site. diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -468,15 +468,20 @@ div:hover > a.permalink { margin: 0px -2px 0px 0px; } +#header #header-inner #quick li.current a, #header #header-inner #quick li a:hover { background: #4e4e4e no-repeat top left; } +#header #header-inner #quick li.current a span, #header #header-inner #quick li a:hover span { border-left: 1px solid #545454; } -#header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short +#header #header-inner #quick li.current a span.icon, +#header #header-inner #quick li.current a span.icon_short, +#header #header-inner #quick li a:hover span.icon, +#header #header-inner #quick li a:hover span.icon_short { border-left: none; border-right: 1px solid #464646;