mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
MDL-62365 Theme Boost: default navigation item to empty
- use fa-fw as default navigation item (empty) - change indentation for 2nd level dropdown items
This commit is contained in:
parent
02c7769422
commit
04b1bea112
@ -255,7 +255,7 @@ class icon_system_fontawesome extends icon_system_font {
|
||||
'core:i/mnethost' => 'fa-external-link',
|
||||
'core:i/moodle_host' => 'fa-graduation-cap',
|
||||
'core:i/move_2d' => 'fa-arrows',
|
||||
'core:i/navigationitem' => 'fa-circle-thin',
|
||||
'core:i/navigationitem' => 'fa-fw',
|
||||
'core:i/ne_red_mark' => 'fa-remove',
|
||||
'core:i/new' => 'fa-bolt',
|
||||
'core:i/news' => 'fa-newspaper-o',
|
||||
|
@ -314,7 +314,7 @@ class renderer extends \core_course_management_renderer {
|
||||
);
|
||||
} else {
|
||||
$icon = $this->output->pix_icon(
|
||||
'i/navigationitem',
|
||||
'i/empty',
|
||||
'',
|
||||
'moodle',
|
||||
array('class' => 'tree-icon', 'title' => get_string('showcategory', 'moodle', $text))
|
||||
|
@ -678,7 +678,7 @@ class core_renderer extends \core_renderer {
|
||||
$link = new action_link(new moodle_url('#'), $menuitem->text, null, ['disabled' => true], $menuitem->icon);
|
||||
}
|
||||
if ($indent) {
|
||||
$link->add_class('ml-2');
|
||||
$link->add_class('ml-4');
|
||||
}
|
||||
if (!empty($menuitem->classes)) {
|
||||
$link->add_class(implode(" ", $menuitem->classes));
|
||||
|
Loading…
x
Reference in New Issue
Block a user