Files
cloud-ip-validator/internal/dashboard/static/dashboard.css
T

106 lines
2.0 KiB
CSS
Raw Normal View History

2026-08-23 21:15:31 +03:00
/* Compact-density overrides on top of Bootstrap 5 (vendor/bootstrap.min.css)
— Bootstrap's own *-sm utilities (table-sm, btn-sm, form-control-sm) do
most of the work in the templates themselves; this file only adds what
Bootstrap doesn't ship: a "cancelled" badge color, and a few global
density knobs (smaller base font, tighter heading/section spacing) so
more of the queue/config tables fit on screen without scrolling. */
2026-08-23 20:39:22 +03:00
2026-08-23 21:15:31 +03:00
body {
font-size: 0.875rem;
2026-08-23 20:39:22 +03:00
}
2026-08-23 21:15:31 +03:00
h1 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
2026-08-23 20:39:22 +03:00
}
2026-08-23 21:15:31 +03:00
h2 {
font-size: 1.05rem;
margin-top: 1.25rem;
margin-bottom: 0.5rem;
2026-08-23 20:39:22 +03:00
}
2026-08-23 21:15:31 +03:00
.navbar {
padding-top: 0.35rem;
padding-bottom: 0.35rem;
2026-08-23 20:39:22 +03:00
font-size: 0.9rem;
}
2026-08-23 21:15:31 +03:00
.navbar-brand {
font-size: 1rem;
font-weight: 600;
}
.nav-link {
padding-top: 0.25rem !important;
padding-bottom: 0.25rem !important;
}
2026-08-23 20:39:22 +03:00
2026-08-23 21:15:31 +03:00
/* Bootstrap ships pass/fail-adjacent colors (success/warning/danger) but
nothing for "administrator explicitly stopped this" — give cancelled
its own recognizable hue rather than overloading danger/secondary. */
.bg-cancelled {
background-color: #6d28d9 !important;
}
2026-08-23 20:39:22 +03:00
2026-08-23 21:15:31 +03:00
.badge {
font-weight: 600;
font-size: 0.75em;
}
2026-08-23 20:39:22 +03:00
2026-08-23 21:15:31 +03:00
.stat-card {
padding: 0.5rem 0.75rem;
}
.stat-card .value {
display: block;
font-size: 1.35rem;
font-weight: 700;
line-height: 1.2;
}
.stat-card .label {
display: block;
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 0.03em;
opacity: 0.65;
}
2026-08-23 20:39:22 +03:00
2026-08-23 21:15:31 +03:00
.table > :not(caption) > * > * {
padding-top: 0.35rem;
padding-bottom: 0.35rem;
}
.actions-cell {
white-space: nowrap;
}
.actions-cell .btn {
margin-right: 0.25rem;
}
.actions-cell .btn:last-child {
margin-right: 0;
}
.muted {
color: var(--bs-secondary-color);
font-size: 0.82rem;
}
.inline-form {
display: flex;
gap: 0.4rem;
align-items: center;
}
.inline-form .form-control,
.inline-form textarea.form-control {
margin: 0;
}
#error-banner:empty {
display: none;
}
#error-banner .alert {
padding: 0.5rem 0.9rem;
margin-bottom: 1rem;
font-size: 0.85rem;
}
main {
padding-bottom: 3rem;
}