Download ui/web/src/components/WhisperServerInstallDialog.css from localailb/assistant: direct link, hf CLI and curl.
- Browser
- Download file 4.47 kB
-
https://huggingface.co/spaces/localailb/assistant/resolve/main/ui/web/src/components/WhisperServerInstallDialog.css
- Command line
-
hf download hf://spaces/localailb/assistant/ui/web/src/components/WhisperServerInstallDialog.css
-
curl -L -o WhisperServerInstallDialog.css https://huggingface.co/spaces/localailb/assistant/resolve/main/ui/web/src/components/WhisperServerInstallDialog.css
4.47 kB
| /* ========================================================================== | |
| WhisperServerInstallDialog — the "whisper-server" download popup. The | |
| Settings tab's download button opens this instead of silently downloading | |
| the CPU build: it shows the hardware detection report and every build that | |
| can run on this PC (CPU / NVIDIA cuBLAS 11.8 / NVIDIA cuBLAS 12.4) with | |
| its reason, so the USER decides which whisper-server to download. Same | |
| centered-card over a dimmed backdrop language as the app's other themed | |
| dialogs (.firstrun-*, .lal-confirm-*, .llcpp-*, .llsrv-*) — rides the app | |
| tokens, so it themes with light/dark automatically. | |
| ========================================================================== */ | |
| .wsrv-overlay { | |
| position: fixed; | |
| inset: 0; | |
| z-index: 10010; | |
| background: rgba(0, 0, 0, 0.45); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 16px; | |
| } | |
| .wsrv-box { | |
| background: var(--bg-elev, #ffffff); | |
| border: 1px solid var(--card-border, #e7e0d3); | |
| border-left: 5px solid var(--primary-600, #d97757); | |
| border-radius: var(--radius, 14px); | |
| padding: 22px 24px; | |
| max-width: 520px; | |
| width: 100%; | |
| box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3); | |
| animation: wsrv-pop 0.22s ease-out; | |
| } | |
| @keyframes wsrv-pop { | |
| from { | |
| opacity: 0; | |
| transform: scale(0.94); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: scale(1); | |
| } | |
| } | |
| .wsrv-title { | |
| font-family: var(--font-display, Georgia, "Times New Roman", serif); | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| color: var(--text-strong, #000000); | |
| margin-bottom: 12px; | |
| } | |
| /* The hardware detection report — what the app actually found on this PC | |
| (GPU name, CPU name, installed CUDA runtime DLL family). */ | |
| .wsrv-detect { | |
| color: var(--text-strong, #000000); | |
| font-size: 0.85rem; | |
| line-height: 1.6; | |
| padding: 10px 12px; | |
| background: var(--amber-bg, #fbf0dc); | |
| border: 1px solid var(--amber-line, #eed9b0); | |
| border-radius: var(--radius-sm, 8px); | |
| margin-bottom: 12px; | |
| } | |
| .wsrv-pick { | |
| color: var(--text-strong, #000000); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| margin-bottom: 10px; | |
| } | |
| .wsrv-opts { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| margin-bottom: 18px; | |
| max-height: 260px; | |
| overflow-y: auto; | |
| } | |
| .wsrv-loading, | |
| .wsrv-err { | |
| color: var(--text-dim, #4a4a4a); | |
| padding: 8px 0 16px; | |
| } | |
| .wsrv-err { | |
| color: var(--danger, #b4453a); | |
| } | |
| .wsrv-opt { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 10px; | |
| padding: 9px 11px; | |
| border: 1px solid var(--card-border, #e7e0d3); | |
| border-radius: var(--radius-sm, 8px); | |
| cursor: pointer; | |
| transition: border-color 0.15s ease, background 0.15s ease; | |
| } | |
| .wsrv-opt:hover { | |
| border-color: var(--primary-600, #d97757); | |
| } | |
| .wsrv-opt.sel { | |
| border-color: var(--primary-600, #d97757); | |
| background: color-mix(in srgb, var(--primary-600, #d97757) 8%, transparent); | |
| } | |
| .wsrv-opt.unavail { | |
| opacity: 0.55; | |
| cursor: not-allowed; | |
| } | |
| .wsrv-opt input[type="radio"] { | |
| margin-top: 3px; | |
| accent-color: var(--primary-600, #d97757); | |
| } | |
| .wsrv-opt-main { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 3px; | |
| } | |
| .wsrv-opt-label { | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| color: var(--text-strong, #000000); | |
| } | |
| .wsrv-rec { | |
| margin-left: 6px; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| color: var(--primary-700, #b05a36); | |
| } | |
| .wsrv-na { | |
| margin-left: 6px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| color: var(--text-dim, #4a4a4a); | |
| } | |
| .wsrv-opt-reason { | |
| font-size: 0.8rem; | |
| line-height: 1.45; | |
| color: var(--text-dim, #4a4a4a); | |
| } | |
| .wsrv-actions { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 10px; | |
| } | |
| .wsrv-cancel { | |
| border: 1px solid var(--card-border, #e7e0d3); | |
| background: transparent; | |
| color: var(--text-strong, #000000); | |
| border-radius: 10px; | |
| padding: 9px 18px; | |
| font: inherit; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: filter 0.15s ease; | |
| } | |
| .wsrv-cancel:hover { | |
| filter: brightness(1.05); | |
| } | |
| .wsrv-ok { | |
| border: 1px solid var(--primary-600, #d97757); | |
| background: var(--primary-600, #d97757); | |
| color: #ffffff; | |
| border-radius: 10px; | |
| padding: 9px 18px; | |
| font: inherit; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: filter 0.15s ease; | |
| } | |
| .wsrv-ok:hover { | |
| filter: brightness(1.05); | |
| } | |
| /* Draggable title bar */ | |
| .wsrv-drag-handle { | |
| cursor: grab; | |
| user-select: none; | |
| } | |
| .wsrv-drag-handle:active { | |
| cursor: grabbing; | |
| } | |
| .wsrv-box.dragging .wsrv-drag-handle { | |
| cursor: grabbing; | |
| } | |