From 4cd59932a363401ed37039d783bbc3c8b6a44631 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 30 Nov 2024 11:15:08 +0200 Subject: [PATCH] style(next): improve note list design --- src/public/stylesheets/theme-next.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index bcec6810c..0618eaace 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;