Skip to content

Commit

Permalink
MDL-50323 themes: Course unordered lists correctly styled.
Browse files Browse the repository at this point in the history
Thank you to Ann Adamcik for providing this patch.
  • Loading branch information
abgreeve committed Sep 8, 2015
1 parent a64e1f3 commit 9cd25ae
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
4 changes: 4 additions & 0 deletions theme/base/style/core.css
Expand Up @@ -1307,6 +1307,10 @@ sup {vertical-align: super;}

.course-content ul.weeks .content .summary ul,
.course-content ul.topics .content .summary ul {list-style: disc outside none;}
.course-content ul.weeks .content .summary ul ul,
.course-content ul.topics .content .summary ul ul {list-style: circle outside none;}
.course-content ul.weeks .content .summary ul ul ul,
.course-content ul.topics .content .summary ul ul ul {list-style: square outside none;}

.course-content ul.weeks .content .summary ol,
.course-content ul.topics .content .summary ol {list-style: decimal outside none;}
Expand Down
10 changes: 10 additions & 0 deletions theme/base/style/course.css
Expand Up @@ -66,6 +66,16 @@
right: auto;
}

.course-content li.section li.activity ul {
list-style: disc;
}
.course-content li.section li.activity ul ul {
list-style: circle;
}
.course-content li.section li.activity ul ul ul {
list-style: square;
}

.sitetopic .section .activity .activityinstance div,
.course-content .section .activity .activityinstance div { display: inline;}
.course-content .section .activity .activityinstance form { display: inline;}
Expand Down
27 changes: 27 additions & 0 deletions theme/bootstrapbase/less/moodle/course.less
Expand Up @@ -344,6 +344,33 @@
margin-left: 25px;
}

.course-content li {
&.section {
ul {
list-style: disc;
ul {
list-style: circle;
ul {
list-style: square;
}
}
}
li {
&.activity {
ul {
list-style: disc;
ul {
list-style: circle;
ul {
list-style: square;
}
}
}
}
}
}
}

.path-course-view .completionprogress {
margin-left: 25px
}
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 9cd25ae

Please sign in to comment.