summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-02-25 00:56:37 +0100
committerMichael Hamann <michael@content-space.de>2013-02-25 01:32:15 +0100
commit96e1f756daa0ff09e8a68c74a6fc4f606a723f77 (patch)
tree3956ff917fdaab0a0dac3e04d3c0db8f9dfb97cd /lib/tpl
parentc97b0f20e860cdd8e4dbb72b14ca1588ec7abda1 (diff)
downloadrpg-96e1f756daa0ff09e8a68c74a6fc4f606a723f77.tar.gz
rpg-96e1f756daa0ff09e8a68c74a6fc4f606a723f77.tar.bz2
Use "old" image replacement for pagetools in IE7
This fixes the image display in IE7 with the disadvantage that now in IE7 with images disabled the text won't be displayed anymore.
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/dokuwiki/css/pagetools.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/tpl/dokuwiki/css/pagetools.css b/lib/tpl/dokuwiki/css/pagetools.css
index 41f876d48..21e5c13ec 100644
--- a/lib/tpl/dokuwiki/css/pagetools.css
+++ b/lib/tpl/dokuwiki/css/pagetools.css
@@ -133,6 +133,25 @@
padding: 5px 5px 5px 40px;
}
+/* IE7 fixes, doesn't work without images */
+
+#IE7 #dokuwiki__pagetools ul li a {
+ background-image: url(images/pagetools-sprite.png);
+}
+
+#IE7 #dokuwiki__pagetools:hover ul li a span,
+#IE7 #dokuwiki__pagetools ul li a:focus span,
+#IE7 #dokuwiki__pagetools ul li a:active span {
+ clip: auto;
+ display: inline;
+ position: static;
+}
+
+#IE7 #dokuwiki__pagetools ul li a span {
+ clip: rect(0 0 0 0);
+ position: absolute;
+}
+
#dokuwiki__pagetools ul li a:hover,
#dokuwiki__pagetools ul li a:active,
#dokuwiki__pagetools ul li a:focus {