MDL-55736 theme_boost: Subtle highlighting of a section

This commit is contained in:
Frédéric Massart 2016-09-21 16:35:16 +02:00 committed by Frédéric Massart
parent d9520bc04e
commit ba92a049f4
3 changed files with 10 additions and 11 deletions

View file

@ -1,11 +1,6 @@
.course-content ul.topics { .course-content ul.topics {
margin: 0; margin: 0;
}
.course-content ul.topics li.section {
list-style: none; list-style: none;
margin: 0 0 5px 0;
padding: 0;
} }
.course-content ul.topics li.section .content { .course-content ul.topics li.section .content {

View file

@ -1,11 +1,6 @@
.course-content ul.weeks { .course-content ul.weeks {
margin: 0; margin: 0;
}
.course-content ul.weeks li.section {
list-style: none; list-style: none;
margin: 0 0 5px 0;
padding: 0;
} }
.course-content ul.weeks li.section .content { .course-content ul.weeks li.section .content {

View file

@ -210,7 +210,16 @@
} }
.course-content .current { .course-content .current {
@extend .tag-info; position: relative;
}
.course-content .current::before {
content: "";
border-left: $brand-primary 2px solid;
position: absolute;
left: -15px;
top: 0;
bottom: 0;
} }
.course-content .section-summary { .course-content .section-summary {