From 00540a38be97858e71163f53dddf8dee53185b1d Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 10 Dec 2005 20:37:09 +0100 Subject: unobstrusive JS for TOC, better onload handling This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet. darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz --- lib/tpl/default/design.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/tpl') diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index 303bff0f7..229bbc58c 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -482,17 +482,18 @@ div.tocheader { } div.toctoggle { - float:right; - margin-top:0.3em; - margin-right:3px; } -div.toctoggle img { +div.tocheader img { width:0.8em; height:0.8em; + float:right; + margin-top:0.3em; + margin-right:3px; + cursor: pointer; } -#tocinside { +#toc__inside { border: 1px solid __dark__; background-color: __white__; text-align: left; -- cgit v1.2.3