mirror of
https://github.com/zadam/trilium.git
synced 2025-12-15 20:59:54 +01:00
style/status bar/note paths: highlight the current path
This commit is contained in:
@@ -98,9 +98,10 @@
|
||||
|
||||
li {
|
||||
--border-radius: 6px;
|
||||
|
||||
|
||||
position: relative;
|
||||
background: var(--card-background-color);
|
||||
padding: 8px 20px;
|
||||
padding: 8px 20px 8px 25px;
|
||||
|
||||
&:first-child {
|
||||
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
||||
@@ -114,6 +115,22 @@
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
&.path-current::before {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
content: "\ee8f";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 20px;
|
||||
bottom: 0;
|
||||
font-family: "boxicons";
|
||||
font-size: .85em;
|
||||
color: var(--menu-item-icon-color);
|
||||
}
|
||||
|
||||
span:last-child > span > a {
|
||||
color: var(--muted-text-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user