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
// ============================================
// .HTACCESS -> NGINX CONVERTER
// Paste-in modal next to the per-site custom nginx rules editor.
// Rendered by components/apps/HtaccessConverter.jsx.
// ============================================
.htaccess-converter {
display: flex;
flex-direction: column;
gap: $space-3;
&__hint {
margin: 0;
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
code {
font-family: $font-mono;
color: $text-primary;
}
}
&__input {
font-family: $font-mono;
font-size: $text-xs;
resize: vertical;
}
&__actions {
display: flex;
justify-content: flex-end;
}
&__footer {
display: flex;
justify-content: flex-end;
gap: $space-2;
}
&__result {
display: flex;
flex-direction: column;
gap: $space-3;
}
&__pane {
background: $bg-secondary;
border: 1px solid $border-subtle;
border-radius: $radius-control;
overflow: hidden;
&--warn {
border-color: $warning-border;
}
}
&__pane-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-2;
padding: $space-2 $space-3;
border-bottom: 1px solid $border-subtle;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-secondary;
svg {
color: $warning;
flex-shrink: 0;
}
span {
flex: 1;
}
}
&__output {
margin: 0;
padding: $space-3;
max-height: 260px;
overflow: auto;
font-family: $font-mono;
font-size: $text-xs;
line-height: 1.55;
color: $text-primary;
white-space: pre;
}
&__empty {
margin: 0;
padding: $space-3;
font-size: $text-xs;
color: $text-tertiary;
}
&__notes {
margin: 0;
padding: $space-3 $space-3 $space-3 $space-5;
display: flex;
flex-direction: column;
gap: $space-1;
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
}
// The unsupported-directives DataTable: a capped, sticky-header scroller.
&__table-wrap {
--dtable-max-height: 220px;
}
&__line {
white-space: nowrap;
}
&__directive {
word-break: break-all;
}
}