41acf4c737
Unify properties as getter in ContextPane Replace section `mode` with `editable` Remove section `inTrash`
45 lines
598 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|
|
}
|