zotero/scss/elements/_notesBox.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
598 B
SCSS

notes-box, related-box {
display: flex;
flex-direction: column;
gap: 2px;
&[hidden] {
display: none;
}
&[readonly] {
.add {
display: none;
}
}
.body {
display: flex;
flex-direction: column;
padding-inline-start: 12px;
.row {
display: flex;
gap: 4px;
align-items: flex-start;
@include comfortable {
padding-block: 2px;
}
.box {
@include clicky-item;
flex: 1;
}
toolbarbutton {
margin-inline-start: auto;
visibility: hidden;
}
&:is(:hover, :focus-within) toolbarbutton {
visibility: visible;
}
}
}
}