优化右侧按钮
This commit is contained in:
parent
270de2c1b7
commit
dedb850d53
|
@ -5119,6 +5119,9 @@ html {
|
|||
div#travellings_button {
|
||||
display: none!important
|
||||
}
|
||||
div#darkmode_button {
|
||||
display: none!important
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -6393,6 +6396,9 @@ img.footer_mini_logo:hover {
|
|||
#page-header.nav-fixed #travellings_button {
|
||||
opacity: 0;
|
||||
}
|
||||
#page-header.nav-fixed #randomPost_button {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* rightMenu右键菜单 */
|
||||
|
|
|
@ -7,21 +7,21 @@
|
|||
<!-- 功能都需要添加开关 -->
|
||||
|
||||
<!-- 随机前往一个开往项目网站 -->
|
||||
<div class="nav-button" id="travellings_button" title="随机前往一个开往项目网站" th:if="${theme.config.nav.right.travelling}">
|
||||
<div class="nav-button only-home" id="travellings_button" title="随机前往一个开往项目网站" th:if="${theme.config.nav.right.travelling}">
|
||||
<a class="site-page" onclick="totraveling()" href="javascript:void(0);" rel="external nofollow"
|
||||
title="随机前往一个开往项目网站">
|
||||
<i class="haofont hao-icon-train" style="font-size: 1rem; font-weight: 700; "></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="nav-button" th:if="${theme.config.nav.right.article}">
|
||||
<div class="nav-button" id="randomPost_button" th:if="${theme.config.nav.right.article}">
|
||||
<a class="site-page" href="javascript:void(0);" onclick="toRandomPost()" title="随机文章">
|
||||
<i class="haofont hao-icon-dice" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- 切换模式 -->
|
||||
<div class="nav-button" th:if="${theme.config.nav.right.darkMode}">
|
||||
<div class="nav-button" id="darkmode_button" th:if="${theme.config.nav.right.darkMode}">
|
||||
<a class="console_switchbutton" href="javascript:void(0);" onclick="navFn.switchDarkMode();" rel="external nofollow"
|
||||
title="切换模式 - 日夜交替,黑白互换。">
|
||||
<i class="haofont hao-icon-circle-half-stroke" style="font-size: 1rem; font-weight: 700;"></i>
|
||||
|
|
Loading…
Reference in New Issue