Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve note list design

Elian Doran4cd59932a363
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index bcec6810c9..0618eaace9 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -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;