Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(client): lighter note path items in the sidebar
Elian Doran11f52fd95834
diff --git a/apps/client/src/widgets/ribbon/NotePathsTab.css b/apps/client/src/widgets/ribbon/NotePathsTab.cssindex a47a8e174d..3b7c853672 100644--- a/apps/client/src/widgets/ribbon/NotePathsTab.css+++ b/apps/client/src/widgets/ribbon/NotePathsTab.css@@ -4,33 +4,18 @@ body.experimental-feature-new-layout .note-paths-widget {}.note-path-list {- margin: 12px 0;+ margin: 8px 0;padding: 0;list-style: none;- /* Note path card */+ /* A path is framed already by what holds the list — a card, or the mobile note menu — so it+ carries no frame of its own: what tells one path from the next is the room around it, and+ the gutter each hangs its marks in. */li {- --border-radius: 6px;-position: relative;- background: var(--card-background-color);- padding: 8px 20px 8px 25px;-- &:first-child {- border-top-left-radius: var(--border-radius);- border-top-right-radius: var(--border-radius);- }-- &:last-child {- border-bottom-left-radius: var(--border-radius);- border-bottom-right-radius: var(--border-radius);- }-- & + li {- margin-top: 2px;- }+ padding: 5px 0 5px 17px;- /* Current path arrow */+ /* Current path arrow, in the gutter the paths are indented for. */&.path-current::before {position: absolute;display: flex;@@ -39,7 +24,7 @@ body.experimental-feature-new-layout .note-paths-widget {content: "\ee8f";top: 0;left: 0;- width: 20px;+ width: 12px;bottom: 0;font-family: "boxicons";font-size: .75em;@@ -49,8 +34,7 @@ body.experimental-feature-new-layout .note-paths-widget {/* Note path segment */a {- margin-inline: 2px;- padding-inline: 2px;+ padding-inline: 1px;color: currentColor;font-weight: normal;text-decoration: none;