Aug 7 - Update remove the switching design button from the sidebar
This commit is contained in:
@@ -220,23 +220,8 @@ body.jqc-modern {
|
|||||||
}
|
}
|
||||||
.jqc-modern .jqc-nav-sublink:hover { background: var(--jqc-brand-025); color: var(--jqc-brand); }
|
.jqc-modern .jqc-nav-sublink:hover { background: var(--jqc-brand-025); color: var(--jqc-brand); }
|
||||||
.jqc-modern .jqc-nav-sublink.active { color: var(--jqc-brand); font-weight: 700; }
|
.jqc-modern .jqc-nav-sublink.active { color: var(--jqc-brand); font-weight: 700; }
|
||||||
.jqc-modern .jqc-sidebar-foot {
|
/* .jqc-sidebar-foot / .jqc-switch-btn were dropped in phase50 along with the
|
||||||
flex: 0 0 auto;
|
sidebar design switcher — no template references them any more. */
|
||||||
padding: 14px 16px 20px;
|
|
||||||
border-top: 1px solid var(--jqc-border);
|
|
||||||
}
|
|
||||||
.jqc-modern .jqc-switch-btn {
|
|
||||||
width: 100%;
|
|
||||||
background: #fff;
|
|
||||||
border: 1.5px solid var(--jqc-brand);
|
|
||||||
color: var(--jqc-brand);
|
|
||||||
border-radius: 999px;
|
|
||||||
font-size: .82rem;
|
|
||||||
font-weight: 600;
|
|
||||||
padding: 8px 10px;
|
|
||||||
transition: background-color .15s, color .15s;
|
|
||||||
}
|
|
||||||
.jqc-modern .jqc-switch-btn:hover { background: var(--jqc-brand); color: #fff; }
|
|
||||||
.jqc-modern .jqc-sidebar-backdrop {
|
.jqc-modern .jqc-sidebar-backdrop {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
|
|||||||
@@ -293,16 +293,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="jqc-sidebar-foot">
|
{# The design switcher was removed from the sidebar in phase50, when
|
||||||
<form method="POST" action="{{ url_for('ui.switch_theme') }}">
|
modern became the default — it no longer belongs in the primary nav.
|
||||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
The same action still exists in the account menu (top right), so
|
||||||
<input type="hidden" name="theme" value="classic">
|
anyone who needs the classic design can still get to it. #}
|
||||||
<input type="hidden" name="next" value="{{ request.full_path }}">
|
|
||||||
<button type="submit" class="jqc-switch-btn" title="Switch back to the classic design">
|
|
||||||
<i class="bi bi-arrow-left-right"></i> Classic Design
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</aside>
|
</aside>
|
||||||
<div class="jqc-sidebar-backdrop d-lg-none" id="jqcSidebarBackdrop"></div>
|
<div class="jqc-sidebar-backdrop d-lg-none" id="jqcSidebarBackdrop"></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user