zotero/scss/components/_notesList.scss

52 lines
914 B
SCSS
Raw Normal View History

2020-11-03 16:29:51 +00:00
.notes-list-container {
display: flex;
width: 100%;
overflow-y: auto;
flex-grow: 1;
background: var(--material-sidepane);
border-top: var(--material-border-quinary);
padding-inline: 8px;
scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);
2020-11-03 16:29:51 +00:00
}
context-notes-list {
2020-11-03 16:29:51 +00:00
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
2020-11-03 16:29:51 +00:00
height: 0;
.item-notes > .body, .all-notes > .body {
display: flex;
flex-direction: column;
flex: 1;
gap: 6px;
@include comfortable {
gap: 8px;
}
&::before, &::after {
// Apply gap to start and end
content: '';
}
2020-11-03 16:29:51 +00:00
> .more {
appearance: none;
border-radius: 5px;
border: 1px solid var(--color-quinary-on-sidepane);
background: var(--material-background);
padding: 2px 8px;
@include comfortable {
padding-block: 4px;
}
&:active {
background-color: var(--accent-blue10);
}
}
}
}