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
// ============================================
// FTP SERVER PAGE (redesign — Files group, see docs/REDESIGN_MAP.md #7):
// MetricCard KPI strip + dense .sk-dtable user/connection tables on flat
// surface cards, each under the shared GridViewPicker chrome row.
// ============================================
.ftp-server {
// ─── KPI strip (status / active server / users / connections) ───
// The grid lives in the <KpiBand> primitive now; re-declaring it here is how
// the rule got lost in a rebuild and left the tiles stacked full-width.
.sk-kpiband-wrap { margin-bottom: $space-5; }
// ─── Overview: config + connection-info cards ───────
.overview-tab {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-4;
@media (max-width: 900px) { grid-template-columns: 1fr; }
.config-section,
.info-section {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
padding: $space-4 $space-5;
h3 {
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
}
.info-list {
gap: 0;
}
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: $space-4;
padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
font-size: $text-sm;
&:first-child { padding-top: 0; }
&:last-child { border-bottom: none; padding-bottom: 0; }
.info-label {
color: var(--text-dim);
}
.info-value {
font-size: $text-sm;
font-weight: $font-weight-medium;
color: var(--text);
&.success { color: var(--green); }
&.warning { color: var(--amber); }
}
}
}
// ─── Users + Connections: cell content only (the frame is .sk-dtable-wrap) ───
.users-table,
.connections-table {
.sk-dtable {
.user-name {
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: var(--text);
margin-right: $space-2;
}
// Paths/addresses render flat mono, not chip-styled <code>
code {
font: inherit;
color: inherit;
background: none;
border: none;
padding: 0;
overflow-wrap: anywhere;
}
code + [data-slot='badge'] { margin-left: $space-2; }
.actions {
display: flex;
align-items: center;
gap: $space-1;
}
}
}
// ─── Logs ───────────────────────────────────────────
.logs-tab .log-viewer {
background: var(--bg-code);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
padding: $space-4;
max-height: 500px;
overflow: auto;
pre {
margin: 0;
font-family: var(--mono);
font-size: $text-xs;
line-height: 1.6;
white-space: pre-wrap;
word-break: break-all;
color: var(--text-dim);
}
}
// ─── Install modal info box ─────────────────────────
.install-info {
padding: $space-4;
background: var(--surface-2);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
margin-top: $space-4;
p {
margin: 0;
font-size: $text-sm;
line-height: 1.6;
color: $text-secondary;
strong {
color: var(--accent-bright);
font-weight: $font-weight-semibold;
}
}
}
}