diff --git a/assets/css/marimo.css b/assets/css/marimo.css index a6e9278..ce155d0 100644 --- a/assets/css/marimo.css +++ b/assets/css/marimo.css @@ -396,6 +396,27 @@ body { opacity: 1 !important; } +/* Hidden-code cells: marimo shows a two-line peek at 20% opacity on the + wrapper *around* the editor (out of reach of the rule above), which + read as broken grey text. Keep it a quiet peek, but legible. */ +.marimo-cell .cm.opacity-20 { + opacity: 0.55 !important; +} + +/* Cells that have not run yet (notebooks open without auto-run so they + never contend for the DuckDB write lock): a brass-tinted hairline and + an outlined run button instead of a peach glow and yellow fill. */ +.marimo-cell.needs-run { + border-color: color-mix(in srgb, var(--chart-5) 35%, var(--border)) !important; + outline: none !important; +} + +.marimo-cell [data-testid="run-button"][class*="yellow-3"] { + background: var(--card) !important; + border-color: var(--chart-5) !important; + color: var(--chart-5) !important; +} + .cm-gutters { background: var(--secondary) !important; border-right: 1px solid var(--border) !important;