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
.empty-state {
background: $bg-card;
border-radius: $radius-card;
border: 1px solid $border-subtle;
color: $text-secondary;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: $spacing-xl * 2;
text-align: center;
min-height: 200px;
> svg,
&__icon svg {
color: $text-tertiary;
margin-bottom: $space-4;
}
h3 {
font-size: $text-md;
font-weight: $font-weight-semibold;
margin-bottom: $space-2;
}
p {
color: $text-secondary;
margin-bottom: $space-6;
}
// When nested inside a card, drop the card-in-card double background.
.card &,
.settings-card &,
.card-body & {
background: transparent;
border: none;
border-radius: 0;
padding: $space-10 $space-5;
}
&__icon {
color: $text-tertiary;
margin-bottom: $spacing-md;
opacity: 0.5;
}
&__title {
font-size: $text-lg;
font-weight: $font-weight-semibold;
color: $text-secondary;
margin: 0 0 $spacing-sm;
}
&__description {
font-size: $text-sm;
color: $text-tertiary;
max-width: 400px;
margin: 0 0 $spacing-md;
}
&__action {
margin-top: $spacing-sm;
}
// Stacked primary action + a subtle secondary cross-link (e.g. "Import them")
&__actions {
display: flex;
flex-direction: column;
align-items: center;
gap: $spacing-sm;
margin-top: $spacing-sm;
}
&__link {
background: none;
border: none;
padding: 0;
cursor: pointer;
font-size: $text-xs;
color: $text-tertiary;
text-decoration: underline;
text-underline-offset: 2px;
&:hover {
color: $primary-color;
}
}
// Large variant — for full-page "not installed" / "unavailable" states
&--lg {
padding: $space-16 $space-8;
min-height: 400px;
.empty-state__icon {
opacity: 0.4;
margin-bottom: $space-6;
}
.empty-state__title {
font-size: $text-xl;
}
.empty-state__description {
font-size: $text-base;
max-width: 480px;
margin-bottom: $space-6;
}
.empty-state__action {
margin-top: $space-4;
}
}
// Spinner inside empty state (loading variant)
.spinner {
margin-bottom: $spacing-md;
}
}
// Effective global overrides (moved verbatim from pages/_email.scss, where a
// legacy unscoped `.empty-state` block used to win the cascade app-wide).
// The page-partial copies this used to fight are gone: _security.scss's copy
// was deleted (security tabs now use the <EmptyState> component) and
// _servers.scss's copy is scoped under `.servers-page`. The `html` prefix
// stays as defense-in-depth so no future unscoped copy can re-widen the
// padding or restore `<p>` bottom margins app-wide.
html .empty-state {
padding: $space-8;
color: $text-secondary;
p {
margin: 0;
}
}