♻️ toolptiped
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -23,8 +23,6 @@
|
||||
*/
|
||||
@import "../../../scss/reset";
|
||||
@import "../../../scss/function";
|
||||
@import "../../../scss/tooltipped";
|
||||
@import "../../../scss/comment";
|
||||
@import "../../../scss/nprogress";
|
||||
@import "icon";
|
||||
@import "vditor/src/assets/scss/classic";
|
||||
|
@@ -19,35 +19,35 @@
|
||||
-->
|
||||
<header class="header">
|
||||
<div class="fn__flex-1">
|
||||
<a href="${servePath}" rel="start" class="tooltipped__w tooltipped" aria-label="${blogTitle}">
|
||||
<a href="${servePath}" rel="start" class="vditor-tooltipped__w vditor-tooltipped" aria-label="${blogTitle}">
|
||||
<i class="icon__home"></i>
|
||||
</a>
|
||||
|
||||
<#list pageNavigations as page>
|
||||
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"
|
||||
class="tooltipped__w tooltipped" rel="section" aria-label="${page.pageTitle}">
|
||||
class="vditor-tooltipped__w vditor-tooltipped" rel="section" aria-label="${page.pageTitle}">
|
||||
<#if page.pageIcon != ''><img src="${page.pageIcon}"><#else>
|
||||
<i class="icon__page"></i>
|
||||
</#if>
|
||||
</a>
|
||||
</#list>
|
||||
|
||||
<a href="${servePath}/categories.html" rel="section" aria-label="${categoryLabel}" class="tooltipped tooltipped__w">
|
||||
<a href="${servePath}/categories.html" rel="section" aria-label="${categoryLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__category"></i>
|
||||
</a>
|
||||
<a href="${servePath}/tags.html" rel="section" aria-label="${allTagsLabel}" class="tooltipped tooltipped__w">
|
||||
<a href="${servePath}/tags.html" rel="section" aria-label="${allTagsLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__tags"></i>
|
||||
</a>
|
||||
<a href="${servePath}/archives.html" aria-label="${archiveLabel}" class="tooltipped tooltipped__w">
|
||||
<a href="${servePath}/archives.html" aria-label="${archiveLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__inbox"></i>
|
||||
</a>
|
||||
<a rel="archive" href="${servePath}/links.html" aria-label="${linkLabel}" class="tooltipped tooltipped__w">
|
||||
<a rel="archive" href="${servePath}/links.html" aria-label="${linkLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__link"></i>
|
||||
</a>
|
||||
<a href="${servePath}/search" class="tooltipped__w tooltipped" aria-label="${searchLabel}">
|
||||
<a href="${servePath}/search" class="vditor-tooltipped__w vditor-tooltipped" aria-label="${searchLabel}">
|
||||
<i class="icon__search"></i>
|
||||
</a>
|
||||
<a rel="alternate" href="${servePath}/rss.xml" rel="section" aria-label="RSS" class="tooltipped tooltipped__w">
|
||||
<a rel="alternate" href="${servePath}/rss.xml" rel="section" aria-label="RSS" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__rss"></i>
|
||||
</a>
|
||||
</div>
|
||||
@@ -55,21 +55,21 @@
|
||||
<div>
|
||||
<#if isLoggedIn>
|
||||
<a href="${servePath}/admin-index.do#main"
|
||||
aria-label="${adminLabel}" class="tooltipped tooltipped__w">
|
||||
aria-label="${adminLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__setting"></i>
|
||||
</a>
|
||||
<a href="${logoutURL}"
|
||||
aria-label="${logoutLabel}" class="tooltipped tooltipped__w">
|
||||
aria-label="${logoutLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__logout"></i>
|
||||
</a>
|
||||
<#else>
|
||||
<a href="${servePath}/start"
|
||||
aria-label="${startToUseLabel}" class="tooltipped tooltipped__w">
|
||||
aria-label="${startToUseLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__login"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<span onclick="Util.goTop()"
|
||||
aria-label="${putTopLabel}" class="tooltipped tooltipped__w">
|
||||
aria-label="${putTopLabel}" class="vditor-tooltipped vditor-tooltipped__w">
|
||||
<i class="icon__up"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 343 B |
@@ -47,9 +47,9 @@ var Skin = {
|
||||
Util.initPjax(function () {
|
||||
$('.header a').each(function () {
|
||||
if (this.href === location.href) {
|
||||
this.className = 'current tooltipped tooltipped__w'
|
||||
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
|
||||
} else {
|
||||
this.className = 'tooltipped tooltipped__w'
|
||||
this.className = 'vditor-tooltipped vditor-tooltipped__w'
|
||||
}
|
||||
})
|
||||
|
||||
@@ -58,11 +58,11 @@ var Skin = {
|
||||
|
||||
$('.header a').each(function () {
|
||||
if (this.href === location.href) {
|
||||
this.className = 'current tooltipped tooltipped__w'
|
||||
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
|
||||
}
|
||||
}).click(function () {
|
||||
$('.header a').removeClass('current')
|
||||
this.className = 'current tooltipped tooltipped__w'
|
||||
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
|
||||
})
|
||||
},
|
||||
}
|
||||
|
2
Jane/js/common.min.js
vendored
2
Jane/js/common.min.js
vendored
@@ -1 +1 @@
|
||||
var Skin={initToc:function(){0<$(".b3-solo-list li").length&&768<$(window).width()?($(".b3-solo-list").css({right:"50px","border-right":"1px solid #fff",opacity:1}),$("#pjax.wrapper").css({"max-width":"968px","padding-right":"270px"})):$("#pjax.wrapper").removeAttr("style")},init:function(){Skin.initToc(),Util.initPjax(function(){$(".header a").each(function(){this.href===location.href?this.className="current tooltipped tooltipped__w":this.className="tooltipped tooltipped__w"}),Skin.initToc()}),$(".header a").each(function(){this.href===location.href&&(this.className="current tooltipped tooltipped__w")}).click(function(){$(".header a").removeClass("current"),this.className="current tooltipped tooltipped__w"})}};Skin.init();
|
||||
var Skin={initToc:function(){0<$(".b3-solo-list li").length&&768<$(window).width()?($(".b3-solo-list").css({right:"50px","border-right":"1px solid #fff",opacity:1}),$("#pjax.wrapper").css({"max-width":"968px","padding-right":"270px"})):$("#pjax.wrapper").removeAttr("style")},init:function(){Skin.initToc(),Util.initPjax(function(){$(".header a").each(function(){this.href===location.href?this.className="current vditor-tooltipped vditor-tooltipped__w":this.className="vditor-tooltipped vditor-tooltipped__w"}),Skin.initToc()}),$(".header a").each(function(){this.href===location.href&&(this.className="current vditor-tooltipped vditor-tooltipped__w")}).click(function(){$(".header a").removeClass("current"),this.className="current vditor-tooltipped vditor-tooltipped__w"})}};Skin.init();
|
Reference in New Issue
Block a user