2023-10-04 13:27:02 +00:00
|
|
|
item-pane-sidenav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 6px 4px;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 6px;
|
|
|
|
border-left: var(--material-panedivider);
|
|
|
|
|
2023-12-01 07:43:43 +00:00
|
|
|
.toolbarbutton-container {
|
|
|
|
position: relative;
|
|
|
|
// Disable pointer events here, re-enable on the button, so that :hover styles are only applied
|
|
|
|
// when the button itself is hovered
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
inset-inline-end: 1px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pinnable {
|
|
|
|
&.pinned::after {
|
|
|
|
background-color: var(--accent-blue);
|
|
|
|
background-image: icon-url("8/universal/pin.svg");
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-04 13:27:02 +00:00
|
|
|
toolbarbutton {
|
|
|
|
// TODO: Extract button styles?
|
|
|
|
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
2023-12-01 07:43:43 +00:00
|
|
|
margin: 0;
|
2023-10-04 13:27:02 +00:00
|
|
|
padding: 4px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
-moz-context-properties: fill, fill-opacity, stroke, stroke-opacity;
|
|
|
|
|
2023-12-01 07:43:43 +00:00
|
|
|
pointer-events: all;
|
|
|
|
|
2023-10-04 13:27:02 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--fill-quinary);
|
|
|
|
}
|
2023-12-01 07:43:43 +00:00
|
|
|
|
|
|
|
&:active {
|
2023-10-04 13:27:02 +00:00
|
|
|
background-color: var(--fill-quarternary);
|
|
|
|
}
|
2023-12-01 07:43:43 +00:00
|
|
|
|
2023-10-04 13:27:02 +00:00
|
|
|
&:disabled {
|
|
|
|
background-color: transparent;
|
|
|
|
fill: var(--fill-tertiary);
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $pane, $color in $item-pane-sections {
|
|
|
|
&[data-pane="#{$pane}"] {
|
|
|
|
list-style-image: url("chrome://zotero/skin/itempane/20/#{$pane}.svg");
|
|
|
|
fill: $color;
|
|
|
|
stroke: $color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-01 07:43:43 +00:00
|
|
|
|
|
|
|
menupopup {
|
|
|
|
@include macOS-hide-menu-icons;
|
|
|
|
}
|
2023-10-04 13:27:02 +00:00
|
|
|
}
|