Commit fc630b2b authored by Marina Glancy's avatar Marina Glancy
Browse files

MDL-43211 blocks: style edit icons in main menu and social activities

parent 639d9904
.block_site_main_menu li { clear: both; }
.block_site_main_menu li .column { width: 100%; }
.block_site_main_menu li .buttons { float: right; margin-top: 3px;}
.block_site_main_menu li .buttons { float: right; margin: 0; }
.dir-rtl .block_site_main_menu li .buttons { float: left; }
.block_site_main_menu li .buttons a img{ vertical-align: text-bottom; margin: 0 3px;}
.block_site_main_menu li .buttons a img{ vertical-align: text-bottom;}
.block_site_main_menu .footer { margin-top: 1em; }
.block_site_main_menu .section_add_menus noscript div { display: inline;}
......@@ -91,8 +91,10 @@ class block_social_activities extends block_list {
}
if (!$ismoving) {
$actions = course_get_cm_edit_actions($mod, -1);
$editbuttons = '<br />'.
$courserenderer->course_section_cm_edit_actions($actions, $mod);
$editbuttons = html_writer::tag('div',
$courserenderer->course_section_cm_edit_actions($actions, $mod, array('donotenhance' => true)),
array('class' => 'buttons')
);
} else {
$editbuttons = '';
}
......
.block_social_activities li { clear: both; }
.block_social_activities li .column { width: 100%; }
.block_social_activities li .buttons { float: right; margin: 0; }
.dir-rtl .block_social_activities li .buttons { float: left; }
.block_social_activities li .buttons a img{ vertical-align: text-bottom;}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment