83 lines
2.2 KiB
CSS
83 lines
2.2 KiB
CSS
/* Phase 10 — redesign tokens + animations
|
|
Adds variables and bb-pulse / bb-ring keyframes used by the new CSI/AI
|
|
homepage components. Existing tokens kept intact (forward-only). */
|
|
|
|
:root {
|
|
/* AI accent (blue) — same hue as --color-accent but exposed via the
|
|
spec name --color-text-info so the redesign components can reference
|
|
it without coupling to the existing --color-accent. */
|
|
--color-text-info: #60a5fa;
|
|
--color-text-info-strong: #3b82f6;
|
|
|
|
/* Backgrounds */
|
|
--color-background-primary: #0a0a0a;
|
|
--color-background-secondary: #111111;
|
|
--color-background-tertiary: #1a1f2e;
|
|
|
|
/* Text */
|
|
--color-text-primary: #e8e8e8;
|
|
--color-text-secondary: #b0b0b0;
|
|
--color-text-tertiary: #6b7280;
|
|
|
|
/* Brand surfaces */
|
|
--color-text-success: #10b981;
|
|
--color-text-warning: #f59e0b;
|
|
--color-text-danger: #ef4444;
|
|
|
|
/* Trends sidebar palette (Ryan, 2026-05-15) */
|
|
--color-trends-bg: #F5EFEB;
|
|
--color-trends-text: #2F4F5B;
|
|
|
|
/* Type families */
|
|
--font-serif: Georgia, "Times New Roman", "Tinos", serif;
|
|
--font-mono: "JetBrains Mono", "Fira Code", "Courier New", Courier, monospace;
|
|
--font-body: Arial, Helvetica, system-ui, sans-serif;
|
|
|
|
/* Radii */
|
|
--border-radius-md: 6px;
|
|
--border-radius-sm: 3px;
|
|
}
|
|
|
|
@keyframes bb-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.25; }
|
|
}
|
|
|
|
@keyframes bb-ring {
|
|
0% { transform: scale(0.6); opacity: 1; }
|
|
100% { transform: scale(2.4); opacity: 0; }
|
|
}
|
|
|
|
.bb-pulse-dot {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--color-text-info, #60a5fa);
|
|
animation: bb-pulse 2s infinite ease-in-out;
|
|
}
|
|
|
|
.bb-pulse-dot--red { background: var(--color-text-danger, #ef4444); }
|
|
.bb-pulse-dot--green { background: var(--color-text-success, #10b981); }
|
|
|
|
.bb-ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--color-text-info, #60a5fa);
|
|
animation: bb-ring 1.8s infinite ease-out;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Marquee for live wire ticker */
|
|
@keyframes bb-marquee {
|
|
from { transform: translateX(0); }
|
|
to { transform: translateX(-50%); }
|
|
}
|
|
.bb-marquee {
|
|
display: flex;
|
|
white-space: nowrap;
|
|
animation: bb-marquee 90s linear infinite;
|
|
}
|
|
.bb-marquee:hover { animation-play-state: paused; }
|