mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-38661 Course: Add JS category expander.
This adds a category expanded which: * fetches child content in a category tree if it has not already been loaded; * toggles relevant classes on the category node to show and hide child content; and * applies appropriate animations to improve user experience.
This commit is contained in:
parent
b69ec2889e
commit
53c1b936e5
18 changed files with 1437 additions and 103 deletions
|
@ -8,16 +8,6 @@
|
|||
margin: 15px 0 25px;
|
||||
}
|
||||
|
||||
.course_category_tree .controls {
|
||||
color: #888;
|
||||
font-size: 0.9em;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.course_category_tree .controls div {
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
|
||||
#page-course-index-category .generalbox.info {
|
||||
margin: 25px auto 30px;
|
||||
width: 75%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue