Merge pull request #25877 from edx/aj/branding/update-expand-button

Update Course Home button Expand All / Collapse All
This commit is contained in:
Awais Jibran
2020-12-15 00:48:21 +05:00
committed by GitHub
3 changed files with 2 additions and 9 deletions

View File

@@ -423,13 +423,6 @@
}
}
#expand-collapse-outline-all-button {
float: right;
background-color: transparent;
color: $black;
cursor: pointer;
}
// extra padding for expand/collapse text change
.expand-collapse-outline-all-extra-padding {
padding: 0 4px;

View File

@@ -1,5 +1,5 @@
<section class="course-outline" id="main">
<button class="btn btn-primary"
<button class="btn btn-outline-primary pull-right"
id="expand-collapse-outline-all-button"
aria-expanded="false"
aria-controls="course-outline-block-tree"

View File

@@ -28,7 +28,7 @@ dates_banner_displayed = False
<main role="main" class="course-outline" id="main" tabindex="-1">
<%include file="/dates_banner.html" />
% if course_sections is not None:
<button class="btn btn-primary"
<button class="btn btn-outline-primary pull-right"
id="expand-collapse-outline-all-button"
aria-expanded="false"
aria-controls="course-outline-block-tree"