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
// ============================================
// DEPLOY TAB STYLES
// ============================================
// Deploy Tab Container
.deploy-tab {
@include flex-column-gap($space-5);
.deploy-setup {
padding: $space-8 0;
}
.deploy-header {
margin-bottom: 0;
}
.deploy-status-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-4;
padding: $space-4 $space-5;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
@media (max-width: $breakpoint-md) {
flex-direction: column;
align-items: flex-start;
}
}
.deploy-repo-info {
display: flex;
align-items: center;
gap: $space-3;
svg {
flex-shrink: 0;
color: var(--text-faint);
}
> div {
display: flex;
flex-direction: column;
gap: $space-1;
}
.repo-url {
font-family: var(--mono);
font-size: $text-xs;
color: var(--text);
word-break: break-all;
}
.repo-branch {
font-family: var(--mono);
font-size: $text-xs;
color: var(--accent-bright);
}
}
.deploy-actions {
display: flex;
gap: $space-2;
flex-shrink: 0;
}
.deploy-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: $space-5;
}
.checkbox-label {
display: flex;
align-items: center;
gap: $space-2;
cursor: pointer;
input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
accent-color: var(--accent-primary);
}
span {
font-size: $text-xs;
color: var(--text);
}
}
.form-help {
display: block;
margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
textarea {
font-family: var(--mono);
font-size: $text-xs;
resize: vertical;
min-height: 80px;
}
.text-danger {
color: $danger;
font-size: $text-xs;
}
.text-muted {
color: var(--text-faint);
font-size: $text-xs;
}
}
// Deploy Setup Empty State
.deploy-setup {
.empty-state {
text-align: center;
padding: $space-12 $space-8;
background: $bg-card;
border: 1px dashed $border-subtle;
border-radius: $radius-card;
svg {
color: $text-tertiary;
margin-bottom: $space-4;
}
h3 {
margin-bottom: $space-2;
}
p {
color: $text-secondary;
margin-bottom: $space-6;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
}
}
// Deploy Header
.deploy-header {
margin-bottom: $space-4;
}
.deploy-status-card {
display: flex;
justify-content: space-between;
align-items: center;
padding: $space-4 $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
}
.deploy-repo-info {
display: flex;
align-items: center;
gap: $space-3;
svg {
color: $text-secondary;
}
.repo-url {
display: block;
font-weight: $font-weight-medium;
color: $text-primary;
}
.repo-branch {
display: block;
font-size: $text-xs;
color: $text-secondary;
}
}
.deploy-actions {
display: flex;
gap: $space-3;
}
// Deploy Grid
.deploy-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: $space-6;
}
// Webhook URL
.webhook-url {
display: flex;
gap: $space-2;
align-items: center;
margin-top: $space-3;
padding: $space-3;
background: $bg-hover;
border-radius: $radius-control;
overflow: hidden;
code {
flex: 1;
font-family: $font-mono;
font-size: $text-xs;
color: $text-primary;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.webhook-logs-toggle {
margin-top: $space-4;
}
// Webhook Logs
.webhook-logs {
margin-top: $space-4;
padding-top: $space-4;
border-top: 1px solid $border-subtle;
}
.webhook-logs-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $space-3;
h4 {
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-secondary;
}
}
.webhook-logs-list {
display: flex;
flex-direction: column;
gap: $space-3;
max-height: 400px;
overflow-y: auto;
}
.webhook-log-item {
padding: $space-3;
background: $bg-hover;
border-radius: $radius-control;
border: 1px solid $border-subtle;
}
.webhook-log-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $space-2;
}
.provider-badge {
display: inline-block;
padding: $space-1 $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
border-radius: $radius-badge;
text-transform: capitalize;
&.github {
background: fade(#333, 15%);
color: #333;
}
&.gitlab {
background: fade(#fc6d26, 15%);
color: #fc6d26;
}
&.bitbucket {
background: fade(#0052cc, 15%);
color: #0052cc;
}
}
.webhook-log-time {
font-size: $text-xs;
color: $text-tertiary;
}
.webhook-log-details {
margin-bottom: $space-2;
}
.webhook-log-size {
font-size: $text-xs;
color: $text-secondary;
}
.webhook-log-preview {
margin: 0;
padding: $space-2;
background: $bg-body;
border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
color: $text-secondary;
white-space: pre-wrap;
word-break: break-all;
max-height: 100px;
overflow-y: auto;
}
// Input with action button
.input-with-action {
display: flex;
gap: $space-2;
input {
flex: 1;
}
.btn {
flex-shrink: 0;
}
}
// Scripts Grid
.scripts-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-4;
@media (max-width: $breakpoint-md) {
grid-template-columns: 1fr;
}
}
.script-section {
h4 {
margin: 0 0 $space-2 0;
font-size: $text-xs;
color: $text-secondary;
}
}
.script-code {
margin: 0;
padding: $space-3;
background: $bg-hover;
border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
color: $text-primary;
white-space: pre-wrap;
word-break: break-all;
}
// Card Actions (deploy-specific footer variant)
.deploy-setup .card-actions {
margin-top: $space-4;
padding-top: $space-4;
border-top: 1px solid $border-subtle;
}