Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lms/static/coffee/fixtures/accordion.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="course-wrapper">
<header id="open_close_accordion">
<a href="#">close</a>
<a href="#"><span class="sr">collapse navigation sidebar</span></a>
</header>
<div id="accordion"></div>
</div>
16 changes: 6 additions & 10 deletions lms/static/sass/course/base/_extends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,13 @@ h1.top-header {
position: relative;

a {
background: #f6f6f6 url('../images/slide-left-icon.png') center center no-repeat;
border: 1px solid #D3D3D3;
border-radius: 3px 0 0 3px;
height: 16px;
padding: 6px;
position: absolute;
right: -1px;
text-indent: -9999px;
top: 12px;
width: 16px;
z-index: 99;
display: block;
padding: 6px;
height: 24px;
border-top-left-radius: 5px;
border-bottom: 1px solid $light-gray;
background: #efefef url('../images/slide-left-icon.png') center center no-repeat;

&:hover, &:focus {
background-color: white;
Expand Down
2 changes: 1 addition & 1 deletion lms/static/sass/course/courseware/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
border-right: 1px solid $border-color-2;

#open_close_accordion {
display: none;
display: block;
}

header {
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/courseware/courseware.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
% if accordion:
<div class="course-index" role="navigation">
<header id="open_close_accordion">
<a href="#">${_("close")}</a>
<a href="#"><span class="sr">${_("collapse navigation sidebar")}</span></a>
</header>

<div id="accordion" style="display: none">
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/staticbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<section aria-label="${_('Textbook Navigation')}" class="book-sidebar">
<header id="open_close_accordion">
<a href="#">close</a>
<a href="#"><span class="sr">collapse navigation sidebar</span></a>
</header>

<ul id="booknav" class="treeview-booknav">
Expand Down