beadboard/src/app/globals.css
openhands 6cdca6e7c9 fix: address PR review comments and security issues
- Fix command injection in bb-init.mjs by using execFileSync with argument arrays
- Fix parser.ts skipAgentFilter option not being respected
- Fix src/app/globals.css truncated CSS rule causing parse errors
- Fix status-badge.tsx BeadStatus type import from canonical source
- Fix agent-registry.ts missing 'agent' prefix in callBdAgentShow
- Fix tools/bb.ts null data access for activity-lease command
- Fix src/app/api/sessions/route.ts projectRoot not passed to listAgents
- Update package.json test script to include all test files
- Fix tailwind.config.ts content glob missing UI components
- Remove .beadboard/agent/runtime/existing-agent.pid and add .gitignore rule

Co-authored-by: openhands <openhands@all-hands.dev>
2026-02-16 06:32:58 +00:00

298 lines
7.9 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Aero Chrome foundation tokens */
--bg-base: #070709;
--glass-base: rgba(18, 18, 22, 0.4);
--edge-top: rgba(255, 255, 255, 0.12);
--edge-bottom: rgba(0, 0, 0, 0.8);
--edge-side: rgba(255, 255, 255, 0.04);
--elevation-tight: 0 4px 12px -2px rgba(0, 0, 0, 0.7);
--elevation-ambient: 0 16px 32px -8px rgba(0, 0, 0, 0.95);
--status-rdy-glow: rgba(74, 222, 128, 0.9);
--status-rdy-bg: rgba(74, 222, 128, 0.15);
--status-blk-glow: rgba(248, 113, 113, 0.9);
--status-blk-bg: rgba(248, 113, 113, 0.15);
--status-wip-glow: rgba(96, 165, 250, 0.9);
--status-wip-bg: rgba(96, 165, 250, 0.15);
--status-wait-glow: rgba(160, 160, 180, 0.7);
/* Typography pairing */
--font-ui-stack: var(--font-ui), 'Segoe UI', system-ui, sans-serif;
--font-mono-stack: var(--font-ui), 'Segoe UI', system-ui, sans-serif;
/* Compatibility tokens consumed by existing components */
--color-bg: var(--bg-base);
--color-surface: rgba(32, 35, 45, 0.85);
--color-surface-muted: rgba(40, 44, 55, 0.8);
--color-surface-raised: rgba(52, 58, 72, 0.82);
--color-text-strong: #ffffff;
--color-text-body: #d1d1d6;
--color-text-muted: #9494a0;
--color-border-soft: rgba(255, 255, 255, 0.1);
--color-border-strong: rgba(255, 255, 255, 0.22);
--aurora-blue: rgba(96, 165, 250, 0.12);
--aurora-amber: rgba(251, 191, 36, 0.1);
--aurora-purple: rgba(129, 140, 248, 0.08);
--status-open: #60a5fa;
--status-progress: #fbbf24;
--status-blocked: #f87171;
--status-deferred: #a3a3b0;
--status-closed: #4ade80;
--priority-p0: #f43f5e;
--priority-p1: #f59e0b;
--priority-p2: #38bdf8;
--priority-p3: #94a3b8;
--priority-p4: #64748b;
/* ========== EARTHY-DARK TOKENS (bb-ui2.1) ========== */
/* Backgrounds */
--color-bg-base: #2D2D2D;
--color-bg-card: #363636;
--color-bg-input: #404040;
/* Accents */
--color-accent-green: #7CB97A;
--color-accent-amber: #D4A574;
--color-accent-teal: #5BA8A0;
/* Text */
--color-text-primary: #FFFFFF;
--color-text-secondary: #B8B8B8;
--color-text-muted-dark: #888888;
/* Status colors (earthy variants) */
--status-ready: #5BA8A0;
--status-in-progress: #7CB97A;
--status-blocked-earthy: #D4A574;
--status-closed-earthy: #888888;
/* Liveness colors */
--liveness-active: #7CB97A;
--liveness-stale: #D4A574;
--liveness-stuck: #E57373;
--liveness-dead: #9E4244;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
min-height: 100%;
}
body {
background:
radial-gradient(circle at 15% 15%, rgba(60, 80, 120, 0.08) 0%, transparent 35%),
radial-gradient(circle at 85% 20%, rgba(100, 80, 140, 0.06) 0%, transparent 35%),
radial-gradient(circle at 50% 95%, rgba(50, 70, 100, 0.06) 0%, transparent 40%),
linear-gradient(180deg, rgba(20, 22, 30, 0.98) 0%, rgba(10, 11, 14, 0.99) 100%);
background-color: var(--bg-base);
color: var(--color-text-body);
font-family: var(--font-ui-stack);
letter-spacing: -0.011em;
position: relative;
isolation: isolate;
}
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 2rem 2rem;
pointer-events: none;
z-index: -2;
}
body::after {
content: '';
position: fixed;
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
opacity: 0.04;
pointer-events: none;
z-index: -1;
}
* {
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.35) rgba(255, 255, 255, 0.02);
}
*::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
*::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.02);
border-radius: 9999px;
}
*::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(156, 163, 175, 0.55), rgba(107, 114, 128, 0.45));
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 9999px;
}
*::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(186, 194, 209, 0.72), rgba(124, 136, 156, 0.62));
}
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.15);
border-radius: 20px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(148, 163, 184, 0.3);
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.workflow-card {
border: 1px solid rgba(255, 255, 255, 0.08);
border-top-color: rgba(255, 255, 255, 0.24);
border-bottom-color: rgba(0, 0, 0, 0.9);
background: linear-gradient(180deg, rgba(42, 44, 52, 0.6) 0%, rgba(22, 23, 28, 0.6) 100%);
box-shadow:
var(--elevation-ambient),
var(--elevation-tight),
inset 0 1px 1px rgba(255, 255, 255, 0.15);
backdrop-filter: blur(24px) saturate(120%);
-webkit-backdrop-filter: blur(24px) saturate(120%);
transform: translateZ(0);
will-change: transform, box-shadow;
}
.workflow-card-selected {
border-color: rgba(96, 165, 250, 0.42);
border-top-color: rgba(96, 165, 250, 0.58);
background: linear-gradient(180deg, rgba(60, 68, 88, 0.7) 0%, rgba(35, 40, 52, 0.7) 100%);
box-shadow:
0 20px 48px -8px rgba(0, 0, 0, 0.9),
0 0 0 1px rgba(96, 165, 250, 0.25),
0 0 40px rgba(96, 165, 250, 0.15),
inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.glass-panel {
background: var(--glass-base);
border: 1px solid var(--edge-side);
border-top-color: var(--edge-top);
border-bottom-color: var(--edge-bottom);
box-shadow: var(--elevation-ambient);
backdrop-filter: blur(24px) saturate(120%);
-webkit-backdrop-filter: blur(24px) saturate(120%);
}
/* Shared dark form controls to avoid white-on-white browser defaults */
.ui-field {
border: 1px solid rgba(255, 255, 255, 0.1);
border-top-color: var(--edge-top);
border-bottom-color: var(--edge-bottom);
background: linear-gradient(180deg, rgba(32, 34, 42, 0.72), rgba(17, 19, 26, 0.72));
color: var(--color-text-strong);
box-shadow:
0 8px 20px -12px rgba(0, 0, 0, 0.85),
inset 0 1px 0 rgba(255, 255, 255, 0.06);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.ui-field::placeholder {
color: color-mix(in srgb, var(--color-text-muted) 88%, transparent);
}
.ui-field:focus-visible {
outline: none;
border-color: rgba(96, 165, 250, 0.48);
box-shadow:
0 0 0 2px rgba(96, 165, 250, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ui-select {
appearance: none;
}
.ui-select option,
.ui-option {
background-color: #10141d;
color: #e2e8f0;
}
.ui-text {
font-family: var(--font-ui-stack);
font-weight: 500;
letter-spacing: -0.01em;
line-height: 1.35;
}
.system-data {
font-family: var(--font-mono-stack);
font-variant-numeric: tabular-nums;
font-weight: 450;
letter-spacing: 0.015em;
}
.workflow-graph-legend {
backdrop-filter: blur(12px);
background: rgba(20, 23, 31, 0.72);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.workflow-graph-flow .react-flow__viewport {
background:
radial-gradient(circle at 20% 20%, var(--aurora-blue), transparent 45%),
radial-gradient(circle at 80% 15%, var(--aurora-amber), transparent 45%);
}
.workflow-graph-flow .react-flow__edges {
z-index: 10 !important;
}
.workflow-graph-flow .react-flow__nodes {
z-index: 20 !important;
}
.workflow-graph-flow .react-flow__edge-path {
stroke-linecap: round;
stroke-linejoin: round;
}
.workflow-graph-flow .workflow-edge-muted .react-flow__edge-path {
opacity: 0.85;
}
.workflow-graph-flow .workflow-edge-selected .react-flow__edge-path {
opacity: 1;
filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
}