/* ============================================================ 0. Base —— 与定版 jinniu-daynight-prototype.html 完全一致 ============================================================ */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font: 100%/1.5 -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; } html, body { height: 100%; } /* HEL-322 修正③:body 永不承担整页滚动;滚动只属于各自容器 */ body { overflow: hidden; } button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; } input, select, textarea { font: inherit; color: inherit; } img { display: block; } .num { font-variant-numeric: tabular-nums; } /* Shared motion tokens(Emil 模块规范曲线,与定版一致) */ :root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); } :focus-visible { outline: 2px solid var(--focus-ring, #0a84ff); outline-offset: 2px; border-radius: 6px; } /* ============================================================ 霜曜融合 Fusion —— 变量与定版原型逐值一致,未新增第三套体系 ============================================================ */ .v-fusion { --focus-ring: #0a84ff; --bg: #f5f5f7; --text: #1d1d1f; --text-2: #6e6e73; --text-3: #8e8e93; --hairline: rgba(0, 0, 0, 0.08); --surface: #ffffff; --material: rgba(255, 255, 255, 0.62); --accent: #c62f22; --accent-solid: #c62f22; --accent-soft: rgba(198, 47, 34, 0.08); --gold: #8a6d1a; --gold-bright: #b8933d; --gold-soft: rgba(138, 109, 26, 0.09); --gold-line: rgba(138, 109, 26, 0.28); --green: #248a3d; --green-bg: rgba(52, 199, 89, 0.12); --orange: #b25000; --orange-bg: rgba(255, 159, 10, 0.14); --red: #d70015; --red-bg: rgba(255, 59, 48, 0.10); --red-solid: #d70015; --gray-bg: rgba(120, 120, 128, 0.12); --surface-2: #ffffff; --fill: rgba(118, 118, 128, 0.10); --fill-strong: rgba(118, 118, 128, 0.16); --hover: rgba(0, 0, 0, 0.045); --row-hover: rgba(0, 0, 0, 0.025); --scrim: rgba(0, 0, 0, 0.24); --pushback-filter: brightness(0.98); --material-drawer: rgba(255, 255, 255, 0.86); --shadow-drawer: -24px 0 64px rgba(0, 0, 0, 0.14); --grip: rgba(0, 0, 0, 0.18); --gold-fade: rgba(138, 109, 26, 0.03); --switch-off: rgba(120, 120, 128, 0.24); --switch-on: #34c759; --focus-glow: rgba(10, 132, 255, 0.18); --red-glow: rgba(255, 59, 48, 0.14); --red-line: rgba(215, 0, 21, 0.45); --material-toast: rgba(30, 30, 32, 0.92); --shadow-toast: 0 8px 24px rgba(0, 0, 0, 0.22); --shadow-seg: 0 1px 3px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.03); color-scheme: light; min-height: 100vh; display: flex; color: var(--text); background: radial-gradient(1200px 600px at 85% -10%, rgba(198, 47, 34, 0.05), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(138, 109, 26, 0.05), transparent 55%), var(--bg); } /* 黑金夜间 —— 只覆写颜色/材质/边框/阴影变量,与定版一致 */ .v-fusion[data-theme="night"] { --focus-ring: #409cff; --bg: #100f0d; --text: #f2f0eb; --text-2: #a9a49b; --text-3: #8e8a82; --hairline: rgba(255, 255, 255, 0.10); --surface: #1b1916; --surface-2: #2a2721; --material: rgba(26, 24, 21, 0.62); --fill: rgba(255, 255, 255, 0.08); --fill-strong: rgba(255, 255, 255, 0.13); --hover: rgba(255, 255, 255, 0.05); --row-hover: rgba(255, 255, 255, 0.04); --scrim: rgba(0, 0, 0, 0.52); --pushback-filter: brightness(0.92); --accent: #e05341; --accent-solid: #cf4529; --accent-soft: rgba(224, 83, 65, 0.16); --gold: #d9b45c; --gold-bright: #f0cd7a; --gold-soft: rgba(217, 180, 92, 0.13); --gold-line: rgba(217, 180, 92, 0.34); --gold-fade: rgba(217, 180, 92, 0.04); --green: #45cd6e; --green-bg: rgba(69, 205, 110, 0.15); --orange: #ffb340; --orange-bg: rgba(255, 179, 64, 0.15); --red: #ff6b5e; --red-bg: rgba(255, 107, 94, 0.14); --red-solid: #d63c2f; --gray-bg: rgba(150, 150, 158, 0.16); --material-drawer: rgba(31, 29, 25, 0.84); --shadow-drawer: -24px 0 64px rgba(0, 0, 0, 0.55); --grip: rgba(255, 255, 255, 0.22); --switch-off: rgba(120, 120, 128, 0.34); --switch-on: #30d158; --focus-glow: rgba(64, 156, 255, 0.30); --red-glow: rgba(255, 107, 94, 0.20); --red-line: rgba(255, 107, 94, 0.50); --material-toast: rgba(54, 52, 47, 0.94); --shadow-toast: 0 8px 24px rgba(0, 0, 0, 0.50); --shadow-seg: 0 1px 3px rgba(0, 0, 0, 0.50), 0 0 0 1px rgba(255, 255, 255, 0.06); color-scheme: dark; background: radial-gradient(1200px 600px at 85% -10%, rgba(224, 83, 65, 0.07), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(217, 180, 92, 0.06), transparent 55%), var(--bg); } /* 主题切换过渡:200ms 克制变化,可打断(与定版一致) */ .v-fusion[data-theme-anim], .v-fusion[data-theme-anim] *, .v-fusion[data-theme-anim] *::before, .v-fusion[data-theme-anim] *::after { transition-property: color, background-color, border-color, box-shadow, filter, opacity !important; transition-duration: 200ms !important; transition-timing-function: ease !important; transition-delay: 0ms !important; } /* ============================================================ HEL-322 修正③ · 滚动模型(桌面端固定视口) - 应用根:固定 100vh,自身不滚动 - 侧栏:固定不随主内容滚走;仅导航自身超高时内部独立滚动 - 主内容:content-shell 独立纵向滚动 - body 永不滚动(见 0. Base) ============================================================ */ .v-fusion[data-variant-root] { height: 100vh; overflow: hidden; } /* — Sidebar(与定版一致;导航项增加徽标位;固定 + 内部滚动) — */ .v-fusion .sidebar { width: 232px; flex: 0 0 232px; height: 100vh; display: flex; flex-direction: column; padding: 20px 14px; background: var(--material); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-right: 1px solid var(--hairline); overflow-y: auto; /* 仅导航项目自身超高时才出现内部滚动 */ overscroll-behavior: contain; } .v-fusion .brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; flex: 0 0 auto; } .v-fusion .brand img { width: 38px; height: 38px; border-radius: 9px; } .v-fusion .brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; } .v-fusion .brand-sub { font-size: 11px; color: var(--text-3); letter-spacing: 0.02em; } .v-fusion .nav-label { font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; padding: 14px 10px 6px; flex: 0 0 auto; } .v-fusion .nav-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); text-align: left; transition: background-color 150ms ease, color 150ms ease; flex: 0 0 auto; } @media (hover: hover) and (pointer: fine) { .v-fusion .nav-item:hover { background: var(--hover); color: var(--text); } } .v-fusion .nav-item[data-active] { background: var(--accent-soft); color: var(--accent); font-weight: 600; } .v-fusion .nav-item .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity 150ms ease; flex: 0 0 auto; } .v-fusion .nav-item[data-active] .dot { opacity: 1; } /* 导航徽标:任务/审批计数,沿用 pill 几何 */ .v-fusion .nav-badge { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--fill-strong); color: var(--text-2); font-size: 11px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; } .v-fusion .nav-item[data-active] .nav-badge { background: var(--accent-soft); color: var(--accent); } .v-fusion .sidebar-foot { margin-top: auto; padding: 12px 10px 4px; font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--hairline); flex: 0 0 auto; } .v-fusion .theme-toggle { display: flex; gap: 2px; padding: 2px; margin: 12px 8px 0; background: var(--fill); border-radius: 9px; flex: 0 0 auto; } .v-fusion .theme-toggle button { flex: 1; height: 26px; border-radius: 7px; font-size: 12.5px; color: var(--text-2); transition: color 150ms ease; white-space: nowrap; } .v-fusion .theme-toggle button[aria-pressed="true"] { color: var(--text); font-weight: 600; background: var(--surface-2); box-shadow: var(--shadow-seg); } /* — Content(与定版一致;独立滚动容器) — */ .v-fusion .content-shell { flex: 1; min-width: 0; display: flex; align-items: flex-start; /* 允许内容自然撑高,由本容器独立滚动 */ height: 100vh; overflow-y: auto; /* 主内容独立纵向滚动 */ overscroll-behavior: contain; transition: transform 300ms var(--ease-out), filter 300ms var(--ease-out); transform-origin: center 40%; } .v-fusion[data-drawer-open] .content-shell { transform: scale(0.985); filter: var(--pushback-filter); } .v-fusion .content { flex: 1; min-width: 0; padding: 34px 40px 96px; display: flex; flex-direction: column; min-height: 100%; } .v-fusion .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; } .v-fusion .page-title { font-size: 30px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.15; } .v-fusion .page-sub { font-size: 13px; color: var(--text-2); margin-top: 4px; } .v-fusion .search { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; min-width: 220px; background: var(--fill); border-radius: 9px; color: var(--text-3); font-size: 13px; } .v-fusion .search input { background: none; border: 0; outline: none; width: 100%; color: var(--text); } .v-fusion .search input::placeholder { color: var(--text-3); } /* 面包屑返回:字号沿用 page-sub 体系 */ .v-fusion .crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-3); margin-bottom: 10px; } .v-fusion .crumbs button { color: var(--text-2); border-radius: 6px; padding: 1px 4px; transition: background-color 150ms ease, color 150ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .crumbs button:hover { background: var(--hover); color: var(--accent); } } /* — Stats(与定版一致;增加可点击入口卡) — */ .v-fusion .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; } .v-fusion .stat { position: relative; background: var(--surface); border-radius: 14px; padding: 16px 18px; border: 1px solid var(--hairline); text-align: left; } .v-fusion .stat-label { font-size: 12px; color: var(--text-2); } .v-fusion .stat-value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; } .v-fusion .stat-value small { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 3px; } .v-fusion .stat-foot { font-size: 11.5px; color: var(--text-3); margin-top: 3px; } .v-fusion .stat--alert .stat-value { color: var(--red); } .v-fusion .stat--warn .stat-value { color: var(--orange); } .v-fusion .stat--gold::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); } .v-fusion .stat--gold .stat-value { color: var(--gold); font-size: 29px; } /* 工作台风险入口卡:hover 仅背景/描边反馈,无位移 */ .v-fusion .stat--link { cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .stat--link:hover { border-color: var(--gold-line); } } /* — Segmented control(与定版一致) — */ .v-fusion .seg { display: inline-flex; padding: 2px; background: var(--fill); border-radius: 9px; } .v-fusion .seg button { position: relative; height: 26px; padding: 0 14px; border-radius: 7px; font-size: 12.5px; color: var(--text-2); transition: color 150ms ease; white-space: nowrap; } .v-fusion .seg button[data-active] { color: var(--text); font-weight: 600; background: var(--surface-2); box-shadow: var(--shadow-seg); } /* — 筛选条:输入几何沿用 .search / 表单控件(34px 控件、9px 圆角、fill 底) — */ .v-fusion .filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; } .v-fusion .filter-bar select { height: 30px; padding: 0 26px 0 10px; border-radius: 9px; font-size: 12.5px; border: 1px solid var(--hairline); background-color: var(--surface); color: var(--text); outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; } .v-fusion .filter-bar select:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--focus-glow); } .v-fusion .filter-bar .filter-spacer { flex: 1; } .v-fusion .filter-note { font-size: 12px; color: var(--text-3); } /* ============================================================ Table(与定版一致) HEL-322 修正①:表头首列「全选」复选框,三态(全选/部分/未选) HEL-322 修正②:勾选零动效 —— 行选中只有背景色即时反馈, 无位移/缩放/弹跳,行高与表格布局完全不变;勾选不再触发整表重渲染。 ============================================================ */ .v-fusion .table-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; overflow-x: auto; } .v-fusion table { width: 100%; border-collapse: collapse; font-size: 13px; } .v-fusion thead th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-3); padding: 10px 16px; border-bottom: 1px solid var(--hairline); white-space: nowrap; } .v-fusion tbody td { padding: 12px 16px; border-bottom: 1px solid var(--hairline); white-space: nowrap; } .v-fusion tbody tr:last-child td { border-bottom: 0; } .v-fusion tbody tr { cursor: pointer; transition: background-color 120ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion tbody tr:hover { background: var(--row-hover); } } /* 选中行:仅背景色变化(120ms 色彩过渡,不产生任何几何变化) */ .v-fusion tbody tr[data-checked] { background: var(--accent-soft); } .v-fusion .cell-check { width: 34px; padding-right: 0 !important; } .v-fusion .cell-check input { appearance: none; -webkit-appearance: none; width: 15px; height: 15px; border-radius: 4px; cursor: pointer; position: relative; border: 1px solid var(--hairline); background: var(--surface); transition: background-color 150ms ease, border-color 150ms ease; vertical-align: -2px; } .v-fusion .cell-check input:checked { background: var(--accent-solid); border-color: var(--accent-solid); } .v-fusion .cell-check input:checked::after { content: ""; position: absolute; left: 3.5px; top: 1px; width: 6px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(42deg); } /* 全选三态之「部分选中」:实心底 + 白色横杠 */ .v-fusion .cell-check input:indeterminate { background: var(--accent-solid); border-color: var(--accent-solid); } .v-fusion .cell-check input:indeterminate::after { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 2px; border-radius: 1px; background: #fff; } .v-fusion .cell-main { font-weight: 600; } .v-fusion .cell-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; } .v-fusion .cell-right { text-align: right; } .v-fusion .cell-remaining { font-weight: 700; color: var(--gold); } .v-fusion tr[data-status="over"] .cell-remaining { color: var(--red); } .v-fusion tr[data-status="done"] .cell-remaining { color: var(--text-3); font-weight: 600; } .v-fusion .pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; transition: background-color 250ms ease, color 250ms ease; } .v-fusion .pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; } .v-fusion .pill--ok { color: var(--green); background: var(--green-bg); } .v-fusion .pill--due { color: var(--orange); background: var(--orange-bg); } .v-fusion .pill--over { color: var(--red); background: var(--red-bg); } .v-fusion .pill--done { color: var(--text-2); background: var(--gray-bg); } /* 待更新:业务四态之一,复用既有 fill 灰阶,不新增颜色 */ .v-fusion .pill--pending { color: var(--text-2); background: var(--fill-strong); } /* 角色徽标:复用 pill 几何 */ .v-fusion .pill--admin { color: var(--gold); background: var(--gold-soft); } /* 批量操作条:选中后出现,沿用 table-card 材质 */ .v-fusion .batch-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; font-size: 12.5px; color: var(--text-2); } /* — Buttons(与定版一致;增加危险描边按钮,几何同 btn) — */ .v-fusion .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 15px; border-radius: 9px; font-size: 13px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 150ms ease, filter 150ms ease; white-space: nowrap; } .v-fusion .btn:active { transform: scale(0.97); } .v-fusion .btn--primary { background: var(--accent-solid); color: #fff; } @media (hover: hover) and (pointer: fine) { .v-fusion .btn--primary:hover { filter: brightness(1.07); } } .v-fusion .btn--plain { background: var(--fill); color: var(--text); } @media (hover: hover) and (pointer: fine) { .v-fusion .btn--plain:hover { background: var(--fill-strong); } } .v-fusion .btn--danger { background: var(--surface); color: var(--red); border: 1px solid var(--red-line); } .v-fusion .btn--sm { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; } .v-fusion .btn[disabled] { opacity: 0.45; cursor: default; } /* — Drawer(与定版一致) — */ .v-fusion .scrim { position: fixed; inset: 0; z-index: 40; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity 350ms var(--ease-out); } .v-fusion[data-drawer-open] .scrim { opacity: 1; pointer-events: auto; } .v-fusion .drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(480px, 94vw); display: flex; flex-direction: column; background: var(--material-drawer); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); border-left: 1px solid var(--gold-line); box-shadow: var(--shadow-drawer); transform: translateX(102%); transition: transform 420ms var(--ease-drawer); will-change: transform; touch-action: pan-y; } .v-fusion[data-drawer-open] .drawer { transform: translateX(0); } .v-fusion .drawer[data-dragging] { transition: none; } .v-fusion .drawer-grip { display: flex; justify-content: center; padding: 10px 0 4px; cursor: grab; } .v-fusion .drawer-grip span { width: 40px; height: 4px; border-radius: 2px; background: var(--grip); } .v-fusion .drawer-head { padding: 12px 26px 16px; border-bottom: 1px solid var(--hairline); } .v-fusion .drawer-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); } .v-fusion .drawer-title { font-size: 22px; font-weight: 750; letter-spacing: -0.015em; margin-top: 6px; } .v-fusion .drawer-sub { font-size: 12.5px; color: var(--text-2); margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .v-fusion .drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px; } .v-fusion .drawer-foot { display: flex; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--hairline); } .v-fusion .drawer-close { position: absolute; top: 14px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--fill); color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: transform 160ms var(--ease-out), background-color 150ms ease; } .v-fusion .drawer-close:active { transform: scale(0.92); } /* 抽屉标签页:复用 seg 几何 */ .v-fusion .drawer-tabs { margin: 0 0 16px; } /* — 模态弹层(导入等低频确认场景;几何/材质沿用 drawer 体系) — */ .v-fusion .modal-scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out); } .v-fusion[data-modal-open] .modal-scrim { opacity: 1; pointer-events: auto; } .v-fusion[data-modal-open] .content-shell { transform: scale(0.985); filter: var(--pushback-filter); } .v-fusion .modal-card { position: fixed; left: 50%; top: 50%; z-index: 51; width: min(520px, 94vw); max-height: min(640px, 90vh); display: flex; flex-direction: column; background: var(--material-drawer); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); border: 1px solid var(--gold-line); border-radius: 16px; box-shadow: var(--shadow-drawer); transform: translate(-50%, -50%) scale(0.96); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 220ms var(--ease-out), opacity 220ms ease, visibility 220ms ease; } .v-fusion[data-modal-open="import"] .modal-card[data-modal="import"], .v-fusion[data-modal-open="password"] .modal-card[data-modal="password"] { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; visibility: visible; } .v-fusion .modal-head { padding: 18px 24px 14px; border-bottom: 1px solid var(--hairline); } .v-fusion .modal-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; } .v-fusion .modal-body { flex: 1; overflow-y: auto; padding: 16px 24px; } .v-fusion .modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px 18px; border-top: 1px solid var(--hairline); } /* — 金额主角位(与定版一致) — */ .v-fusion .hero-amount { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 14px 16px 13px; margin-bottom: 18px; background: linear-gradient(180deg, var(--gold-soft), var(--gold-fade)); border: 1px solid var(--gold-line); border-radius: 14px; } .v-fusion .hero-amount .ha-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); } .v-fusion .hero-amount .ha-value { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; color: var(--gold); line-height: 1.15; } .v-fusion .hero-amount .ha-side { text-align: right; font-size: 11.5px; color: var(--text-2); line-height: 1.6; } .v-fusion .hero-amount .ha-side b { color: var(--text); font-weight: 650; } .v-fusion .hero-amount[data-zero] .ha-value { color: var(--text-3); } .v-fusion .hero-amount[data-zero] .ha-label { color: var(--text-3); } .v-fusion .hero-amount[data-zero] { background: var(--gray-bg); border-color: var(--hairline); } .v-fusion .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; } .v-fusion .field-grid .field--full { grid-column: 1 / -1; } .v-fusion .field label { display: block; font-size: 11.5px; color: var(--text-3); margin-bottom: 2px; } .v-fusion .field .val { font-size: 14px; font-weight: 600; } .v-fusion .field .val--note { font-weight: 500; font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; max-height: 160px; overflow-y: auto; } .v-fusion .section-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-2); margin: 24px 0 12px; display: flex; align-items: center; gap: 10px; } .v-fusion .section-title::after { content: ""; flex: 1; height: 1px; background: var(--hairline); } .v-fusion .plan-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 10px; margin-bottom: 8px; font-size: 13px; background: var(--surface); } .v-fusion .plan-kind { font-weight: 600; } .v-fusion .plan-date { color: var(--text-2); font-size: 12px; } .v-fusion .plan-amt { margin-left: auto; font-weight: 700; } .v-fusion .empty { padding: 18px; text-align: center; color: var(--text-3); font-size: 12.5px; border: 1px dashed var(--hairline); border-radius: 10px; } /* 空态操作卡:空结果 + 引导动作 */ .v-fusion .empty-action { padding: 40px 24px; text-align: center; border: 1px dashed var(--hairline); border-radius: 14px; color: var(--text-3); font-size: 13px; } .v-fusion .empty-action .ea-title { font-size: 15px; font-weight: 650; color: var(--text-2); margin-bottom: 6px; } .v-fusion .empty-action .btn { margin-top: 14px; } /* — Switch(与定版一致) — */ .v-fusion .switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--switch-off); transition: background-color 200ms ease; flex: 0 0 auto; } .v-fusion .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.18); transition: transform 200ms var(--ease-out); } .v-fusion .switch[aria-checked="true"] { background: var(--switch-on); } .v-fusion .switch[aria-checked="true"]::after { transform: translateX(18px); } .v-fusion .setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 13.5px; } .v-fusion .setting-row .hint { font-size: 12px; color: var(--text-3); margin-top: 2px; } /* — Form(与定版一致) — */ .v-fusion .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-top: 6px; } .v-fusion .form-field { display: flex; flex-direction: column; gap: 5px; } .v-fusion .form-field.full { grid-column: 1 / -1; } .v-fusion .form-field label { font-size: 12px; font-weight: 600; color: var(--text-2); } .v-fusion .form-field input, .v-fusion .form-field select, .v-fusion .form-field textarea { height: 34px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--hairline); background-color: var(--surface); color: var(--text); outline: none; font-size: 13.5px; transition: border-color 150ms ease, box-shadow 150ms ease; } .v-fusion .form-field select { padding-right: 28px; } .v-fusion .form-field textarea { height: auto; min-height: 68px; padding: 8px 11px; resize: vertical; } .v-fusion .form-field input:focus, .v-fusion .form-field select:focus, .v-fusion .form-field textarea:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--focus-glow); } .v-fusion .form-field[data-error] input, .v-fusion .form-field[data-error] select, .v-fusion .form-field[data-error] textarea { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); animation: fusion-shake 300ms var(--ease-in-out); } .v-fusion .form-field input[disabled], .v-fusion .form-field select[disabled] { background-color: var(--fill); color: var(--text-3); cursor: not-allowed; } .v-fusion .field-err { font-size: 11.5px; color: var(--red); min-height: 14px; } .v-fusion .field-hint { font-size: 11.5px; color: var(--text-3); } @keyframes fusion-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } } /* — Hold-to-confirm(与定版一致) — */ .v-fusion .hold-btn { position: relative; overflow: hidden; flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--red-line); color: var(--red); background: var(--surface); font-size: 13px; font-weight: 650; transition: transform 160ms var(--ease-out); } .v-fusion .hold-btn:active { transform: scale(0.97); } .v-fusion .hold-btn .fill { position: absolute; inset: 0; background: var(--red-solid); clip-path: inset(0 100% 0 0); transition: clip-path 200ms var(--ease-out); } .v-fusion .hold-btn[data-holding] .fill { clip-path: inset(0 0 0 0); transition: clip-path 1.4s linear; } .v-fusion .hold-btn .lbl { position: relative; z-index: 1; transition: color 150ms ease; } .v-fusion .hold-btn[data-holding] .lbl { color: #fff; } /* — Toast(与定版一致) — */ .v-fusion .toast-wrap { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; } .v-fusion .toast { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--material-toast); color: #fff; font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-toast); transition: transform 400ms var(--ease-drawer), opacity 400ms ease; } .v-fusion .toast[data-hidden] { transform: translateY(-140%); opacity: 0; } .v-fusion .toast .tick { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--switch-on); color: #fff; align-items: center; justify-content: center; font-size: 11px; } /* — 行入场 stagger(与定版一致;仅页面/筛选切换时播放,勾选不触发) — */ .v-fusion .stagger-in { opacity: 0; transform: translateY(8px); animation: fusion-in 300ms var(--ease-out) forwards; } @keyframes fusion-in { to { opacity: 1; transform: translateY(0); } } /* ============================================================ 全站扩展布局件(全部复用上述 token,不引入新颜色/新材质) ============================================================ */ /* 详情页:主栏 + 右侧辅助面板 */ .v-fusion .detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; } .v-fusion .side-panel { position: sticky; top: 34px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; } .v-fusion .file-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--hairline); border-radius: 10px; margin-bottom: 8px; font-size: 12.5px; background: var(--surface-2); } .v-fusion .file-ico { width: 26px; height: 26px; border-radius: 7px; background: var(--fill); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: 0 0 auto; } .v-fusion .file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v-fusion .file-meta { font-size: 11px; color: var(--text-3); } .v-fusion .file-act { margin-left: auto; display: flex; gap: 4px; } .v-fusion .file-act button { font-size: 11.5px; color: var(--text-2); padding: 3px 7px; border-radius: 6px; transition: background-color 150ms ease, color 150ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .file-act button:hover { background: var(--hover); color: var(--accent); } } /* 还款计划时间线:行几何沿用 plan-row,状态点复用 pill 色 */ .v-fusion .timeline { position: relative; padding-left: 18px; } .v-fusion .timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--hairline); } .v-fusion .timeline .plan-row { position: relative; } .v-fusion .timeline .plan-row::before { content: ""; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--text-3); } .v-fusion .timeline .plan-row[data-tl="paid"]::before { border-color: var(--green); } .v-fusion .timeline .plan-row[data-tl="due"]::before { border-color: var(--orange); } .v-fusion .timeline .plan-row[data-tl="over"]::before { border-color: var(--red); } /* 表单页:等宽两列独立纵向流;卡片高度随内容,不跨列等高 */ .v-fusion .editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; } .v-fusion .editor-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; } .v-fusion .editor-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; align-self: start; } .v-fusion .editor-col > .editor-card, .v-fusion .editor-col > .summary-card { flex: 0 0 auto; height: auto; } .v-fusion .editor-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 20px 22px; } .v-fusion .editor-page .plan-scroll { overflow-x: auto; margin-top: 12px; } .v-fusion .editor-page .plan-scroll[hidden] { display: none; } .v-fusion .summary-card { position: sticky; top: 34px; background: var(--surface); border: 1px solid var(--gold-line); border-radius: 14px; padding: 16px 18px; } .v-fusion .editor-page .summary-card { position: static; } .v-fusion .editor-page .summary-banner { grid-template-columns: 1fr; } .v-fusion .editor-page .summary-banner .summary-row { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--hairline); padding: 7px 0; } .v-fusion .editor-page .summary-banner .summary-row:first-child { border-top: 0; padding-top: 0; } .v-fusion .editor-page .summary-banner .summary-row b { text-align: right; } .v-fusion .summary-banner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; } .v-fusion .summary-banner .summary-row { border-top: 0; padding: 6px 0; align-items: flex-start; flex-direction: column; gap: 3px; } .v-fusion .summary-banner .summary-row b { text-align: left; font-size: 13px; word-break: break-word; } .v-fusion .summary-card::before { content: ""; display: block; height: 2px; margin: -16px -18px 14px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); } .v-fusion .summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 7px 0; border-top: 1px solid var(--hairline); color: var(--text-2); } .v-fusion .summary-row b { color: var(--text); font-weight: 650; } .v-fusion .summary-row b.gold { color: var(--gold); font-weight: 700; } .v-fusion .form-foot { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 10px; margin: auto -40px -96px; padding: 14px 40px; background: var(--material); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-top: 1px solid var(--hairline); } .v-fusion .form-foot .spacer { flex: 1; } /* 登录页(HEL-325 定稿候选):左侧品牌信息区 + 右侧登录操作区,全视口左右分栏。 结构参考白栖知给出的左右布局样图;配色/材质/字体全部沿用融合 Token: 日间 = 品牌红深漆面 + 红系径向光;夜间 = 黑金深漆面 + 金系径向光。金色仅用于序号与关键线。 */ .v-fusion .login-shell { flex: 1; height: 100vh; overflow-y: auto; display: flex; align-items: stretch; } .v-fusion .lp-brand { flex: 0 0 46%; min-width: 440px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 52px 56px 44px; color: #fff; background: radial-gradient(720px 420px at 110% -10%, rgba(255, 255, 255, 0.10), transparent 60%), linear-gradient(158deg, #c13423 0%, #a02415 52%, #7e170b 100%); } .v-fusion[data-theme="night"] .lp-brand { background: radial-gradient(720px 420px at 110% -10%, rgba(217, 180, 92, 0.10), transparent 60%), linear-gradient(158deg, #201b14 0%, #161310 52%, #0f0d0a 100%); border-right: 1px solid var(--gold-line); } .v-fusion .lp-head { display: flex; align-items: center; gap: 13px; } .v-fusion .lp-head img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); } .v-fusion .lp-cap { font-size: 11.5px; font-weight: 650; letter-spacing: 0.18em; opacity: 0.82; } .v-fusion .lp-hero { margin: 0; } .v-fusion .lp-title { font-size: 30px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.32; } .v-fusion .lp-sub { margin-top: 14px; font-size: 13.5px; line-height: 1.8; opacity: 0.86; max-width: 380px; } .v-fusion .lp-feats { display: flex; flex-direction: column; gap: 15px; } .v-fusion .lp-feat { display: flex; align-items: baseline; gap: 14px; font-size: 13px; line-height: 1.55; } .v-fusion .lp-num { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-bright); font-variant-numeric: tabular-nums; } .v-fusion[data-theme="night"] .lp-num { color: var(--gold); } .v-fusion .lp-feat span { opacity: 0.88; } .v-fusion .lp-main { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 48px 40px; } .v-fusion .lp-form { width: min(400px, 100%); } .v-fusion .login-title { font-size: 24px; font-weight: 750; letter-spacing: -0.015em; } .v-fusion .login-sub { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.6; } .v-fusion .login-theme { position: fixed; top: 18px; right: 20px; z-index: 30; } .v-fusion .login-notice { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--gold-soft); border: 1px solid var(--gold-line); font-size: 12.5px; line-height: 1.65; color: var(--text-2); } .v-fusion .login-notice b { display: block; color: var(--gold); font-size: 12.5px; margin-bottom: 2px; } .v-fusion .login-foot { margin-top: 18px; text-align: center; font-size: 12px; color: var(--text-3); } .v-fusion .login-foot b { color: var(--text-2); font-weight: 600; } .v-fusion .login-demo { margin-top: 10px; text-align: center; font-size: 11px; color: var(--text-3); } /* 计算工具:左表单 + 右结果卡(结果卡沿用金发丝线语言) */ .v-fusion .calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; } .v-fusion .calc-result-hero { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; color: var(--gold); line-height: 1.2; } .v-fusion .calc-caps { font-size: 12.5px; color: var(--gold); font-weight: 650; letter-spacing: 0.02em; } .v-fusion .calc-formula { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--fill); font-size: 12px; color: var(--text-2); line-height: 1.7; } /* ============================================================ HEL-323 · P4c 返工组件(全部复用既有 token,无新颜色/材质) ============================================================ */ /* — ① 档案库标题区二级切换:档案列表 / 目录管理 — */ .v-fusion .head-switch { margin-top: 12px; } /* 目录管理:三栏级联(一级/二级/三级目录) */ .v-fusion .dir-hint { font-size: 12px; color: var(--text-3); margin: -8px 0 14px; } .v-fusion .dir-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; } .v-fusion .dir-col { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; } .v-fusion .dir-col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--hairline); } .v-fusion .dir-col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-2); } .v-fusion .dir-col-title small { color: var(--text-3); font-weight: 500; margin-left: 6px; letter-spacing: 0; } .v-fusion .dir-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid var(--hairline); cursor: pointer; text-align: left; transition: background-color 120ms ease; } .v-fusion .dir-row:last-child { border-bottom: 0; } @media (hover: hover) and (pointer: fine) { .v-fusion .dir-row:hover { background: var(--row-hover); } } .v-fusion .dir-row[data-active] { background: var(--accent-soft); } .v-fusion .dir-row[data-active] .dir-name { color: var(--accent); } .v-fusion .dir-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v-fusion .dir-row[data-disabled] .dir-name { color: var(--text-3); font-weight: 500; } .v-fusion .dir-acts { margin-left: auto; display: flex; gap: 2px; flex: 0 0 auto; } .v-fusion .dir-acts button { font-size: 11.5px; color: var(--text-3); padding: 2px 6px; border-radius: 5px; transition: background-color 120ms ease, color 120ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .dir-acts button:hover { background: var(--hover); color: var(--accent); } } .v-fusion .dir-rename { height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--focus-ring); background: var(--surface); font-size: 12.5px; outline: none; max-width: 150px; } .v-fusion .dir-empty { padding: 26px 14px; text-align: center; font-size: 12px; color: var(--text-3); } /* — ② 工作台快捷工具坞:统一线性图标 + 紧凑卡片 — */ .v-fusion .quick-dock { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; } .v-fusion .qd-item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; text-align: left; transition: transform 120ms var(--ease-out), background-color 120ms ease, border-color 120ms ease; } .v-fusion .qd-item:active { transform: scale(0.98); background: var(--fill); } @media (hover: hover) and (pointer: fine) { .v-fusion .qd-item:hover { border-color: var(--gold-line); } } .v-fusion .qd-ico { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; background: var(--fill); color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: background-color 120ms ease, color 120ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .qd-item:hover .qd-ico { background: var(--gold-soft); color: var(--gold); } } .v-fusion .qd-main { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 7px; } .v-fusion .qd-sub { font-size: 11.5px; color: var(--text-3); } /* — ③ 计算器:输入工作区分组 + 结果工作区(大写金额为结果组成部分) — */ .v-fusion .calc-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 34px; } .v-fusion .calc-group-note { font-size: 11.5px; color: var(--text-3); margin: -4px 0 10px; } .v-fusion .calc-caps-block { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--gold-soft); border: 1px solid var(--gold-line); display: flex; align-items: center; gap: 10px; } .v-fusion .calc-caps-block .caps-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); flex: 0 0 auto; } .v-fusion .calc-caps-block .calc-caps { flex: 1; min-width: 0; } .v-fusion .caps-copy { font-size: 11.5px; color: var(--gold); padding: 2px 6px; border-radius: 5px; flex: 0 0 auto; transition: background-color 120ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .caps-copy:hover { background: var(--gold-fade); } } .v-fusion .hist-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; } .v-fusion .hist-row:first-of-type { border-top: 0; } .v-fusion .hist-main { font-weight: 650; } .v-fusion .hist-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; white-space: nowrap; } .v-fusion .hist-amt { margin-left: auto; text-align: right; font-weight: 700; flex: 0 0 auto; } /* — ④ 侧栏底部账户组件:主题切换 + 身份 + 演示说明 + 退出登录 — */ .v-fusion .sidebar-account { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); flex: 0 0 auto; } .v-fusion .sidebar-account .theme-toggle { margin: 0 0 10px; } .v-fusion .account-box { display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 10px; background: var(--fill); } .v-fusion .account-id { display: flex; align-items: center; gap: 9px; } .v-fusion .account-meta { min-width: 0; flex: 1; } .v-fusion .account-name { font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .v-fusion .account-name span { font-weight: 500; color: var(--text-3); } .v-fusion .account-note { font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .v-fusion .icon-btn { width: 28px; height: 28px; border-radius: 7px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--text-2); background: var(--surface); border: 1px solid var(--hairline); transition: transform 120ms var(--ease-out), color 120ms ease, background-color 120ms ease, border-color 120ms ease; } .v-fusion .icon-btn:active { transform: scale(0.94); } @media (hover: hover) and (pointer: fine) { .v-fusion .icon-btn:hover { color: var(--red); border-color: var(--red-line); background: var(--red-bg); } } /* — ⑤ HEL-325 · 计算器紧凑行 / 个人账户中心(全部复用既有 token,无新颜色) — */ /* 计算器输入区:紧凑「标签列 + 控件列」,行边界清晰,标签与控件视线距离短 */ .v-fusion .cr-group + .cr-group { margin-top: 14px; } .v-fusion .cr { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; border-top: 1px solid var(--hairline); } .v-fusion .cr[hidden] { display: none; } .v-fusion .cr:first-of-type { border-top: 0; } .v-fusion .cr > label, .v-fusion .cr > .cr-label { flex: 0 0 118px; padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); line-height: 1.4; } .v-fusion .cr > .cr-ctl { flex: 1; min-width: 0; max-width: 560px; } .v-fusion .cr-ctl input[type="text"], .v-fusion .cr-ctl input[type="number"], .v-fusion .cr-ctl input[type="date"], .v-fusion .cr-ctl input[data-jn-date], .v-fusion .cr-ctl select { max-width: 100%; height: 34px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--hairline); background-color: var(--surface); color: var(--text); outline: none; font-size: 13.5px; transition: border-color 150ms ease, box-shadow 150ms ease; } .v-fusion .cr-ctl select { padding-right: 28px; } .v-fusion .cr-ctl input[type="text"]:focus, .v-fusion .cr-ctl input[type="number"]:focus, .v-fusion .cr-ctl input[type="date"]:focus, .v-fusion .cr-ctl input[data-jn-date]:focus, .v-fusion .cr-ctl select:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--focus-glow); } .v-fusion .cr-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 34px; } .v-fusion .cr-hint { margin-top: 5px; font-size: 11.5px; color: var(--text-3); line-height: 1.5; } .v-fusion .cr-hint b { color: var(--gold); font-weight: 650; } .v-fusion .cr-static { display: flex; align-items: center; min-height: 34px; font-size: 13px; color: var(--text-2); } /* 利率快捷参考 chip:复用 btn--plain btn--sm 几何 */ .v-fusion .ref-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; } /* 计算器操作条 */ .v-fusion .cr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); } /* 单选/复选行(沿用既有 radio/checkbox 原生控件,字号统一) */ .v-fusion .opt-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-height: 34px; font-size: 13px; } .v-fusion .opt-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; } /* 结果区辅助信息行 */ .v-fusion .rev-line { margin-top: 10px; font-size: 12px; color: var(--gold); font-weight: 600; line-height: 1.6; } .v-fusion .calc-note { margin-top: 10px; font-size: 11.5px; color: var(--text-3); line-height: 1.6; } /* 个人账户中心:单列同宽卡片(个人信息 → 密码与安全 → 主题偏好) */ .v-fusion .acct-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; max-width: 720px; } .v-fusion .id-card { position: static; } .v-fusion .id-head { display: flex; align-items: center; gap: 14px; } .v-fusion .id-avatar { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 750; } .v-fusion[data-theme="night"] .id-avatar { background: var(--gold-soft); color: var(--gold); } .v-fusion .id-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; } .v-fusion .id-acct { font-size: 12px; color: var(--text-3); margin-top: 2px; } .v-fusion .id-rows { margin-top: 16px; } .v-fusion .id-row { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; } .v-fusion .id-row > span { flex: 0 0 76px; color: var(--text-3); } .v-fusion .id-row > div { flex: 1; min-width: 0; color: var(--text); line-height: 1.6; } .v-fusion .ro-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 650; color: var(--text-3); background: var(--fill); vertical-align: 1px; letter-spacing: 0.04em; } .v-fusion .perm-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; } .v-fusion .perm-list li { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; line-height: 1.55; } .v-fusion .perm-list li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-1px); } .v-fusion .perm-list li[data-off] { color: var(--text-3); } .v-fusion .perm-list li[data-off]::before { background: var(--text-3); opacity: 0.5; } .v-fusion .acct-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; } /* 权限受限卡 */ .v-fusion .restricted-card { max-width: 560px; padding: 40px 34px; text-align: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; } .v-fusion .restricted-card .lock { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; background: var(--fill); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 20px; } .v-fusion .restricted-card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; } .v-fusion .restricted-card p { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.7; } /* 骨架屏(加载态):仅透明度脉冲,几何与真实布局一致 */ .v-fusion .skel { border-radius: 8px; background: linear-gradient(90deg, var(--fill) 25%, var(--fill-strong) 50%, var(--fill) 75%); background-size: 200% 100%; animation: skel-pulse 1.2s ease-in-out infinite; } @keyframes skel-pulse { to { background-position: -200% 0; } } /* — 样板标注条(与定版一致) — */ position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 16px; border-radius: 999px; background: rgba(10, 10, 10, 0.82); color: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; letter-spacing: 0.01em; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255,255,255,0.08) inset; user-select: none; } /* — 无障碍变体(与定版一致) — */ @media (prefers-reduced-motion: reduce) { .v-fusion *, .v-fusion *::before, .v-fusion *::after { animation-duration: 0.01ms !important; } .v-fusion .scrim, .v-fusion .toast, .v-fusion .content-shell, .v-fusion .switch, .v-fusion .switch::after { transition-duration: 120ms; } .v-fusion .drawer { transform: none; opacity: 0; visibility: hidden; transition: opacity 150ms ease, visibility 150ms ease; } .v-fusion[data-drawer-open] .drawer { opacity: 1; visibility: visible; } .v-fusion[data-drawer-open] .content-shell, .v-fusion[data-modal-open] .content-shell { transform: none; filter: none; } .v-fusion .modal-card { transform: translate(-50%, -50%); transition: opacity 150ms ease; } .v-fusion .toast[data-hidden] { transform: none; opacity: 0; } .v-fusion .stagger-in { opacity: 0; transform: none; } .v-fusion .skel { animation: none; } .v-fusion .form-field[data-error] input { animation: none; } } @media (prefers-reduced-transparency: reduce) { .v-fusion .sidebar { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion .drawer { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion .modal-card { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion .toast { background: #1e1e20; } .v-fusion .form-foot { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion[data-theme="night"] .sidebar { background: #171512; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion[data-theme="night"] .drawer { background: #1f1d19; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion[data-theme="night"] .modal-card { background: #1f1d19; -webkit-backdrop-filter: none; backdrop-filter: none; } .v-fusion[data-theme="night"] .toast { background: #36342f; } .v-fusion[data-theme="night"] .form-foot { background: #171512; -webkit-backdrop-filter: none; backdrop-filter: none; } } @media (prefers-contrast: more) { .v-fusion { --hairline: rgba(0, 0, 0, 0.28); --text-2: #4b4b50; --text-3: #5d5d63; --gold: #6d5510; --gold-line: rgba(109, 85, 16, 0.5); } .v-fusion[data-theme="night"] { --hairline: rgba(255, 255, 255, 0.32); --text-2: #cdc9c0; --text-3: #aaa69e; --gold: #f0cd7a; --gold-line: rgba(240, 205, 122, 0.55); } } /* ============================================================ 响应式断点 ≥1280:固定侧栏 232px + 主内容独立滚动(桌面基准模型) ≤1279:统计卡两列;详情/表单/计算器右栏落下 ≤1023:侧栏收成 64px 图标栏(仍固定、不随主内容滚动) ≤767 :侧栏转为顶部横条(横向滚动导航),主内容占据剩余视口独立滚动 ============================================================ */ @media (max-width: 1279px) { .v-fusion .stats { grid-template-columns: repeat(2, 1fr); } .v-fusion .detail-grid, .v-fusion .editor-grid, .v-fusion .editor-page, .v-fusion .calc-grid { grid-template-columns: 1fr; } .v-fusion .editor-col { display: contents; } .v-fusion .editor-page [data-form-block="summary"] { order: 1; } .v-fusion .editor-page [data-form-block="kind"] { order: 2; } .v-fusion .editor-page [data-form-block="basic"] { order: 3; } .v-fusion .editor-page [data-form-block="plan"] { order: 4; } .v-fusion .editor-page [data-form-block="amount"] { order: 5; } .v-fusion .editor-page [data-form-block="files"] { order: 6; } .v-fusion .side-panel, .v-fusion .summary-card { position: static; } .v-fusion .summary-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 1023px) { .v-fusion .sidebar { width: 64px; flex-basis: 64px; padding: 20px 8px; } .v-fusion .brand { justify-content: center; padding-bottom: 14px; } .v-fusion .brand > div, .v-fusion .nav-label, .v-fusion .sidebar-foot, .v-fusion .nav-badge { display: none; } .v-fusion .nav-item { justify-content: center; font-size: 0; gap: 0; padding: 10px 0; } .v-fusion .nav-item .dot { width: 8px; height: 8px; opacity: 0.55; } .v-fusion .nav-item::after { content: attr(data-short); font-size: 11px; } .v-fusion .theme-toggle { margin: 12px 2px 0; flex-direction: column; } .v-fusion .content { padding: 26px 22px 80px; } .v-fusion .form-foot { margin: 22px -22px -80px; padding: 14px 22px; } } @media (max-width: 767px) { .v-fusion[data-variant-root] { flex-direction: column; } .v-fusion .sidebar { width: 100%; flex: 0 0 auto; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--hairline); overflow-x: auto; overflow-y: hidden; } .v-fusion .brand { padding: 0 6px 0 0; } .v-fusion .brand img { width: 30px; height: 30px; border-radius: 8px; } .v-fusion .nav-item { width: auto; justify-content: center; font-size: 0; gap: 0; padding: 8px 11px; } .v-fusion .nav-item::after { content: attr(data-short); font-size: 12px; } .v-fusion .theme-toggle { margin: 0 0 0 auto; flex-direction: row; } .v-fusion .theme-toggle button { padding: 0 10px; font-size: 0; } .v-fusion .theme-toggle button::first-letter { font-size: 14px; } .v-fusion .content-shell { height: auto; flex: 1; min-height: 0; } .v-fusion .content { padding: 20px 16px 80px; } .v-fusion .form-foot { margin: auto -16px -80px; padding: 12px 16px; } .v-fusion .page-title { font-size: 24px; } .v-fusion .stats { grid-template-columns: repeat(2, 1fr); } .v-fusion .stat-value { font-size: 22px; } .v-fusion .stat--gold .stat-value { font-size: 24px; } .v-fusion .table-card { overflow-x: auto; } .v-fusion .search { min-width: 0; flex: 1; } .v-fusion .field-grid, .v-fusion .form-grid { grid-template-columns: 1fr; } .v-fusion .summary-banner { grid-template-columns: 1fr; } .v-fusion .hero-amount { flex-direction: column; align-items: flex-start; gap: 8px; } .v-fusion .hero-amount .ha-side { text-align: left; } .v-fusion .login-theme { position: static; margin-bottom: 14px; } .v-fusion .login-shell { flex-direction: column; justify-content: flex-start; } } @media (max-width: 480px) { .v-fusion .stats { grid-template-columns: 1fr; } } /* ============================================================ HEL-323 · P4c 新增组件的断点适配(后置追加,覆盖同名基础规则) ============================================================ */ @media (max-width: 1279px) { .v-fusion .calc-side { position: static; } .v-fusion .lp-brand { flex-basis: 42%; min-width: 380px; padding: 44px 40px 36px; } } @media (max-width: 1023px) { .v-fusion .dir-cols { grid-template-columns: 1fr; } /* 登录页窄屏:品牌区压缩为上方面板,登录区顺序堆叠,不丢信息 */ .v-fusion .login-shell { flex-direction: column; } .v-fusion .lp-brand { flex: 0 0 auto; min-width: 0; padding: 30px 26px 26px; gap: 22px; } .v-fusion .lp-hero .lp-sub { max-width: none; } .v-fusion .lp-feats { gap: 10px; } .v-fusion .lp-main { flex: 0 0 auto; padding: 28px 22px 64px; } .v-fusion .acct-grid { grid-template-columns: 1fr; } .v-fusion .id-card { position: static; } .v-fusion .cr > label, .v-fusion .cr > .cr-label { flex-basis: 96px; } .v-fusion .sidebar-account { padding-top: 10px; } .v-fusion .sidebar-account .theme-toggle { margin: 0 0 8px; } .v-fusion .account-box { padding: 6px; justify-content: center; background: none; } .v-fusion .account-meta, .v-fusion .account-note { display: none; } } @media (max-width: 767px) { .v-fusion .sidebar-account { margin-top: 0; margin-left: auto; padding-top: 0; border-top: 0; display: flex; align-items: center; gap: 6px; } .v-fusion .sidebar-account .theme-toggle { margin: 0; } .v-fusion .account-box { padding: 0; background: none; } .v-fusion .quick-dock { grid-template-columns: repeat(2, 1fr); } } /* ============================================================ 工程补充(真实系统必需、样板未覆盖的元素;仅引用既有 token) ============================================================ */ .v-fusion a { color: var(--accent); text-decoration: none; } .v-fusion a.btn { text-decoration: none; color: inherit; } .v-fusion a.btn--primary { color: #fff; } .v-fusion a.nav-item { display: flex; color: var(--text-2); } .v-fusion .flash-banner { margin-bottom: 14px; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 500; background: var(--red-bg); color: var(--red); border: 1px solid var(--red-line); } .v-fusion .flash-banner--ok { background: var(--green-bg); color: var(--green); border-color: transparent; } .v-fusion select, .v-fusion input, .v-fusion textarea { font: inherit; color: inherit; } /* HEL-349:全站 select 闭合态走 Token,避免夜间 UA 白底;箭头用 SVG 以便日夜换色 */ .v-fusion select { appearance: none; -webkit-appearance: none; height: 34px; padding: 0 28px 0 11px; border-radius: 9px; border: 1px solid var(--hairline); background-color: var(--surface); color: var(--text); outline: none; font-size: 13.5px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%236e6e73' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 12px 8px; transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; } .v-fusion[data-theme="night"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%23a9a49b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E"); } @media (hover: hover) and (pointer: fine) { .v-fusion select:hover:not(:disabled) { background-color: var(--surface-2); } } .v-fusion select:focus, .v-fusion select:focus-visible { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--focus-glow); } .v-fusion select:disabled { background-color: var(--fill); color: var(--text-3); cursor: not-allowed; opacity: 0.7; } .v-fusion option, .v-fusion optgroup { background-color: var(--surface); color: var(--text); } .v-fusion option:disabled { color: var(--text-3); } .v-fusion option:checked { background-color: var(--fill-strong); color: var(--text); } /* HEL-361:日期输入走 Token;禁用原生日历(含右侧日期列),仅保留自定义大弹层 */ .v-fusion input[type="date"], .v-fusion input[data-jn-date] { color: var(--text); background-color: var(--surface); border: 1px solid var(--hairline); font-variant-numeric: tabular-nums; color-scheme: inherit; } .v-fusion input[type="date"]:focus, .v-fusion input[type="date"]:focus-visible, .v-fusion input[data-jn-date]:focus, .v-fusion input[data-jn-date]:focus-visible { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--focus-glow); } .v-fusion input[type="date"]:disabled, .v-fusion input[data-jn-date]:disabled { background-color: var(--fill); color: var(--text-3); cursor: not-allowed; opacity: 0.7; } .v-fusion input[type="date"][aria-invalid="true"], .v-fusion input[data-jn-date][aria-invalid="true"], .v-fusion input[type="date"][aria-invalid="true"]:focus, .v-fusion input[type="date"][aria-invalid="true"]:focus-visible, .v-fusion input[data-jn-date][aria-invalid="true"]:focus, .v-fusion input[data-jn-date][aria-invalid="true"]:focus-visible, .v-fusion .cr-ctl input[type="date"][aria-invalid="true"], .v-fusion .cr-ctl input[data-jn-date][aria-invalid="true"], .v-fusion .cr-ctl input[type="date"][aria-invalid="true"]:focus, .v-fusion .cr-ctl input[data-jn-date][aria-invalid="true"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); } .v-fusion input[type="date"]::-webkit-datetime-edit, .v-fusion input[type="date"]::-webkit-datetime-edit-fields-wrapper, .v-fusion input[type="date"]::-webkit-datetime-edit-text, .v-fusion input[type="date"]::-webkit-datetime-edit-year-field, .v-fusion input[type="date"]::-webkit-datetime-edit-month-field, .v-fusion input[type="date"]::-webkit-datetime-edit-day-field { color: var(--text); } .v-fusion input[type="date"]:disabled::-webkit-datetime-edit, .v-fusion input[type="date"]:disabled::-webkit-datetime-edit-fields-wrapper { color: var(--text-3); } .v-fusion input[type="date"]::-webkit-calendar-picker-indicator, .v-fusion input[type="date"]::-webkit-inner-spin-button, .v-fusion input[type="date"]::-webkit-clear-button { pointer-events: none; opacity: 0; display: none; -webkit-appearance: none; } /* HEL-349:自定义锚定弹层(下拉 / 日历),fixed 以免被卡片 overflow 裁切 */ .v-fusion .jn-pop { position: fixed; z-index: 80; background: var(--surface); color: var(--text); border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-toast); font-size: 13px; } .v-fusion[data-theme="night"] .jn-pop { background: var(--surface-2); border-color: var(--gold-line); } .v-fusion .jn-pop[hidden] { display: none !important; } .v-fusion .jn-menu { max-height: min(280px, calc(100vh - 16px)); overflow-y: auto; overscroll-behavior: contain; padding: 6px; min-width: 120px; } .v-fusion .jn-menu-opt { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 8px; color: var(--text); background: transparent; font-size: 13px; line-height: 1.4; white-space: nowrap; } .v-fusion .jn-menu-opt[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 650; } .v-fusion[data-theme="night"] .jn-menu-opt[aria-selected="true"] { background: var(--gold-soft); color: var(--gold); } @media (hover: hover) and (pointer: fine) { .v-fusion .jn-menu-opt:hover:not(:disabled) { background: var(--hover); } .v-fusion .jn-menu-opt[aria-selected="true"]:hover:not(:disabled) { background: var(--accent-soft); } .v-fusion[data-theme="night"] .jn-menu-opt[aria-selected="true"]:hover:not(:disabled) { background: var(--gold-soft); } } .v-fusion .jn-menu-opt:disabled, .v-fusion .jn-menu-opt[aria-disabled="true"] { color: var(--text-3); cursor: not-allowed; opacity: 0.7; } .v-fusion .jn-menu-opt:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; } .v-fusion .jn-dp { width: 280px; padding: 12px; } .v-fusion .jn-dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .v-fusion .jn-dp-captions { display: flex; gap: 2px; flex: 1; justify-content: center; min-width: 0; } .v-fusion .jn-dp-month { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text); padding: 4px 8px; border-radius: 7px; line-height: 1.2; transition: background-color 120ms ease, color 120ms ease; } .v-fusion[data-theme="night"] .jn-dp-month { color: var(--gold); } .v-fusion .jn-dp-month[data-active] { background: var(--fill); } @media (hover: hover) and (pointer: fine) { .v-fusion .jn-dp-month:hover { background: var(--hover); } } .v-fusion .jn-dp-month:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; } .v-fusion .jn-dp-nav { width: 28px; height: 28px; border-radius: 7px; flex: 0 0 auto; color: var(--text-2); font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: background-color 120ms ease, color 120ms ease, transform 160ms var(--ease-out); } .v-fusion .jn-dp-nav:active { transform: scale(0.94); } @media (hover: hover) and (pointer: fine) { .v-fusion .jn-dp-nav:hover { background: var(--hover); color: var(--text); } .v-fusion[data-theme="night"] .jn-dp-nav:hover { color: var(--gold); } } .v-fusion .jn-dp-week, .v-fusion .jn-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; } .v-fusion .jn-dp-week span { height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-3); } .v-fusion .jn-dp-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .v-fusion .jn-dp-day, .v-fusion .jn-dp-pick { height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--text); transition: background-color 120ms ease, color 120ms ease; } .v-fusion .jn-dp-pick { height: 36px; } .v-fusion .jn-dp-day[data-out] { color: var(--text-3); } @media (hover: hover) and (pointer: fine) { .v-fusion .jn-dp-day:hover:not(:disabled), .v-fusion .jn-dp-pick:hover:not(:disabled) { background: var(--hover); } } .v-fusion .jn-dp-day[aria-selected="true"], .v-fusion .jn-dp-pick[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 650; } .v-fusion[data-theme="night"] .jn-dp-day[aria-selected="true"], .v-fusion[data-theme="night"] .jn-dp-pick[aria-selected="true"] { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line); } .v-fusion .jn-dp-day[data-today]:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1px var(--accent); } .v-fusion[data-theme="night"] .jn-dp-day[data-today]:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--gold); } .v-fusion .jn-dp-day:disabled, .v-fusion .jn-dp-pick:disabled { color: var(--text-3); opacity: 0.45; cursor: not-allowed; box-shadow: none; } .v-fusion .jn-dp-day:focus-visible, .v-fusion .jn-dp-pick:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; } .v-fusion .jn-dp-foot { display: flex; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hairline); } .v-fusion .jn-dp-foot-gap { flex: 1; } /* HEL-349:夜间滚动条轨道融入深底、滑块克制曜金;日间保持 UA 中性样式 */ .v-fusion[data-theme="night"] { scrollbar-width: thin; scrollbar-color: var(--gold-line) var(--bg); } .v-fusion[data-theme="night"] ::-webkit-scrollbar { width: 8px; height: 8px; } .v-fusion[data-theme="night"] ::-webkit-scrollbar-track { background: var(--bg); } .v-fusion[data-theme="night"] ::-webkit-scrollbar-thumb { background-color: var(--gold-line); border-radius: 999px; border: 2px solid var(--bg); background-clip: padding-box; } .v-fusion[data-theme="night"] ::-webkit-scrollbar-thumb:hover { background-color: var(--gold); } .v-fusion[data-theme="night"] ::-webkit-scrollbar-corner { background: var(--bg); } /* 分段控件在真实系统中以链接实现时与按钮同形 */ .v-fusion .seg a { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 7px; font-size: 12.5px; color: var(--text-2); transition: background-color 150ms ease, color 150ms ease; } .v-fusion .seg a[data-active] { color: var(--text); font-weight: 600; background: var(--surface-2); box-shadow: var(--shadow-seg); } .v-fusion .seg a:hover { color: var(--text); } .v-fusion a.stat, .v-fusion a.qd-item, .v-fusion a.dir-row { color: inherit; } /* 文件选择按钮纳入 token 体系(日夜间一致) */ .v-fusion input[type="file"] { font-size: 12.5px; color: var(--text-2); } .v-fusion input[type="file"]::file-selector-button { height: 28px; padding: 0 12px; margin-right: 10px; border: 0; border-radius: 8px; background: var(--fill); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; } .v-fusion input[type="file"]::file-selector-button:hover { background: var(--fill-strong); } /* 目录行操作链接与样板 button 同形 */ .v-fusion .dir-acts a { font-size: 11.5px; color: var(--text-3); padding: 2px 6px; border-radius: 5px; transition: background-color 120ms ease, color 120ms ease; } @media (hover: hover) and (pointer: fine) { .v-fusion .dir-acts a:hover { background: var(--hover); color: var(--accent); } } .v-fusion .dir-row a.nav-badge { color: inherit; }