mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
style(next)/shell: correct border offset, add entrance animation for notes
This commit is contained in:
parent
ee40bb3b33
commit
a97c8087a1
@ -876,7 +876,6 @@ body.layout-horizontal .tab-row-widget .note-tab .note-tab-wrapper {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#center-pane {
|
#center-pane {
|
||||||
padding-top: 2px;
|
|
||||||
background: var(--main-background-color);
|
background: var(--main-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -903,6 +902,20 @@ body.mobile .note-title {
|
|||||||
border-left: 4px solid var(--root-background);
|
border-left: 4px solid var(--root-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes note-entrance {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
} to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.note-split {
|
||||||
|
padding-top: 2px;
|
||||||
|
animation: note-entrance 100ms linear;
|
||||||
|
will-change: opacity;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Table of contents & Highlights list
|
* Table of contents & Highlights list
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user