Files
SubMiner/vendor/hachidori/extension/capture.css
T
sudacode d9fdc7ef6d feat(dictionary): add Hachidori backend support
- Add backend selection, setup gating, Anki integration, and external host support
- Add launcher flags, documentation, packaging, and focused tests
- Open on-demand overlay modals on the first attempt
2026-09-22 00:21:19 -07:00

52 lines
2.6 KiB
CSS

/* SPDX-License-Identifier: GPL-3.0-or-later */
:root {
color-scheme: light dark;
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
background: #101316;
color: #edf2f4;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 520px; background: radial-gradient(circle at top, #26343a 0, #101316 50%); }
main { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px; }
header, .card { border: 1px solid #ffffff1f; background: #171c20e8; box-shadow: 0 18px 50px #0006; }
header { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 18px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: 2rem; }
h2 { margin-bottom: 6px; font-size: 1.05rem; }
header p, .card p, .privacy { color: #b8c4c9; }
.eyebrow { margin-bottom: 4px; color: #7ee0bd; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.card { margin-top: 16px; padding: 22px; border-radius: 14px; }
.capture-controls { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; }
.button-row, .field-row { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.field-row { margin-top: 16px; }
label { display: grid; flex: 1; gap: 6px; color: #b8c4c9; font-size: .82rem; }
button, select {
min-height: 38px;
border: 1px solid #ffffff24;
border-radius: 9px;
background: #252d32;
color: inherit;
padding: 8px 12px;
font: inherit;
}
button { cursor: pointer; font-weight: 700; }
button:hover:not(:disabled) { border-color: #7ee0bd; }
button:disabled { cursor: not-allowed; opacity: .45; }
button.primary { border-color: #70d9b4; background: #18805e; }
.status-badge { border-radius: 999px; background: #30383d; padding: 7px 12px; font-size: .82rem; font-weight: 800; }
.status-badge.recording { background: #1d7257; }
.error { grid-column: 1 / -1; color: #ffaaa4; }
video { grid-column: 1 / -1; width: 100%; max-height: 360px; border-radius: 10px; background: #000; object-fit: contain; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.status-grid h2 { grid-column: 1 / -1; }
.status-grid div { display: flex; justify-content: space-between; gap: 16px; border-radius: 9px; background: #ffffff09; padding: 12px; }
.status-grid span { color: #b8c4c9; }
.privacy { margin: 20px 8px 0; font-size: .82rem; line-height: 1.5; }
@media (max-width: 620px) {
.capture-controls, .status-grid { grid-template-columns: 1fr; }
.status-grid h2, .error, video { grid-column: 1; }
}
/* Author display rules must not reveal controls marked unavailable. */
[hidden] { display: none !important; }