zotero/scss/components/_notesList.scss
Dan Stillman ab04468342 Item pane improvements for contextual/pinned modes
- Show item title at top of item pane in contextual mode not in a
  library tab
- Show "All Notes" at top of standalone notes pane
- Add background color when clicking notes in standalone notes list
- Clean up back buttons

Mode button is still a placeholder but uses emoji to show the mode
2021-03-02 17:43:10 -05:00

57 lines
741 B
SCSS

.notes-list-container {
display: flex;
width: 100%;
overflow-y: auto;
flex-grow: 1;
}
.notes-list {
display: flex;
flex-direction: column;
height: 0;
flex-grow: 1;
}
.note-row {
padding: 8px 12px;
&:not(:last-child) {
border-bottom: 1px solid $shade-3;
}
&:active {
background: #e2e2e2;
}
.inner {
.first-line {
display: flex;
.title {
flex-grow: 1;
width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: bold;
}
}
.second-line {
display: flex;
.date {
}
.body {
flex-grow: 1;
width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-left: 10px;
color: $shade-6;
}
}
}
}