Move Locate to sidenav (#3747)

This commit is contained in:
Abe Jellinek 2024-05-14 04:19:58 -04:00 committed by GitHub
parent 7091fa3a58
commit 9eabc169c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 62 deletions

View file

@ -88,27 +88,16 @@ item-pane-sidenav {
}
}
// Special case for Notes context pane button:
// Notes context pane button
&[data-pane="context-notes"] {
list-style-image: url("chrome://zotero/skin/itempane/20/notes.svg");
fill: map.get($item-pane-sections, "notes");
stroke: map.get($item-pane-sections, "notes");
}
// Special case for Expand/Collapse button:
&[data-pane="toggle-collapse"] {
list-style-image: url("chrome://zotero/skin/itempane/20/collapse.svg");
&.collapsed {
list-style-image: url("chrome://zotero/skin/itempane/20/expand.svg");
}
&:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
fill: var(--fill-secondary);
stroke: var(--fill-secondary);
// Locate button
&[data-action="locate"] {
@include svgicon-menu("go-to", "universal", "20");
}
&[custom] {
@ -124,10 +113,6 @@ item-pane-sidenav {
}
}
&.stacked toolbarbutton[data-pane="toggle-collapse"] {
transform: rotate(90deg);
}
&:not(.stacked) > .divider {
width: 20px;
height: 0;
@ -140,7 +125,7 @@ item-pane-sidenav {
border-inline-end: 1px solid var(--fill-quinary);
}
menupopup {
.context-menu {
@include macOS-hide-menu-icons;
}
}