The management app reads the worker's history store (read only) and shows people's words, Jarvis's answers and the answer traces in time order, with filters for kind, place, person, channel, day and text, live follow, older items on demand and expandable traces (records given, tools offered, plan, model thinking, tool calls and results). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
96 lines
7.4 KiB
CSS
96 lines
7.4 KiB
CSS
/* Dark admin theme after DESIGN.md (near-black canvas, charcoal panels, hairline borders, one accent). */
|
|
:root {
|
|
--canvas: #08090a; --s1: #0f1011; --s2: #141516; --s3: #1b1c1e;
|
|
--line: #23252a; --line2: #34343a;
|
|
--ink: #f7f8f8; --ink2: #d0d6e0; --ink3: #8a8f98; --ink4: #62666d;
|
|
--accent: #5e6ad2; --accent2: #828fff; --ok: #27a644; --warn: #d7a03a; --bad: #e5484d;
|
|
font-family: "Pretendard", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
|
|
color: var(--ink); background: var(--canvas); font-size: 14px;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
[hidden] { display: none !important; }
|
|
body { margin: 0; min-height: 100vh; }
|
|
button, input, select, textarea { font: inherit; color: inherit; }
|
|
.layout { display: grid; grid-template-columns: 200px 1fr; min-height: 100vh; }
|
|
.side { background: var(--s1); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
|
|
.brand { font-weight: 600; font-size: 18px; letter-spacing: -0.3px; padding: 6px 10px 16px; }
|
|
.nav { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 6px; color: var(--ink2); cursor: pointer; }
|
|
.nav:hover { background: var(--s2); }
|
|
.nav.on { background: var(--s3); color: var(--ink); }
|
|
.side-foot { margin-top: auto; color: var(--ink4); font-size: 12px; padding: 8px 10px; }
|
|
.screen { padding: 28px 32px; max-width: 1100px; }
|
|
h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin: 0 0 18px; }
|
|
h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--ink2); }
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
|
|
.card { background: var(--s1); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
|
|
.muted { color: var(--ink3); }
|
|
.small { font-size: 12px; }
|
|
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
.btn { background: var(--s3); border: 1px solid var(--line2); border-radius: 7px; padding: 7px 14px; cursor: pointer; }
|
|
.btn:hover { border-color: var(--ink4); }
|
|
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
|
|
.btn.primary:hover { background: var(--accent2); }
|
|
.btn:disabled { opacity: .45; cursor: default; }
|
|
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; border: 1px solid var(--line2); }
|
|
.badge.ok { color: var(--ok); border-color: #1f5f30; }
|
|
.badge.warn { color: var(--warn); border-color: #6b5222; }
|
|
.badge.bad { color: var(--bad); border-color: #6e2a2c; }
|
|
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
|
|
.kv .k { color: var(--ink3); }
|
|
.field { display: grid; grid-template-columns: 260px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
|
|
.field label { color: var(--ink2); padding-top: 6px; }
|
|
.field .hint { color: var(--ink4); font-size: 12px; margin-top: 4px; }
|
|
input[type=text], input[type=number], input[type=password], input[type=date], select, textarea {
|
|
background: var(--s2); border: 1px solid var(--line2); border-radius: 7px; padding: 7px 10px; width: 100%; max-width: 520px; outline: none; }
|
|
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
|
|
textarea { min-height: 70px; resize: vertical; }
|
|
.switch { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line2); position: relative; cursor: pointer; margin-top: 4px; }
|
|
.switch:checked { background: var(--accent); }
|
|
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .12s; }
|
|
.switch:checked::after { left: 19px; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
|
|
th { color: var(--ink3); font-weight: 500; font-size: 12px; }
|
|
.captions { max-height: 260px; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
|
|
.cap { color: var(--ink2); }
|
|
.cap.partial { color: var(--ink4); font-style: italic; }
|
|
.cap b { color: var(--ink); font-weight: 500; margin-right: 6px; }
|
|
.logs { background: var(--s1); border: 1px solid var(--line); border-radius: 10px; height: 60vh; overflow: auto; font-family: ui-monospace, Consolas, monospace; font-size: 12px; padding: 8px 10px; }
|
|
.log { white-space: pre-wrap; word-break: break-all; padding: 1px 0; }
|
|
.log.error { color: var(--bad); } .log.warn { color: var(--warn); } .log.debug { color: var(--ink4); }
|
|
.savebar { position: sticky; bottom: 0; background: var(--canvas); padding: 14px 0; display: flex; gap: 10px; align-items: center; }
|
|
.toast { position: fixed; right: 20px; bottom: 20px; background: var(--s3); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 14px; max-width: 420px; }
|
|
.toast.bad { border-color: var(--bad); }
|
|
.wizard { max-width: 720px; margin: 48px auto; padding: 0 20px; }
|
|
.steps { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
|
|
.step { font-size: 12px; color: var(--ink4); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
|
|
.step.on { color: var(--ink); border-color: var(--accent); }
|
|
.step.done { color: var(--ok); border-color: #1f5f30; }
|
|
.wizard .card { padding: 22px 24px; }
|
|
.wizard p { color: var(--ink2); line-height: 1.6; }
|
|
.nav-row { display: flex; justify-content: space-between; margin-top: 20px; }
|
|
a { color: var(--accent2); }
|
|
.row > select, .row > input[type=date] { width: auto; }
|
|
input[type=date] { color-scheme: dark; }
|
|
th, .btn { white-space: nowrap; }
|
|
.filters { display: flex; flex-direction: column; gap: 10px; }
|
|
.filters select, .filters input[type=date] { width: auto; }
|
|
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); border-radius: 999px; padding: 4px 12px; cursor: pointer; color: var(--ink2); }
|
|
.chip:has(input:checked) { border-color: var(--accent); color: var(--ink); background: var(--s3); }
|
|
.talk { background: var(--s1); border: 1px solid var(--line); border-radius: 10px; height: 62vh; overflow: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
|
|
.day { align-self: center; color: var(--ink4); font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; margin: 6px 0; }
|
|
.msg { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; max-width: 85%; background: var(--s2); }
|
|
.msg.said { align-self: flex-start; }
|
|
.msg.answered { align-self: flex-end; border-color: #2f3570; background: #12142a; }
|
|
.msg.thought { align-self: stretch; max-width: none; border-style: dashed; background: var(--canvas); }
|
|
.msg.thought > summary { cursor: pointer; }
|
|
.msg .who { font-weight: 600; }
|
|
.msg .text { white-space: pre-wrap; word-break: break-word; margin-top: 4px; line-height: 1.5; }
|
|
.steps { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
|
|
.step-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
|
|
.step-row .k { color: var(--ink3); font-size: 12px; padding-top: 2px; }
|
|
.pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--s1); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; margin: 4px 0; max-height: 320px; overflow: auto; }
|
|
.plan { margin: 0; padding-left: 18px; }
|
|
.linkbtn { background: none; border: 0; color: var(--ink4); cursor: pointer; padding: 0 4px; margin-left: auto; }
|
|
.linkbtn:hover { color: var(--ink2); }
|