This commit is contained in:
parent
0542526cff
commit
951e94b02a
6 changed files with 17 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
|||
document.body.insertAdjacentHTML('afterBegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconHistory" viewBox="0 0 32 32">
|
||||
<path d="M16.898 7.107h-1.79c-0.164 0-0.298 0.134-0.298 0.298v10.244c0 0.097 0.045 0.186 0.123 0.242l6.151 4.491c0.134 0.097 0.32 0.071 0.417-0.063l1.064-1.451c0.1-0.138 0.071-0.324-0.063-0.417l-5.306-3.836v-9.209c0-0.164-0.134-0.298-0.298-0.298zM25.076 9.905l5.834 1.425c0.186 0.045 0.368-0.097 0.368-0.287l0.030-6.009c0-0.249-0.287-0.391-0.48-0.234l-5.864 4.58c-0.071 0.055-0.116 0.14-0.116 0.235 0 0.139 0.096 0.256 0.225 0.289l0.002 0zM31.316 21.109l-2.11-0.726c-0.029-0.010-0.062-0.016-0.097-0.016-0.127 0-0.236 0.080-0.279 0.193l-0.001 0.002c-0.071 0.19-0.145 0.376-0.223 0.562-0.662 1.567-1.611 2.977-2.824 4.186-1.169 1.173-2.559 2.126-4.101 2.791l-0.085 0.033c-1.506 0.654-3.26 1.034-5.103 1.034-0.007 0-0.015 0-0.022-0h0.001c-1.779 0-3.501-0.346-5.124-1.034-1.627-0.698-3.017-1.651-4.186-2.824l-0-0c-1.209-1.209-2.158-2.62-2.824-4.186-0.649-1.504-1.027-3.255-1.027-5.095 0-0.010 0-0.020 0-0.030v0.002c0-1.779 0.346-3.505 1.034-5.127 0.662-1.566 1.611-2.977 2.824-4.186 1.169-1.173 2.559-2.126 4.101-2.791l0.085-0.033c1.615-0.688 3.341-1.034 5.12-1.034s3.501 0.346 5.124 1.034c1.627 0.699 3.017 1.651 4.186 2.824l0 0c0.38 0.383 0.737 0.781 1.064 1.202l2.225-1.741c-2.928-3.743-7.487-6.151-12.607-6.147-8.915 0.004-16.074 7.245-15.985 16.164 0.089 8.763 7.215 15.836 15.993 15.836 6.902 0 12.781-4.376 15.021-10.504 0.056-0.156-0.026-0.331-0.182-0.387z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconFilter" viewBox="0 0 32 32">
|
||||
<path d="M30.724 1.679h-29.451c-0.98 0-1.592 1.068-1.1 1.92l9.305 15.817v9.625c0 0.708 0.568 1.28 1.272 1.28h10.497c0.704 0 1.272-0.572 1.272-1.28v-9.625l9.309-15.817c0.488-0.852-0.124-1.92-1.104-1.92zM19.655 27.441h-7.313v-6.241h7.317v6.241zM20.039 17.976l-0.38 0.664h-7.321l-0.38-0.664-7.933-13.417h23.946l-7.933 13.417z"></path>
|
||||
</symbol>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"name": "ant",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.1.0"
|
||||
"version": "1.2.0"
|
||||
}
|
||||
|
|
|
@ -34,6 +34,12 @@
|
|||
</svg>
|
||||
iconFilter
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconHistory"></use>
|
||||
</svg>
|
||||
iconHistory
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconTransform"></use>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg"><defs>
|
||||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconHistory" viewBox="0 0 32 32">
|
||||
<path d="M15.867 32q-6.622 0-11.244-4.689t-4.622-11.356h2.667q0 5.556 3.822 9.467t9.378 3.911q5.644 0 9.556-3.956t3.911-9.6q0-5.511-3.956-9.311t-9.511-3.8q-3.022 0-5.667 1.378t-4.6 3.644h4.667v2.667h-9.289v-9.244h2.667v4.711q2.311-2.711 5.489-4.267t6.733-1.556q3.333 0 6.267 1.244t5.133 3.4 3.467 5.044 1.267 6.222-1.267 6.267-3.467 5.111-5.133 3.444-6.267 1.267zM21.556 23.244l-6.844-6.756v-9.511h2.667v8.4l6.089 5.956z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconFilter" viewBox="0 0 32 32">
|
||||
<path d="M14.044 31.65q-0.831 0-1.394-0.562t-0.562-1.394v-11.737l-11.688-14.916q-0.685-0.831-0.196-1.761t1.516-0.929h28.56q1.027 0 1.516 0.929t-0.196 1.761l-11.688 14.916v11.737q0 0.831-0.562 1.394t-1.394 0.562zM16 18.152l11.737-14.867h-23.474z"></path>
|
||||
</symbol>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"name": "material",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.1.0"
|
||||
"version": "1.2.0"
|
||||
}
|
||||
|
|
|
@ -172,7 +172,7 @@ const initBar = () => {
|
|||
<svg><use xlink:href="#iconSearch"></use></svg>
|
||||
</div>
|
||||
<div id="barHistory" class="toolbar__item b3-tooltips b3-tooltips__se" aria-label="${window.siyuan.languages.dataHistory} ${updateHotkeyTip(window.siyuan.config.keymap.general.dataHistory.custom)}">
|
||||
<svg><use xlink:href="#iconTrashcan"></use></svg>
|
||||
<svg><use xlink:href="#iconHistory"></use></svg>
|
||||
</div>
|
||||
<div id="barDailyNote" data-menu="true" aria-label="${window.siyuan.languages.dailyNote} ${updateHotkeyTip(window.siyuan.config.keymap.general.dailyNote.custom)}" class="toolbar__item b3-tooltips b3-tooltips__se${window.siyuan.config.readonly ? " fn__none" : ""}">
|
||||
<svg><use xlink:href="#iconCalendar"></use></svg>
|
||||
|
|
Loading…
Add table
Reference in a new issue