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
// ============================================
// API Key Scope Picker
// ============================================
.api-key-scopes {
display: flex;
flex-direction: column;
gap: $space-4;
}
// ─── Full-access master toggle ─────────────────────────
.api-key-scopes__master {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
padding: $space-3;
border: 1px solid $border-subtle;
border-radius: $radius-control;
background: $bg-secondary;
}
.api-key-scopes__master-label {
display: flex;
align-items: flex-start;
gap: $space-2;
color: $text-primary;
svg {
margin-top: $space-hair;
color: $color-primary;
flex-shrink: 0;
}
> div {
display: flex;
flex-direction: column;
}
}
.api-key-scopes__master-title {
font-weight: $font-weight-semibold;
font-size: $text-xs;
}
.api-key-scopes__master-desc {
font-size: $text-xs;
color: $text-secondary;
}
.api-key-scopes__loading {
font-size: $text-xs;
color: $text-secondary;
margin: 0;
}
// ─── Grouped scope checkboxes ──────────────────────────
.api-key-scopes__groups {
display: flex;
flex-direction: column;
gap: $space-4;
transition: opacity 0.15s ease;
&.is-disabled {
opacity: 0.5;
pointer-events: none;
}
}
.api-key-scopes__group {
display: flex;
flex-direction: column;
gap: $space-2;
}
.api-key-scopes__group-title {
margin: 0;
font-size: $text-xs;
color: $text-secondary;
font-weight: $font-weight-semibold;
}
.api-key-scopes__item {
display: flex;
align-items: flex-start;
gap: $space-2;
padding: $space-2;
border-radius: $radius-badge;
cursor: pointer;
&:hover {
background: $bg-secondary;
}
}
.api-key-scopes__item-text {
display: flex;
flex-direction: column;
gap: $space-hair;
min-width: 0;
}
.api-key-scopes__item-label {
font-size: $text-xs;
color: $text-primary;
font-weight: $font-weight-medium;
}
.api-key-scopes__item-key {
font-size: $text-xs;
color: $text-secondary;
font-family: $font-mono;
}
.api-key-scopes__item-desc {
font-size: $text-xs;
color: $text-secondary;
}
// ─── Scope pills in the key list ───────────────────────
.api-settings__scopes {
display: flex;
flex-wrap: wrap;
gap: $space-1;
max-width: 240px;
}