89 lines
3.3 KiB
CSS
89 lines
3.3 KiB
CSS
/* zcbot web — minimal sane defaults. Phase G 渐进扩。 */
|
|
:root {
|
|
--bg: #fafafa;
|
|
--surface: #ffffff;
|
|
--fg: #1a1a1a;
|
|
--muted: #888;
|
|
--border: #e5e5e5;
|
|
--accent: #c00; /* 商务红,延续 ppt skill 配色 */
|
|
--accent-soft: #fceaea;
|
|
--link: #0a58ca;
|
|
--mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; }
|
|
body {
|
|
font: 14px/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
}
|
|
a { color: var(--link); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
code { font-family: var(--mono); background: var(--accent-soft); padding: 0 .25em; border-radius: 3px; color: var(--accent); }
|
|
small.muted, .muted { color: var(--muted); font-weight: normal; }
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.25rem;
|
|
padding: .65rem 1.25rem;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.brand {
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
font-size: 1.1rem;
|
|
}
|
|
.brand:hover { text-decoration: none; }
|
|
.navlinks { display: flex; gap: 1rem; flex: 1; }
|
|
.user-tag {
|
|
font-size: .75rem;
|
|
color: var(--muted);
|
|
border: 1px solid var(--border);
|
|
padding: .1em .5em;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 1.5rem 1.25rem;
|
|
}
|
|
|
|
h1 { font-size: 1.5rem; margin: 0 0 .5rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
|
|
h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
|
|
.lead { font-size: 1rem; color: #444; }
|
|
.mono { font-family: var(--mono); }
|
|
.small { font-size: .8rem; }
|
|
|
|
/* page head + filters */
|
|
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
|
|
.filters { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); }
|
|
.filters select { padding: .25em .5em; font-size: .9rem; }
|
|
.btn { padding: .25em .75em; border: 1px solid var(--border); border-radius: 3px; color: var(--fg); background: var(--surface); }
|
|
.btn:hover { text-decoration: none; background: #f4f4f4; }
|
|
|
|
/* task list table */
|
|
.empty { padding: 2rem 0; }
|
|
table.task-list { width: 100%; border-collapse: collapse; margin-top: .5rem; }
|
|
table.task-list th, table.task-list td { text-align: left; padding: .5rem .65rem; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
table.task-list th { background: #f4f4f4; font-weight: 600; color: #555; font-size: .85rem; white-space: nowrap; }
|
|
table.task-list td { font-size: .9rem; }
|
|
table.task-list .num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
table.task-list tr:hover { background: #fdf6f6; }
|
|
.task-id { font-family: var(--mono); font-weight: 600; }
|
|
.dir .desc { margin-bottom: .15em; }
|
|
.dir .small { word-break: break-all; }
|
|
|
|
/* status badge */
|
|
.status { font-size: .75rem; padding: .1em .55em; border-radius: 3px; font-weight: 500; }
|
|
.status-active { background: #dff7e0; color: #196b3a; }
|
|
.status-completed { background: #e0eaf7; color: #1a3d6b; }
|
|
.status-abandoned { background: #f0f0f0; color: #777; }
|
|
|
|
/* placeholder pages */
|
|
.placeholder-note { padding: 1rem 1.25rem; background: var(--accent-soft); border-left: 3px solid var(--accent); margin-top: 1rem; border-radius: 3px; }
|
|
.placeholder-note p { margin: .25rem 0; }
|