diff rhodecode/public/css/style.css @ 3203:fd449fb5925f beta

top menu: highlight current menu item - reusing hover Giving a visual hint where the user 'is' helps navigating and feeling comfortable with the site.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 23 Jan 2013 20:26:33 +0100
parents 875b417b4155
children f01540c62f8a
line wrap: on
line diff
--- 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;