Move the dimensions of the collapse/uncollapse graphic image to CSS.

This commit is contained in:
defacer 2005-02-17 14:33:30 +00:00
parent 658c8f34be
commit 36b51cb5d1
2 changed files with 3 additions and 1 deletions

View File

@ -3632,7 +3632,7 @@ function print_side_block_start($heading='', $attributes = array()) {
if ($heading) {
echo '<tr><th class="sideblockheading">'.$heading;
if (!empty($CFG->allowuserblockhiding)) {
echo '<div class="hide-show"><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, \'TABLE\', \'sideblock\'); } ); return false;"><img src="'.$CFG->pixpath.'/spacer.gif" alt="" height="11" width="11" class="hide-show-image" /></a></div>';
echo '<div class="hide-show"><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, \'TABLE\', \'sideblock\'); } ); return false;"><img src="'.$CFG->pixpath.'/spacer.gif" alt="" class="hide-show-image" /></a></div>';
}
echo '</th></tr>';
}

View File

@ -732,6 +732,8 @@ table.calendar-controls .next
}
.sideblockheading .hide-show img.hide-show-image {
height:11px;
width:11px;
margin-top:0.25em;
}