mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Move the dimensions of the collapse/uncollapse graphic image to CSS.
This commit is contained in:
parent
658c8f34be
commit
36b51cb5d1
@ -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>';
|
||||
}
|
||||
|
@ -732,6 +732,8 @@ table.calendar-controls .next
|
||||
}
|
||||
|
||||
.sideblockheading .hide-show img.hide-show-image {
|
||||
height:11px;
|
||||
width:11px;
|
||||
margin-top:0.25em;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user