/* ============================================================ 代打台 · 管理端(浅色「接单台」) 纸感底色 + 墨色文字 + 松墨绿主色;色签(ticket)是唯一强装饰 ============================================================ */ :root { --paper: #f7f6f2; --surface: #ffffff; --ink: #1a1c21; --ink-2: #43474f; --muted: #7a7e86; --line: #e3e0d6; --line-2: #efede6; --accent: #2f5d50; --accent-ink: #22453b; --accent-soft: #e7efea; --danger: #b4231f; --danger-soft: #fbeceb; --warn: #a85e12; --warn-soft: #fbf1e3; --info: #41556b; --info-soft: #eaeef2; --radius: 3px; --mono: "Bahnschrift", "Consolas", "SF Mono", ui-monospace, monospace; --sans: "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif; } * { box-sizing: border-box; } [hidden] { display: none !important; } html, body { margin: 0; padding: 0; } body { background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 100% 32px, var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 2px; } h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; } h1 { font-size: 22px; } h2 { font-size: 15px; } h3 { font-size: 13px; } .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; } .small { font-size: 12px; } .muted { color: var(--muted); } .right { text-align: right; } /* ---------- 顶栏 ---------- */ .topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 0 20px; height: 56px; background: rgba(247, 246, 242, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); } .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; } .brand:hover { text-decoration: none; } .brand-mark { display: grid; place-items: center; width: 26px; height: 26px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; border-radius: 2px; box-shadow: 2px 2px 0 rgba(47, 93, 80, 0.18); } .brand-name { font-weight: 700; letter-spacing: 0.06em; } .search { position: relative; flex: 1 1 260px; max-width: 380px; } .search input { width: 100%; height: 34px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; color: var(--ink); } .search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .search kbd { position: absolute; right: 8px; top: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; padding: 0 5px; background: var(--paper); } .nav { display: flex; gap: 2px; } .nav a { padding: 6px 10px; border-radius: var(--radius); color: var(--ink-2); font-size: 13px; } .nav a:hover { background: var(--surface); text-decoration: none; } .nav a.on { background: var(--accent); color: #fff; } .nav a.nav-screen { color: var(--accent); } .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; } .pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--ink-2); white-space: nowrap; } .pill b { font-family: var(--mono); font-size: 13px; } .pill:hover { text-decoration: none; border-color: var(--accent); } .pill-due b { color: var(--danger); } .pill-warn b { color: var(--warn); } .me { display: flex; align-items: center; gap: 8px; font-size: 13px; } .me a { color: var(--ink-2); } .link-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); font: inherit; font-size: 12px; } .link-btn:hover { color: var(--danger); } /* ---------- 提示条 ---------- */ .flash { position: fixed; z-index: 90; left: 50%; top: 68px; transform: translateX(-50%); max-width: min(680px, calc(100vw - 32px)); padding: 9px 16px; background: var(--accent); color: #fff; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(26, 28, 33, 0.16); font-size: 13px; animation: flash-in 0.22s ease-out; } .flash-error { background: var(--danger); } .flash.hide { opacity: 0; transition: opacity 0.4s ease; } @keyframes flash-in { from { opacity: 0; transform: translate(-50%, -6px); } } /* ---------- 布局 ---------- */ main { padding: 0 20px 40px; } main.with-top { padding-top: 22px; } .page { max-width: 1280px; margin: 0 auto; } .page.narrow { max-width: 860px; } .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; } .page-head p { margin: 4px 0 0; font-size: 12px; } .page-actions { display: flex; gap: 8px; flex-wrap: wrap; } .foot { max-width: 1280px; margin: 0 auto; padding: 18px 20px 28px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); } .notice { margin: 0 0 14px; padding: 10px 14px; background: var(--warn-soft); border-left: 3px solid var(--warn); font-size: 13px; border-radius: 0 var(--radius) var(--radius) 0; } .notice.note { background: var(--accent-soft); border-left-color: var(--accent); white-space: pre-wrap; } /* ---------- 按钮与表单 ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none; } .btn:hover { border-color: var(--ink-2); text-decoration: none; } .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; } .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); } .btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); } .btn-ghost:hover { background: var(--surface); border-color: var(--line); } .btn-sm { height: 28px; padding: 0 10px; font-size: 12px; } .btn-square { width: 34px; padding: 0; font-size: 18px; line-height: 1; } .btn-block { width: 100%; } .btn.disabled { opacity: 0.4; pointer-events: none; } form { margin: 0; } fieldset { border: 0; margin: 0; padding: 0; min-width: 0; } .field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; } .field > span { font-size: 12px; color: var(--ink-2); font-weight: 600; } .field > span i { color: var(--danger); font-style: normal; } .field input[type="text"], .field input[type="password"], .field input[type="number"], .field input[type="date"], .field input[type="search"], .field select, .field textarea { width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; color: var(--ink); } .field textarea { resize: vertical; line-height: 1.6; } .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .field input[type="color"] { width: 100%; height: 34px; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; } .fieldset { border: 0; padding: 0; } .radios { display: grid; gap: 8px; } .radios label { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; } .radios label:hover { border-color: var(--accent); } .radios input { grid-row: span 2; margin: 0; accent-color: var(--accent); } .radios b { font-size: 13px; } .radios small { grid-column: 2; color: var(--muted); font-size: 12px; } .input-suffix { position: relative; } .input-suffix input { padding-right: 40px; } .input-suffix b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted); font-weight: 400; } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; } .actions { display: flex; gap: 8px; align-items: center; margin-top: 6px; } .actions.wrap { flex-wrap: wrap; } .inline-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); } .inline-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); } .inline-field input, .inline-field select { height: 32px; padding: 0 8px; min-width: 130px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; font-size: 13px; color: var(--ink); } .inline-form select[name="package_id"] { min-width: 220px; } .form.card, .section.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; } .filterbar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; } .filterbar input[type="search"], .filterbar select { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; color: var(--ink); } .filterbar input[type="search"] { flex: 1 1 260px; max-width: 420px; } /* ---------- 认证页 ---------- */ .auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; } .auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 28px; box-shadow: 0 18px 40px -32px rgba(26, 28, 33, 0.5); } .auth-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 18px; } .auth-card h1 { font-size: 20px; margin-bottom: 4px; } .auth-card > p { font-size: 12px; margin: 0 0 18px; } .auth-foot { margin-top: 16px !important; text-align: center; } .form .btn-block { margin-top: 4px; } /* ---------- 日历 ---------- */ .cal-page { max-width: 1400px; margin: 0 auto; } .cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; } .cal-title { display: flex; align-items: center; gap: 10px; } .cal-title h1 { font-size: 20px; font-family: var(--mono); letter-spacing: 0.02em; } .cal-stats { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; } .cal-stats em { font-family: var(--mono); font-style: normal; font-size: 16px; color: var(--ink); margin-right: 4px; } .cal-body { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; align-items: start; } .cal-grid { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; } .cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); } .cal-dow span { padding: 7px 0; text-align: center; font-size: 12px; color: var(--muted); } .cal-week { display: grid; grid-template-columns: repeat(7, 1fr); } .cal-cell { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 112px; padding: 6px 7px 8px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: background 0.12s ease; } .cal-cell:nth-child(7n) { border-right: 0; } .cal-cell:hover { background: #f2f7f4; text-decoration: none; } .cal-cell.out { opacity: 0.4; } .cal-cell.weekend .dnum { color: var(--muted); } .cal-cell.sel { box-shadow: inset 0 0 0 2px var(--accent); z-index: 2; } .cal-cell.today .dnum { background: var(--accent); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; } .cal-cell.has-due::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; border-bottom: 1px dashed rgba(180, 35, 31, 0.45); } .cal-cell.heat-1 { background: rgba(47, 93, 80, 0.045); } .cal-cell.heat-2 { background: rgba(47, 93, 80, 0.085); } .cal-cell.heat-3 { background: rgba(47, 93, 80, 0.13); } .cal-cell.heat-4 { background: rgba(47, 93, 80, 0.19); } .cal-cell.heat-0:hover, .cal-cell.heat-1:hover { background: #f2f7f4; } .cell-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; } .dnum { font-family: var(--mono); font-size: 13px; font-weight: 700; line-height: 1.4; } .due-badge { display: inline-flex; align-items: baseline; gap: 2px; font-size: 10px; padding: 0 5px; line-height: 16px; background: var(--danger); color: #fff; border-radius: 2px; white-space: nowrap; } .due-badge em { font-style: normal; opacity: 0.85; } .cell-load { font-family: var(--mono); font-size: 10px; color: var(--accent); } .cell-tickets { display: flex; flex-direction: column; gap: 2px; margin-top: auto; overflow: hidden; } .ticket { display: inline-flex; align-items: baseline; gap: 3px; max-width: 100%; min-width: 0; padding: 1px 5px; font-size: 10.5px; line-height: 16px; border-left: 3px solid var(--tag, var(--accent)); background: color-mix(in srgb, var(--tag, var(--accent)) 11%, #fff); border-radius: 1px 2px 2px 1px; white-space: nowrap; color: var(--ink-2); } .ticket b { font-family: var(--mono); font-size: 11px; color: var(--ink); flex: 0 0 auto; } .ticket .tk-name { overflow: hidden; text-overflow: ellipsis; } .ticket i { font-style: normal; font-size: 9.5px; color: var(--muted); flex: 0 0 auto; } .ticket.done { opacity: 0.55; } .ticket.done::after { content: "✓"; color: var(--accent); font-size: 10px; } .ticket.skipped { opacity: 0.4; text-decoration: line-through; } .ticket.more { border-left-color: var(--line); background: var(--paper); color: var(--muted); } /* ---------- 当日抽屉 ---------- */ .drawer { position: sticky; top: 72px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-height: calc(100vh - 100px); overflow-y: auto; } .drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); } .drawer-head h2 { font-size: 14px; font-family: var(--mono); } .drawer-tags { display: flex; gap: 4px; } .drawer-block { padding: 12px 14px; border-bottom: 1px solid var(--line-2); } .drawer-block:last-child { border-bottom: 0; } .drawer-block h3 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); margin-bottom: 8px; text-transform: none; letter-spacing: 0.02em; } .drawer-block h3 em { font-family: var(--mono); font-style: normal; font-size: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; color: var(--muted); } .drawer-block p { margin: 0; font-size: 12px; } .due-list, .task-list, .mini-due, .checkin-list { list-style: none; margin: 0; padding: 0; } .due-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); } .due-list li:last-child { border-bottom: 0; } .due-main { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--ink); } .due-main .pkg, .task-meta .pkg { font-size: 11px; color: var(--muted); } .due-main .rem { font-family: var(--mono); font-size: 11px; color: var(--danger); } .task { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); } .task:last-child { border-bottom: 0; } .task-main { min-width: 0; flex: 1 1 auto; } .task-title { display: flex; align-items: center; gap: 6px; color: var(--ink); } .task-meta { display: flex; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 2px; } .task-note { font-size: 11px; color: var(--ink-2); margin-top: 2px; } .task-actions { display: flex; gap: 4px; align-items: center; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; max-width: 170px; } .task.done .task-title, .task.skipped .task-title { opacity: 0.5; } .task.skipped .task-title .ticket { text-decoration: line-through; } .mini-due li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 4px 0; font-size: 12px; } .sm-date { font-family: var(--mono); font-size: 11px; color: var(--muted); } /* ---------- 状态标签 ---------- */ .chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; font-size: 11px; line-height: 1; border-radius: 2px; border: 1px solid transparent; white-space: nowrap; } .chip-active { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(47, 93, 80, 0.2); } .chip-pending { background: var(--info-soft); color: var(--info); border-color: rgba(65, 85, 107, 0.2); } .chip-paused { background: var(--info-soft); color: var(--info); border-color: rgba(65, 85, 107, 0.2); } .chip-expired { background: var(--danger-soft); color: var(--danger); border-color: rgba(180, 35, 31, 0.22); } .chip-usedup { background: var(--warn-soft); color: var(--warn); border-color: rgba(168, 94, 18, 0.22); } .chip-closed { background: #f0efeb; color: var(--muted); border-color: var(--line); } .chip-plain { background: var(--paper); color: var(--ink-2); border-color: var(--line); } .tagchip { display: inline-block; margin-right: 4px; padding: 0 6px; height: 19px; line-height: 19px; font-size: 11px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; } .due { font-size: 11px; } .due-today { color: var(--danger); font-weight: 700; } .due-warn { color: var(--warn); } .due-expired { color: var(--muted); } .due-ok, .due-none { color: var(--muted); } .plus { color: var(--accent); font-family: var(--mono); } .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; } .dot.big { width: 12px; height: 12px; margin: 0; } /* ---------- 表格 ---------- */ .table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-x: auto; } .table { width: 100%; border-collapse: collapse; font-size: 13px; } .table th { text-align: left; padding: 9px 12px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; background: var(--paper); border-bottom: 1px solid var(--line); white-space: nowrap; } .table td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; } .table tbody tr:last-child td { border-bottom: 0; } .table tbody tr:hover { background: #fbfcfb; } .table.tight td, .table.tight th { padding: 7px 10px; } .table .col-dot { width: 28px; } .table tr.archived { opacity: 0.6; } .actions-cell { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; } .tail { display: inline-block; font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.04em; } .name { font-weight: 600; color: var(--ink); } .summary { font-size: 12px; color: var(--ink-2); } .pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; } .pager-info { font-size: 12px; color: var(--muted); font-family: var(--mono); } .empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.55); } .empty p { margin: 0; color: var(--muted); font-size: 13px; } .empty-mark { width: 46px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); color: var(--muted); font-size: 12px; transform: rotate(-4deg); } /* ---------- 客户详情 ---------- */ .cust-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; margin-bottom: 16px; } .cust-id { display: flex; align-items: center; gap: 14px; } .cust-tail { font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); letter-spacing: 0.06em; } .cust-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; } .cust-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; } .cust-meta dt { font-size: 11px; color: var(--muted); } .cust-meta dd { margin: 0; font-size: 12px; color: var(--ink-2); } .section { margin-top: 22px; } .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; } .section-head h2 { font-size: 14px; } .section-head .muted { font-size: 11px; } .section.card h2 { margin-bottom: 12px; } .subgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; } .subcard { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--tag, var(--accent)); border-radius: var(--radius); display: flex; flex-direction: column; } .subcard-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px 6px; } .subcard-head h3 { font-size: 13px; flex: 1 1 auto; } .subcard-head .unit { font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 0 4px; } .subcard-body { padding: 0 12px 10px; } .subcard-big { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: 0.01em; } .subcard-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; } .bar { height: 5px; background: var(--line-2); border-radius: 999px; overflow: hidden; margin-top: 8px; } .bar i { display: block; height: 100%; background: var(--tag, var(--accent)); } .subcard-foot { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 12px; border-top: 1px dashed var(--line); background: #fcfcfa; } .timeline { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 16px 10px; } .tl-axis { position: relative; height: 18px; margin-left: 92px; margin-right: 150px; border-bottom: 1px solid var(--line-2); } .tl-tick { position: absolute; top: 0; font-family: var(--mono); font-size: 10px; color: var(--muted); transform: translateX(-50%); } .tl-row { display: grid; grid-template-columns: 84px 1fr 142px; gap: 8px; align-items: center; padding: 5px 0; } .tl-name { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tl-track { position: relative; height: 20px; background: var(--line-2); border-radius: 2px; } .tl-bar { position: absolute; top: 4px; height: 12px; background: var(--tag); border-radius: 2px; } .tl-bar.st-paused { opacity: 0.45; } .tl-bar.st-closed { background: var(--muted); opacity: 0.6; } .tl-pause { position: absolute; top: 4px; height: 12px; background: repeating-linear-gradient(135deg, #c9c7c0 0 4px, #e6e4dd 4px 8px); border-radius: 1px; } .tl-due { position: absolute; top: 1px; bottom: 1px; width: 2px; background: var(--danger); } .tl-legend { font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: right; } .checkin-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); font-size: 12px; } .checkin-list li:last-child { border-bottom: 0; } /* ---------- 追加面板 ---------- */ .extend { margin-top: 18px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 32px -26px rgba(26, 28, 33, 0.8); scroll-margin-top: 80px; } .drawer .extend { margin: 12px 14px; } .extend-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--accent-soft); border-bottom: 1px solid rgba(47, 93, 80, 0.2); } .extend-head h3 { font-size: 14px; } .extend-head p { margin: 2px 0 0; font-size: 11px; } .extend-close { font-size: 20px; line-height: 1; color: var(--ink-2); padding: 0 4px; } .extend-form { padding: 14px; } .extend-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; padding: 10px; margin-bottom: 10px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); } .extend-preview div { display: flex; flex-direction: column; gap: 1px; } .extend-preview span { font-size: 10px; color: var(--muted); } .extend-preview b { font-family: var(--mono); font-size: 13px; font-weight: 600; } .extend-preview b i { font-style: normal; font-size: 18px; color: var(--accent); } .extend-preview .add b { color: var(--accent); } .extend-hint { margin: 0 0 10px; font-size: 11px; color: var(--muted); } .minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 12px; margin-bottom: 12px; } .minimonth { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; } .minimonth-title { font-size: 11px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; text-align: center; } .minimonth-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; } .minimonth-grid .dow { text-align: center; font-size: 10px; color: var(--muted); } .miniday { height: 28px; border: 1px solid transparent; border-radius: 2px; background: transparent; font: inherit; font-size: 11px; font-family: var(--mono); color: var(--ink-2); cursor: pointer; padding: 0; } .miniday:hover:not(:disabled) { background: var(--accent-soft); border-color: rgba(47, 93, 80, 0.3); } .miniday.out { color: #c3c1ba; } .miniday.old { background: var(--warn-soft); border-color: rgba(168, 94, 18, 0.35); font-weight: 700; } .miniday.today { outline: 1px solid var(--accent); } .miniday.picked { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; } .miniday:disabled { color: #d6d4cc; cursor: not-allowed; } /* ---------- 设置页杂项 ---------- */ .kv { display: grid; gap: 6px; margin: 0 0 14px; } .kv > div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: baseline; } .kv dt { font-size: 11px; color: var(--muted); } .kv dd { margin: 0; font-size: 12px; word-break: break-all; } .backups { margin-top: 12px; font-size: 12px; } .backups summary { cursor: pointer; color: var(--ink-2); } .backups ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); } .tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; } .tabs a { padding: 7px 12px; font-size: 13px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; } .tabs a:hover { text-decoration: none; color: var(--ink); } .tabs a.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; } /* ---------- 响应式 ---------- */ @media (max-width: 1180px) { .cal-body { grid-template-columns: 1fr; } .drawer { position: static; max-height: none; } .cust-head { grid-template-columns: 1fr; } } @media (max-width: 860px) { .topbar { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; } .search { order: 3; flex-basis: 100%; max-width: none; } .nav { order: 4; flex-basis: 100%; overflow-x: auto; } .topbar-right { order: 2; margin-left: auto; } main { padding: 0 12px 32px; } .cal-grid { overflow-x: auto; } .cal-week, .cal-dow { min-width: 680px; } .cal-cell { min-height: 96px; } .grid-2, .grid-3 { grid-template-columns: 1fr; } .cust-tail { font-size: 24px; } .tl-row { grid-template-columns: 70px 1fr; } .tl-legend { display: none; } .tl-axis { margin-right: 0; } .extend-preview { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .pill { display: none; } .cal-week, .cal-dow { min-width: 0; } .cal-cell { min-height: 64px; padding: 3px; } .dnum { font-size: 12px; } .due-badge { font-size: 9px; padding: 0 4px; line-height: 14px; } .due-badge em { display: none; } .cell-load { display: none; } .cell-tickets { display: none; } .task { flex-direction: column; } .task-actions { max-width: none; justify-content: flex-start; } } @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }