zotero/scss/elements/_itemPaneCustomSection.scss
windingwind 41acf4c737 Implement ItemPane custom section API
Unify properties as getter in ContextPane
Replace section `mode` with `editable`
Remove section `inTrash`
2024-03-30 00:58:57 -04:00

45 lines
991 B
SCSS

item-pane-custom-section {
display: flex;
flex-direction: column;
&[hidden] {
display: none;
}
.body {
display: flex;
flex-direction: column;
margin: 0;
}
collapsible-section {
&[custom] > .head {
& .title::before {
content: '';
width: 16px;
height: 16px;
-moz-context-properties: fill, fill-opacity, stroke, stroke-opacity;
fill: currentColor;
stroke: currentColor;
@media (prefers-color-scheme: light) {
background: var(--custom-section-icon-light) no-repeat center;
}
@media (prefers-color-scheme: dark) {
background: var(--custom-section-icon-dark) no-repeat center;
}
}
toolbarbutton.section-custom-button {
fill: currentColor;
-moz-context-properties: fill, fill-opacity;
@media (prefers-color-scheme: light) {
list-style-image: var(--custom-button-icon-light)
}
@media (prefers-color-scheme: dark) {
list-style-image: var(--custom-button-icon-dark)
}
}
}
}
}