style(next): improve note list design

This commit is contained in:
Elian Doran 2024-11-30 11:15:08 +02:00
parent 6d1f8c8947
commit 4cd59932a3
No known key found for this signature in database

View File

@ -996,7 +996,7 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
/*
* Note list
*/
.note-list-wrapper .note-book-card {
.note-list .note-book-card {
background-color: var(--card-background-color);
border: 1px solid var(--card-border-color) !important;
box-shadow: 2px 3px 4px var(--card-shadow-color);
@ -1006,6 +1006,14 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
margin: 5px 10px 5px 0;
}
.note-list.list-view .note-book-card {
box-shadow: 0 0 3px var(--card-shadow-color);
}
.note-list.list-view .note-book-card .note-book-header .note-icon {
vertical-align: middle;
}
.note-list-wrapper .note-book-card:active {
background-color: var(--card-background-press-color);
}
@ -1031,6 +1039,12 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
vertical-align: middle;
}
.note-list-wrapper .note-book-card .note-book-header:last-child {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
.note-list-wrapper .note-book-card .note-book-header .note-book-content {
padding: 0 !important;
font-size: 0.8rem;