From cc13f974897355cb6b0161234c54d2a8689178c7 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 30 Jun 2010 15:15:23 +0200 Subject: [PATCH] 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. --- share/style.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; -- 2.30.2