Download style.css from neuphonic/neudecide: direct link, hf CLI and curl.
- Browser
- Download file 9.23 kB
-
https://huggingface.co/spaces/neuphonic/neudecide/resolve/main/style.css
- Command line
-
hf download hf://spaces/neuphonic/neudecide/style.css
-
curl -L -o style.css https://huggingface.co/spaces/neuphonic/neudecide/resolve/main/style.css
9.23 kB
| :root { | |
| --bg: #f6f7f9; | |
| --panel: #ffffff; | |
| --text: #16181d; | |
| --muted: #646b78; | |
| --border: #e1e4ea; | |
| --accent: #3b5bdb; | |
| --accent-soft: #e7ecff; | |
| --ok: #2b8a3e; | |
| --warn: #c2410c; | |
| --error: #c92a2a; | |
| --record: #e03131; | |
| --code-bg: #f1f3f6; | |
| --radius: 10px; | |
| color-scheme: light; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --bg: #111317; | |
| --panel: #1a1d23; | |
| --text: #e6e8ec; | |
| --muted: #959cab; | |
| --border: #2c313a; | |
| --accent: #7c93f5; | |
| --accent-soft: #252c47; | |
| --ok: #69db7c; | |
| --warn: #ffa94d; | |
| --error: #ff8787; | |
| --code-bg: #22262e; | |
| color-scheme: dark; | |
| } | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; | |
| background: var(--bg); | |
| color: var(--text); | |
| font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; | |
| } | |
| header { | |
| display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; | |
| max-width: 1200px; margin: 0 auto; padding: 24px 16px 8px; | |
| } | |
| h1 { margin: 0; font-size: 22px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; } | |
| h1 .logo { width: 28px; height: 28px; flex: none; } | |
| h2 { margin: 0; font-size: 16px; } | |
| h3 { margin: 0; font-size: 15px; } | |
| .brand p { margin: 2px 0 0; color: var(--muted); } | |
| .lab-link { | |
| display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 8px; | |
| background: var(--accent); color: var(--panel); font-size: 16px; font-weight: 600; text-decoration: none; | |
| } | |
| .lab-link:hover { filter: brightness(1.1); } | |
| .lab-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } | |
| .muted { color: var(--muted); font-size: 13px; } | |
| .error { color: var(--error); font-size: 13px; margin: 6px 0 0; min-height: 0; } | |
| .error:empty { display: none; } | |
| main { | |
| display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; | |
| max-width: 1200px; margin: 0 auto; padding: 8px 16px 32px; | |
| } | |
| @media (max-width: 860px) { main { grid-template-columns: minmax(0, 1fr); } } | |
| .panel { | |
| background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); | |
| padding: 16px; min-width: 0; | |
| } | |
| .panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; } | |
| .model-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; } | |
| .model-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); } | |
| .model-status.ready .dot { background: var(--ok); } | |
| .model-status.failed .dot { background: var(--error); } | |
| .progress { width: 160px; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; } | |
| .progress div { height: 100%; width: 0; background: var(--accent); transition: width 0.15s; } | |
| button, .file-button { | |
| font: inherit; font-size: 14px; border-radius: 8px; padding: 7px 12px; cursor: pointer; | |
| border: 1px solid var(--accent); background: var(--accent); color: #fff; | |
| } | |
| button.secondary, .file-button.secondary { background: var(--accent-soft); color: var(--accent); border-color: transparent; } | |
| button.ghost { background: transparent; color: var(--muted); border-color: var(--border); } | |
| button:disabled, .file-button.disabled { opacity: 0.5; cursor: not-allowed; } | |
| button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { | |
| outline: 2px solid var(--accent); outline-offset: 1px; | |
| } | |
| .row { display: flex; gap: 8px; margin-top: 8px; } | |
| .row.end { justify-content: flex-end; } | |
| .tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 8px; } | |
| .tabs button { | |
| background: transparent; color: var(--muted); border: none; border-bottom: 2px solid transparent; | |
| border-radius: 0; padding: 6px 10px; margin-bottom: -1px; | |
| } | |
| .tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; } | |
| .scenario-hint { margin: 0 0 8px; } | |
| .tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } | |
| .tool { | |
| border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; | |
| display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; | |
| transition: border-color 0.2s, box-shadow 0.2s; | |
| } | |
| .tool.called { border-color: var(--ok); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok) 25%, transparent); } | |
| .tool-name { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; } | |
| .tool-desc { grid-column: 1 / -1; color: var(--muted); font-size: 13px; } | |
| .tool-buttons { display: flex; gap: 4px; } | |
| .tool-buttons button { padding: 2px 8px; font-size: 13px; } | |
| .params { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; } | |
| .param { | |
| font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--code-bg); | |
| border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; | |
| } | |
| .param .req { color: var(--accent); } | |
| .empty { color: var(--muted); font-size: 13px; padding: 16px; text-align: center; border: 1px dashed var(--border); border-radius: 8px; } | |
| .tool-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } | |
| .json-editor textarea { | |
| width: 100%; min-height: 280px; margin-top: 12px; padding: 10px; resize: vertical; | |
| font: 12px/1.45 ui-monospace, Menlo, monospace; color: var(--text); background: var(--code-bg); | |
| border: 1px solid var(--border); border-radius: 8px; | |
| } | |
| .inputs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } | |
| .secondary-inputs { margin-top: 12px; gap: 8px; } | |
| .record { | |
| display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 10px 18px; | |
| background: var(--record); border-color: var(--record); border-radius: 999px; | |
| } | |
| .record .mic { width: 10px; height: 10px; border-radius: 50%; background: #fff; } | |
| .record.recording .mic { border-radius: 2px; animation: pulse 1s infinite; } | |
| @keyframes pulse { 50% { opacity: 0.4; } } | |
| .meter { flex: 1; min-width: 80px; max-width: 220px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; } | |
| .meter div { height: 100%; width: 0; background: var(--ok); transition: width 0.05s; } | |
| .file-button input { display: none; } | |
| .samples { display: flex; gap: 6px; flex-wrap: wrap; } | |
| .samples button { padding: 4px 10px; font-size: 13px; } | |
| #examples { margin: 12px 0 0; } | |
| .run-panel.dragging { border-color: var(--accent); border-style: dashed; } | |
| .result { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; } | |
| .result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; } | |
| .result audio { height: 32px; max-width: 100%; } | |
| .call { | |
| border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; | |
| font-family: ui-monospace, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; | |
| } | |
| .call .fn { font-weight: 600; color: var(--accent); } | |
| .call .slots { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; } | |
| .call .slots li.ok { color: var(--ok); } | |
| .call .slots li.missing, .call .slots li.unknown { color: var(--warn); } | |
| .status-line { font-size: 14px; } | |
| pre { | |
| background: var(--code-bg); border-radius: 8px; padding: 10px; margin: 8px 0 0; | |
| font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; | |
| } | |
| summary { cursor: pointer; color: var(--muted); font-size: 13px; margin-top: 8px; } | |
| .timings { margin: 10px 0 0; } | |
| dialog { | |
| width: min(860px, calc(100vw - 32px)); border: 1px solid var(--border); border-radius: var(--radius); | |
| background: var(--panel); color: var(--text); padding: 20px; | |
| } | |
| dialog::backdrop { background: rgb(0 0 0 / 0.4); } | |
| dialog form > label { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--muted); } | |
| dialog input, dialog select { | |
| font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 6px; | |
| border: 1px solid var(--border); background: var(--bg); color: var(--text); min-width: 0; | |
| } | |
| .params-head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; color: var(--muted); } | |
| .param-row { | |
| display: grid; grid-template-columns: 1.1fr 0.9fr 1.6fr 0.5fr 0.5fr 1.4fr auto auto; gap: 6px; align-items: center; margin-top: 6px; | |
| } | |
| @media (max-width: 760px) { .param-row { grid-template-columns: 1fr 1fr; } } | |
| .p-req { font-size: 12px; color: var(--muted); display: flex; gap: 4px; align-items: center; white-space: nowrap; } | |
| .param-row button { padding: 4px 10px; } | |
| /* nested tool contexts (Mac control › Granola › Meeting) */ | |
| .context-path { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; flex-wrap: wrap; } | |
| .context-path .sep { opacity: .5; } | |
| .context-path .crumb { padding: 2px 6px; font-size: 13px; } | |
| .call pre.detail { white-space: pre-wrap; margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; | |
| background: rgba(127,127,127,.08); font: 13px/1.5 system-ui, sans-serif; } | |
| /* global push-to-talk (serve.py --hotkey) */ | |
| .hotkey { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; flex-wrap: wrap; font-size: 13px; } | |
| .hotkey.armed #hotkey-status { color: var(--ok); } | |
| .hotkey .hotkey-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); } | |