mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-39814 frontend: increased size of editing icons for activities
This commit is contained in:
parent
cf69a00a1c
commit
202fcfa130
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user