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
// Notifications history page (sk-notif-page).
.sk-notif-page {
max-width: 760px;
margin: 0 auto;
padding: $space-5 $space-6 $space-10;
&__filters {
display: inline-flex;
gap: $space-1;
margin-bottom: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
padding: $space-1;
button {
border: none;
background: none;
cursor: pointer;
padding: $space-tight $space-4;
border-radius: $radius-control;
font-size: $text-sm;
font-weight: $font-weight-medium;
color: $text-secondary;
&:hover { color: $text-primary; }
&.is-active {
@include status-variant($accent-primary, $accent-bg);
}
}
}
&__state {
display: flex;
flex-direction: column;
align-items: center;
gap: $space-3;
padding: $space-16 $space-5;
color: $text-secondary;
svg { opacity: 0.5; }
p { margin: 0; font-size: $text-base; }
}
&__list {
list-style: none;
margin: 0;
padding: 0;
border: 1px solid $border-subtle;
border-radius: $radius-overlay;
overflow: hidden;
background: $bg-card;
}
&__more {
display: flex;
justify-content: center;
margin-top: $space-4;
}
}
.sk-notif-row {
display: flex;
align-items: flex-start;
gap: $space-3;
padding: $space-4 $space-4;
cursor: pointer;
border-bottom: 1px solid $border-subtle;
&:last-child { border-bottom: none; }
&:hover { background: $bg-hover; }
&.is-unread { background: $accent-bg; }
&__dot {
flex: 0 0 auto;
width: 9px;
height: 9px;
margin-top: $space-tight;
border-radius: 50%;
}
&__body {
flex: 1;
min-width: 0;
}
&__title {
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
}
&__text {
margin-top: $space-hair;
font-size: $text-sm;
color: $text-secondary;
}
&__time {
flex: 0 0 auto;
font-size: $text-xs;
color: $text-secondary;
opacity: 0.8;
white-space: nowrap;
}
&__action {
margin-top: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $accent-primary;
}
&__dismiss {
flex: 0 0 auto;
align-self: flex-start;
padding: $space-hair;
border: none;
background: none;
border-radius: $radius-control;
cursor: pointer;
color: $text-secondary;
line-height: 0;
&:hover { background: $bg-hover; color: $text-primary; }
}
}
// Admin delivery log (sk-dlog).
.sk-dlog {
// The page shell supplies width and gutter, as on every list page.
&__filters {
display: flex;
gap: $space-4;
margin-bottom: $space-4;
label {
display: inline-flex;
align-items: center;
gap: $space-2;
font-size: $text-sm;
color: $text-secondary;
}
select {
background: $bg-card;
border: 1px solid $border-default;
border-radius: $radius-card;
color: $text-primary;
padding: $space-tight $space-3;
font-size: $text-sm;
text-transform: capitalize;
}
}
&__status {
display: inline-block;
padding: $space-hair $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
text-transform: capitalize;
&.is-sent { background: rgba(61, 220, 151, 0.15); color: #1f9d6b; }
&.is-pending { background: rgba(109, 124, 255, 0.15); color: #5560d6; }
&.is-failed { background: rgba(251, 111, 111, 0.15); color: #d2544f; }
&.is-skipped { background: rgba(154, 161, 178, 0.18); color: $text-secondary; }
}
&__target {
font-family: 'SFMono-Regular', ui-monospace, Consolas, monospace;
font-size: $text-xs;
color: $text-secondary;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__title { font-weight: $font-weight-semibold; }
&__error {
margin-top: $space-1;
font-size: $text-xs;
color: #d2544f;
max-width: 320px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__when {
color: $text-secondary;
white-space: nowrap;
}
}
// Email transport / provider management (sk-eprov).
.sk-eprov {
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-overlay;
padding: $space-4 $space-5;
margin-bottom: $space-5;
&__head {
display: flex;
align-items: baseline;
gap: $space-3;
margin-bottom: $space-3;
}
&__title {
display: inline-flex;
align-items: center;
gap: $space-2;
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
}
&__sub { font-size: $text-xs; color: $text-secondary; }
&__empty {
font-size: $text-sm;
color: $text-secondary;
padding: $space-tight 0 $space-3;
}
&__list {
list-style: none;
margin: 0 0 $space-3;
padding: 0;
}
&__item {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
padding: $space-3 0;
border-bottom: 1px solid $border-subtle;
&:last-child { border-bottom: none; }
}
&__meta {
display: flex;
flex-direction: column;
gap: $space-hair;
min-width: 0;
}
&__name {
display: inline-flex;
align-items: center;
gap: $space-2;
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: $text-primary;
}
&__badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
padding: 1px $space-2;
border-radius: $radius-full;
@include status-variant($accent-primary, $accent-bg);
}
&__type { font-size: $text-xs; color: $text-secondary; }
&__actions {
display: flex;
align-items: center;
gap: $space-1;
flex: 0 0 auto;
}
&__add {
display: flex;
flex-wrap: wrap;
gap: $space-2;
}
&__form {
border-top: 1px solid $border-subtle;
margin-top: $space-tight;
padding-top: $space-4;
}
&__form-title {
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: $text-primary;
margin-bottom: $space-3;
}
&__grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: $space-3;
}
&__field {
display: flex;
flex-direction: column;
gap: $space-tight;
}
&__check {
display: inline-flex;
align-items: center;
gap: $space-2;
font-size: $text-sm;
color: $text-secondary;
padding-top: $space-tight;
}
&__form-actions {
display: flex;
justify-content: flex-end;
gap: $space-2;
margin-top: $space-4;
}
}
@media (max-width: 720px) {
.sk-eprov__grid { grid-template-columns: 1fr; }
}
// ── Deep links + history filters ──
.sk-notif-page__chips {
display: flex;
flex-wrap: wrap;
gap: $space-4;
padding: 0 0 $space-3;
margin-bottom: $space-2;
border-bottom: 1px solid $border-subtle;
}
.sk-notif-chipset {
display: flex;
flex-wrap: wrap;
gap: $space-2;
}
.sk-notif-chip {
height: $control-sm;
padding: 0 $space-3;
font-size: $text-xs;
border: 1px solid $border-subtle;
border-radius: $radius-control;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
&:hover { background: $bg-hover; color: $text-primary; }
&.is-active {
border-color: $accent-primary;
background: $accent-glow;
color: $accent-primary;
}
}
.sk-notif-row.is-linked { cursor: pointer; }
.sk-notif-row__action {
margin-top: $space-1;
font-size: $text-xs;
color: $accent-primary;
font-weight: $font-weight-medium;
}
.sk-notif__cta { color: $accent-primary; }