From: Patrick McCarty Date: Sun, 3 Jan 2010 06:05:24 +0000 (-0800) Subject: Web: CSS: fix leftmost gradient in second-level TOC. X-Git-Tag: release/2.13.11-1~106^2~8 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9550b45b59d412bd6ad10e4002108a877885b252;p=lilypond.git Web: CSS: fix leftmost gradient in second-level TOC. --- diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css index 33ad30ed86..ea5cd4d240 100644 --- a/Documentation/css/lilypond-web.css +++ b/Documentation/css/lilypond-web.css @@ -228,14 +228,11 @@ div#tocframe { margin: 0; } - -#tocframe .toc .toc li.toc_current a { - background: #8cbc6c; - color: #000; -} - +#tocframe .toc .toc li.toc_current a, #tocframe .toc .toc li.toc_current a:hover { - background: #acdd8c; + background: #8cbc6c url(../pictures/nav-active-2.png) repeat-x top left; + color: #fff; + text-decoration: underline; } #tocframe .toc .toc li a:hover { @@ -268,19 +265,11 @@ div#tocframe { } /* having this useless style makes the perl init file easier */ -#tocframe .toc .toc li.colorDefault a { - color: #000; - text-decoration: none; - background: #9ccc7c; - background: url(../pictures/nav-bg-2.png) repeat-x top left; -} - +#tocframe .toc .toc li.colorDefault a, #tocframe .toc .toc li.colorDefault a:hover { color: #fff; - text-decoration: underline; - background: #9ccc7c; - background: url(../pictures/nav-hover-2.png) repeat-x top left; } + #tocframe .toc .toc li.color1 a:hover { background: #addd8d; background: url(../pictures/color1-hover.png) repeat-x top left;