Files
abacus-to-kimai-filler/app/app.css
T
2026-10-07 15:53:12 +02:00

39 lines
2.4 KiB
CSS

:root {
--bg: #f7f7f8; --panel: #fff; --fg: #1d1d1f; --muted: #6b6b73; --border: #dcdce0;
--accent: #2563eb; --ok: #15803d; --warn: #b45309; --err: #b91c1c;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #18181b; --panel: #222226; --fg: #ececf0; --muted: #9a9aa3; --border: #3a3a40;
--accent: #60a5fa; --ok: #4ade80; --warn: #fbbf24; --err: #f87171;
}
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.45 system-ui, sans-serif; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
h1 { font-size: 20px; margin: 0 0 12px; }
h2 { font-size: 16px; margin: 0 0 8px; }
.muted { color: var(--muted); }
.ok { color: var(--ok); } .warn { color: var(--warn); } .err { color: var(--err); }
nav { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
nav button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 8px 14px; }
nav button.active { border-bottom-color: var(--accent); color: var(--accent); }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
label.inline { flex-direction: row; align-items: center; gap: 6px; color: var(--fg); font-size: 14px; }
input, select, textarea, button { font: inherit; color: var(--fg); background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 13px; }
button { cursor: pointer; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button:disabled { opacity: .5; cursor: default; }
button.small { padding: 2px 8px; font-size: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.entries div { white-space: nowrap; font-size: 13px; }
.weekdays { display: flex; gap: 6px; }
.hidden { display: none !important; }
pre { white-space: pre-wrap; font-size: 12px; max-height: 300px; overflow: auto; }