Drama-3 / stage.css
zhaochenyang20's picture andito's picture
andito HF Staff
Replace ZeroGPU demo with Gradio studio and H200 endpoint (#6)
e9cf2ae
Raw History Blame Contribute Delete
3.15 kB
--field: var(--card);
--faint: var(--muted);
--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
background: var(--card);
border: 1px solid var(--card-border);
border-radius: 16px;
box-shadow: 0 1px 2px #1414140a;
padding: 14px;
color: var(--ink);
font-family: inherit;
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.stage-head h2 { margin: 0; font-size: 14px; font-weight: 600; }
.stage-head > span { font-size: 12px; color: var(--muted); }
.stage-viz { width: 100%; height: 76px; display: block; border-radius: 12px; background: var(--field); border: 1px solid var(--border); }
.stage-metrics { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.stage-metrics b { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.stage-tools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.stage-tools audio { flex: 1 1 220px; height: 34px; min-width: 0; }
.stage-btn { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.stage-btn.ghost { background: var(--card); color: var(--ink); border-color: var(--border); }
.stage-btn:hover { border-color: var(--ink); }
.stage-btn:disabled { opacity: .45; cursor: default; }
.stage-message { padding: 9px 12px; margin-bottom: 10px; border-radius: 12px; font-size: 13px; border: 1px solid var(--border); color: var(--muted); }
.stage-message.error { background: #d6454514; border-color: #d6454540; color: #d64545; }
.stage-direct { margin-top: 14px; padding-top: 14px !important; border-top: 1px solid var(--card-border); background: transparent !important; gap: 8px !important; }
.stage-direct h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.stage-direct .hint { margin: 0; }
.stage-note-row { gap: 6px !important; align-items: center; }
.stage-note-row textarea { border-radius: 999px; padding: 8px 14px; }
.stage-note-row button { border-radius: 999px; min-height: 39px; }
.stage-slate { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.stage-slate:empty { margin: 0; }
.stage-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--field); }
.stage-item.current { border-color: var(--ink); }
.stage-number { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.stage-item-title { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-item-sub { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-mini { border: 1px solid var(--border); background: var(--card); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.stage-mini:hover { border-color: var(--ink); }