From: Florian Forster Date: Wed, 30 Jun 2010 13:15:23 +0000 (+0200) Subject: share/style.css: Fix the ":hover" pseudo-classes. X-Git-Tag: v4.0.0~172 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cc13f974897355cb6b0161234c54d2a8689178c7;p=collection4.git share/style.css: Fix the ":hover" pseudo-classes. At least FireFox doesn't honor the ":hover" pseudo-class if the selector doesn't contain a tag name. --- diff --git a/share/style.css b/share/style.css index ad83577..3f2cf59 100644 --- a/share/style.css +++ b/share/style.css @@ -168,6 +168,16 @@ a:hover clear: both; } +div.graph-img div.graph-buttons +{ + display: none; +} + +div.graph-img:hover div.graph-buttons +{ + display: block; +} + .graph-img .graph-buttons.navigation { position: absolute; @@ -193,7 +203,7 @@ a:hover cursor: pointer; } -.graph-buttons .graph-button:hover +.graph-buttons div.graph-button:hover { border: 1px solid black; background-color: white;