Files
certctl/web/src/index.css
T
shankar0123 50c520e1ff feat: dashboard theme overhaul — light content area with branded teal sidebar
Complete frontend visual redesign using certctl logo color palette:
- Deep teal sidebar (#0c2e25) with prominent centered logo (64px in white pill)
- Light content area (#f0f4f8) with white cards and visible borders
- Brand colors from logo: teal (#2ea88f), blue (#3b7dd8), orange (#e8873a), green (#4ebe6e)
- Inter + JetBrains Mono typography, colored stat card top borders
- All 17 pages + 7 components updated (25 files, ~700 lines changed)
- 15 new dashboard screenshots replacing old dark theme screenshots
- Prometheus metrics e2e test added, integration test mock fixes
- Docs updated: architecture.md theme description, testing-guide.md DNS-PERSIST-01 coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 23:27:42 -04:00

54 lines
1.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply bg-page text-ink antialiased;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
}
@layer components {
/* Badges */
.badge {
@apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-semibold tracking-wide;
}
.badge-success { @apply bg-emerald-100 text-emerald-700; }
.badge-warning { @apply bg-amber-100 text-amber-700; }
.badge-danger { @apply bg-red-100 text-red-700; }
.badge-info { @apply bg-brand-100 text-brand-700; }
.badge-neutral { @apply bg-slate-100 text-slate-600; }
/* Cards */
.card {
@apply bg-surface border border-surface-border rounded-md shadow-sm;
}
/* Buttons */
.btn {
@apply inline-flex items-center justify-center gap-2 px-4 py-2 rounded text-sm font-semibold transition-all duration-150;
}
.btn-primary { @apply bg-brand-500 hover:bg-brand-600 text-white shadow-sm; }
.btn-danger { @apply bg-red-500 hover:bg-red-600 text-white shadow-sm; }
.btn-ghost { @apply text-ink-muted hover:text-ink hover:bg-surface-muted; }
.btn-outline { @apply border border-surface-border text-ink-muted hover:text-ink hover:bg-surface-muted; }
/* Form inputs */
.input {
@apply bg-white border border-surface-border rounded px-3 py-2 text-sm text-ink placeholder:text-ink-faint focus:border-brand-500 focus:ring-2 focus:ring-brand-500/20 outline-none transition-colors;
}
/* Monospace data values */
.mono {
@apply font-mono text-xs;
}
/* Stat cards with colored top borders */
.stat-card {
@apply bg-surface border border-surface-border rounded-md shadow-sm p-5 border-t-4;
}
}