MDL-81765 course: fix double highlighted in subsections
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
"number": 1,
|
||||
"sectionurl": "#",
|
||||
"indexcollapsed": 0,
|
||||
"component": null,
|
||||
"current": 1,
|
||||
"visible": 1,
|
||||
"hasrestrictions": 0,
|
||||
@@ -56,7 +57,7 @@
|
||||
}
|
||||
}}
|
||||
<div
|
||||
class="courseindex-section {{#current}}current{{/current}}"
|
||||
class="courseindex-section {{#current}}current{{/current}} {{#component}}delegated-section{{/component}}"
|
||||
id="course-index-section-{{id}}"
|
||||
data-for="section"
|
||||
data-id="{{id}}"
|
||||
|
||||
@@ -158,6 +158,11 @@ $courseindex-item-current: $primary !default;
|
||||
.current-badge {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Skip current badges in delegated sections. */
|
||||
.delegated-section .current-badge {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.dropready .courseindex-item-content {
|
||||
|
||||
@@ -38450,10 +38450,14 @@ div.editor_atto_toolbar button .icon {
|
||||
}
|
||||
.courseindex .courseindex-section.current {
|
||||
border-left: solid 3px #0f6cbf;
|
||||
/* Skip current badges in delegated sections. */
|
||||
}
|
||||
.courseindex .courseindex-section.current .current-badge {
|
||||
display: inline-block;
|
||||
}
|
||||
.courseindex .courseindex-section.current .delegated-section .current-badge {
|
||||
display: none;
|
||||
}
|
||||
.courseindex .courseindex-section.dropready .courseindex-item-content {
|
||||
/* Extra dropzone space */
|
||||
padding-bottom: 1em;
|
||||
|
||||
@@ -38384,10 +38384,14 @@ div.editor_atto_toolbar button .icon {
|
||||
}
|
||||
.courseindex .courseindex-section.current {
|
||||
border-left: solid 3px #0f6cbf;
|
||||
/* Skip current badges in delegated sections. */
|
||||
}
|
||||
.courseindex .courseindex-section.current .current-badge {
|
||||
display: inline-block;
|
||||
}
|
||||
.courseindex .courseindex-section.current .delegated-section .current-badge {
|
||||
display: none;
|
||||
}
|
||||
.courseindex .courseindex-section.dropready .courseindex-item-content {
|
||||
/* Extra dropzone space */
|
||||
padding-bottom: 1em;
|
||||
|
||||
Reference in New Issue
Block a user