Download build/lib/server/static/style.css from raianand/SCQC: direct link, hf CLI and curl.
- Browser
- Download file 9.03 kB
-
https://huggingface.co/spaces/raianand/SCQC/resolve/main/build/lib/server/static/style.css
- Command line
-
hf download hf://spaces/raianand/SCQC/build/lib/server/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/raianand/SCQC/resolve/main/build/lib/server/static/style.css
9.03 kB
| /* SCQC interface. One family (Hind / Hind Siliguri) so Devanagari, Bengali and | |
| Latin share proportions; the prompt text is the one large, memorable element. */ | |
| :root { | |
| color-scheme: light; | |
| --page: #eef1ec; | |
| --surface: #ffffff; | |
| --ink: #18202e; | |
| --ink-soft: #4a5466; | |
| --line: #d5dbd3; | |
| --accent: #2f45c5; | |
| --accent-ink: #ffffff; | |
| --ok: #1e7a52; | |
| --ok-bg: #e3f2ea; | |
| --attn: #9a5d07; | |
| --attn-bg: #fbefd9; | |
| --stop: #b42318; | |
| --stop-bg: #fbe4e1; | |
| --radius-lg: 18px; | |
| --radius-sm: 8px; | |
| --font: "Hind", "Hind Siliguri", "Noto Sans Devanagari", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| color-scheme: dark; | |
| --page: #121722; | |
| --surface: #1b2230; | |
| --ink: #eef1f6; | |
| --ink-soft: #a7b0c0; | |
| --line: #2e3748; | |
| --accent: #8f9dff; | |
| --accent-ink: #10142a; | |
| --ok: #6fd3a2; | |
| --ok-bg: #17352a; | |
| --attn: #f0bd6a; | |
| --attn-bg: #3a2c14; | |
| --stop: #ff8f84; | |
| --stop-bg: #3d1d1a; | |
| } | |
| } | |
| *, *::before, *::after { box-sizing: border-box; } | |
| html { -webkit-text-size-adjust: 100%; } | |
| body { | |
| margin: 0; | |
| background: var(--page); | |
| color: var(--ink); | |
| font-family: var(--font); | |
| font-size: 17px; | |
| line-height: 1.5; | |
| padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); | |
| } | |
| :lang(bn) { font-family: "Hind Siliguri", "Noto Sans Bengali", var(--font); } | |
| a { color: var(--accent); } | |
| :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; } | |
| .wrap { max-width: 640px; margin: 0 auto; padding: 16px 20px 40px; } | |
| .wrap.wide { max-width: 1100px; } | |
| .bar { | |
| display: flex; align-items: center; justify-content: space-between; gap: 12px; | |
| padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface); | |
| } | |
| .bar h1 { font-size: 1.05rem; font-weight: 600; margin: 0; } | |
| .bar .meta { color: var(--ink-soft); font-size: 0.9rem; } | |
| h2 { font-size: 1.35rem; line-height: 1.25; margin: 24px 0 8px; font-weight: 600; } | |
| h3 { font-size: 1.05rem; margin: 20px 0 6px; font-weight: 600; } | |
| p { margin: 0 0 12px; } | |
| .muted { color: var(--ink-soft); } | |
| .small { font-size: 0.88rem; } | |
| .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; } | |
| .stack > * + * { margin-top: 14px; } | |
| label { display: block; font-weight: 500; margin-bottom: 4px; } | |
| input[type=text], input[type=password], select, textarea { | |
| width: 100%; font: inherit; color: inherit; background: var(--surface); | |
| border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; | |
| } | |
| textarea { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.85rem; min-height: 320px; } | |
| .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } | |
| @media (max-width: 520px) { .row { grid-template-columns: 1fr; } } | |
| button, .button { | |
| font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; | |
| padding: 11px 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); | |
| text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; | |
| } | |
| button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } | |
| button.danger { color: var(--stop); border-color: var(--stop); } | |
| button:disabled { opacity: 0.45; cursor: not-allowed; } | |
| .actions { display: flex; flex-wrap: wrap; gap: 10px; } | |
| /* ---------- participant: the prompt is the hero */ | |
| .task-kind { color: var(--ink-soft); font-weight: 500; margin: 8px 0 4px; } | |
| .prompt { | |
| font-size: clamp(1.9rem, 7.5vw, 2.8rem); line-height: 1.45; font-weight: 500; | |
| margin: 4px 0 18px; letter-spacing: 0.005em; word-break: break-word; | |
| } | |
| .prompt .w { border-radius: 4px; padding: 0 2px; transition: background-color .25s ease; } | |
| .prompt .w.miss { text-decoration: underline dotted var(--attn) 3px; text-underline-offset: 8px; color: var(--attn); } | |
| .prompt .w.sub { background: var(--attn-bg); } | |
| .prompt .w.sub::after { content: attr(data-heard); display: block; font-size: 0.38em; line-height: 1.2; color: var(--attn); } | |
| .prompt .w.sub { display: inline-block; text-align: center; } | |
| .prompt-image { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); } | |
| .scenario { font-size: 1.25rem; line-height: 1.5; margin: 12px 0 18px; } | |
| .meter { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 6px 0 4px; } | |
| .meter > i { display: block; height: 100%; width: 0%; background: var(--ok); transition: width 60ms linear; } | |
| .meter.hot > i { background: var(--stop); } | |
| .meter-label { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); min-height: 1.4em; } | |
| .record-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 8px; } | |
| .rec { | |
| width: 92px; height: 92px; border-radius: 50%; border: 0; padding: 0; | |
| background: var(--stop); color: #fff; box-shadow: 0 0 0 6px var(--stop-bg); | |
| } | |
| .rec span { display: block; width: 30px; height: 30px; border-radius: 50%; background: #fff; transition: border-radius .2s, transform .2s; } | |
| .rec.on span { border-radius: 6px; transform: scale(0.85); } | |
| .rec.on { animation: pulse 1.4s ease-in-out infinite; } | |
| @keyframes pulse { 50% { box-shadow: 0 0 0 14px var(--stop-bg); } } | |
| @media (prefers-reduced-motion: reduce) { .rec.on { animation: none; } .meter > i { transition: none; } } | |
| .timer { font-variant-numeric: tabular-nums; color: var(--ink-soft); } | |
| .verdict { border-radius: var(--radius-lg); padding: 16px 18px; margin-top: 8px; } | |
| .verdict h3 { margin: 0 0 6px; } | |
| .verdict ul { margin: 6px 0 0; padding-left: 20px; } | |
| .verdict.ok { background: var(--ok-bg); } | |
| .verdict.ok h3 { color: var(--ok); } | |
| .verdict.attn { background: var(--attn-bg); } | |
| .verdict.attn h3 { color: var(--attn); } | |
| .verdict.stop { background: var(--stop-bg); } | |
| .verdict.stop h3 { color: var(--stop); } | |
| .verdict.neutral { background: var(--surface); border: 1px solid var(--line); } | |
| .pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.82rem; font-weight: 600; background: var(--line); color: var(--ink); } | |
| .pill.ok { background: var(--ok-bg); color: var(--ok); } | |
| .pill.attn { background: var(--attn-bg); color: var(--attn); } | |
| .pill.stop { background: var(--stop-bg); color: var(--stop); } | |
| .footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 0.92rem; } | |
| .footer-links button { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 500; } | |
| /* ---------- reviewer / admin */ | |
| .split { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; } | |
| @media (max-width: 860px) { .split { grid-template-columns: 1fr; } } | |
| .queue { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; } | |
| .queue li + li { border-top: 1px solid var(--line); } | |
| .queue button { width: 100%; border: 0; border-radius: 0; justify-content: flex-start; text-align: left; padding: 12px 14px; font-weight: 400; display: block; background: none; } | |
| .queue button[aria-current="true"] { background: var(--ok-bg); } | |
| .queue .t { font-weight: 600; display: block; } | |
| .criteria { display: grid; gap: 10px; } | |
| .criterion { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; } | |
| .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; } | |
| .seg button { border: 0; border-radius: 0; padding: 6px 14px; font-weight: 500; } | |
| .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); } | |
| .checks { display: flex; flex-wrap: wrap; gap: 8px 16px; } | |
| .checks label { display: inline-flex; gap: 6px; font-weight: 400; align-items: center; } | |
| table { width: 100%; border-collapse: collapse; font-size: 0.92rem; } | |
| th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } | |
| th { font-weight: 600; color: var(--ink-soft); } | |
| td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; } | |
| .scroll-x { overflow-x: auto; } | |
| .errors { color: var(--stop); padding-left: 20px; } | |
| .kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.9rem; } | |
| .kv dt { color: var(--ink-soft); } | |
| .kv dd { margin: 0; font-variant-numeric: tabular-nums; } | |
| audio { width: 100%; } | |
| .align-line { font-size: 1.35rem; line-height: 1.8; } | |
| .align-line .match { } | |
| .align-line .del { color: var(--stop); text-decoration: line-through; } | |
| .align-line .sub { color: var(--attn); } | |
| .align-line .ins { color: var(--accent); } | |
| .align-line small { font-size: 0.7em; color: var(--ink-soft); } | |
| .hidden { display: none ; } | |
| .toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); | |
| background: var(--ink); color: var(--page); padding: 10px 18px; border-radius: 99px; font-size: 0.92rem; max-width: 90vw; } | |