mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Also: - Introduce a mixin for a toolbar button that appears on hover or focus - Unifies the border radius of such buttons, which was previously different for the "Libraries and Collections" toolbar button.
38 lines
490 B
SCSS
38 lines
490 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;
|
|
}
|
|
|
|
@include contains-toolbarbutton-show-on-hover;
|
|
}
|
|
}
|
|
}
|