ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
// ============================================
// SETUP HEALTH — dashboard card
// Compact "how set-up is this panel" card: score + top open items, each
// deep-linking to its fix. Collapses to a slim "all set" line when clean.
// Sits above the board as a direct child of .dashboard-page (a flex column),
// so vertical rhythm comes from that container's gap — no margin here.
// ============================================
.setup-health-widget {
display: flex;
align-items: center;
gap: $space-3;
min-width: 0;
padding: $space-2 $space-2 $space-2 $space-3;
border: 1px solid var(--border-soft, #{$border-default});
border-radius: $radius-card;
background: var(--surface, #{$bg-card});
&__title {
color: $text-primary;
font-size: $text-sm;
font-weight: $font-weight-semibold;
white-space: nowrap;
}
&__score {
color: var(--amber);
font-size: $text-xs;
font-weight: $font-weight-semibold;
font-variant-numeric: tabular-nums;
}
&__icon {
flex: 0 0 auto;
color: var(--amber);
}
> progress {
width: 88px;
height: 4px;
overflow: hidden;
border: 0;
border-radius: $radius-full;
background: var(--surface-3);
appearance: none;
&::-webkit-progress-bar { background: var(--surface-3); }
&::-webkit-progress-value { background: var(--amber); }
&::-moz-progress-bar { background: var(--amber); }
}
&__summary,
&__muted {
overflow: hidden;
color: $text-tertiary;
font-size: $text-xs;
text-overflow: ellipsis;
white-space: nowrap;
}
&__spacer {
flex: 1;
}
&__dismiss {
display: grid;
width: $control-sm;
height: $control-sm;
flex: 0 0 auto;
place-items: center;
border: 0;
border-radius: $radius-control;
background: transparent;
color: $text-tertiary;
cursor: pointer;
@include focus-ring();
&:hover { color: $text-primary; background: $bg-hover; }
}
// Slim "all set" state — a single clickable line, not a dead card.
&--clean {
flex-direction: row;
align-items: center;
gap: $space-2;
cursor: pointer;
color: $success;
font-size: $text-sm;
font-weight: $font-weight-medium;
&:hover {
border-color: var(--border-default, #{$border-default});
}
}
&__cleanlabel {
flex: 1;
color: $text-secondary;
}
&--loading {
min-height: 46px; // geometry: reserves the loaded banner's height (no layout jump)
}
@media (max-width: $breakpoint-md) {
> progress,
&__summary { display: none; }
}
}
// Per-user "secure your account" nudge banner (dashboard top).
.account-security-nudge {
display: flex;
align-items: center;
gap: $space-3;
padding: $space-3 $space-4;
margin-bottom: $space-4;
border: 1px solid var(--warning-border, rgba(245, 179, 66, 0.35));
border-radius: var(--radius, #{$radius-card});
background: var(--warning-bg, rgba(245, 179, 66, 0.08));
&__icon {
color: $warning;
flex-shrink: 0;
}
&__body {
display: flex;
flex-direction: column;
gap: $space-hair;
flex: 1;
min-width: 0;
}
&__title {
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: $text-primary;
}
&__detail {
font-size: $text-xs;
color: $text-secondary;
}
&__close {
border: 0;
background: transparent;
color: $text-tertiary;
cursor: pointer;
padding: $space-1;
display: inline-flex;
&:hover { color: $text-primary; }
}
}