From 5f6ccfa1f416abe71a035740e3a1b5fd6acc7e28 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 10 Mar 2015 18:54:03 -0700 Subject: [PATCH] When hovering over li,anchor changes background... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .. even though you havent’t yet hovered over the link. This change corrects that behavior. Suggested by mina86: so when you hover over the LI the link changes background even though you havent’t yet hovered over the link #container #sidebar li:hover a { background: #577632; color: #fff; } s/li:hover a/li a:hover/ would be IMO better --- www/conservancy/static/conservancy.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css index e0e7e4ce..aa4b9828 100644 --- a/www/conservancy/static/conservancy.css +++ b/www/conservancy/static/conservancy.css @@ -157,7 +157,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; } border: 1px solid #CCC; background: #fff url(/img/nav-bg.png) bottom repeat-x; } -#container #sidebar li:hover a { background: #577632; color: #fff; } +#container #sidebar li a:hover { background: #577632; color: #fff; } #container #sidebar.Directors ul li.Directors, #container #sidebar.Eval ul li.Eval,