MDL-39814 frontend: increased size of editing icons for activities

This commit is contained in:
Sam Hemelryk 2013-07-08 13:22:31 +12:00
parent cf69a00a1c
commit 202fcfa130
3 changed files with 15 additions and 7 deletions

View File

@ -3166,13 +3166,12 @@ class action_menu implements renderable {
$output = $OUTPUT;
}
$actions = $this->primaryactions;
$attributes = array(
'type' => 'image',
'src' => $output->pix_url('t/contextmenu', 'moodle'),
'alt' => get_string('actions', 'moodle'),
'class' => 'toggle-display'
$actions[] = $output->pix_icon(
't/contextmenu',
get_string('actions', 'moodle'),
'moodle',
array('class' => 'toggle-display iconsmall')
);
$actions[] = html_writer::empty_tag('input', $attributes);
return $actions;
}

View File

@ -595,3 +595,12 @@ span.editinstructions {
text-align: center;
margin: 10px 0 20px;
}
.section .activity .moodle-actionmenu .iconsmall,
.section .activity .moodle-actionmenu .toggle-display {
width:16px;
height:16px;
width:1rem;
height:1rem;
padding:0.3em;
}

File diff suppressed because one or more lines are too long