Merge branch 'main' of github.com:NousResearch/hermes-agent into bb/sidebar-workspace-dedup
This commit is contained in:
@@ -1269,6 +1269,62 @@ canvas {
|
||||
}
|
||||
}
|
||||
|
||||
/* Floating "jump to bottom" control (see scroll-to-bottom-button.tsx).
|
||||
Directional scale: it contracts toward 1 as it arrives (from 1.1) and keeps
|
||||
contracting to 0.9 as it leaves — always shrinking in the direction of
|
||||
travel, so the motion reads as a soft settle / recede rather than a pop. The
|
||||
X half-offset stays baked into every transform so `left-1/2` centering holds
|
||||
through the animation. */
|
||||
.thread-jump-button {
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) translateY(0.3rem) scale(0.9);
|
||||
}
|
||||
|
||||
.thread-jump-button[data-state='in'] {
|
||||
animation: thread-jump-in 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
|
||||
}
|
||||
|
||||
.thread-jump-button[data-state='out'] {
|
||||
animation: thread-jump-out 180ms ease-in forwards;
|
||||
}
|
||||
|
||||
@keyframes thread-jump-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) translateY(0.3rem) scale(1.1);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes thread-jump-out {
|
||||
from {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) translateY(0) scale(1);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) translateY(0.3rem) scale(0.9);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.thread-jump-button[data-state='in'],
|
||||
.thread-jump-button[data-state='out'] {
|
||||
animation: none;
|
||||
transition: opacity 120ms linear;
|
||||
}
|
||||
|
||||
.thread-jump-button[data-state='in'] {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes code-card-stream-glow {
|
||||
from {
|
||||
border-color: color-mix(in srgb, var(--dt-ring) 18%, var(--ui-stroke-tertiary));
|
||||
@@ -1290,4 +1346,3 @@ canvas {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user