2020-11-03 16:29:51 +00:00
|
|
|
.notes-list-container {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
flex-grow: 1;
|
2021-02-22 01:10:42 +00:00
|
|
|
background: #d2d8e2;
|
|
|
|
border-top: 1px solid lightgray;
|
2020-11-03 16:29:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notes-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 0;
|
|
|
|
flex-grow: 1;
|
2021-02-22 01:10:42 +00:00
|
|
|
padding-top: 2px;
|
2021-02-25 07:31:28 +00:00
|
|
|
|
|
|
|
& > section {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-row {
|
|
|
|
margin: 0 7px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 24px;
|
|
|
|
|
|
|
|
h2 {
|
2021-02-22 01:10:42 +00:00
|
|
|
font-weight: bold;
|
2021-02-25 07:31:28 +00:00
|
|
|
margin: 0;
|
2021-02-22 01:10:42 +00:00
|
|
|
font-size: 13px;
|
2021-02-25 07:31:28 +00:00
|
|
|
align-self: center;
|
2021-02-22 01:10:42 +00:00
|
|
|
}
|
2021-02-25 07:31:28 +00:00
|
|
|
|
|
|
|
button {
|
|
|
|
height: 24px;
|
2021-02-25 08:36:37 +00:00
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
2021-02-25 07:31:28 +00:00
|
|
|
// Necessary on linux to horizontaly center text
|
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.empty-row {
|
2021-02-25 11:05:55 +00:00
|
|
|
margin: 4px 7px 0;
|
2021-02-25 07:31:28 +00:00
|
|
|
text-align: center;
|
2020-11-03 16:29:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-row {
|
2021-02-22 01:10:42 +00:00
|
|
|
border: 1px solid #bcc4d2;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 4px 7px;
|
|
|
|
background-color: #fff;
|
2020-11-10 02:53:49 +00:00
|
|
|
|
|
|
|
&:active {
|
2021-02-25 11:05:55 +00:00
|
|
|
background: #eef1f8;
|
2020-11-10 02:53:49 +00:00
|
|
|
}
|
|
|
|
|
2020-11-03 16:29:51 +00:00
|
|
|
.inner {
|
2020-11-10 08:59:34 +00:00
|
|
|
> *:not(:first-child) {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2021-02-22 01:10:42 +00:00
|
|
|
.parent-line {
|
2020-11-03 16:29:51 +00:00
|
|
|
display: flex;
|
2021-02-22 01:10:42 +00:00
|
|
|
width: calc(100% - 16px);
|
|
|
|
border-bottom: 1px solid #d7dad7;
|
|
|
|
align-items: center;
|
|
|
|
padding: 5px 8px 4px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parent-item-type {
|
|
|
|
margin-right: 3px;
|
2021-02-22 07:11:44 +00:00
|
|
|
width: 16px; // Don't show HiDPI icons at 2x size
|
2021-02-22 01:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.parent-title {
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title-line {
|
|
|
|
display: flex;
|
|
|
|
padding: 0 8px 0;
|
|
|
|
|
2020-11-03 16:29:51 +00:00
|
|
|
.title {
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2021-02-22 01:10:42 +00:00
|
|
|
|
|
|
|
.body-line {
|
2020-11-03 16:29:51 +00:00
|
|
|
display: flex;
|
2021-02-22 01:10:42 +00:00
|
|
|
padding: 0 8px 6px;
|
2020-11-03 16:29:51 +00:00
|
|
|
|
|
|
|
.date {
|
2020-11-10 08:59:34 +00:00
|
|
|
color: $shade-6;
|
2020-11-03 16:29:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
margin-left: 10px;
|
|
|
|
color: $shade-6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-22 01:10:42 +00:00
|
|
|
|
2021-02-23 18:15:55 +00:00
|
|
|
.more-row {
|
|
|
|
border: 1px solid #bcc4d2;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 4px 7px;
|
2021-02-25 11:05:55 +00:00
|
|
|
background-color: white;
|
2021-02-23 18:15:55 +00:00
|
|
|
text-align: center;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
&:active {
|
2021-02-25 11:05:55 +00:00
|
|
|
background: #eef1f8;
|
2021-02-23 18:15:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-22 01:10:42 +00:00
|
|
|
.standalone-note-row {
|
|
|
|
.title-line {
|
|
|
|
padding-top: 6px !important;
|
|
|
|
}
|
|
|
|
}
|
2022-03-12 07:22:13 +00:00
|
|
|
|
|
|
|
.note-row, .more-row {
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&:-moz-focusring {
|
|
|
|
box-shadow: $toolbar-btn-focus-box-shadow;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
@include retina {
|
|
|
|
box-shadow: $toolbar-btn-focus-box-shadow-2x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|