summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5369fa3)
raw | patch | inline | side by side (parent: 5369fa3)
author | Florian Forster <ff@octo.it> | |
Wed, 30 Jun 2010 13:15:23 +0000 (15:15 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 30 Jun 2010 13:15:23 +0000 (15:15 +0200) |
At least FireFox doesn't honor the ":hover" pseudo-class if the selector
doesn't contain a tag name.
doesn't contain a tag name.
share/style.css | patch | blob | history |
diff --git a/share/style.css b/share/style.css
index ad835779fc60da7bbeda47ada35797f2fa3db02e..3f2cf592852fd1b9141267495c8ba8ef6a8d27cb 100644 (file)
--- a/share/style.css
+++ b/share/style.css
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;
cursor: pointer;
}
-.graph-buttons .graph-button:hover
+.graph-buttons div.graph-button:hover
{
border: 1px solid black;
background-color: white;