Files
javis_bot/app/ui/style.css
javis-bot 20300c017e feat(app): M5 step 3, the management app's screens and their commands
- admin_api: the one entry point of the screens (app status, data folder,
  PC check, Discord token check and pickers, settings, service control and
  the dashboard, logs query, error report and zip export).
- discord_setup: token, Message Content and invite link checks over REST.
- app/ui: first-run wizard, dashboard, five settings screens and the log
  screen in plain HTML/CSS/JS (dark theme after DESIGN.md, Korean text).
- jarvis-admin-dev: a loopback, token-guarded development server so the
  screens run in a browser against the real commands.

Checked in a browser with the real test bot and voice worker: wizard
steps, start/restart/stop, settings save, chat channels, logs and export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:15:58 +09:00

76 lines
5.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; }