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
// ============================================
// DNS CUTOVER (reversible per-domain repoint)
// Slide-over launched from /domains and the Import wizard. Mirrors the
// import-wizard idiom (stepper + callouts + compact tables).
// ============================================
.cutover {
display: flex;
flex-direction: column;
gap: $space-5;
h3 {
display: flex;
align-items: center;
gap: $space-2;
margin: 0 0 $space-3;
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
}
// --------------------------------------------
// Stepper
// --------------------------------------------
&__stepper {
display: flex;
align-items: center;
gap: $space-2;
margin: 0;
padding: 0;
list-style: none;
}
&__step {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
border-radius: $radius-full;
font-size: $text-xs;
color: $text-tertiary;
white-space: nowrap;
&.is-active {
@include status-variant($text-primary, $accent-bg);
.cutover__step-dot {
background: $accent-primary;
border-color: $accent-primary;
color: #fff;
}
}
&.is-done {
color: $text-secondary;
.cutover__step-dot {
color: $success;
border-color: $success-border;
}
}
& + &::before {
content: '';
width: 16px;
height: 1px;
margin-right: $space-2;
background: $border-default;
}
}
&__step-dot {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px; // geometry: stepper dot
border: 1px solid $border-default;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
flex-shrink: 0;
}
// --------------------------------------------
// Stage body
// --------------------------------------------
&__stage {
display: flex;
flex-direction: column;
gap: $space-4;
}
&__lead {
margin: 0;
font-size: $text-xs;
line-height: 1.6;
color: $text-secondary;
code {
font-family: $font-mono;
font-size: $text-xs;
padding: 1px $space-tight;
background: $bg-secondary;
border-radius: $radius-badge;
}
}
&__muted {
margin: 0;
color: $text-tertiary;
font-size: $text-xs;
}
&__field {
display: flex;
flex-direction: column;
gap: $space-2;
}
&__hint {
font-size: $text-xs;
color: $text-tertiary;
&--warn {
color: $warning;
}
}
&__types {
display: flex;
gap: $space-3;
flex-wrap: wrap;
}
&__type {
display: inline-flex;
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
font-size: $text-xs;
color: $text-primary;
cursor: pointer;
}
&__actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: $space-3;
margin-top: $space-2;
}
// --------------------------------------------
// Review summary
// --------------------------------------------
&__summary {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: $space-3;
}
&__stat {
display: flex;
flex-direction: column;
gap: $space-hair;
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
}
&__stat-val {
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
word-break: break-word;
}
&__stat-label {
font-size: $text-xs;
color: $text-tertiary;
}
// --------------------------------------------
// Tables (ops diff + resolver rows)
// --------------------------------------------
&__table-wrap {
margin-bottom: $space-3;
}
&__verify-head {
display: flex;
gap: $space-2;
margin-bottom: $space-3;
flex-wrap: wrap;
}
&__section--revert {
padding-top: $space-4;
border-top: 1px solid $border-subtle;
}
// --------------------------------------------
// Callouts
// --------------------------------------------
&__callout {
display: flex;
gap: $space-3;
padding: $space-3 $space-4;
border-radius: $radius-control;
font-size: $text-xs;
svg {
flex-shrink: 0;
margin-top: $space-hair;
}
p {
margin: 0;
code {
font-family: $font-mono;
font-size: $text-xs;
padding: 1px $space-tight;
background: $bg-secondary;
border-radius: $radius-badge;
}
}
&--info {
background: $accent-bg;
border: 1px solid $accent-primary;
color: $text-secondary;
svg { color: $accent-primary; }
}
&--warning {
background: $warning-bg;
border: 1px solid $warning-border;
color: $warning;
p { color: $text-secondary; }
}
&--danger {
background: $danger-bg;
border: 1px solid $danger-border;
color: $danger;
p { color: $text-secondary; }
}
&--success {
background: $success-bg;
border: 1px solid $success-border;
color: $success;
p { color: $text-secondary; }
}
}
}