top按钮和章节列表按钮调整
This commit is contained in:
@@ -1,28 +1,23 @@
|
||||
<aside class="wrap-side-operation">
|
||||
<div class="mod-side-operation">
|
||||
<% if (theme.top){ %>
|
||||
<div class="jump-container" id="js-jump-container" style="display:none;">
|
||||
<a href="javascript:void(0)" class="mod-side-operation__jump-to-top">
|
||||
<i class="icon icon-chevron-up"></i>
|
||||
</a>
|
||||
<div id="js-jump-plan-container" class="jump-plan-container">
|
||||
<i class="icon icon-chevron-up jump-plane"></i>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (is_post() && ((theme.toc === 1 && post.toc) || theme.toc === 2)){ %>
|
||||
<div class="toc-container tooltip-left">
|
||||
<i class="icon icon-list"></i>
|
||||
<div class="tooltip tooltip-east">
|
||||
<span class="tooltip-item">
|
||||
</span>
|
||||
<span class="tooltip-content">
|
||||
<div class="toc-article">
|
||||
<%- toc(post.content) || theme.toc_empty_wording %>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="mod-side-operation">
|
||||
<% if (theme.top){ %>
|
||||
<div class="jump-container" id="js-jump-container" style="display:none;">
|
||||
<a href="javascript:void(0)" >
|
||||
<i class="icon icon-chevron-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (is_post() && ((theme.toc === 1 && post.toc) || theme.toc === 2)){ %>
|
||||
<div class="toc-container tooltip-left">
|
||||
<i class="icon icon-list"></i>
|
||||
<div class="tooltip tooltip-east">
|
||||
<span class="tooltip-content">
|
||||
<div class="toc-article">
|
||||
<%- toc(post.content) || theme.toc_empty_wording %>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user