Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions sphinx/themes/classic/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- endblock %}

{%- block sidebarextra %}{% if theme_collapsiblesidebar|tobool %}
<div id="sidebarbutton" title="{{ _('Collapse sidebar') }}">
<button id="sidebarbutton" title="{{ _('Collapse sidebar') }}">
Comment thread
hugovk marked this conversation as resolved.
Resolved
<span>{{ '»' if theme_rightsidebar|tobool else '«' }}</span>
</div>
</button>
{% endif %}{% endblock %}
4 changes: 3 additions & 1 deletion sphinx/themes/classic/static/classic.css.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,12 @@ div.sphinxsidebar input {
background-color: {{ theme_sidebarbtncolor }};
margin-{{side}}: 0;
color: #FFFFFF;
border: none;
border-{{side}}: 1px solid {{ theme_relbarbgcolor }};
font: inherit;
font-size: 1.2em;
cursor: pointer;
padding-top: 1px;
padding: 1px 0 0;
float: {{ 'left' if theme_rightsidebar|tobool else 'right' }};
display: table; /* for vertically centering the <span> */
}
Expand Down
2 changes: 1 addition & 1 deletion sphinx/themes/pyramid/static/epub.css.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ div.sphinxsidebar input {

{% if theme_collapsiblesidebar|tobool %}
/* for collapsible sidebar */
div#sidebarbutton {
#sidebarbutton {
background-color: {{ theme_sidebarbtncolor }};
}
{% endif %}
Expand Down
Loading