mirror of
https://github.com/moodle/moodle.git
synced 2025-05-04 15:27:34 +02:00
MDL-73519 core_course: re-styling the unordered list.
Currently, the unordered list in the course content follows the original style and is ordered from the top of the content section, which is not part of the description. That's why the first occurrence of the list is the 2nd level which uses the circle as the marker/list type instead of the disc. In contrast, the editor always uses the original style. so we need to reset the CSS of the unordered list in the description to the original which the disc as the first marker, a circle for the second marker, and a square for the following levels.
This commit is contained in:
parent
b8b905cd90
commit
c5e4685833
@ -1399,6 +1399,18 @@ $activity-add-hover: theme-color-level('primary', -10) !default;
|
||||
}
|
||||
}
|
||||
|
||||
.course-content .description-inner {
|
||||
ul {
|
||||
list-style: disc;
|
||||
ul {
|
||||
list-style: circle;
|
||||
ul {
|
||||
list-style: square;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.activity-item {
|
||||
position: relative;
|
||||
|
||||
|
@ -14881,6 +14881,13 @@ span.editinstructions {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 0; }
|
||||
|
||||
.course-content .description-inner ul {
|
||||
list-style: disc; }
|
||||
.course-content .description-inner ul ul {
|
||||
list-style: circle; }
|
||||
.course-content .description-inner ul ul ul {
|
||||
list-style: square; }
|
||||
|
||||
.activity-item {
|
||||
position: relative;
|
||||
border-radius: 0.5rem;
|
||||
|
@ -14881,6 +14881,13 @@ span.editinstructions {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 0; }
|
||||
|
||||
.course-content .description-inner ul {
|
||||
list-style: disc; }
|
||||
.course-content .description-inner ul ul {
|
||||
list-style: circle; }
|
||||
.course-content .description-inner ul ul ul {
|
||||
list-style: square; }
|
||||
|
||||
.activity-item {
|
||||
position: relative;
|
||||
border-radius: 0.25rem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user