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
// Survey tab — the read-only Server Map on server detail.
.survey-tab {
display: flex;
flex-direction: column;
gap: $space-5;
// The toolbar row is the shared ListToolbar (.sk-listhead).
&__toolbar-info {
display: flex;
align-items: center;
gap: $space-3;
flex-wrap: wrap;
}
&__toolbar-actions {
display: flex;
gap: $space-2;
}
&__muted {
color: $text-tertiary;
font-size: $text-xs;
}
&__mono {
font-family: $font-mono;
font-size: $text-xs;
}
&__section {
display: flex;
flex-direction: column;
gap: $space-3;
}
&__section-title {
display: flex;
align-items: center;
gap: $space-2;
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-secondary;
}
&__count {
margin-left: auto;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-tertiary;
text-transform: none;
letter-spacing: 0;
}
&__site-action {
text-align: right;
white-space: nowrap;
}
&__migrated {
display: inline-flex;
align-items: center;
gap: $space-1;
font-size: $text-xs;
color: $success;
svg { color: $success; }
}
// Services — small chips grid
&__services {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: $space-2;
}
&__service {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-control;
svg { color: $text-tertiary; flex-shrink: 0; }
}
&__service-name {
font-weight: $font-weight-medium;
margin-right: auto;
}
&__service-ports {
font-family: $font-mono;
font-size: $text-xs;
color: $text-tertiary;
}
&__list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: $space-1;
li {
padding: $space-1 0;
font-size: $text-xs;
}
}
// Diff summary
&__diff {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: $space-2;
li { display: flex; gap: $space-1; }
}
// Probe index ("what we check")
&__catalog {
padding: $space-4;
background: $bg-secondary;
border: 1px solid $border-subtle;
border-radius: $radius-card;
}
&__catalog-list {
list-style: none;
margin: $space-3 0 0;
padding: 0;
display: flex;
flex-direction: column;
gap: $space-3;
li { font-size: $text-xs; }
}
&__catalog-locs {
display: flex;
flex-wrap: wrap;
gap: $space-1;
margin-top: $space-1;
code {
font-family: $font-mono;
font-size: $text-xs;
padding: 1px $space-tight;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-badge;
color: $text-tertiary;
}
}
.spin { animation: spin 1s linear infinite; }
// Decommission checklist — shown once all surveyed sites are migrated.
&__decommission {
padding: $space-4;
background: rgba($success-raw, 0.06);
border: 1px solid rgba($success-raw, 0.3);
border-radius: $radius-card;
.survey-tab__section-title { color: $success; }
.survey-tab__section-title svg { color: $success; }
}
&__checklist {
margin: $space-3 0 0;
padding-left: $space-5;
display: flex;
flex-direction: column;
gap: $space-2;
li {
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
}
strong { color: $text-primary; }
}
// "This box looks like it's run by another panel — switch to Observed"
&__suggest {
display: flex;
align-items: flex-start;
gap: $space-3;
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
border-radius: $radius-card;
> svg { color: $warning; flex-shrink: 0; margin-top: 2px; }
button { flex-shrink: 0; }
}
&__suggest-body {
flex: 1;
strong { display: block; margin-bottom: 2px; }
p {
margin: 0;
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
}
}
// Observed-mode panel: break-glass toggle + blocked-command counter (#10/#11).
&__observed {
margin-bottom: $space-4;
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
border-radius: $radius-card;
p { margin: $space-2 0; }
}
&__observed-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
}
&__observed-toggle {
display: flex;
align-items: flex-start;
gap: $space-2;
font-size: $text-xs;
color: $text-primary;
cursor: pointer;
input { margin-top: 3px; flex-shrink: 0; }
code {
padding: 1px $space-1;
border-radius: $radius-badge;
background: rgba(0, 0, 0, 0.06);
}
}
}
// Observed read-only banner on the server detail page.
.server-observed-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-4;
margin-bottom: $space-4;
padding: $space-3 $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
border-radius: $radius-card;
&__text {
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
strong { color: $warning; }
}
a { flex-shrink: 0; }
}
// Observed-mode chip on the server list rows.
.server-row__mode-chip {
align-items: center;
height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
margin-left: $space-2;
padding: 0 $space-tight;
font-size: $text-xs;
font-weight: $font-weight-medium;
@include status-variant($warning, $warning-bg);
border: 1px solid $warning-border;
border-radius: $radius-badge;
vertical-align: middle;
}