MDL-72790 block_timeline: Improve padding and background in Classic
commit921eb5ce0e845b67ad274343a1d3eabc50397440
authorMichael Hawkins <michaelh@moodle.com>
Wed, 13 Oct 2021 05:14:09 +0000 (13 13:14 +0800)
committerMichael Hawkins <michaelh@moodle.com>
Wed, 24 Nov 2021 06:09:50 +0000 (24 14:09 +0800)
treec2a23022b84e719961550ef5aea40cbc1bfe17e1
parent7013bda35b783ad6245dbe49982d2750f77b40fd
MDL-72790 block_timeline: Improve padding and background in Classic

This ensures in the Classic theme that some padding is appled to both
sides of each item, so titles and action buttons are not flush against
the margin. Dropdowns/inputs in the block are also aligned to this
content, so everything aligns in both Boost and Classic.
This commit also groups related elements with a solid background colour
(eg within the same course in courses view), rather than having
individual row items broken up, to improve readability (and look nicer).
18 files changed:
blocks/timeline/amd/build/event_list.min.js
blocks/timeline/amd/build/event_list.min.js.map
blocks/timeline/amd/build/view_courses.min.js
blocks/timeline/amd/build/view_courses.min.js.map
blocks/timeline/amd/src/event_list.js
blocks/timeline/amd/src/view_courses.js
blocks/timeline/templates/course-item-loading-placeholder.mustache
blocks/timeline/templates/course-item.mustache
blocks/timeline/templates/event-list-content.mustache
blocks/timeline/templates/event-list-item.mustache
blocks/timeline/templates/event-list-items.mustache
blocks/timeline/templates/event-list-loadmore.mustache
blocks/timeline/templates/event-list.mustache
blocks/timeline/templates/main.mustache
blocks/timeline/templates/placeholder-event-list-item.mustache
theme/boost/scss/moodle/blocks.scss
theme/boost/style/moodle.css
theme/classic/style/moodle.css