mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 19:22:31 +08:00
Tweak the highlights list pane
This commit is contained in:
parent
9d289ec7bc
commit
a1fc670839
@ -387,27 +387,36 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Table of contents
|
* Table of contents & Highlights list
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#right-pane .toc li {
|
#right-pane .toc li,
|
||||||
|
#right-pane .highlights-list li {
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
text-align: unset;
|
text-align: unset;
|
||||||
transition: background-color 150ms ease-in;
|
transition: background-color 150ms ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
#right-pane .toc li::marker {
|
#right-pane .highlights-list li {
|
||||||
|
line-height: 1.2;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right-pane .toc li::marker,
|
||||||
|
#right-pane .highlights-list li::marker {
|
||||||
color: var(--muted-text-color);
|
color: var(--muted-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#right-pane .toc li:hover {
|
#right-pane .toc li:hover,
|
||||||
|
#right-pane .highlights-list li:hover {
|
||||||
background: var(--toc-item-hover-background);
|
background: var(--toc-item-hover-background);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
transition: background-color 300ms ease-out;
|
transition: background-color 300ms ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#right-pane .toc li:active {
|
#right-pane .toc li:active,
|
||||||
|
#right-pane .highlights-list li:active {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user