From 5f6ccfa1f416abe71a035740e3a1b5fd6acc7e28 2015-03-11 01:54:03 From: Bradley M. Kuhn Date: 2015-03-11 01:54:03 Subject: [PATCH] When hovering over li,anchor changes background... .. 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 --- diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css index e0e7e4ceadcb8dcaa24a77856b6facff5ebb86d2..aa4b9828a6cd638ba29316d25e41678d151802ff 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,