Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(agentic-ide): take the scroll track out of the terminal panes

Ruben Lütkec27215e6f4e0
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
index edda84dc4f..4d6aca493e 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
@@ -86,7 +86,6 @@ import {
PARKED_RECHECK_MS,
} from "./offscreenBuffer";
import { installQuerySuppression } from "./terminalQueries";
-import { PaneScrollbar } from "./PaneScrollbar";
import { openPaneSocket, type PaneSocket } from "./paneSocket";
export type PaneStatus = "connecting" | "live" | "exited" | "error";
@@ -273,8 +272,8 @@ export function AgenticTerminal({
layoutBusy = false,
}: AgenticTerminalProps) {
const containerRef = useRef<HTMLDivElement | null>(null);
- // The padded box around the xterm host. The pane's scrollbar overlays it and
- // measures hover against it — see ./PaneScrollbar.
+ // The padded box around the xterm host — the pane's visible inset, kept off
+ // the host itself because FitAddon reads the host's border-box.
const scrollRegionRef = useRef<HTMLDivElement | null>(null);
const termRef = useRef<Terminal | null>(null);
const fitRef = useRef<FitAddon | null>(null);
@@ -285,11 +284,6 @@ export function AgenticTerminal({
// Mirrored into state purely so the header can show/hide the restart button;
// it transitions a handful of times per pane, never per output chunk.
const [visibleStatus, setVisibleStatus] = useState<PaneStatus>("connecting");
- // Bumped once per built terminal. The scrollbar subscribes to xterm events,
- // and the instance behind `termRef` is replaced on every restart — without a
- // signal it would keep listening to a disposed one.
- const [termEpoch, setTermEpoch] = useState(0);
- const getTerminal = useCallback(() => termRef.current, []);
// Latest callbacks/appearance without re-running the connect effect.
const onStatusRef = useRef(onStatus);
const onAttachErrorRef = useRef(onAttachError);
@@ -376,7 +370,6 @@ export function AgenticTerminal({
}
termRef.current = term;
fitRef.current = fit;
- setTermEpoch((epoch) => epoch + 1);
// Let the app-wide right-click menu reach this terminal. It cannot use the
// browser selection here — the canvas renderer above paints the text, so
// there is no selectable DOM to read — and it must paste through xterm so
@@ -394,7 +387,10 @@ export function AgenticTerminal({
// terminal control code ^V and CANCELS the keystroke, so the browser never
// runs its own paste and nothing arrives at all — see ./terminalPaste.
const disposePasteBridge = installPasteBridge(
- { attachCustomKeyEventHandler: keys.add, paste: (text) => term.paste(text) },
+ {
+ attachCustomKeyEventHandler: keys.add,
+ paste: (text) => term.paste(text),
+ },
container,
{
readClipboard: robustPaste,
@@ -568,7 +564,11 @@ export function AgenticTerminal({
// Already delivered and unchanged: the fit above was the whole job.
// Re-announcing a size makes the agent on the other end redraw its
// entire screen, and a pane refits several times per settling layout.
- if (sentSize && sentSize.cols === size.cols && sentSize.rows === size.rows) {
+ if (
+ sentSize &&
+ sentSize.cols === size.cols &&
+ sentSize.rows === size.rows
+ ) {
return;
}
if (socket?.send({ t: "r", ...size })) sentSize = size;
@@ -976,17 +976,6 @@ export function AgenticTerminal({
data-layout-busy={layoutBusy ? "true" : "false"}
className="agentic-terminal-host h-full min-h-0 w-full overflow-hidden"
/>
- {/* Overlaid rather than laid out, and deliberately not the browser's
- own bar — see ./PaneScrollbar for why a CSS-only scrollbar could
- never work in a Claude Code pane. */}
- <PaneScrollbar
- name={name}
- regionRef={scrollRegionRef}
- hostRef={containerRef}
- getTerminal={getTerminal}
- epoch={termEpoch}
- appearance={appearance}
- />
</div>
{(dragging || attaching) && (
<div className="pointer-events-none absolute inset-0 flex items-center justify-center bg-background/70 backdrop-blur-[2px]">
@@ -1064,7 +1053,8 @@ function PaneHeader({
const offersChoice = choices.filter((a) => a.installed).length > 1;
const startSplit = (direction: SplitDirection) => {
- if (offersChoice) setPicking((current) => (current === direction ? null : direction));
+ if (offersChoice)
+ setPicking((current) => (current === direction ? null : direction));
else onSplit?.(direction);
};
@@ -1083,7 +1073,8 @@ function PaneHeader({
onArrangeStart
? (event) => {
const target = event.target as HTMLElement | null;
- if (target?.closest("button, a, input, [role='menuitem']")) return;
+ if (target?.closest("button, a, input, [role='menuitem']"))
+ return;
onArrangeStart(event);
}
: undefined
@@ -1115,7 +1106,12 @@ function PaneHeader({
style={
focused
? undefined
- : { color: light ? "#2b2b33" : "#e8e8ec", background: light ? "rgba(0,0,0,0.05)" : "rgba(255,255,255,0.06)" }
+ : {
+ color: light ? "#2b2b33" : "#e8e8ec",
+ background: light
+ ? "rgba(0,0,0,0.05)"
+ : "rgba(255,255,255,0.06)",
+ }
}
>
{name}
@@ -1180,7 +1176,11 @@ function PaneHeader({
light={light}
onClick={onToggleMaximize}
>
- {maximized ? <Minimize2 className="h-3.5 w-3.5" /> : <Maximize2 className="h-3.5 w-3.5" />}
+ {maximized ? (
+ <Minimize2 className="h-3.5 w-3.5" />
+ ) : (
+ <Maximize2 className="h-3.5 w-3.5" />
+ )}
</PaneAction>
<PaneAction
label={`Open another terminal beside ${name}`}
@@ -1272,14 +1272,18 @@ function SplitAgentMenu({
}}
>
<p className="px-2 py-1.5 text-[11px] uppercase tracking-wider text-muted-foreground">
- {direction === "right" ? "Open beside — what?" : "Split below — what?"}
+ {direction === "right"
+ ? "Open beside — what?"
+ : "Split below — what?"}
</p>
{agents.map((agent) => (
<button
key={agent.name}
type="button"
role="menuitem"
- autoFocus={agent.installed && agent === agents.find((a) => a.installed)}
+ autoFocus={
+ agent.installed && agent === agents.find((a) => a.installed)
+ }
disabled={!agent.installed}
data-testid={`pane-split-${direction}-${paneName}-${agent.name}`}
onClick={(e) => {
@@ -1363,10 +1367,19 @@ function PaneAction({
}
/** Small status pill reused by the grid toolbar. */
-export function PaneStatusPill({ status, detail }: { status: PaneStatus; detail?: string }) {
+export function PaneStatusPill({
+ status,
+ detail,
+}: {
+ status: PaneStatus;
+ detail?: string;
+}) {
if (status === "live") {
return (
- <span className="flex items-center gap-1 text-[11px] text-emerald-400" title={detail}>
+ <span
+ className="flex items-center gap-1 text-[11px] text-emerald-400"
+ title={detail}
+ >
<Circle className="h-2 w-2 fill-current" />
live
</span>
@@ -1374,7 +1387,10 @@ export function PaneStatusPill({ status, detail }: { status: PaneStatus; detail?
}
if (status === "error") {
return (
- <span className="flex items-center gap-1 text-[11px] text-destructive" title={detail}>
+ <span
+ className="flex items-center gap-1 text-[11px] text-destructive"
+ title={detail}
+ >
<AlertCircle className="h-3 w-3" />
error
</span>
@@ -1388,7 +1404,10 @@ export function PaneStatusPill({ status, detail }: { status: PaneStatus; detail?
);
}
return (
- <span className="flex items-center gap-1 text-[11px] text-muted-foreground" title={detail}>
+ <span
+ className="flex items-center gap-1 text-[11px] text-muted-foreground"
+ title={detail}
+ >
<Loader2 className="h-3 w-3 animate-spin" />
starting
</span>
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index ec9da52c77..81fc897fe3 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -66,13 +66,16 @@
display: none;
}
-/* Agentic IDE panes draw their OWN scrollbar (components/agentic/PaneScrollbar)
- and hide the browser's, for two reasons the native bar could not meet: it is
- permanently on screen, and it is powered by the xterm viewport — which a
- full-screen CLI like Claude Code leaves empty, because it runs on the
- alternate screen buffer and keeps its history in its own process. Hiding it
- here rather than switching the viewport to `overflow: hidden` is deliberate:
- xterm still needs a scrollable viewport for the wheel and for `scrollToLine`.
+/* Agentic IDE panes carry NO scroll track at all — maintainer's call, after a
+ custom one was built, rebuilt and removed again. The native bar cannot stand
+ in for it: it is permanently on screen down the side of every pane in the
+ grid, and it is powered by the xterm viewport, which a full-screen CLI like
+ Claude Code leaves empty because it runs on the alternate screen and keeps
+ its history in its own process. Scrolling is the wheel, which reaches
+ whichever of the two owns the screen.
+
+ Hiding it here rather than switching the viewport to `overflow: hidden` is
+ deliberate: xterm still needs a scrollable viewport for the wheel itself.
Keep this top-level — xterm creates the viewport at runtime, so Tailwind
would purge a rule for it out of an @layer. */
.agentic-terminal-host .xterm-viewport {
@@ -112,30 +115,30 @@
@layer base {
:root {
/* Jarvis — Schwarz/Gelb Theme (matte, signal-yellow) */
- --background: 0 0% 4%; /* #0A0A0A matte-black */
- --foreground: 0 0% 96%; /* #F4F4F5 */
- --card: 0 0% 6%; /* #0F0F0F */
+ --background: 0 0% 4%; /* #0A0A0A matte-black */
+ --foreground: 0 0% 96%; /* #F4F4F5 */
+ --card: 0 0% 6%; /* #0F0F0F */
--card-foreground: 0 0% 96%;
--popover: 0 0% 6%;
--popover-foreground: 0 0% 96%;
- --primary: 50 100% 52%; /* #FFD60A signal-yellow */
- --primary-foreground: 0 0% 4%; /* schwarz auf gelb */
- --secondary: 0 0% 10%; /* #1A1A1A */
+ --primary: 50 100% 52%; /* #FFD60A signal-yellow */
+ --primary-foreground: 0 0% 4%; /* schwarz auf gelb */
+ --secondary: 0 0% 10%; /* #1A1A1A */
--secondary-foreground: 0 0% 96%;
--muted: 0 0% 10%;
- --muted-foreground: 0 0% 56%; /* #8F8F8F */
+ --muted-foreground: 0 0% 56%; /* #8F8F8F */
--accent: 50 100% 52%;
--accent-foreground: 0 0% 4%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 96%;
- --border: 0 0% 14%; /* #242424 */
+ --border: 0 0% 14%; /* #242424 */
--input: 0 0% 10%;
--ring: 50 100% 52%;
--radius: 0.75rem;
/* Jarvis-specific custom tokens */
- --jarvis-yellow: 255 214 10; /* #FFD60A for rgba() */
- --jarvis-yellow-dim: 230 190 40; /* dimmed yellow */
+ --jarvis-yellow: 255 214 10; /* #FFD60A for rgba() */
+ --jarvis-yellow-dim: 230 190 40; /* dimmed yellow */
--jarvis-grid: 0 0% 12%;
}
@@ -159,7 +162,13 @@
body {
@apply bg-background text-foreground antialiased;
- font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
+ font-family:
+ "Inter",
+ ui-sans-serif,
+ system-ui,
+ -apple-system,
+ "Segoe UI",
+ sans-serif;
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
overflow-x: hidden;
}
@@ -254,7 +263,8 @@
/* Pulse animation for state badges */
@keyframes jarvis-pulse {
- 0%, 100% {
+ 0%,
+ 100% {
opacity: 1;
box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.4);
}
@@ -273,8 +283,12 @@
pulses with two expanding rings; the card glow breathes.
=========================================================== */
@keyframes thinking-shimmer {
- 0% { background-position: 200% 50%; }
- 100% { background-position: -200% 50%; }
+ 0% {
+ background-position: 200% 50%;
+ }
+ 100% {
+ background-position: -200% 50%;
+ }
}
.thinking-shimmer {
background: linear-gradient(
@@ -292,8 +306,14 @@
animation: thinking-shimmer 2.4s linear infinite;
}
@keyframes thinking-ring {
- 0% { transform: scale(0.6); opacity: 0.8; }
- 100% { transform: scale(2.4); opacity: 0; }
+ 0% {
+ transform: scale(0.6);
+ opacity: 0.8;
+ }
+ 100% {
+ transform: scale(2.4);
+ opacity: 0;
+ }
}
.thinking-ring {
animation: thinking-ring 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
@@ -302,8 +322,13 @@
box-shadow: 0 0 12px 2px rgba(255, 214, 10, 0.45);
}
@keyframes thinking-breathe {
- 0%, 100% { opacity: 0.45; }
- 50% { opacity: 1; }
+ 0%,
+ 100% {
+ opacity: 0.45;
+ }
+ 50% {
+ opacity: 1;
+ }
}
.thinking-breathe {
animation: thinking-breathe 3.4s ease-in-out infinite;
@@ -322,8 +347,13 @@
/* Soft float animation for the hero orb */
@keyframes jarvis-float {
- 0%, 100% { transform: translateY(0px); }
- 50% { transform: translateY(-14px); }
+ 0%,
+ 100% {
+ transform: translateY(0px);
+ }
+ 50% {
+ transform: translateY(-14px);
+ }
}
.animate-jarvis-float {
animation: jarvis-float 6s ease-in-out infinite;
@@ -331,8 +361,12 @@
/* Slow spin for subtle rotations */
@keyframes jarvis-spin-slow {
- from { transform: rotate(0deg); }
- to { transform: rotate(360deg); }
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(360deg);
+ }
}
.animate-jarvis-spin-slow {
animation: jarvis-spin-slow 40s linear infinite;
@@ -340,7 +374,7 @@
/* Text gradient for the hero */
.text-gradient-yellow {
- background: linear-gradient(135deg, #FFE552 0%, #FFD60A 50%, #B8960A 100%);
+ background: linear-gradient(135deg, #ffe552 0%, #ffd60a 50%, #b8960a 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
@@ -399,8 +433,15 @@
animation: gigi-auto-blink 7s ease-in-out infinite;
}
@keyframes gigi-auto-blink {
- 0%, 92%, 95%, 100% { transform: scaleY(1); }
- 93.5% { transform: scaleY(0.08); }
+ 0%,
+ 92%,
+ 95%,
+ 100% {
+ transform: scaleY(1);
+ }
+ 93.5% {
+ transform: scaleY(0.08);
+ }
}
/* Pupil drift: subtle eye movement during idle */
@@ -409,11 +450,22 @@
transform-origin: 50% 50%;
}
@keyframes gigi-pupil-drift {
- 0%, 100% { transform: translate(0, 0); }
- 18% { transform: translate(-1.2px, 0); }
- 42% { transform: translate(0.8px, 0.4px); }
- 68% { transform: translate(1.2px, -0.3px); }
- 85% { transform: translate(-0.6px, 0.2px); }
+ 0%,
+ 100% {
+ transform: translate(0, 0);
+ }
+ 18% {
+ transform: translate(-1.2px, 0);
+ }
+ 42% {
+ transform: translate(0.8px, 0.4px);
+ }
+ 68% {
+ transform: translate(1.2px, -0.3px);
+ }
+ 85% {
+ transform: translate(-0.6px, 0.2px);
+ }
}
/* Mouth: subtle "breathing" */
@@ -423,17 +475,32 @@
animation: gigi-mouth-idle 5.8s ease-in-out infinite;
}
@keyframes gigi-mouth-idle {
- 0%, 100% { transform: scale(1, 1); }
- 50% { transform: scale(0.94, 1.06); }
+ 0%,
+ 100% {
+ transform: scale(1, 1);
+ }
+ 50% {
+ transform: scale(0.94, 1.06);
+ }
}
@keyframes gigi-float {
- 0%, 100% { transform: translateY(0); }
- 50% { transform: translateY(-3px); }
+ 0%,
+ 100% {
+ transform: translateY(0);
+ }
+ 50% {
+ transform: translateY(-3px);
+ }
}
@keyframes gigi-breath {
- 0%, 100% { transform: scale(1); }
- 50% { transform: scale(1.025); }
+ 0%,
+ 100% {
+ transform: scale(1);
+ }
+ 50% {
+ transform: scale(1.025);
+ }
}
/* --- Action: Blink (eyes close briefly) --- */
@@ -444,8 +511,14 @@
transform-origin: 50% 108px;
}
@keyframes gigi-blink {
- 0%, 100% { transform: scaleY(1); }
- 45%, 60% { transform: scaleY(0.08); }
+ 0%,
+ 100% {
+ transform: scaleY(1);
+ }
+ 45%,
+ 60% {
+ transform: scaleY(0.08);
+ }
}
/* --- Action: Wave (left arm waves) ---
@@ -465,16 +538,36 @@
animation: gigi-wave 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes gigi-wave {
- 0% { transform: rotate(0deg); }
- 12% { transform: rotate(-95deg); } /* arm up */
- 22% { transform: rotate(-75deg); } /* wave 1 */
- 32% { transform: rotate(-110deg); }
- 42% { transform: rotate(-75deg); } /* wave 2 */
- 52% { transform: rotate(-110deg); }
- 62% { transform: rotate(-75deg); } /* wave 3 */
- 72% { transform: rotate(-110deg); }
- 82% { transform: rotate(-90deg); } /* wave ends */
- 100% { transform: rotate(0deg); } /* back down */
+ 0% {
+ transform: rotate(0deg);
+ }
+ 12% {
+ transform: rotate(-95deg);
+ } /* arm up */
+ 22% {
+ transform: rotate(-75deg);
+ } /* wave 1 */
+ 32% {
+ transform: rotate(-110deg);
+ }
+ 42% {
+ transform: rotate(-75deg);
+ } /* wave 2 */
+ 52% {
+ transform: rotate(-110deg);
+ }
+ 62% {
+ transform: rotate(-75deg);
+ } /* wave 3 */
+ 72% {
+ transform: rotate(-110deg);
+ }
+ 82% {
+ transform: rotate(-90deg);
+ } /* wave ends */
+ 100% {
+ transform: rotate(0deg);
+ } /* back down */
}
/* --- Action: Spin (whole figure spins) --- */
@@ -482,8 +575,12 @@
animation: gigi-spin 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes gigi-spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(360deg);
+ }
}
/* --- Action: Jump (hop up) --- */
@@ -491,10 +588,19 @@
animation: gigi-jump 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes gigi-jump {
- 0%, 100% { transform: translateY(0) scale(1, 1); }
- 20% { transform: translateY(2px) scale(1.08, 0.92); }
- 55% { transform: translateY(-14px) scale(0.95, 1.05); }
- 80% { transform: translateY(1px) scale(1.05, 0.95); }
+ 0%,
+ 100% {
+ transform: translateY(0) scale(1, 1);
+ }
+ 20% {
+ transform: translateY(2px) scale(1.08, 0.92);
+ }
+ 55% {
+ transform: translateY(-14px) scale(0.95, 1.05);
+ }
+ 80% {
+ transform: translateY(1px) scale(1.05, 0.95);
+ }
}
/* --- Action: Shake (head shaking) --- */
@@ -502,11 +608,22 @@
animation: gigi-shake 0.55s ease-in-out;
}
@keyframes gigi-shake {
- 0%, 100% { transform: translateX(0) rotate(0deg); }
- 15% { transform: translateX(-4px) rotate(-3deg); }
- 35% { transform: translateX(4px) rotate(3deg); }
- 55% { transform: translateX(-3px) rotate(-2deg); }
- 75% { transform: translateX(3px) rotate(2deg); }
+ 0%,
+ 100% {
+ transform: translateX(0) rotate(0deg);
+ }
+ 15% {
+ transform: translateX(-4px) rotate(-3deg);
+ }
+ 35% {
+ transform: translateX(4px) rotate(3deg);
+ }
+ 55% {
+ transform: translateX(-3px) rotate(-2deg);
+ }
+ 75% {
+ transform: translateX(3px) rotate(2deg);
+ }
}
/* --- Action: Look-Left / Look-Right (pupils look) --- */
@@ -517,12 +634,24 @@
animation: gigi-look-right 0.85s ease-in-out;
}
@keyframes gigi-look-left {
- 0%, 100% { transform: translateX(0); }
- 30%, 70% { transform: translateX(-4px); }
+ 0%,
+ 100% {
+ transform: translateX(0);
+ }
+ 30%,
+ 70% {
+ transform: translateX(-4px);
+ }
}
@keyframes gigi-look-right {
- 0%, 100% { transform: translateX(0); }
- 30%, 70% { transform: translateX(4px); }
+ 0%,
+ 100% {
+ transform: translateX(0);
+ }
+ 30%,
+ 70% {
+ transform: translateX(4px);
+ }
}
/* --- Action: Glitch (brief digital disruption) --- */
@@ -534,17 +663,43 @@
animation: gigi-glitch-pixels 0.42s steps(4, end);
}
@keyframes gigi-glitch {
- 0% { transform: translate(0, 0) skewX(0); filter: none; }
- 20% { transform: translate(-3px, 1px) skewX(-4deg); filter: hue-rotate(-20deg); }
- 40% { transform: translate(3px, -1px) skewX(4deg); }
- 60% { transform: translate(-2px, 0) skewX(-2deg); filter: hue-rotate(20deg); }
- 80% { transform: translate(2px, 1px) skewX(2deg); }
- 100% { transform: translate(0, 0) skewX(0); filter: none; }
+ 0% {
+ transform: translate(0, 0) skewX(0);
+ filter: none;
+ }
+ 20% {
+ transform: translate(-3px, 1px) skewX(-4deg);
+ filter: hue-rotate(-20deg);
+ }
+ 40% {
+ transform: translate(3px, -1px) skewX(4deg);
+ }
+ 60% {
+ transform: translate(-2px, 0) skewX(-2deg);
+ filter: hue-rotate(20deg);
+ }
+ 80% {
+ transform: translate(2px, 1px) skewX(2deg);
+ }
+ 100% {
+ transform: translate(0, 0) skewX(0);
+ filter: none;
+ }
}
@keyframes gigi-glitch-pixels {
- 0%, 100% { opacity: 1; transform: translateX(0); }
- 25% { opacity: 0.3; transform: translateX(-4px); }
- 75% { opacity: 0.8; transform: translateX(4px); }
+ 0%,
+ 100% {
+ opacity: 1;
+ transform: translateX(0);
+ }
+ 25% {
+ opacity: 0.3;
+ transform: translateX(-4px);
+ }
+ 75% {
+ opacity: 0.8;
+ transform: translateX(4px);
+ }
}
/* --- Voice-state reactions --- */
@@ -552,16 +707,28 @@
animation: gigi-ear-prick 1.2s ease-in-out infinite;
}
@keyframes gigi-ear-prick {
- 0%, 100% { transform: scale(1); }
- 50% { transform: scale(1.08); }
+ 0%,
+ 100% {
+ transform: scale(1);
+ }
+ 50% {
+ transform: scale(1.08);
+ }
}
.gigi-voice-thinking .gigi-svg {
- animation: gigi-breath 3.8s ease-in-out infinite, gigi-thinking-tilt 2.4s ease-in-out infinite;
+ animation:
+ gigi-breath 3.8s ease-in-out infinite,
+ gigi-thinking-tilt 2.4s ease-in-out infinite;
}
@keyframes gigi-thinking-tilt {
- 0%, 100% { transform: rotate(0deg); }
- 50% { transform: rotate(-6deg); }
+ 0%,
+ 100% {
+ transform: rotate(0deg);
+ }
+ 50% {
+ transform: rotate(-6deg);
+ }
}
.gigi-voice-speaking .gigi-mouth {
@@ -569,8 +736,12 @@
transform-origin: 50% 146px;
}
@keyframes gigi-speak {
- 0% { transform: scaleY(0.7); }
- 100% { transform: scaleY(1.25); }
+ 0% {
+ transform: scaleY(0.7);
+ }
+ 100% {
+ transform: scaleY(1.25);
+ }
}
.gigi-voice-error .gigi-svg {
@@ -590,7 +761,9 @@
border-radius: 10px;
background: hsl(var(--card));
border: 1px solid rgba(255, 214, 10, 0.45);
- box-shadow: 0 0 18px rgba(255, 214, 10, 0.18), 0 4px 14px rgba(0, 0, 0, 0.45);
+ box-shadow:
+ 0 0 18px rgba(255, 214, 10, 0.18),
+ 0 4px 14px rgba(0, 0, 0, 0.45);
font-size: 11.5px;
line-height: 1.35;
color: hsl(var(--foreground));
@@ -664,8 +837,14 @@
white-space: pre-wrap;
}
@keyframes gigi-bubble-pop {
- 0% { opacity: 0; transform: translateY(-50%) scale(0.55); }
- 100% { opacity: 1; transform: translateY(-50%) scale(1); }
+ 0% {
+ opacity: 0;
+ transform: translateY(-50%) scale(0.55);
+ }
+ 100% {
+ opacity: 1;
+ transform: translateY(-50%) scale(1);
+ }
}
/* Reduced-motion friendly: all animations off */