Skip to content

Build your personal knowledge base with Trilium Notes

style(next): apply style to all note paths, change the delimiter symbol

Adorian Doran431522f5b110
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index 2ddfebc8c1..2392018660 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -937,27 +937,6 @@ body .calendar-dropdown-widget .calendar-body a:hover {
}
-.note-tooltip-content .note-title-with-path .path-bracket {
- /* Hide the leading and trailing bracket from the path */
- display: none;
-}
-
-.note-tooltip-content .note-title-with-path .path-delimiter {
- /* Hide the path delimiters (slashes) */
- display: none;
-}
-
-.note-tooltip-content .note-title-with-path .path-delimiter + span::before {
- /* Replace the path delimiters with arrows */
- display: inline-block;
- content: "\ebe6";
- padding: 0 4px;
- line-height: 1;
- vertical-align: bottom;
- font-family: boxicons;
- opacity: .75;
-}
-
.note-tooltip-content .note-path {
display: block;
color: var(--muted-text-color);
@@ -1190,4 +1169,26 @@ body .calendar-dropdown-widget .calendar-body a:hover {
.note-list.grid-view .ck-content figure.image {
width: 25%;
+}
+
+/* Note paths */
+
+.note-path .path-bracket {
+ /* Hide the leading and trailing bracket from the path */
+ display: none;
+}
+
+.note-path .path-delimiter {
+ /* Hide the path delimiters (slashes) */
+ display: none;
+}
+
+.note-path .path-delimiter + span::before {
+ /* Replace the path delimiters with arrows */
+ display: inline-block;
+ content: "\ed3b";
+ padding: 0 .25em;
+ font-family: boxicons;
+ opacity: .75;
+ transform: translateY(4%);
}
\ No newline at end of file