mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-75684 mod_data: Update action icons
The edit icon has been replaced from a cog to a pencil. Besides, the actions icons will be displayed using black colour.
This commit is contained in:
parent
046e48c49c
commit
9fbc24898b
@ -240,9 +240,9 @@ class template {
|
||||
* @return pix_icon[] icon name => pix_icon
|
||||
*/
|
||||
protected function get_icons() {
|
||||
$attrs = ['class' => 'iconsmall'];
|
||||
$attrs = ['class' => 'iconsmall dataicon'];
|
||||
return [
|
||||
'edit' => new pix_icon('t/edit', get_string('edit'), '', $attrs),
|
||||
'edit' => new pix_icon('t/editinline', get_string('edit'), '', $attrs),
|
||||
'delete' => new pix_icon('t/delete', get_string('delete'), '', $attrs),
|
||||
'more' => new pix_icon('t/preview', get_string('more', 'data'), '', $attrs),
|
||||
'approve' => new pix_icon('t/approve', get_string('approve', 'data'), '', $attrs),
|
||||
|
@ -162,6 +162,12 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Legacy icons */
|
||||
.dataicon,
|
||||
.portfolio-add-icon {
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
/* Preset preview styles */
|
||||
#page-mod-data-preset .nopreview {
|
||||
border: 1px solid var(--secondary);
|
||||
|
Loading…
x
Reference in New Issue
Block a user