# HG changeset patch # User Mads Kiilerich # Date 1358969193 -3600 # 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 -r 62ad5f2c474e -r fd449fb5925f rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css Wed Jan 23 20:26:33 2013 +0100 +++ b/rhodecode/public/css/style.css Wed Jan 23 20:26:33 2013 +0100 @@ -468,15 +468,20 @@ 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;