mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-11 16:52:38 +02:00
refactor: citation viewer
This commit is contained in:
parent
ca9bbee06d
commit
f23be16b35
14 changed files with 362 additions and 755 deletions
|
|
@ -210,27 +210,6 @@ button {
|
|||
}
|
||||
}
|
||||
|
||||
/* Citation-jump highlight — entrance pulse only. The `SearchHighlightLeaf`
|
||||
(see components/ui/search-highlight-node.tsx) is otherwise statically
|
||||
tinted; this animation runs once on mount to draw the eye to the cited
|
||||
text after `scrollIntoView` lands. The highlight itself is permanent
|
||||
until the user clicks inside the editor (or another dismissal trigger
|
||||
fires in `EditorPanelContent`). */
|
||||
@keyframes citation-flash-in {
|
||||
0% {
|
||||
background-color: transparent;
|
||||
box-shadow: 0 0 0 0 transparent;
|
||||
}
|
||||
40% {
|
||||
background-color: color-mix(in oklab, var(--primary) 30%, transparent);
|
||||
box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 25%, transparent);
|
||||
}
|
||||
100% {
|
||||
background-color: color-mix(in oklab, var(--primary) 15%, transparent);
|
||||
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 40%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
/* Human-in-the-loop approval card animations */
|
||||
@keyframes pulse-subtle {
|
||||
0%,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue