mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-02 02:41:34 +08:00
style(next): improve note list design
This commit is contained in:
parent
6d1f8c8947
commit
4cd59932a3
@ -996,7 +996,7 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
|
|||||||
/*
|
/*
|
||||||
* Note list
|
* Note list
|
||||||
*/
|
*/
|
||||||
.note-list-wrapper .note-book-card {
|
.note-list .note-book-card {
|
||||||
background-color: var(--card-background-color);
|
background-color: var(--card-background-color);
|
||||||
border: 1px solid var(--card-border-color) !important;
|
border: 1px solid var(--card-border-color) !important;
|
||||||
box-shadow: 2px 3px 4px var(--card-shadow-color);
|
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;
|
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 {
|
.note-list-wrapper .note-book-card:active {
|
||||||
background-color: var(--card-background-press-color);
|
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;
|
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 {
|
.note-list-wrapper .note-book-card .note-book-header .note-book-content {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user