mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-32777 format_topics/weeks: section-summary CSS
Ensure there isn't list-style like bullets
This commit is contained in:
parent
e16e2300c5
commit
a60cc6e174
@ -268,10 +268,10 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
protected function section_summary($section, $course) {
|
||||
|
||||
$o = '';
|
||||
$o.= html_writer::start_tag('li', array('id' => 'section-'.$section->section));
|
||||
$o.= html_writer::start_tag('li', array('id' => 'section-'.$section->section,
|
||||
'class' => 'section-summary clearfix'));
|
||||
|
||||
$title = get_section_name($course, $section);
|
||||
$o.= html_writer::start_tag('div', array('class' => 'section-summary'));
|
||||
$o.= html_writer::start_tag('a', array('href' => course_get_url($course, $section->section)));
|
||||
$o.= $this->output->heading($title, 3, 'header section-title');
|
||||
$o.= html_writer::end_tag('a');
|
||||
@ -279,7 +279,6 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
$o.= html_writer::start_tag('div', array('class' => 'summarytext'));
|
||||
$o.= format_text($section->summary, $section->summaryformat);
|
||||
$o.= html_writer::end_tag('div');
|
||||
$o.= html_writer::end_tag('div');
|
||||
$o.= html_writer::end_tag('li');
|
||||
|
||||
return $o;
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
.course-content .section .activity img.activityicon {vertical-align:middle;height:16px;width:16px;}
|
||||
.course-content .section .activity .commands img.iconsmall {vertical-align: baseline;}
|
||||
.course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; }
|
||||
.course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; }
|
||||
.course-content .section-summary .section-title { margin: 2px 5px 2px 5px; }
|
||||
.course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
|
||||
.course-content .section-navigation { display: block; padding: 10px; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user