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:
Meirza 2023-01-02 20:23:15 +07:00
parent b8b905cd90
commit c5e4685833
3 changed files with 26 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;