Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 25 additions & 10 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@
--text-secondary: #94a3b8;
--border: #334155;
--verified: #10b981;
--risk-critical: #dc2626;
--risk-high: #f59e0b;
--risk-medium: #eab308;
--risk-low: #84cc16;
/* Hover states derived from base colors */
--hover-overlay: rgba(255, 255, 255, 0.05);
/* 8px-based spacing scale */
--spacing-1: 4px;
--spacing-2: 8px;
--spacing-3: 12px;
--spacing-4: 16px;
--spacing-5: 20px;
--spacing-6: 24px;
--spacing-8: 32px;
--spacing-10: 40px;
}

body {
Expand Down Expand Up @@ -132,7 +147,7 @@
background: var(--primary);
color: white;
border: none;
padding: 10px 20px;
padding: 12px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
Expand Down Expand Up @@ -272,7 +287,7 @@
.legal-ref {
background: rgba(8, 145, 178, 0.15);
color: var(--primary);
padding: 4px 10px;
padding: 4px 12px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
Expand Down Expand Up @@ -306,7 +321,7 @@
}

.badge {
padding: 4px 10px;
padding: 4px 12px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
Expand Down Expand Up @@ -342,7 +357,7 @@
code {
font-family: 'Courier New', monospace;
background: rgba(0,0,0,0.3);
padding: 2px 6px;
padding: 4px 8px;
border-radius: 3px;
font-size: 12px;
}
Expand Down Expand Up @@ -475,7 +490,7 @@
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--border);
border-radius: 6px;
padding: 10px 12px;
padding: 12px;
color: var(--text-primary);
font-size: 14px;
}
Expand Down Expand Up @@ -800,7 +815,7 @@
}

.attestation-content li {
margin: 6px 0;
margin: 8px 0;
}

.attestation-signature-block {
Expand Down Expand Up @@ -1750,10 +1765,10 @@ <h2 class="modal-title">Generate Compliance Audit Packet</h2>
<input type="date" class="form-input" id="dateTo" placeholder="To date">
</div>
<div style="margin-top: 8px;">
<button class="btn-secondary" onclick="setQuickRange('24h')" style="margin-right: 8px; padding: 6px 12px; border-radius: 4px; font-size: 12px;">Last 24h</button>
<button class="btn-secondary" onclick="setQuickRange('7d')" style="margin-right: 8px; padding: 6px 12px; border-radius: 4px; font-size: 12px;">Last 7d</button>
<button class="btn-secondary" onclick="setQuickRange('30d')" style="margin-right: 8px; padding: 6px 12px; border-radius: 4px; font-size: 12px;">Last 30d</button>
<button class="btn-secondary" onclick="setQuickRange('all')" style="padding: 6px 12px; border-radius: 4px; font-size: 12px;">All Time</button>
<button class="btn-secondary" onclick="setQuickRange('24h')" style="margin-right: 8px; padding: 8px 12px; border-radius: 4px; font-size: 12px;">Last 24h</button>
<button class="btn-secondary" onclick="setQuickRange('7d')" style="margin-right: 8px; padding: 8px 12px; border-radius: 4px; font-size: 12px;">Last 7d</button>
<button class="btn-secondary" onclick="setQuickRange('30d')" style="margin-right: 8px; padding: 8px 12px; border-radius: 4px; font-size: 12px;">Last 30d</button>
<button class="btn-secondary" onclick="setQuickRange('all')" style="padding: 8px 12px; border-radius: 4px; font-size: 12px;">All Time</button>
</div>
</div>

Expand Down
21 changes: 16 additions & 5 deletions governance_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,25 @@
--danger: #dc2626;
--bg-dark: #0f172a;
--bg-card: #1e293b;
--bg-card-hover: #2d3b52;
--text-primary: #f1f5f9;
--text-secondary: #94a3b8;
--border: #334155;
--verified: #10b981;
--risk-critical: #dc2626;
--risk-high: #f59e0b;
--risk-medium: #eab308;
--risk-low: #84cc16;
/* Hover states derived from base colors */
--hover-overlay: rgba(255, 255, 255, 0.05);
/* 8px-based spacing scale */
--spacing-1: 4px;
--spacing-2: 8px;
--spacing-3: 12px;
--spacing-4: 16px;
--spacing-5: 20px;
--spacing-6: 24px;
--spacing-8: 32px;
--spacing-10: 40px;
}

body {
Expand Down Expand Up @@ -212,7 +223,7 @@
}

.risk-card:hover {
background: var(--bg-card-hover);
background: var(--hover-overlay);
border-color: var(--primary);
}

Expand Down Expand Up @@ -319,7 +330,7 @@
}

.escalation-card:hover {
background: var(--bg-card-hover);
background: var(--hover-overlay);
}

.escalation-header {
Expand Down Expand Up @@ -397,7 +408,7 @@
}

.override-card:hover {
background: var(--bg-card-hover);
background: var(--hover-overlay);
}

.override-header {
Expand Down Expand Up @@ -445,7 +456,7 @@
}

.evidence-card:hover {
background: var(--bg-card-hover);
background: var(--hover-overlay);
}

.evidence-header {
Expand Down
Loading