Skip to content

Build your personal knowledge base with Trilium Notes

style(next): tweak the bookmark folder popup

Adorian Doran8f45fb3c401f
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index a52828fd98..728ededebe 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -1429,6 +1429,56 @@ body .calendar-dropdown-widget .calendar-body a:hover {
background: var(--timeline-bullet-hover-color);
}
+/*
+ * Bookmarks folder popup
+ */
+
+div.bookmark-folder-widget {
+ min-width: auto;
+ max-width: 40vw;
+ padding: 0;
+ font-size: 1.1em;
+}
+
+div.bookmark-folder-widget .children-notes {
+ margin: 0;
+}
+
+/* Item */
+div.bookmark-folder-widget span.note-link {
+ display: flex;
+ align-items: center;
+ white-space: nowrap;
+ border-radius: 6px;
+ padding: 6px 25px;
+}
+
+/* Item: the parent note */
+div.bookmark-folder-widget .parent-note .note-link {
+ padding: 6px 8px;
+ font-weight: bold;
+}
+
+div.bookmark-folder-widget .note-link:hover {
+ background: var(--hover-item-background-color);
+}
+
+div.bookmark-folder-widget .note-link a {
+ padding-left: 8px;
+ color: var(--menu-text-color);
+ cursor: default;
+}
+
+div.bookmark-folder-widget .note-link:hover a {
+ color: var(--hover-item-text-color);
+}
+
+/* The item's icon */
+div.bookmark-folder-widget .note-link .bx {
+ color: var(--menu-item-icon-color);
+ font-size: 1.2em;
+}
+
/*
* Note list
*/