Add resolver, server, PDF rendering and web app
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
6a7fcdc4b8
commit
bdfdf581f3
59 files changed
+4088
No files matched your search
@@ -0,0 +1,77 @@
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
--bg: #f7f6f3; --panel: #fff; --text: #1d1d1b; --muted: #6a6a64; --line: #dcdad3;
|
||||
--accent: #1f5fbf; --accent-text: #fff; --ok: #1d7a46; --warn: #a15c00; --bad: #b3261e; --flash: #2fa35d;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root { --bg: #16171a; --panel: #1f2125; --text: #ecebe6; --muted: #9a9a94; --line: #33363b;
|
||||
--accent: #6ea3f2; --accent-text: #0b1b33; --ok: #52c586; --warn: #e0a24a; --bad: #f08a82; --flash: #52c586; }
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
|
||||
header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
|
||||
h1 { font-size: 1.15rem; margin: 0; }
|
||||
h2 { font-size: 1.05rem; margin: 0 0 8px; }
|
||||
nav { display: flex; gap: 6px; flex-wrap: wrap; }
|
||||
nav button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; color: var(--muted); }
|
||||
nav button.on { background: var(--bg); color: var(--text); font-weight: 600; }
|
||||
main { max-width: 1100px; margin: 0 auto; padding: 20px; }
|
||||
button, .button, select, input { font: inherit; color: inherit; }
|
||||
button, .button { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; text-decoration: none; }
|
||||
button:hover:not(:disabled), .button:hover { border-color: var(--muted); }
|
||||
button:disabled { opacity: .5; cursor: default; }
|
||||
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
|
||||
button.danger { color: var(--bad); }
|
||||
button.quiet { border-color: transparent; background: none; color: var(--muted); }
|
||||
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
input, select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); width: 100%; }
|
||||
input[type=checkbox] { width: auto; }
|
||||
label { display: block; font-size: .9rem; color: var(--muted); }
|
||||
label > input, label > select { margin-top: 4px; color: var(--text); }
|
||||
label small { display: block; margin-top: 4px; }
|
||||
.row { display: flex; gap: 10px; align-items: flex-end; margin: 10px 0; }
|
||||
.row.wrap { flex-wrap: wrap; align-items: center; }
|
||||
.grow { flex: 1 1 200px; } .year { width: 110px; }
|
||||
.stack { display: grid; gap: 10px; margin: 10px 0; }
|
||||
.muted { color: var(--muted); } .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
|
||||
.error { color: var(--bad); } .warn, .warn-text { color: var(--warn); }
|
||||
.check { display: flex; gap: 6px; align-items: center; }
|
||||
|
||||
.scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
|
||||
.scan .forms { grid-column: 1 / -1; }
|
||||
@media (max-width: 760px) { .scan { grid-template-columns: 1fr; } main { padding: 14px 12px; } }
|
||||
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; border: 3px solid transparent; }
|
||||
.video-wrap.flash { border-color: var(--flash); }
|
||||
video { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
video.mirror { transform: scaleX(-1); }
|
||||
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; }
|
||||
.isbn-form input { font-size: 1.1rem; }
|
||||
|
||||
.list { list-style: none; margin: 0; padding: 0; }
|
||||
.item { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
|
||||
.item.column { flex-direction: column; align-items: stretch; gap: 8px; }
|
||||
.item-btn { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; border: 0; padding: 0; background: none; }
|
||||
.item-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
|
||||
.item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
|
||||
.title { overflow-wrap: anywhere; }
|
||||
.callno { display: inline-flex; flex-direction: column; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; white-space: pre; min-width: 9.5em; font-size: .92rem; line-height: 1.35; }
|
||||
.item-main .callno { margin-top: 4px; }
|
||||
.approx { color: var(--warn); }
|
||||
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; border: 1px solid var(--line); white-space: nowrap; }
|
||||
.chip.ok { color: var(--ok); border-color: var(--ok); } .chip.warn { color: var(--warn); border-color: var(--warn); }
|
||||
.chip.dup { color: var(--accent); border-color: var(--accent); } .chip.pending { color: var(--muted); }
|
||||
.error-item { color: var(--bad); }
|
||||
details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 10px 14px; margin: 8px 0; }
|
||||
summary { cursor: pointer; font-weight: 600; }
|
||||
.results .result { width: 100%; text-align: left; display: flex; flex-direction: column; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
|
||||
.card { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 14px; margin: 10px 0; }
|
||||
.editor { display: grid; gap: 10px; }
|
||||
.editor .row { margin: 0; }
|
||||
.queue section { margin-bottom: 28px; }
|
||||
fieldset.start { border: 0; padding: 0; margin: 16px 0 8px; }
|
||||
legend { color: var(--muted); font-size: .9rem; padding: 0; margin-bottom: 6px; }
|
||||
.sheet { display: inline-flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
|
||||
.slot { width: 150px; height: 40px; padding: 0; border-radius: 4px; }
|
||||
.slot.on { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
|
||||
.slot.used { opacity: .45; }
|
||||
.confirm { border-color: var(--accent); }
|
||||
Reference in new issue
Block a user