/* ============================================================ CareerNexus 职联 · 设计系统(企业级 OA 风格,完全离线) 参考 Ant Design Pro / 飞书 / Arco Design ============================================================ */ :root { /* 品牌色 */ --primary: #2f54eb; --primary-hover: #1d39c4; --primary-light: #f0f5ff; --success: #00b42a; --success-light: #e8ffea; --warning: #ff7d00; --warning-light: #fff7e8; --danger: #f53f3f; --danger-light: #ffece8; --cyan: #13c2c2; --cyan-light: #e6fffb; --purple: #722ed1; --purple-light: #f9f0ff; /* 中性色 */ --text-1: #1d2129; --text-2: #4e5969; --text-3: #86909c; --border: #e5e6eb; --border-dark: #c9cdd4; --bg-page: #f2f3f5; --bg-card: #ffffff; --bg-hover: #f7f8fa; /* 尺寸 */ --radius: 8px; --radius-sm: 4px; --shadow-card: 0 1px 2px rgba(29, 33, 41, 0.04), 0 2px 8px rgba(29, 33, 41, 0.04); --shadow-pop: 0 6px 16px rgba(29, 33, 41, 0.12); --topbar-h: 56px; --topnav-h: 46px; --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; } body { font-family: var(--font); font-size: 14px; color: var(--text-1); background: var(--bg-page); overflow: hidden; -webkit-font-smoothing: antialiased; } button { font-family: var(--font); cursor: pointer; } input, select, textarea { font-family: var(--font); font-size: 14px; color: var(--text-1); } svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .hidden { display: none !important; } .text-weak { color: var(--text-3); } .text-secondary { color: var(--text-2); } .text-aux { font-size: 12px; } .w-120 { width: 120px; } .w-320 { width: 320px; } /* ============ 顶部栏 ============ */ .topbar { height: var(--topbar-h); background: #fff; box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); display: flex; align-items: center; gap: 16px; padding: 0 20px 0 12px; position: relative; z-index: 100; } .icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; border-radius: var(--radius-sm); color: var(--text-2); } .icon-btn:hover { background: var(--bg-hover); color: var(--primary); } .icon-btn.sm { width: 24px; height: 24px; } .icon-btn.sm svg { width: 14px; height: 14px; } .brand { display: flex; align-items: center; gap: 8px; } .brand-logo { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #2f54eb, #13c2c2); display: inline-flex; align-items: center; justify-content: center; } .brand-logo svg { width: 19px; height: 19px; color: #fff; } .brand-name { font-size: 16px; color: var(--text-1); letter-spacing: 0.2px; } .brand-name b { font-weight: 600; } .page-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 15px; font-weight: 600; color: var(--text-1); } .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; } .global-search { position: relative; display: flex; align-items: center; gap: 6px; background: var(--bg-page); border: 1px solid transparent; border-radius: 16px; padding: 5px 12px; width: 240px; color: var(--text-3); transition: all 0.2s; } .global-search:focus-within { background: #fff; border-color: var(--primary); width: 280px; } .global-search svg { width: 14px; height: 14px; flex: none; } .global-search input { border: none; outline: none; background: transparent; width: 100%; font-size: 13px; } .search-drop { position: absolute; top: 36px; left: 0; right: -40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); max-height: 320px; overflow: auto; z-index: 200; } .search-drop .sd-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; } .search-drop .sd-item:hover { background: var(--primary-light); } .search-drop .sd-item .tag { flex: none; } .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; cursor: default; } /* ============ 徽章 / 标签 ============ */ .badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--bg-page); color: var(--text-2); white-space: nowrap; } .badge-version { background: var(--cyan-light); color: #08979c; border: 1px solid #87e8de; } .badge-warning { background: var(--warning-light); color: var(--warning); } .badge-success { background: var(--success-light); color: var(--success); } .tag { display: inline-flex; align-items: center; font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: var(--radius-sm); border: 1px solid transparent; white-space: nowrap; } .tag-blue { color: var(--primary); background: var(--primary-light); border-color: #d6e4ff; } .tag-green { color: var(--success); background: var(--success-light); border-color: #b7eb8f; } .tag-orange { color: var(--warning); background: var(--warning-light); border-color: #ffd591; } .tag-red { color: var(--danger); background: var(--danger-light); border-color: #ffa39e; } .tag-cyan { color: #08979c; background: var(--cyan-light); border-color: #87e8de; } .tag-purple { color: var(--purple); background: var(--purple-light); border-color: #d3adf7; } .tag-gray { color: var(--text-2); background: var(--bg-page); border-color: var(--border); } /* ============ 布局骨架 ============ */ .shell { display: flex; height: calc(100vh - var(--topbar-h) - var(--topnav-h)); } /* ============ 横向导航(顶栏下方) ============ */ .topnav { height: var(--topnav-h); background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: stretch; justify-content: center; gap: 32px; padding: 0 20px; position: relative; z-index: 90; } .nav-item { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 16px; margin: 0; background: transparent; border: none; border-radius: 0; color: var(--text-2); font-size: 14px; white-space: nowrap; cursor: pointer; transition: color 0.15s, background 0.15s; } .nav-item svg { width: 16px; height: 16px; flex: none; } .nav-item:hover { color: var(--primary); background: var(--bg-hover); } /* 选中态特殊处理:主色加粗 + 底部指示条 + 浅底高亮 */ .nav-item.active { color: var(--primary); font-weight: 600; background: var(--primary-light); } .nav-item.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 2px 2px 0 0; background: var(--primary); } .nav-item.active svg { stroke-width: 2.2; } .content { flex: 1; overflow-y: auto; padding: 16px 20px 32px; } .view { display: none; } .view.active { display: block; } /* ============ 卡片 ============ */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); } .card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); } .card-head h3 { font-size: 15px; font-weight: 600; } .card-body { padding: 16px; } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; } /* ============ 按钮 ============ */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 15px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 14px; transition: all 0.15s; white-space: nowrap; } .btn svg { width: 14px; height: 14px; } .btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-hover); } .btn-secondary { background: #fff; border-color: var(--border-dark); color: var(--text-1); } .btn-secondary:hover { color: var(--primary); border-color: var(--primary); } .btn-text { background: transparent; border: none; color: var(--primary); padding: 0 8px; } .btn-text:hover { background: var(--primary-light); } .btn-danger { background: var(--danger); color: #fff; } .btn-danger:hover { background: #cb2634; } .btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; } .btn-sm { height: 28px; padding: 0 10px; font-size: 13px; } .link-btn { border: none; background: none; color: var(--primary); font-size: 12px; } .link-btn:hover { text-decoration: underline; } /* ============ 表单 ============ */ .input, .select, .textarea { border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 6px 10px; outline: none; background: #fff; transition: border-color 0.15s; } .input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(47, 84, 235, 0.1); } .textarea { width: 100%; resize: vertical; line-height: 1.6; } .select { height: 32px; } .form-row { margin-bottom: 16px; } .form-label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; } .form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; } /* ============ 表格 ============ */ .table { width: 100%; border-collapse: collapse; font-size: 13px; } .table th { text-align: left; color: var(--text-3); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--border); background: var(--bg-hover); } .table td { padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--text-2); } .table tr:hover td { background: var(--bg-hover); } /* ============ 空状态 / 骨架 ============ */ .empty { text-align: center; padding: 48px 16px; color: var(--text-3); } .empty svg { width: 44px; height: 44px; stroke-width: 1.2; margin-bottom: 10px; opacity: 0.5; } .empty p { font-size: 13px; line-height: 1.8; } .empty.small { padding: 20px; font-size: 13px; } .skeleton-graph { width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, #e8ebf0 20%, transparent 21%), conic-gradient(#e8ebf0, #f5f6f8, #e8ebf0); animation: pulse 1.4s ease-in-out infinite; } @keyframes pulse { 50% { opacity: 0.5; } } /* ============ 数据驾驶舱 ============ */ .metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; } .metric-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 16px; cursor: pointer; transition: all 0.15s; position: relative; overflow: hidden; } .metric-card:hover { border-color: var(--primary); box-shadow: var(--shadow-pop); transform: translateY(-2px); } .metric-card .mc-label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; } .metric-card .mc-label svg { width: 15px; height: 15px; color: var(--primary); } .metric-card .mc-num { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 6px 0 4px; } .metric-card .mc-delta { font-size: 12px; display: inline-flex; align-items: center; gap: 3px; } .metric-card .mc-delta.up { color: var(--success); } .metric-card .mc-delta.down { color: var(--danger); } .metric-card .mc-delta.flat { color: var(--text-3); } .metric-card canvas { position: absolute; right: 10px; bottom: 10px; opacity: 0.9; } .feed { max-height: 320px; overflow-y: auto; } .feed-item { display: flex; gap: 10px; padding: 10px 8px; border-radius: var(--radius-sm); cursor: pointer; align-items: flex-start; } .feed-item:hover { background: var(--primary-light); } .feed-item .fi-icon { width: 26px; height: 26px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; } .feed-item .fi-icon svg { width: 13px; height: 13px; } .feed-item .fi-text { font-size: 13px; line-height: 1.5; color: var(--text-1); } .feed-item .fi-time { font-size: 12px; color: var(--text-3); margin-top: 2px; } .review-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; } .review-item .ri-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .review-item .ri-head b { font-size: 14px; } .review-item .ri-meta { font-size: 12px; color: var(--text-3); margin-bottom: 8px; } .review-item .ri-skills { font-size: 12px; color: var(--text-2); margin-bottom: 10px; line-height: 1.7; } .review-item .ri-actions { display: flex; gap: 8px; } /* ============ 图谱工作台 ============ */ .graph-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; margin-bottom: 12px; } .graph-title { display: flex; align-items: center; gap: 10px; } .graph-title h2 { font-size: 18px; font-weight: 600; } .graph-actions { display: flex; gap: 8px; } .graph-body { display: flex; gap: 12px; height: calc(100vh - var(--topbar-h) - 130px); min-height: 520px; } .graph-canvas-wrap { flex: 1; position: relative; overflow: hidden; min-width: 0; } #graph-canvas { width: 100%; height: 100%; display: block; cursor: grab; } #graph-canvas.dragging { cursor: grabbing; } #graph-canvas.hovering { cursor: pointer; } .graph-toolbar { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 4px; z-index: 20; } .tool-btn { width: 32px; height: 32px; border: none; background: transparent; border-radius: var(--radius-sm); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; } .tool-btn:hover { background: var(--primary-light); color: var(--primary); } .tool-btn.active { background: var(--primary-light); color: var(--primary); } .tool-sep { height: 1px; background: var(--border); margin: 3px 4px; } .graph-filter-panel { position: absolute; top: 14px; left: 58px; width: 220px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 12px 14px; z-index: 21; } .fp-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; margin-bottom: 10px; } .fp-block { margin-bottom: 12px; } .fp-label { font-size: 12px; color: var(--text-3); margin-bottom: 6px; } .fp-block .select { width: 100%; } .check { display: flex; align-items: center; gap: 7px; font-size: 13px; padding: 3px 0; cursor: pointer; color: var(--text-1); } .check input { accent-color: var(--primary); } .graph-minimap { position: absolute; left: 14px; bottom: 64px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 6px; z-index: 15; } #minimap-canvas { display: block; border-radius: var(--radius-sm); background: var(--bg-page); cursor: crosshair; } .graph-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--text-2); padding: 6px 2px 2px; max-width: 190px; } .graph-legend span { display: inline-flex; align-items: center; gap: 5px; } .lg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .lg-dot.job { background: var(--primary); } .lg-dot.industry { background: #13c2c2; } .lg-dot.scenario { background: var(--purple); } .lg-dot.pending { background: #fff; border: 2px dashed var(--warning); width: 8px; height: 8px; } .lg-sq { width: 9px; height: 9px; border-radius: 2px; display: inline-block; } .lg-sq.skill { background: var(--success); } .lg-line { width: 16px; height: 0; display: inline-block; border-top: 2px solid var(--text-2); } .lg-line.dashed { border-top-style: dashed; } .lg-line.solid { border-top-color: var(--primary); } .lg-line.purple { border-top-color: var(--purple); } .lg-line.cyan { border-top-color: var(--cyan); } .graph-suggest { position: absolute; right: 14px; bottom: 64px; width: 260px; z-index: 15; overflow: hidden; } .gs-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-1); } .gs-head svg { color: var(--warning); width: 15px; height: 15px; } .gs-head .icon-btn { margin-left: auto; } .gs-list { max-height: 220px; overflow-y: auto; padding: 6px; } .gs-item { display: flex; gap: 8px; padding: 8px; border-radius: var(--radius-sm); cursor: pointer; align-items: flex-start; font-size: 12px; } .gs-item:hover { background: var(--primary-light); } .gs-item .gs-dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 5px; flex: none; } .gs-item .gs-text { color: var(--text-1); line-height: 1.5; } .gs-item .gs-sub { color: var(--text-3); margin-top: 2px; } .graph-suggest.collapsed .gs-list { display: none; } .graph-chain { position: absolute; left: 14px; right: 14px; bottom: 12px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 8px 14px; z-index: 14; } .gc-head { font-size: 12px; font-weight: 600; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; } .gc-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-height: 62px; overflow-y: auto; } .chain-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #b7c6f5; background: var(--primary-light); color: var(--primary); font-size: 12px; border-radius: 12px; padding: 2px 10px; cursor: pointer; } .chain-chip:hover { background: var(--primary); color: #fff; } .chain-chip.exit { border-color: #ffa39e; background: var(--danger-light); color: var(--danger); } .chain-arrow { color: var(--text-3); font-size: 12px; } .chain-chip.review { border-style: dashed; border-color: var(--warning); background: var(--warning-light); color: var(--warning); } .graph-loading { position: absolute; inset: 0; z-index: 30; background: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; } /* 右侧详情面板 */ .graph-detail { width: 320px; flex: none; overflow-y: auto; display: flex; flex-direction: column; } .detail-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-3); gap: 10px; text-align: center; padding: 20px; } .detail-empty svg { width: 46px; height: 46px; stroke-width: 1.2; opacity: 0.45; } .detail-empty p { font-size: 13px; line-height: 1.8; } .detail-body { padding: 0 0 16px; } .dt-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; } .dt-head .dt-title-row { display: flex; align-items: flex-start; gap: 10px; } .dt-node-icon { width: 36px; height: 36px; border-radius: var(--radius); flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; } .dt-node-icon svg { width: 18px; height: 18px; } .dt-name { font-size: 16px; font-weight: 600; line-height: 1.3; word-break: break-all; } .dt-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; } .dt-close { position: absolute; top: 10px; right: 10px; } .dt-back { margin: 10px 16px 0; } .dt-sec { padding: 12px 16px 0; } .dt-sec-title { font-size: 12px; color: var(--text-3); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; } .dt-sec-title::after { content: ""; flex: 1; height: 1px; background: var(--border); } .kv { display: flex; font-size: 13px; padding: 4px 0; } .kv .k { width: 72px; flex: none; color: var(--text-3); } .kv .v { color: var(--text-1); word-break: break-all; } .rel-list { display: flex; flex-direction: column; gap: 4px; } .rel-item { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 8px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; } .rel-item:hover { background: var(--primary-light); border-color: #d6e4ff; } .rel-item .ri-kind { flex: none; } .rel-item .ri-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rel-item .ri-extra { font-size: 12px; color: var(--text-3); flex: none; } .src-item { font-size: 12px; color: var(--primary); padding: 5px 8px; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; gap: 6px; } .src-item:hover { background: var(--primary-light); text-decoration: underline; } .src-item svg { width: 12px; height: 12px; flex: none; } .dt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .dt-actions .btn { width: 100%; } .dt-actions .full { grid-column: 1 / -1; } .audit-item { font-size: 12px; border-left: 2px solid var(--border-dark); padding: 4px 0 4px 10px; margin-bottom: 8px; color: var(--text-2); } .audit-item .au-head { display: flex; gap: 6px; align-items: center; margin-bottom: 2px; } .audit-item .au-diff { color: var(--text-3); line-height: 1.6; word-break: break-all; } .note-item { background: var(--warning-light); border: 1px solid #ffe7ba; border-radius: var(--radius-sm); padding: 8px 10px; margin-bottom: 6px; font-size: 12px; } .note-item .nt-head { display: flex; justify-content: space-between; color: var(--text-3); margin-bottom: 3px; } .note-item .nt-del { color: var(--danger); cursor: pointer; border: none; background: none; font-size: 12px; } .sparkline-box { background: var(--bg-hover); border-radius: var(--radius-sm); padding: 8px; } /* ============ 岗位演化 ============ */ .evo-controls { display: flex; gap: 10px; align-items: center; } .seg { display: inline-flex; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; } .seg button { border: none; background: #fff; padding: 5px 14px; font-size: 13px; color: var(--text-2); } .seg button.active { background: var(--primary); color: #fff; } .evo-chart-title { margin-bottom: 8px; } .timeline { margin-top: 20px; position: relative; padding-left: 22px; } .timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); } .evo-event { position: relative; padding: 10px 14px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; transition: all 0.15s; } .evo-event:hover { border-color: var(--primary); box-shadow: var(--shadow-pop); } .evo-event::before { content: ""; position: absolute; left: -21px; top: 16px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; } .evo-event.t-新增::before { background: var(--success); } .evo-event.t-增强::before { background: var(--primary); } .evo-event.t-减弱::before { background: var(--warning); } .evo-event.t-退出::before { background: var(--danger); } .evo-event .ee-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .evo-event .ee-window { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; } .evo-event .ee-skill { font-weight: 600; } .evo-event .ee-desc { font-size: 12px; color: var(--text-2); line-height: 1.6; } .evo-event .ee-src { font-size: 12px; color: var(--text-3); margin-top: 4px; } /* ============ 人岗匹配 ============ */ .steps { display: flex; justify-content: center; gap: 0; margin-bottom: 26px; } .step { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; position: relative; padding: 0 34px; } .step i { width: 26px; height: 26px; border-radius: 50%; font-style: normal; border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: #fff; } .step.active { color: var(--primary); font-weight: 600; } .step.active i { background: var(--primary); border-color: var(--primary); color: #fff; } .step.done { color: var(--success); } .step.done i { background: var(--success); border-color: var(--success); color: #fff; } .step:not(:last-child)::after { content: ""; position: absolute; right: -4px; top: 13px; width: 40px; height: 1px; background: var(--border-dark); } .match-pane { max-width: 960px; margin: 0 auto; } #match-pane-3 { max-width: none; margin: 0; } /* 诊断结果页全宽:左简历原文 + 右结果 */ .parse-summary { background: var(--bg-hover); border-radius: var(--radius); padding: 12px 16px; font-size: 13px; color: var(--text-2); margin-bottom: 16px; line-height: 1.8; } .chip-editor { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; border: 1px dashed var(--border-dark); border-radius: var(--radius); padding: 10px; } .skill-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-light); color: var(--primary); border: 1px solid #d6e4ff; font-size: 13px; border-radius: var(--radius-sm); padding: 3px 6px 3px 10px; } .skill-chip button { border: none; background: none; color: inherit; font-size: 14px; line-height: 1; padding: 0 2px; } .skill-chip button:hover { color: var(--danger); } .chip-add { margin-top: 8px; } .chip-add .input { width: 280px; } .match-result-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; } .gauge-wrap { position: relative; width: 220px; margin: 0 auto; } .gauge-text { position: absolute; left: 0; right: 0; top: 74px; text-align: center; } .gauge-text b { display: block; font-size: 34px; font-variant-numeric: tabular-nums; color: var(--primary); } .gauge-text span { font-size: 12px; color: var(--text-3); } .match-verdict { text-align: center; margin: 6px 0 10px; font-size: 14px; } .hit-miss { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .hm-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 8px; } .hm-title svg { width: 15px; height: 15px; } .hm-title.ok { color: var(--success); } .hm-title.bad { color: var(--danger); } .hm-title.info { color: var(--cyan); } .hm-title.weak { color: var(--text-3); font-weight: 500; } .hm-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; } .hm-chips .tag { cursor: default; } .transfer-block { margin-top: 18px; } .rec-jobs { margin-top: 22px; border-top: 1px dashed var(--border); padding-top: 16px; } .rec-job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; } .rec-job-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; transition: all 0.15s; } .rec-job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-pop); } .rec-job-card .rj-title { font-weight: 600; margin-bottom: 4px; } .rec-job-card .rj-score { font-size: 22px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; } .rec-job-card .rj-miss { font-size: 12px; color: var(--text-3); margin-top: 4px; line-height: 1.6; } /* 第 3 步:左简历原文高亮 + 右诊断结果 */ .match-step3-grid { display: grid; grid-template-columns: minmax(320px, 42%) 1fr; gap: 16px; align-items: start; } @media (max-width: 1100px) { .match-step3-grid { grid-template-columns: 1fr; } } .resume-viewer { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; } .rv-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-hover); } .rv-title { font-size: 13px; font-weight: 600; color: var(--text-1); } .rv-legend { display: flex; gap: 6px; font-size: 11px; } .rv-body { padding: 14px 16px; max-height: 560px; overflow-y: auto; font-size: 13px; line-height: 2.0; color: var(--text-1); text-align: left; white-space: pre-wrap; word-break: break-word; } .hl { border-radius: 3px; padding: 1px 4px; font-weight: 500; white-space: nowrap; } .hl-req { background: var(--success-light); color: var(--success); box-shadow: inset 0 0 0 1px #b7eb8f; } .hl-pref { background: var(--primary-light); color: var(--primary); box-shadow: inset 0 0 0 1px #d6e4ff; } .hl-other { background: var(--bg-page); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border); } /* 结构化简历模板(docx 表格风) */ .rd-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; background: #fff; } .rd-table td { border: 1px solid var(--border-dark); padding: 8px 10px; vertical-align: middle; line-height: 1.8; word-break: break-word; } .rd-photo-cell { width: 104px; text-align: center; background: var(--bg-hover); } .rd-photo { width: 84px; height: 112px; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; } .rd-photo-empty { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font-size: 11px; width: 84px; height: 112px; } .rd-photo-empty svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; } .rd-k { width: 62px; background: var(--bg-hover); color: var(--text-2); font-weight: 500; } .rd-v { color: var(--text-1); font-weight: 500; } .rd-sec-k { width: 104px; background: var(--primary-light); color: var(--primary); font-weight: 600; text-align: center; vertical-align: top; padding-top: 12px; } .rd-sec-v { text-align: left; white-space: pre-wrap; } .rv-legend .btn { margin-left: 6px; } /* ============ 学习路径 ============ */ .path-layout { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; } @media (max-width: 1100px) { .path-layout { grid-template-columns: 1fr; } } .path-side { position: sticky; top: 16px; } .form-item { margin-bottom: 16px; } .form-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--text-1); margin-bottom: 8px; } .form-label-tip { font-size: 12px; font-weight: 400; color: var(--text-3); } .w-full { width: 100%; } .skill-pool { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; background: var(--bg-hover); } .pool-group + .pool-group { margin-top: 10px; } .pool-group-title { font-size: 12px; color: var(--text-3); margin-bottom: 6px; } .pool-chips { display: flex; flex-wrap: wrap; gap: 6px; } .pool-chip { cursor: pointer; user-select: none; font-size: 12px; padding: 3px 10px; border: 1px solid var(--border-dark); border-radius: 999px; background: #fff; color: var(--text-2); transition: all .15s; } .pool-chip:hover { border-color: var(--primary); color: var(--primary); } .pool-chip.known { background: var(--success-light); border-color: var(--success); color: var(--success); } .pool-chip.known::before { content: "✓ "; } .pool-loading { font-size: 12px; color: var(--text-3); padding: 8px 2px; } .seg { display: flex; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; } .seg-item { flex: 1; padding: 7px 0; border: none; background: #fff; color: var(--text-2); font-size: 13px; cursor: pointer; } .seg-item + .seg-item { border-left: 1px solid var(--border); } .seg-item.active { background: var(--primary); color: #fff; } .path-summary { background: var(--bg-hover); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 16px; } .path-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 6px; } .path-summary-row b { color: var(--text-1); font-variant-numeric: tabular-nums; } .progress { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin: 8px 0 4px; } .progress-bar { height: 100%; border-radius: 3px; background: var(--primary); transition: width .3s; } .path-summary-tip { font-size: 12px; color: var(--text-3); } .btn-block { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .btn-block svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .path-overview { display: flex; gap: 24px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius); background: var(--primary-light); padding: 14px 18px; margin-bottom: 16px; } .po-item { font-size: 12px; color: var(--text-2); } .po-item b { display: block; font-size: 20px; color: var(--text-1); font-variant-numeric: tabular-nums; margin-top: 2px; } .po-item .po-primary { color: var(--primary); } .po-progress { flex: 1; min-width: 160px; align-self: center; } .po-progress .path-summary-tip { text-align: right; } .path-flow { display: flex; flex-direction: column; gap: 0; } .stage-card { position: relative; display: flex; gap: 14px; padding: 16px 16px 20px 0; } .stage-card:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -2px; width: 2px; background: var(--border); } .stage-card.done .stage-body { opacity: .55; } .stage-no { width: 40px; height: 40px; border-radius: 50%; flex: none; z-index: 1; background: var(--primary); color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; } .stage-card.done .stage-no { background: var(--success); } .stage-body { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 14px 16px; } .stage-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .stage-title { font-weight: 600; } .stage-weeks { font-size: 12px; color: var(--primary); background: var(--primary-light); border-radius: 999px; padding: 2px 10px; } .stage-prereq { font-size: 12px; color: var(--text-3); margin-bottom: 8px; } .stage-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .stage-skills .tag { cursor: pointer; } .stage-skills .tag:hover { background: var(--primary); color: #fff; } .stage-meta { display: flex; gap: 18px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; } .stage-meta b { color: var(--text-1); font-weight: 500; } .stage-task { margin-top: 8px; font-size: 12px; background: var(--bg-hover); border-radius: var(--radius-sm); padding: 8px 10px; color: var(--text-2); } .stage-acc { margin-top: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-hover); } .stage-acc > summary { cursor: pointer; padding: 8px 12px; font-size: 12px; color: var(--primary); user-select: none; list-style: none; } .stage-acc > summary::before { content: "▸ "; } .stage-acc[open] > summary::before { content: "▾ "; } .stage-acc > summary:hover { color: var(--primary-hover); } .acc-block { padding: 0 12px 12px; } .acc-title { font-size: 12px; font-weight: 600; color: var(--text-1); margin: 8px 0 4px; } .acc-deliverable { font-size: 12px; color: var(--text-2); background: #fff; border-left: 3px solid var(--primary); border-radius: 2px; padding: 6px 10px; line-height: 1.6; } .acc-list { margin: 0; padding: 0; list-style: none; } .acc-list li { display: flex; gap: 8px; font-size: 12px; color: var(--text-2); line-height: 1.6; padding: 3px 0; } .acc-no { flex: none; min-width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; background: var(--primary-light); color: var(--primary); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; } .acc-list.quiz .acc-no { background: var(--warning-light); color: var(--warning); } .stage-foot { margin-top: 10px; display: flex; justify-content: flex-end; } .stage-check { font-size: 12px; } .path-done { text-align: center; padding: 40px; color: var(--success); font-size: 15px; } /* ============ 弹窗 / Toast ============ */ .modal-mask { position: fixed; inset: 0; background: rgba(29, 33, 41, 0.45); display: flex; align-items: center; justify-content: center; z-index: 500; } .modal { width: 560px; max-width: calc(100vw - 48px); max-height: 82vh; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; } .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); } .modal-head h3 { font-size: 15px; } .modal-body { padding: 18px; overflow-y: auto; font-size: 13px; line-height: 1.7; } .modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; } .jd-evidence { background: var(--bg-hover); border-radius: var(--radius); padding: 12px 14px; white-space: pre-wrap; max-height: 300px; overflow-y: auto; font-size: 12.5px; color: var(--text-2); } .jd-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin-bottom: 10px; } .toast-wrap { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 600; display: flex; flex-direction: column; gap: 8px; } .toast { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-pop); padding: 9px 16px; font-size: 13px; display: flex; align-items: center; gap: 8px; animation: toast-in 0.2s; } .toast.success { border-color: #b7eb8f; color: var(--success); } .toast.error { border-color: #ffa39e; color: var(--danger); } .toast.info { border-color: #d6e4ff; color: var(--primary); } @keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } } /* 滚动条 */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: #c9cdd4; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a9aeb8; } ::-webkit-scrollbar-track { background: transparent; } /* ============ 离线回退横幅 / 系统设置 ============ */ .offline-banner { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 20px; font-size: 13px; background: var(--warning-light); color: #ad4e00; border-bottom: 1px solid #ffd591; } .offline-banner svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .offline-banner b { font-weight: 600; } .banner-btn { margin-left: auto; flex: none; border: 1px solid #ad4e00; background: #fff; color: #ad4e00; border-radius: var(--radius-sm); padding: 2px 12px; font-size: 12px; cursor: pointer; } .banner-btn:hover { background: #ad4e00; color: #fff; } .banner-close { flex: none; border: none; background: transparent; font-size: 16px; color: #ad4e00; cursor: pointer; padding: 0 4px; } .has-banner .shell { height: calc(100vh - var(--topbar-h) - var(--topnav-h) - 40px); } .cfg-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-bottom: 14px; } .cfg-warn { background: var(--warning-light); color: #ad4e00; border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; margin-bottom: 14px; } .cfg-sec { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 4px; margin-bottom: 14px; } .cfg-sec-title { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 12px; } .cfg-token-row { display: flex; gap: 8px; } .cfg-token-row .input { flex: 1; } /* 双横幅堆叠与权重引导 */ .has-banner2 .shell { height: calc(100vh - var(--topbar-h) - var(--topnav-h) - 80px); } #embed-banner { border-top: 1px solid #ffd591; } .cfg-guide { background: var(--bg-hover); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 12px; color: var(--text-2); margin-bottom: 14px; } .cfg-guide b { color: var(--text-1); } .cfg-guide ol { margin: 6px 0 0; padding-left: 18px; } .cfg-guide li { line-height: 1.9; } .cfg-guide code { background: #fff; border: 1px solid var(--border); border-radius: 3px; padding: 0 5px; font-family: Consolas, monospace; font-size: 11px; color: var(--primary); } /* 设置弹窗加宽 */ .modal.wide { width: 780px; } /* 卡片内图表画布默认占满宽度(防 300px 默认宽挤压) */ .card-body > canvas { display: block; width: 100%; height: 100%; min-height: 200px; } .card-body:has(> canvas:only-child) { min-height: 260px; } /* 岗位演化页:统计条 / 时点对比 / 限高 */ .evo-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .evo-stat { flex: 1; min-width: 120px; background: var(--bg-hover); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; } .evo-stat span { font-size: 12px; color: var(--text-3); } .evo-stat b { font-size: 20px; color: var(--text-1); font-variant-numeric: tabular-nums; } .evo-compare { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; } .evo-compare-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; } .evo-dates { display: flex; align-items: center; gap: 8px; } .evo-dates .input { width: 150px; } .diff-meta { font-size: 12px; color: var(--text-3); margin-bottom: 10px; } .diff-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; } @media (max-width: 1100px) { .diff-grid { grid-template-columns: 1fr; } } .diff-col { background: var(--bg-hover); border-radius: var(--radius-sm); padding: 10px 12px; } .diff-title { font-size: 12px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; } .diff-chips { display: flex; flex-wrap: wrap; gap: 6px; } .diff-chip { cursor: pointer; } .diff-chip:hover { filter: brightness(0.92); } .diff-chip i { font-style: normal; margin-left: 3px; color: var(--primary); font-weight: 700; } .evo-heat-wrap { max-height: 260px; max-width: 920px; margin: 0 auto 16px; } .evo-heat-wrap canvas { max-height: 260px; } .timeline { max-height: 420px; overflow-y: auto; } /* 批量匹配 */ .match-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; } .match-tab { border: none; background: transparent; padding: 8px 18px; font-size: 14px; color: var(--text-2); cursor: pointer; position: relative; } .match-tab:hover { color: var(--primary); } .match-tab.active { color: var(--primary); font-weight: 600; } .match-tab.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 2px 2px 0 0; background: var(--primary); } .dropzone { border: 2px dashed var(--border-dark); border-radius: var(--radius); padding: 28px 20px; text-align: center; color: var(--text-2); transition: all .15s; margin-bottom: 12px; } .dropzone.over { border-color: var(--primary); background: var(--primary-light); } .dropzone svg { width: 34px; height: 34px; stroke: var(--text-3); fill: none; stroke-width: 1.5; margin-bottom: 8px; } .dropzone.over svg { stroke: var(--primary); } .dropzone-btns { display: flex; gap: 10px; justify-content: center; margin: 10px 0; } .batch-filelist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .batch-file { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 3px 6px 3px 12px; background: #fff; } .batch-file i { color: var(--text-3); font-style: normal; } .batch-file button { border: none; background: var(--bg-page); border-radius: 50%; width: 18px; height: 18px; cursor: pointer; color: var(--text-3); line-height: 1; } .batch-file button:hover { background: var(--danger-light); color: var(--danger); } .batch-summary { font-size: 13px; color: var(--text-2); margin: 8px 0 10px; } .batch-table { width: 100%; border-collapse: collapse; font-size: 13px; } .batch-table th { text-align: left; padding: 8px 10px; background: var(--bg-hover); color: var(--text-2); font-weight: 500; border-bottom: 1px solid var(--border); } .batch-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; } .batch-table tr.batch-err td { color: var(--text-3); background: var(--bg-hover); } .batch-score { display: flex; align-items: center; gap: 8px; min-width: 140px; } .batch-score-bar { height: 6px; border-radius: 3px; background: var(--primary); max-width: 90px; } .batch-score b { font-variant-numeric: tabular-nums; } .text-ok { color: var(--success); } .text-bad { color: var(--danger); } /* 统一系统弹窗(sysDialog) */ .sysdlg-mask { position: fixed; inset: 0; background: rgba(29, 33, 41, 0.45); display: flex; align-items: center; justify-content: center; z-index: 700; } .sysdlg { width: 420px; max-width: calc(100vw - 48px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 18px 20px; } .sysdlg-title { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 12px; } .sysdlg-body { margin-bottom: 16px; } .sysdlg-label { font-size: 13px; color: var(--text-2); margin-bottom: 8px; } .sysdlg-text { font-size: 13px; color: var(--text-1); line-height: 1.7; } .sysdlg-input { width: 100%; } .sysdlg-foot { display: flex; justify-content: flex-end; gap: 10px; } /* 首次引导欢迎块 */ .cfg-welcome { background: var(--primary-light); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; color: var(--text-1); line-height: 1.9; margin-bottom: 14px; } /* 全部岗位演化热力图 */ .evo-heatmap { margin-bottom: 16px; overflow-x: auto; } .hm-grid { display: grid; gap: 2px; min-width: 720px; align-items: center; } .hm-corner { height: 18px; } .hm-col-label { font-size: 10px; color: var(--text-3); text-align: center; height: 18px; line-height: 18px; white-space: nowrap; } .hm-row-label { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; padding: 2px 6px 2px 0; text-align: right; } .hm-row-label:hover { color: var(--primary); font-weight: 600; } .hm-row-label.active { color: var(--primary); font-weight: 600; } .hm-row-label.active::before { content: "▸ "; } .hm-cell { height: 16px; border-radius: 2px; } .hm-cell:hover { outline: 1.5px solid var(--primary); } .hm-legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); margin-top: 6px; } .hm-legend .hm-l { width: 14px; height: 10px; border-radius: 2px; display: inline-block; } .hm-legend .text-weak { margin-left: 10px; } /* 热度走势图限宽居中(标题对齐) */ .evo-chart-title:has(+ .evo-heat-wrap) { max-width: 920px; margin-left: auto; margin-right: auto; } /* 一键配置进度 */ .setup-progress { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--bg-hover); } .setup-stage { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; } .setup-log { font-size: 11px; color: var(--text-3); white-space: pre-wrap; font-family: Consolas, monospace; } #cfg-embed-setup:disabled { opacity: .6; cursor: not-allowed; } /* 一键配置主按钮区 */ .setup-hero { border: 1px solid #d6e4ff; background: var(--primary-light); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; } .setup-hero .btn { width: 100%; } .setup-hero-desc { font-size: 12px; color: var(--text-2); line-height: 1.9; margin-top: 10px; } .setup-hero-desc b { color: var(--primary); } .setup-hero .setup-progress { margin-top: 10px; background: #fff; } /* 变更类型堆叠柱状图例 */ .stack-legend { display: flex; gap: 14px; justify-content: center; font-size: 11px; color: var(--text-2); margin: 4px 0 14px; } .stack-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 4px; } /* 技能生命周期甘特图 */ .evo-gantt { margin-bottom: 16px; overflow-x: auto; } .gt-grid { display: grid; gap: 2px; min-width: 760px; align-items: center; } .gt-label { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; text-align: right; padding-right: 6px; } .gt-label:hover { color: var(--primary); font-weight: 600; } .gt-cell { position: relative; height: 16px; display: flex; align-items: center; } .gt-bar { position: absolute; left: 0; right: 0; height: 10px; border-radius: 2px; opacity: .75; } .gt-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; z-index: 1; } /* 页脚联系信息(文档流,位于所有内容之后) */ .app-footer { margin-top: 24px; padding: 10px 0 4px; text-align: center; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--border); user-select: text; }