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

This commit is contained in:
Adorian Doran 2024-12-10 23:02:15 +02:00
parent 2b36bde9a9
commit 431522f5b1

View File

@ -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%);
}