This commit is contained in:
parent
bcdeeb750d
commit
262134aa03
6 changed files with 29 additions and 5 deletions
|
@ -1,6 +1,12 @@
|
|||
document.body.insertAdjacentHTML('afterBegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconLayoutBottom" viewBox="0 0 32 32">
|
||||
<symbol id="iconBack" viewBox="0 0 32 32">
|
||||
<path d="M30.135 14.508h-22.973l13.75-11.936c0.22-0.192 0.086-0.55-0.204-0.55h-3.475c-0.153 0-0.298 0.055-0.412 0.153l-14.838 12.874c-0.266 0.231-0.433 0.57-0.433 0.948s0.167 0.717 0.431 0.947l0.002 0.001 14.924 12.953c0.059 0.051 0.13 0.079 0.204 0.079h3.593c0.291 0 0.424-0.361 0.204-0.55l-13.746-11.936h22.973c0.173 0 0.314-0.141 0.314-0.314v-2.356c0-0.173-0.141-0.314-0.314-0.314z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconForward" viewBox="0 0 32 32">
|
||||
<path d="M30.017 15.050l-14.834-12.874c-0.114-0.098-0.259-0.153-0.412-0.153h-3.475c-0.29 0-0.424 0.361-0.204 0.55l13.75 11.936h-22.977c-0.173 0-0.314 0.141-0.314 0.314v2.356c0 0.173 0.141 0.314 0.314 0.314h22.973l-13.75 11.936c-0.22 0.192-0.086 0.55 0.204 0.55h3.593c0.075 0 0.149-0.028 0.204-0.079l14.928-12.949c0.266-0.232 0.433-0.572 0.433-0.95s-0.167-0.718-0.431-0.949l-0.001-0.001z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconLayoutBottom" viewBox="0 0 32 32">
|
||||
<path d="M30.4 1.6c0.884 0 1.6 0.716 1.6 1.6v0 25.6c0 0.884-0.716 1.6-1.6 1.6v0h-28.8c-0.884 0-1.6-0.716-1.6-1.6v0-25.6c0-0.884 0.716-1.6 1.6-1.6v0h28.8zM28.8 4.8h-25.6v22.4h25.6v-22.4zM25.6 20.8v3.2h-19.2v-3.2h19.2z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconLayoutRight" viewBox="0 0 32 32">
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"name": "ant",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.5.0"
|
||||
"version": "1.6.0"
|
||||
}
|
||||
|
|
|
@ -28,6 +28,18 @@
|
|||
<body>
|
||||
<h2>SiYuan</h2>
|
||||
<div class="fn__clear">
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconBack"></use>
|
||||
</svg>
|
||||
iconBack
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconForward"></use>
|
||||
</svg>
|
||||
iconForward
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconLayoutBottom"></use>
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconBack" viewBox="0 0 32 32">
|
||||
<path d="M16 30.5l-14.5-14.5 14.5-14.5 1.903 1.903-11.237 11.237h23.834v2.719h-23.834l11.237 11.237z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconForward" viewBox="0 0 32 32">
|
||||
<path d="M16 30.5l-1.903-1.948 11.192-11.192h-23.789v-2.719h23.789l-11.192-11.192 1.903-1.948 14.5 14.5z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconLayoutBottom" viewBox="0 0 32 32">
|
||||
<path d="M30.4 1.6c0.884 0 1.6 0.716 1.6 1.6v0 25.6c0 0.884-0.716 1.6-1.6 1.6v0h-28.8c-0.884 0-1.6-0.716-1.6-1.6v0-25.6c0-0.884 0.716-1.6 1.6-1.6v0h28.8zM28.8 4.8h-25.6v22.4h25.6v-22.4zM25.6 20.8v3.2h-19.2v-3.2h19.2z"></path>
|
||||
</symbol>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"name": "material",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.5.0"
|
||||
"version": "1.6.0"
|
||||
}
|
||||
|
|
|
@ -194,10 +194,10 @@ const initBar = () => {
|
|||
<svg><use xlink:href="#iconCalendar"></use></svg>
|
||||
</div>
|
||||
<button id="barBack" data-menu="true" class="toolbar__item toolbar__item--disabled b3-tooltips b3-tooltips__se" aria-label="${window.siyuan.languages.goBack} ${updateHotkeyTip(window.siyuan.config.keymap.general.goBack.custom)}">
|
||||
<svg><use xlink:href="#iconLeft"></use></svg>
|
||||
<svg><use xlink:href="#iconBack"></use></svg>
|
||||
</button>
|
||||
<button id="barForward" data-menu="true" class="toolbar__item toolbar__item--disabled b3-tooltips b3-tooltips__se" aria-label="${window.siyuan.languages.goForward} ${updateHotkeyTip(window.siyuan.config.keymap.general.goForward.custom)}">
|
||||
<svg><use xlink:href="#iconRight"></use></svg>
|
||||
<svg><use xlink:href="#iconForward"></use></svg>
|
||||
</button>
|
||||
<div class="fn__flex-1 fn__ellipsis" id="drag"><span class="fn__none">开发版,使用前请进行备份 Development version, please backup before use</span></div>
|
||||
<div id="barSearch" class="toolbar__item b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.globalSearch} ${updateHotkeyTip(window.siyuan.config.keymap.general.globalSearch.custom)}">
|
||||
|
|
Loading…
Add table
Reference in a new issue