Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 337: | Line 337: | ||
<div style="text-align:right; margin-top:-35px; margin-bottom: 15px; padding-right: 5px"> | <div style="text-align:right; margin-top:-35px; margin-bottom: 15px; padding-right: 5px"> | ||
− | <button onclick="expandSidebar()" style="cursor:pointer; outline: none; border-width:0px"> <i class="fa fa-arrow-right button-top" aria-hidden="true"></i> </button> | + | <button onclick="expandSidebar()" style="cursor:pointer; outline: none; border-width:0px"> <i id="expandSidebar-icon" class="fa fa-arrow-right button-top" aria-hidden="true"></i> </button> |
</div> | </div> | ||
Line 435: | Line 435: | ||
$("#space-end-social").css({'margin-bottom':'60px'}) | $("#space-end-social").css({'margin-bottom':'60px'}) | ||
$("#space-end-music").css({'margin-bottom':'45px'}) | $("#space-end-music").css({'margin-bottom':'45px'}) | ||
+ | $("#expandSidebar-icon").removeClass(fa-arrow-right) | ||
+ | $("#expandSidebar-icon").addClass(fa-arrow-left) | ||
}else{ | }else{ | ||
$("#menu").css('width','300px') | $("#menu").css('width','300px') | ||
Line 445: | Line 447: | ||
$("#space-end-social").css({'margin-bottom':'30px'}) | $("#space-end-social").css({'margin-bottom':'30px'}) | ||
$("#space-end-music").css({'margin-bottom':'40px'}) | $("#space-end-music").css({'margin-bottom':'40px'}) | ||
+ | $("#expandSidebar-icon").removeClass(fa-arrow-left) | ||
+ | $("#expandSidebar-icon").addClass(fa-arrow-right) | ||
} | } | ||
} | } |
Revision as of 23:27, 13 March 2021