Render collapse/expand buttons using CSS instead of JS

Fix #1354
Also clean up some dependent JS unused since c64e1bc
This commit is contained in:
Dan Rice 2012-11-14 22:01:43 -05:00
parent 416a8699d5
commit bdbb1dd29d
11 changed files with 18 additions and 53 deletions

View file

@ -337,9 +337,12 @@ a.show_successors:hover, a.link_to_successors:hover {background-image: image-url
}
.container_toggle img {
height:14px;
width:14px;
border:0px;
height: 14px;
width: 14px;
border: 0px;
background: image-url('collapse_expand.png') no-repeat left top;
.context_collapsed & { background-position: left bottom; }
}
h2 {