add
This commit is contained in:
@@ -324,6 +324,7 @@ body {
|
||||
.page-footer { padding: 12px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); background: var(--surface); flex-shrink: 0; }
|
||||
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px var(--success-bg); animation: pulse 2s ease-in-out infinite; }
|
||||
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
|
||||
@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; }
|
||||
@@ -473,7 +474,7 @@ body {
|
||||
.docs-table { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
|
||||
.table-header {
|
||||
display: grid;
|
||||
grid-template-columns: 28px 1.4fr 0.8fr 0.85fr 0.85fr 0.75fr 0.75fr;
|
||||
grid-template-columns: 28px 1fr 90px 100px 70px 100px 90px 120px;
|
||||
gap: 12px;
|
||||
padding: 10px 14px;
|
||||
background: var(--bg);
|
||||
@@ -483,17 +484,18 @@ body {
|
||||
}
|
||||
.table-row {
|
||||
display: grid;
|
||||
grid-template-columns: 28px 1.4fr 0.8fr 0.85fr 0.85fr 0.75fr 0.75fr;
|
||||
grid-template-columns: 28px 1fr 90px 100px 70px 100px 90px 120px;
|
||||
gap: 12px;
|
||||
padding: 11px 14px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-size: 13px;
|
||||
align-items: center;
|
||||
transition: background 0.1s;
|
||||
transition: background 0.1s, opacity 0.3s;
|
||||
}
|
||||
.table-row:last-child { border-bottom: none; }
|
||||
.table-row:hover { background: var(--bg); }
|
||||
.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); }
|
||||
@@ -776,3 +778,201 @@ body {
|
||||
}
|
||||
.summary-card-sm strong { font-size: 13px; font-family: var(--font-mono); }
|
||||
.summary-card-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
|
||||
|
||||
/* ═══════════════════════════════════════════════
|
||||
COMPLIANCE ANALYSIS — NEW ANALYSIS FEATURE
|
||||
═══════════════════════════════════════════════ */
|
||||
|
||||
/* Modal tabs */
|
||||
.modal-tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.modal-tab {
|
||||
padding: 10px 18px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
border-bottom: 2px solid transparent;
|
||||
margin-bottom: -1px;
|
||||
transition: color 0.12s, border-color 0.12s;
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
.modal-tab:hover { color: var(--fg); }
|
||||
.modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
|
||||
/* Domain chips */
|
||||
.domain-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.domain-chip {
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
transition: all 0.12s;
|
||||
}
|
||||
.domain-chip.selected {
|
||||
background: rgba(226,0,116,.12);
|
||||
border-color: rgba(226,0,116,.5);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* Doc select list */
|
||||
.doc-select-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.doc-select-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.12s, background 0.12s;
|
||||
}
|
||||
.doc-select-item:hover { border-color: rgba(226,0,116,.4); }
|
||||
.doc-select-item.selected {
|
||||
border-color: var(--accent);
|
||||
background: rgba(226,0,116,.06);
|
||||
}
|
||||
.doc-select-check {
|
||||
width: 16px; height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--border);
|
||||
flex-shrink: 0;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: all 0.12s;
|
||||
}
|
||||
.doc-select-item.selected .doc-select-check {
|
||||
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); }
|
||||
|
||||
/* Stage running animation */
|
||||
@keyframes stage-pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.4; }
|
||||
}
|
||||
.stage-running .stage-fill {
|
||||
animation: stage-pulse 1.2s ease-in-out infinite;
|
||||
}
|
||||
.stage-fill.stage-running {
|
||||
background: var(--accent);
|
||||
animation: stage-pulse 1.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Compliance status bar */
|
||||
.compliance-status-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 16px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
margin-bottom: 16px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.compliance-status-bar .status-dot {
|
||||
width: 8px; height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--muted);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.compliance-status-bar.streaming .status-dot {
|
||||
background: var(--accent);
|
||||
animation: stage-pulse 1s ease-in-out infinite;
|
||||
}
|
||||
.compliance-status-bar.done .status-dot { background: var(--ok); }
|
||||
.compliance-status-bar.error .status-dot { background: var(--danger); }
|
||||
.status-bar-label { color: var(--fg); font-weight: 500; }
|
||||
.status-bar-sub { color: var(--muted); margin-left: 4px; }
|
||||
|
||||
/* Risk score badge */
|
||||
.risk-score-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 42px; height: 42px;
|
||||
border-radius: 50%;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-mono);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.risk-score-badge.low { background: rgba(34,197,94,.15); color: #22c55e; }
|
||||
.risk-score-badge.med { background: rgba(234,179,8,.15); color: #eab308; }
|
||||
.risk-score-badge.high { background: rgba(239,68,68,.15); color: #ef4444; }
|
||||
|
||||
/* Analysis empty state */
|
||||
.analysis-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 14px;
|
||||
padding: 60px 24px;
|
||||
text-align: center;
|
||||
color: var(--muted);
|
||||
}
|
||||
.analysis-empty-icon {
|
||||
width: 56px; height: 56px;
|
||||
border-radius: 16px;
|
||||
border: 1px dashed rgba(226,0,116,.4);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
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; }
|
||||
|
||||
/* Highlight terms in paragraph */
|
||||
mark.comp-highlight {
|
||||
background: rgba(226,0,116,.18);
|
||||
color: inherit;
|
||||
border-radius: 2px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
/* Conclusion box enhancements */
|
||||
.risk-meter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
.risk-bar-track {
|
||||
flex: 1;
|
||||
height: 6px;
|
||||
background: var(--border);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.risk-bar-fill {
|
||||
height: 100%;
|
||||
border-radius: 3px;
|
||||
background: linear-gradient(to right, #22c55e 0%, #eab308 50%, #ef4444 100%);
|
||||
transition: width 0.6s ease;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user