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
// ============================================
// TABLE COMPONENT
// ============================================
.table {
width: 100%;
border-collapse: collapse;
font-size: $text-xs;
// Header 32, rows min 40 (height on a cell is a minimum), cell padding
// $space-3 with $space-4 at the outer edges.
thead {
th {
height: $control-md;
padding: 0 $space-3;
text-align: left;
font-weight: $font-weight-semibold;
font-size: $text-xs;
color: $text-tertiary;
border-bottom: 1px solid $border-default;
white-space: nowrap;
&:first-child { padding-inline-start: $space-4; }
&:last-child { padding-inline-end: $space-4; }
}
}
tbody {
tr {
border-bottom: 1px solid $border-subtle;
@include transition(background);
&:hover {
background: $bg-hover;
}
&:last-child {
border-bottom: none;
}
}
td:first-child { padding-inline-start: $space-4; }
td:last-child { padding-inline-end: $space-4; }
td {
height: $control-lg;
padding: $space-2 $space-3;
color: $text-primary;
vertical-align: middle;
code {
font-family: $font-mono;
font-size: $text-xs;
background: $bg-elevated;
padding: $space-1 $space-2;
border-radius: $radius-badge;
color: $text-secondary;
}
}
}
}
// `.data-table` is only ever a DataTable tableClassName now: the table is
// .sk-dtable, so only the legacy cell-content helpers stay here.
.data-table {
.container-name {
display: block;
color: $text-primary;
font-weight: $font-weight-medium;
}
.container-id {
display: block;
font-family: $font-mono;
font-size: $text-xs;
color: $text-tertiary;
}
.mono {
font-family: $font-mono;
font-size: $text-xs;
}
}