45 lines
605 B
SCSS
45 lines
605 B
SCSS
notes-box, related-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
&:not([mode=edit]) {
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|