From fdd7c3d64bfc13bfdcb236740aca1dfb168990c9 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 5 Dec 2024 02:38:26 +0200 Subject: [PATCH] style(next): restyle note paths --- src/public/stylesheets/theme-next.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index f98fefbde..5ee663af5 100644 --- a/src/public/stylesheets/theme-next.css +++ b/src/public/stylesheets/theme-next.css @@ -1160,6 +1160,27 @@ 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);