mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
Add transition
This commit is contained in:
parent
f2ebb3ccab
commit
f2cd34ab6a
@ -259,6 +259,14 @@
|
|||||||
color: var(--left-pane-item-selected-color) !important;
|
color: var(--left-pane-item-selected-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes left-pane-item-select {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
} to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#left-pane span.fancytree-node.fancytree-active::before {
|
#left-pane span.fancytree-node.fancytree-active::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
@ -269,6 +277,7 @@
|
|||||||
background: var(--left-pane-item-selected-background) !important;
|
background: var(--left-pane-item-selected-background) !important;
|
||||||
box-shadow: var(--left-pane-item-selected-shadow);
|
box-shadow: var(--left-pane-item-selected-shadow);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
animation: left-pane-item-select 200ms ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane .fancytree-custom-icon {
|
#left-pane .fancytree-custom-icon {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user