use different notes icons in itempane and tab sidepane (#5799)

This commit is contained in:
Mi Ramon 2026-03-05 12:46:17 +08:00 • committed by GitHub
parent 3a11ac146d
commit c0c9437da8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,4 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.0002 2.99988V19.2499H7.11639L6.9328 19.0673L1.9328 14.0673L1.75018 13.8837V2.99988H16.0002ZM3.00018 6.99988V12.9999H8.00018V17.9999H14.7502V6.99988H3.00018ZM3.88495 14.2499L6.75018 17.1151V14.2499H3.88495ZM3.00018 4.24988V5.74988H14.7502V4.24988H3.00018Z" fill="context-fill"/>
<path d="M5 1.375H17.625V17" stroke="context-fill" stroke-width="1.25"/>
</svg>

After

Width:  |  Height:  |  Size: 467 B

View file

@ -1,4 +1,5 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.0002 2.99988V19.2499H7.11639L6.9328 19.0673L1.9328 14.0673L1.75018 13.8837V2.99988H16.0002ZM3.00018 6.99988V12.9999H8.00018V17.9999H14.7502V6.99988H3.00018ZM3.88495 14.2499L6.75018 17.1151V14.2499H3.88495ZM3.00018 4.24988V5.74988H14.7502V4.24988H3.00018Z" fill="context-fill"/>
<path d="M5 1.375H17.625V17" stroke="context-fill" stroke-width="1.25"/>
<g id="note">
<path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M3.625 1H3V1.625V3.75V5V18.375V19H3.625H12.375H12.6339L12.8169 18.8169L17.8169 13.8169L18 13.6339V13.375V1.625V1H17.375H3.625ZM4.25 5V17.75H11.75V13.375V12.75H12.375H16.75V5H4.25ZM16.75 3.75V2.25H4.25V3.75H16.75ZM13 14H15.8661L13 16.8661V14Z" fill="context-fill"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 448 B

View file

@ -103,7 +103,7 @@ item-pane-sidenav {
// Notes context pane button
&[data-pane="context-notes"] {
background-image: url("chrome://zotero/skin/itempane/20/notes.svg");
background-image: url("chrome://zotero/skin/itempane/20/multi-notes.svg");
fill: map.get($item-pane-sections, "notes");
stroke: map.get($item-pane-sections, "notes");
}