// Live motion: a running job's bar grows and a new log chunk fades in, calmly, when the server sends // a change. Both run only on a live swap or a log chunk, never on first render. Reduced motion holds // everything still; the scripts also skip setting these up under reduced motion. // A list bar's segment that the live swap carries from its old width to the server's width. nav.js // adds the class, sets the old width inline, then the new one, and removes both once it has run. .ci-seg.live-grow { transition: width 600ms ease-out; } // A chunk of streamed log lines: the lines it added fade in and rise a little. nav.js wraps them in // `.ll-chunk` and unwraps the wrapper after the animation, so the log keeps its flat line structure. .ll-chunk { animation: ll-chunk-in 180ms ease-out; } @keyframes ll-chunk-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } @media (prefers-reduced-motion: reduce) { .ci-seg.live-grow, .ll-chunk { transition: none; animation: none; } }