1. Add 登陆功能
2. 调整字体大小 3. 新增部分功能
This commit is contained in:
@@ -150,10 +150,10 @@ body {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
height: 34px;
|
||||
padding: 0 14px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-family: var(--font-body);
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
@@ -170,7 +170,7 @@ body {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
|
||||
.btn.sm { height: 28px; font-size: 12px; padding: 0 10px; }
|
||||
.btn.sm { height: 30px; font-size: 13px; padding: 0 11px; }
|
||||
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
|
||||
/* ── App Shell ──────────────────────────────────── */
|
||||
@@ -216,14 +216,14 @@ body {
|
||||
object-fit: contain;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.brand-name { font-size: 13px; font-weight: 700; font-family: var(--font-display); color: var(--rail-fg); }
|
||||
.brand-sub { font-size: 10px; color: var(--rail-muted); }
|
||||
.brand-name { font-size: 15px; font-weight: 700; font-family: var(--font-display); color: var(--rail-fg); }
|
||||
.brand-sub { font-size: 12px; color: var(--rail-muted); }
|
||||
|
||||
.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
|
||||
|
||||
.nav-group { margin-bottom: 4px; }
|
||||
.nav-group-label {
|
||||
font-size: 10px; font-weight: 700;
|
||||
font-size: 11px; font-weight: 700;
|
||||
text-transform: uppercase; letter-spacing: 0.06em;
|
||||
color: var(--rail-muted);
|
||||
padding: 8px 16px 4px;
|
||||
@@ -231,10 +231,10 @@ body {
|
||||
|
||||
.nav-item {
|
||||
display: flex; align-items: center; gap: 9px;
|
||||
height: 36px; padding: 0 14px 0 16px;
|
||||
height: 38px; padding: 0 14px 0 16px;
|
||||
text-decoration: none;
|
||||
color: var(--rail-fg);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
border-left: 3px solid transparent;
|
||||
transition: background 0.12s, color 0.12s;
|
||||
position: relative;
|
||||
@@ -261,14 +261,14 @@ body {
|
||||
}
|
||||
.sidebar-user { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
|
||||
.user-avatar {
|
||||
width: 28px; height: 28px;
|
||||
width: 30px; height: 30px;
|
||||
background: var(--accent-dim); color: var(--accent);
|
||||
border-radius: 50%;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 10px; font-weight: 700; flex-shrink: 0;
|
||||
font-size: 11px; font-weight: 700; flex-shrink: 0;
|
||||
}
|
||||
.user-name { font-size: 12px; font-weight: 600; color: var(--rail-fg); }
|
||||
.user-role { font-size: 10px; color: var(--rail-muted); }
|
||||
.user-name { font-size: 13px; font-weight: 600; color: var(--rail-fg); }
|
||||
.user-role { font-size: 11px; color: var(--rail-muted); }
|
||||
|
||||
.theme-btn {
|
||||
width: 28px; height: 28px;
|
||||
@@ -297,8 +297,8 @@ body {
|
||||
z-index: 10;
|
||||
}
|
||||
.topbar-left { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
|
||||
.topbar-title { font-size: 15px; font-weight: 700; font-family: var(--font-display); color: var(--fg); }
|
||||
.topbar-sub { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
|
||||
.topbar-title { font-size: 17px; font-weight: 700; font-family: var(--font-display); color: var(--fg); }
|
||||
.topbar-sub { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
|
||||
.topbar-actions { display: flex; align-items: center; gap: 8px; }
|
||||
|
||||
/* ── Page Content ───────────────────────────────── */
|
||||
@@ -309,13 +309,13 @@ body {
|
||||
}
|
||||
|
||||
/* ── Search Box ─────────────────────────────────── */
|
||||
.search-box { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-size: 13px; color: var(--muted); }
|
||||
.search-box input { border: none; background: transparent; outline: none; font-size: 13px; color: var(--fg); width: 160px; }
|
||||
.search-box { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; color: var(--muted); }
|
||||
.search-box input { border: none; background: transparent; outline: none; font-size: 14px; color: var(--fg); width: 160px; }
|
||||
|
||||
/* ── Filter Bar / Chips ─────────────────────────── */
|
||||
.filter-bar { display: flex; align-items: center; gap: 12px; padding: 10px 22px; border-bottom: 1px solid var(--border); background: var(--surface); flex-shrink: 0; }
|
||||
.chip-group { display: flex; gap: 6px; flex-wrap: wrap; }
|
||||
.chip { height: 26px; padding: 0 10px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; font-size: 11px; font-weight: 500; cursor: pointer; color: var(--muted); transition: all 0.12s; }
|
||||
.chip { height: 28px; padding: 0 11px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--muted); transition: all 0.12s; }
|
||||
.chip:hover { border-color: var(--accent); color: var(--accent); }
|
||||
.chip.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); font-weight: 600; }
|
||||
.filter-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
|
||||
@@ -327,34 +327,47 @@ body {
|
||||
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
||||
|
||||
/* ── Overview Page ──────────────────────────────── */
|
||||
.overview-page { padding: 32px; max-width: 900px; display: flex; flex-direction: column; gap: 32px; }
|
||||
/* Outer container fills content-area and handles scrolling. */
|
||||
/* Inner .overview-page constrains width and holds the page content. */
|
||||
.overview-scroll-wrapper {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
}
|
||||
.overview-page {
|
||||
padding: 32px;
|
||||
max-width: 960px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.overview-hero { display: flex; flex-direction: column; gap: 12px; }
|
||||
.hero-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
|
||||
.hero-title { font-size: 32px; font-weight: 700; font-family: var(--font-display); line-height: 1.15; }
|
||||
.hero-desc { font-size: 14px; color: var(--muted); max-width: 480px; line-height: 1.6; }
|
||||
.hero-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
|
||||
.hero-title { font-size: 34px; font-weight: 700; font-family: var(--font-display); line-height: 1.15; }
|
||||
.hero-desc { font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.6; }
|
||||
.hero-actions { display: flex; gap: 10px; padding-top: 4px; }
|
||||
|
||||
.overview-summary { display: flex; align-items: center; gap: 0; }
|
||||
.summary-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; padding: 14px; }
|
||||
.summary-num { font-size: 22px; font-weight: 700; font-family: var(--font-display); color: var(--accent); }
|
||||
.summary-label { font-size: 11px; color: var(--muted); }
|
||||
.summary-num { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--accent); }
|
||||
.summary-label { font-size: 12px; color: var(--muted); }
|
||||
.summary-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
|
||||
|
||||
.section-title { font-size: 13px; font-weight: 700; font-family: var(--font-display); color: var(--fg); margin-bottom: 14px; }
|
||||
.section-title { font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--fg); margin-bottom: 14px; }
|
||||
|
||||
.workflow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
|
||||
.workflow-step { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
|
||||
.step-num { font-size: 10px; font-weight: 700; font-family: var(--font-mono); color: var(--accent); }
|
||||
.step-label { font-size: 13px; font-weight: 700; font-family: var(--font-display); }
|
||||
.step-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
|
||||
.step-num { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--accent); }
|
||||
.step-label { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
|
||||
.step-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
|
||||
|
||||
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
|
||||
.screen-card { text-align: left; cursor: pointer; border: none; transition: box-shadow 0.15s; display: flex; flex-direction: column; gap: 6px; }
|
||||
.screen-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.10), 0 0 0 2px var(--accent-dim); }
|
||||
.screen-icon { width: 36px; height: 36px; background: var(--accent-dim); color: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
|
||||
.screen-label { font-size: 13px; font-weight: 700; font-family: var(--font-display); }
|
||||
.screen-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
|
||||
.screen-label { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
|
||||
.screen-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
|
||||
|
||||
/* ── Status Page ────────────────────────────────── */
|
||||
.status-page { display: flex; flex-direction: column; height: 100%; }
|
||||
@@ -375,18 +388,18 @@ body {
|
||||
display: flex; flex-direction: column; gap: 4px;
|
||||
}
|
||||
.stat-cell:last-child { border-right: none; }
|
||||
.stat-value { font-size: 26px; font-weight: 700; font-family: var(--font-display); }
|
||||
.stat-label { font-size: 11px; color: var(--muted); }
|
||||
.stat-value { font-size: 28px; font-weight: 700; font-family: var(--font-display); }
|
||||
.stat-label { font-size: 12px; color: var(--muted); }
|
||||
.stat-cell.danger .stat-value { color: var(--danger); }
|
||||
|
||||
.panel-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 16px; }
|
||||
.panel-left, .panel-right { display: flex; flex-direction: column; gap: 16px; }
|
||||
|
||||
.card-header { font-size: 12px; font-weight: 700; font-family: var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
|
||||
.card-header { font-size: 13px; font-weight: 700; font-family: var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
|
||||
|
||||
.task-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
|
||||
.task-info { flex: 1; min-width: 0; }
|
||||
.task-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
|
||||
.task-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
|
||||
.task-progress-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
|
||||
.task-progress-fill { height: 100%; background: var(--accent); border-radius: 2px; }
|
||||
|
||||
@@ -401,12 +414,12 @@ body {
|
||||
.kpi-value { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--fg); width: 36px; text-align: right; flex-shrink: 0; }
|
||||
|
||||
.service-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); }
|
||||
.service-name { font-size: 13px; }
|
||||
.service-name { font-size: 14px; }
|
||||
|
||||
.event-row { padding: 10px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
|
||||
.event-date { font-size: 10px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.event-title { font-size: 13px; font-weight: 600; }
|
||||
.event-summary { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.event-date { font-size: 11px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.event-title { font-size: 14px; font-weight: 600; }
|
||||
.event-summary { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
|
||||
/* ── Perception Page ────────────────────────────── */
|
||||
.perception-page { display: flex; flex-direction: column; height: 100%; }
|
||||
@@ -414,8 +427,8 @@ body {
|
||||
.stats-bar { display: flex; border-bottom: 1px solid var(--border); background: var(--surface); flex-shrink: 0; }
|
||||
.sbar-cell { flex: 1; padding: 14px 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
|
||||
.sbar-cell:last-child { border-right: none; }
|
||||
.sbar-val { font-size: 22px; font-weight: 700; font-family: var(--font-display); }
|
||||
.sbar-lbl { font-size: 11px; color: var(--muted); }
|
||||
.sbar-val { font-size: 24px; font-weight: 700; font-family: var(--font-display); }
|
||||
.sbar-lbl { font-size: 12px; color: var(--muted); }
|
||||
.sbar-cell.danger .sbar-val { color: var(--danger); }
|
||||
.sbar-cell.warn .sbar-val { color: var(--warn); }
|
||||
.sbar-cell.accent .sbar-val { color: var(--accent); }
|
||||
@@ -427,14 +440,14 @@ body {
|
||||
.ev-card:hover { background: var(--bg); }
|
||||
.ev-card.selected { border-left-color: var(--accent); background: var(--accent-dim); box-shadow: inset 0 0 0 1px var(--accent-dim); }
|
||||
.ev-top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
|
||||
.ev-std { font-size: 10px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.ev-title { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 5px; }
|
||||
.ev-summary { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
|
||||
.ev-std { font-size: 11px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.ev-title { font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 5px; }
|
||||
.ev-summary { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
|
||||
.ev-bottom { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.ev-date { font-size: 10px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.ev-date { font-size: 11px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.ev-tags { display: flex; gap: 4px; flex-wrap: wrap; }
|
||||
.ev-tag { font-size: 10px; padding: 1px 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--muted); }
|
||||
.impact-dot { font-size: 10px; font-weight: 700; margin-left: auto; }
|
||||
.ev-tag { font-size: 11px; padding: 1px 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--muted); }
|
||||
.impact-dot { font-size: 11px; font-weight: 700; margin-left: auto; }
|
||||
.impact-high { color: var(--danger); }
|
||||
.impact-medium { color: var(--warn); }
|
||||
.impact-low { color: var(--success); }
|
||||
@@ -447,18 +460,18 @@ body {
|
||||
|
||||
.detail-card { display: flex; flex-direction: column; gap: 10px; }
|
||||
.detail-header { display: flex; align-items: center; gap: 8px; }
|
||||
.detail-title { font-size: 15px; font-weight: 700; font-family: var(--font-display); }
|
||||
.detail-summary { font-size: 13px; color: var(--muted); line-height: 1.6; }
|
||||
.detail-title { font-size: 16px; font-weight: 700; font-family: var(--font-display); }
|
||||
.detail-summary { font-size: 14px; color: var(--muted); line-height: 1.6; }
|
||||
.detail-actions { display: flex; gap: 8px; padding-top: 4px; }
|
||||
|
||||
.docs-card { display: flex; flex-direction: column; gap: 0; }
|
||||
.doc-row { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
|
||||
.doc-score { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--success); width: 34px; flex-shrink: 0; padding-top: 1px; }
|
||||
.doc-name { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
|
||||
.doc-clause { font-size: 10px; font-family: var(--font-mono); color: var(--muted); margin-left: 5px; }
|
||||
.doc-snippet { font-size: 11px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.doc-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
|
||||
.doc-clause { font-size: 11px; font-family: var(--font-mono); color: var(--muted); margin-left: 5px; }
|
||||
.doc-snippet { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
|
||||
.ai-card .ai-output { font-size: 13px; line-height: 1.7; white-space: pre-wrap; font-family: var(--font-mono); }
|
||||
.ai-card .ai-output { font-size: 14px; line-height: 1.7; white-space: pre-wrap; font-family: var(--font-mono); }
|
||||
.blink-cursor { animation: blink 1s step-end infinite; }
|
||||
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
|
||||
|
||||
@@ -466,7 +479,7 @@ body {
|
||||
.docs-page { display: flex; flex-direction: column; height: 100%; }
|
||||
|
||||
.docs-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
|
||||
.select-input { height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 12px; color: var(--fg); outline: none; cursor: pointer; }
|
||||
.select-input { height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; color: var(--fg); outline: none; cursor: pointer; }
|
||||
|
||||
.batch-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--accent-dim); border: 1px solid var(--accent); border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 13px; color: var(--accent); font-weight: 600; }
|
||||
.risk-btn { color: var(--danger); border-color: var(--danger-bg); }
|
||||
@@ -479,7 +492,7 @@ body {
|
||||
padding: 10px 14px;
|
||||
background: var(--bg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
|
||||
font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
|
||||
align-items: center;
|
||||
}
|
||||
.table-row {
|
||||
@@ -488,7 +501,7 @@ body {
|
||||
gap: 12px;
|
||||
padding: 11px 14px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
align-items: center;
|
||||
transition: background 0.1s, opacity 0.3s;
|
||||
}
|
||||
@@ -497,10 +510,10 @@ body {
|
||||
.table-row.row-selected { background: var(--accent-dim); }
|
||||
.table-row.row-deleting { opacity: 0.4; pointer-events: none; }
|
||||
.doc-name-cell { font-weight: 500; }
|
||||
.cell-mono { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
|
||||
.cell-muted { font-size: 12px; color: var(--muted); }
|
||||
.cell-mono { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
|
||||
.cell-muted { font-size: 13px; color: var(--muted); }
|
||||
.row-actions { display: flex; gap: 10px; }
|
||||
.text-link { background: none; border: none; font-size: 12px; color: var(--accent); cursor: pointer; font-weight: 500; padding: 0; }
|
||||
.text-link { background: none; border: none; font-size: 13px; color: var(--accent); cursor: pointer; font-weight: 500; padding: 0; }
|
||||
.text-link:hover { text-decoration: underline; }
|
||||
.danger-link { color: var(--danger); }
|
||||
|
||||
@@ -514,24 +527,24 @@ body {
|
||||
.compliance-workspace { display: grid; grid-template-columns: 0.95fr 1.25fr 0.9fr; gap: 14px; padding: 16px 24px 24px; flex: 1; overflow: hidden; min-height: 0; }
|
||||
|
||||
.comp-col { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
|
||||
.col-header { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 0 2px 4px; flex-shrink: 0; }
|
||||
.col-header { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 0 2px 4px; flex-shrink: 0; }
|
||||
|
||||
.source-item { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
|
||||
.source-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||||
.source-std { font-size: 13px; font-weight: 700; font-family: var(--font-display); }
|
||||
.source-helper { font-size: 11px; color: var(--muted); }
|
||||
.source-std { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
|
||||
.source-helper { font-size: 12px; color: var(--muted); }
|
||||
.source-scores { display: flex; gap: 5px; flex-wrap: wrap; }
|
||||
.score-pill { font-size: 10px; font-family: var(--font-mono); padding: 2px 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--muted); }
|
||||
.score-pill { font-size: 11px; font-family: var(--font-mono); padding: 2px 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--muted); }
|
||||
|
||||
.para-card { flex-shrink: 0; }
|
||||
.para-text { font-size: 13px; line-height: 1.7; color: var(--fg); }
|
||||
.para-text { font-size: 14px; line-height: 1.7; color: var(--fg); }
|
||||
.para-text mark { background: rgba(226,0,116,.15); color: var(--accent); padding: 0 2px; border-radius: 2px; }
|
||||
|
||||
.stages-card { flex-shrink: 0; }
|
||||
.stage-row { padding: 8px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
|
||||
.stage-label-row { display: flex; justify-content: space-between; align-items: center; }
|
||||
.stage-label { font-size: 12px; }
|
||||
.stage-pct { font-size: 11px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.stage-label { font-size: 13px; }
|
||||
.stage-pct { font-size: 12px; font-family: var(--font-mono); color: var(--muted); }
|
||||
.stage-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
|
||||
.stage-fill { height: 100%; border-radius: 2px; }
|
||||
.stage-fill.stage-ok { background: var(--success); }
|
||||
@@ -540,13 +553,13 @@ body {
|
||||
|
||||
.finding-item { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
|
||||
.finding-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
|
||||
.finding-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
|
||||
.finding-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
|
||||
.finding-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
|
||||
.finding-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
|
||||
|
||||
.conclusion-box { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
|
||||
.conclusion-text { font-size: 12px; line-height: 1.6; color: var(--fg); }
|
||||
.conclusion-text { font-size: 13px; line-height: 1.6; color: var(--fg); }
|
||||
.action-items { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
|
||||
.action-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
|
||||
.action-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
|
||||
.action-label { color: var(--muted); }
|
||||
.action-value { font-weight: 600; }
|
||||
.risk-text { color: var(--danger); }
|
||||
@@ -559,9 +572,9 @@ body {
|
||||
.history-header, .quick-header { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 10px 16px 6px; }
|
||||
.history-item { padding: 8px 16px; cursor: pointer; border-radius: 0; transition: background 0.1s; }
|
||||
.history-item:hover { background: var(--bg); }
|
||||
.history-title { font-size: 12px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.history-date { font-size: 10px; font-family: var(--font-mono); color: var(--muted); margin-top: 2px; }
|
||||
.quick-item { background: none; border: none; text-align: left; padding: 8px 16px; font-size: 12px; color: var(--muted); cursor: pointer; line-height: 1.4; transition: color 0.1s, background 0.1s; }
|
||||
.history-title { font-size: 13px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.history-date { font-size: 11px; font-family: var(--font-mono); color: var(--muted); margin-top: 2px; }
|
||||
.quick-item { background: none; border: none; text-align: left; padding: 8px 16px; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.4; transition: color 0.1s, background 0.1s; }
|
||||
.quick-item:hover { color: var(--accent); background: var(--accent-dim); }
|
||||
|
||||
.chat-main { display: flex; flex-direction: column; overflow: hidden; }
|
||||
@@ -570,14 +583,14 @@ body {
|
||||
.msg-user { flex-direction: row-reverse; }
|
||||
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; background: var(--accent-dim); color: var(--accent); }
|
||||
.msg-avatar.user-av { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
|
||||
.msg-bubble { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.6; }
|
||||
.msg-bubble { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
|
||||
.msg-assistant .msg-bubble { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
|
||||
.msg-user .msg-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
|
||||
|
||||
.composer { padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
|
||||
.quick-chips { display: flex; gap: 6px; flex-wrap: wrap; }
|
||||
.composer-row { display: flex; gap: 8px; align-items: flex-end; }
|
||||
.composer-input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-size: 13px; font-family: var(--font-body); color: var(--fg); resize: none; outline: none; line-height: 1.5; }
|
||||
.composer-input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; font-family: var(--font-body); color: var(--fg); resize: none; outline: none; line-height: 1.5; }
|
||||
.composer-input:focus { border-color: var(--accent); }
|
||||
|
||||
.citation-rail { border-left: 1px solid var(--border); overflow-y: auto; padding: 14px 0; background: var(--surface); }
|
||||
@@ -586,9 +599,9 @@ body {
|
||||
.citation-item.highlighted { background: var(--accent-dim); border-left: 3px solid var(--accent); }
|
||||
.cit-score { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--success); width: 34px; flex-shrink: 0; padding-top: 1px; }
|
||||
.cit-index { font-size: 10px; font-weight: 700; font-family: var(--font-mono); color: var(--muted); width: 18px; flex-shrink: 0; padding-top: 2px; }
|
||||
.cit-name { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
|
||||
.cit-clause { font-size: 10px; font-family: var(--font-mono); color: var(--muted); margin-left: 5px; }
|
||||
.cit-snippet { font-size: 11px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
|
||||
.cit-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
|
||||
.cit-clause { font-size: 11px; font-family: var(--font-mono); color: var(--muted); margin-left: 5px; }
|
||||
.cit-snippet { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
|
||||
|
||||
/* Inline citation badge [N] in message text */
|
||||
.cite-ref {
|
||||
@@ -792,7 +805,7 @@ body {
|
||||
}
|
||||
.modal-tab {
|
||||
padding: 10px 18px;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
background: none;
|
||||
@@ -816,7 +829,7 @@ body {
|
||||
.domain-chip {
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 11px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
@@ -867,8 +880,8 @@ body {
|
||||
background: var(--accent);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.doc-select-name { font-size: 13px; font-weight: 500; flex: 1; }
|
||||
.doc-select-meta { font-size: 11px; color: var(--muted); }
|
||||
.doc-select-name { font-size: 14px; font-weight: 500; flex: 1; }
|
||||
.doc-select-meta { font-size: 12px; color: var(--muted); }
|
||||
|
||||
/* Stage running animation */
|
||||
@keyframes stage-pulse {
|
||||
@@ -945,8 +958,8 @@ body {
|
||||
color: var(--accent);
|
||||
opacity: 0.7;
|
||||
}
|
||||
.analysis-empty h3 { font-size: 15px; font-weight: 600; color: var(--fg); margin: 0; }
|
||||
.analysis-empty p { font-size: 13px; max-width: 280px; line-height: 1.6; margin: 0; }
|
||||
.analysis-empty h3 { font-size: 16px; font-weight: 600; color: var(--fg); margin: 0; }
|
||||
.analysis-empty p { font-size: 14px; max-width: 280px; line-height: 1.6; margin: 0; }
|
||||
|
||||
/* Highlight terms in paragraph */
|
||||
mark.comp-highlight {
|
||||
@@ -976,3 +989,122 @@ mark.comp-highlight {
|
||||
background: linear-gradient(to right, #22c55e 0%, #eab308 50%, #ef4444 100%);
|
||||
transition: width 0.6s ease;
|
||||
}
|
||||
|
||||
/* ── Login Page ─────────────────────────────────── */
|
||||
.login-page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.login-card {
|
||||
width: 100%;
|
||||
max-width: 380px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-card);
|
||||
padding: 36px 32px 28px;
|
||||
}
|
||||
|
||||
.login-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
.login-logo { width: 32px; height: 32px; object-fit: contain; }
|
||||
.login-brand-name { font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--fg); }
|
||||
.login-brand-sub { font-size: 11px; color: var(--muted); }
|
||||
|
||||
.login-title {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-display);
|
||||
margin-bottom: 20px;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.login-form { display: flex; flex-direction: column; gap: 16px; }
|
||||
|
||||
.login-field { display: flex; flex-direction: column; gap: 5px; }
|
||||
.login-label { font-size: 12px; font-weight: 600; color: var(--fg); }
|
||||
|
||||
.login-input {
|
||||
height: 38px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 13px;
|
||||
outline: none;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
.login-input:focus { border-color: var(--accent); }
|
||||
.login-input:disabled { opacity: 0.6; }
|
||||
|
||||
.login-error {
|
||||
font-size: 12px;
|
||||
color: var(--danger);
|
||||
background: var(--danger-bg);
|
||||
border: 1px solid rgba(220,38,38,.2);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 8px 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
height: 40px;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.login-btn:hover:not(:disabled) { background: var(--accent-hover); }
|
||||
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }
|
||||
|
||||
.login-hint {
|
||||
margin-top: 16px;
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
}
|
||||
.login-hint code {
|
||||
font-family: var(--font-mono);
|
||||
background: var(--bg);
|
||||
padding: 1px 4px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
/* ── Sidebar user block (authenticated) ─────────── */
|
||||
.user-badge {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
background: var(--accent-dim);
|
||||
color: var(--accent);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.logout-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: var(--muted);
|
||||
padding: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: color 0.15s;
|
||||
}
|
||||
.logout-btn:hover { color: var(--danger); }
|
||||
|
||||
Reference in New Issue
Block a user