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
// ============================================
// SERVERS PAGE
// ============================================
// No `padding: 0` override any more: this page is a normal centered list now,
// so it takes the padding .sk-tabgroup__inner gives every other one. The
// override was for the old full-bleed ops workspace, and left the table
// running under the right edge of the viewport.
// ---------- Fleet list ----------
// The toolbar row is the shared ListToolbar (.sk-listhead in
// _design-system.scss); what used to be a left rail of dials and navs is now
// its filters plus table columns.
// The whole row is the target (DataTable marks it .is-clickable); the chevron
// brightens with the shared row hover.
.servers-row {
&:hover .servers-row__chev { color: var(--text-dim); }
&__ico {
width: 30px;
height: 30px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
background: var(--surface-3);
color: var(--text-dim);
}
&__agent,
&__seen { color: var(--text-faint); white-space: nowrap; }
&__nodata { color: var(--text-ghost); }
&__chev { color: var(--text-ghost); transition: color $transition-fast; }
}
// Metric columns: a percentage over a thin bar. Width lives on the column
// definition (meterColumn in Servers.jsx).
.servers-table__meter {
.sk-cell-dim { margin-bottom: 5px; }
.sk-gauge { width: 100%; }
}
.servers-page {
.stat-icon {
&.all {
background: $accent-glow;
color: $accent-primary;
}
&.online {
@include status-variant($success, $success-bg);
}
&.offline {
@include status-variant($danger, $danger-bg);
}
&.connecting {
@include status-variant($warning, $warning-bg);
}
}
}
.search-box {
position: relative;
flex: 1;
svg {
position: absolute;
left: $space-3;
top: 50%;
transform: translateY(-50%);
color: $text-tertiary;
}
input {
width: 100%;
height: $control-md;
background: $bg-body;
border: 1px solid $border-subtle;
border-radius: $radius-control;
padding: 0 $space-3 0 $space-10;
color: $text-primary;
font-size: $text-xs;
&::placeholder {
color: $text-tertiary;
}
&:focus {
outline: none;
border-color: $accent-primary;
}
}
}
.meta-item {
display: flex;
flex-direction: column;
gap: $space-1;
.meta-label {
font-size: $text-xs;
color: $text-tertiary;
}
.meta-value {
font-size: $text-xs;
color: $text-secondary;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
// Add Server drawer. This used to hand-roll its own slide-over geometry
// (position:fixed / right:0 / a bespoke keyframe) and then got pointed at the
// centred Dialog primitive, which still applied `left: 50%` and a -50%
// transform on top of it — that combination is what rendered the panel half
// off-screen and clipped. It now runs on the shared Drawer (Sheet), so the
// slide-in, focus trap and overlay come from one place and only the interior
// layout lives here.
.server-setup-drawer {
.sk-drawer__body {
display: flex;
flex-direction: column;
min-height: 0;
// The form owns the scrolling so its action row can stay pinned to the
// bottom edge instead of scrolling away with the fields.
overflow: hidden;
}
.mode-switcher { margin: $space-5 $space-6 0; }
.install-instructions,
.server-setup-form {
flex: 1;
min-height: 0;
}
}
// Segmented tab control used in the Add Server drawer
.mode-switcher {
display: flex;
background: $bg-body;
border: 1px solid $border-subtle;
border-radius: $radius-card;
padding: $space-1;
gap: $space-hair;
flex-shrink: 0;
margin: $space-4 $space-6 0;
&__tab {
flex: 1;
height: $control-sm;
padding: 0 $space-3;
background: transparent;
border: none;
border-radius: calc(#{$radius-control} - 1px);
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
cursor: pointer;
transition: all 0.15s ease;
&:hover {
color: $text-primary;
}
&.is-active {
background: $bg-card;
color: $text-primary;
box-shadow: none;
}
}
}
// Brief instruction callout shown above the pair-code input
.pair-instructions {
display: flex;
gap: $space-3;
padding: $space-3 $space-4;
background: rgba($accent-primary-raw, 0.07);
border: 1px solid rgba($accent-primary-raw, 0.22);
border-radius: $radius-control;
p {
margin: 0;
font-size: $text-xs;
color: $text-secondary;
line-height: 1.5;
code {
font-family: $font-mono;
font-size: $text-xs;
color: $accent-primary;
background: rgba($accent-primary-raw, 0.12);
padding: 1px $space-tight;
border-radius: $radius-badge;
}
}
}
.server-setup-form {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
padding: 0;
&__body {
display: grid;
// Pack rows to the top. Grid's default align-content is
// "stretch", which makes every form-group expand to fill the
// drawer height when the form is shorter than the panel —
// that's the source of the huge vertical gaps between Pair
// code / Passphrase / Server name when the drawer is tall.
align-content: start;
gap: $space-4;
padding: $space-5 $space-6;
overflow-y: auto;
flex: 1;
min-height: 0;
@include custom-scrollbar();
}
.modal-actions {
flex-shrink: 0;
margin: 0;
padding: $space-3 $space-6;
border-top: 1px solid $border-subtle;
background: $bg-card;
}
.form-group {
margin: 0;
}
.form-hint {
display: block;
margin-top: $space-tight;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.4;
}
// Pairing inputs read as machine strings, not prose.
.server-pair-code {
font-family: $font-mono;
font-size: $text-lg;
text-align: center;
}
.server-pair-passphrase {
font-family: $font-mono;
font-size: $text-lg;
}
.server-pair-error,
.server-pair-banner {
margin-top: $space-2;
}
.server-pair-fpr {
font-family: $font-mono;
}
.server-pair-note {
margin-top: $space-1;
font-size: 0.85em;
}
}
.form-disclosure {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
background: transparent;
border: 1px dashed $border-subtle;
border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
cursor: pointer;
transition: all 0.15s ease;
text-align: left;
&:hover {
border-color: $accent-primary;
color: $text-primary;
background: $bg-hover;
}
&__chevron {
display: inline-block;
font-size: $text-md;
line-height: 1;
color: $accent-primary;
transition: transform 0.15s ease;
&.is-open {
transform: rotate(90deg);
}
}
&__hint {
margin-left: auto;
color: $text-tertiary;
font-size: $text-xs;
font-weight: $font-weight-normal;
}
&__panel {
display: grid;
gap: $space-4;
padding: $space-4;
background: $bg-body;
border: 1px solid $border-subtle;
border-radius: $radius-control;
animation: form-disclosure-in 0.18s ease;
}
}
@keyframes form-disclosure-in {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
// Scoped under .servers-page: as a bare top-level `.empty-state` this block
// used to win the cascade app-wide over the shared styles in
// components/_empty-state.scss (see the specificity-hack comment there).
.servers-page .empty-state {
text-align: center;
padding: $space-16 $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
.empty-icon {
width: 64px;
height: 64px;
color: $text-tertiary;
margin-bottom: $space-4;
}
h3 {
font-size: $text-lg;
font-weight: $font-weight-semibold;
color: $text-primary;
margin: 0 0 $space-2;
}
p {
color: $text-secondary;
margin: 0 0 $space-6;
}
}
// ============================================
// SERVER DETAIL PAGE
// ============================================
.server-detail-page {
padding: 0;
width: min(100%, 1400px);
margin: 0 auto;
}
// Mono breadcrumb (redesign) — only ServerDetail renders this class.
.page-breadcrumb {
display: flex;
align-items: center;
gap: $space-2;
margin-bottom: $space-3;
font-size: $text-xs;
a {
color: var(--text-faint);
text-decoration: none;
transition: color 0.14s;
&:hover {
color: var(--accent-bright);
}
}
.breadcrumb-separator {
color: var(--text-ghost);
}
span:last-child {
color: var(--text-dim);
}
}
.server-title {
display: flex;
align-items: center;
gap: $space-3;
h1 {
margin: 0;
}
}
// Overview Tab
.info-card {
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
padding: $space-5;
h3 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-tertiary;
margin: 0 0 $space-4;
}
}
.offline-card {
grid-column: span 2;
@media (max-width: $breakpoint-lg) {
grid-column: span 1;
}
}
.offline-message {
text-align: center;
padding: $space-6;
svg {
color: $text-tertiary;
margin-bottom: $space-4;
}
h4 {
font-size: $text-lg;
color: $text-primary;
margin: 0 0 $space-2;
}
p {
color: $text-secondary;
margin: 0;
}
}
.offline-notice {
text-align: center;
padding: $space-12;
background: var(--surface);
border: 1px dashed var(--border);
border-radius: var(--radius-lg);
svg {
color: var(--text-ghost);
margin-bottom: $space-4;
}
h4 {
font-size: $text-lg;
color: var(--text);
margin: 0 0 $space-2;
}
p {
color: var(--text-dim);
margin: 0;
font-size: $text-sm;
}
}
// Docker Tab
.docker-tab {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
}
// Cron Tab — same shell as docker, with a header row for status + add.
.cron-tab {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
&__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-4;
padding: $space-3 $space-4;
border-bottom: 1px solid var(--border-soft);
}
&__status {
display: flex;
align-items: center;
gap: $space-3;
}
&__count {
color: var(--text-faint);
font-size: $text-xs;
}
&__actions {
display: flex;
gap: $space-2;
}
&__name {
color: var(--text);
font-weight: $font-weight-medium;
margin-bottom: $space-hair;
}
&__command {
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
word-break: break-all;
}
&__description {
color: var(--text-faint);
font-size: $text-xs;
margin-top: $space-hair;
}
&__custom-schedule {
margin-top: $space-2;
font-family: $font-mono;
}
.row-disabled {
opacity: 0.6;
}
.empty-list {
padding: $space-6;
text-align: center;
color: $text-tertiary;
}
}
// Cloudflared tab — reuses .cron-tab__* helpers; add only the auth
// hint banner since it's unique to this surface.
.cloudflared-tab {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
&__hint {
margin: $space-4;
padding: $space-3 $space-4;
background: var(--accent-bg-soft);
border: 1px solid fade($accent-primary-raw, 22%);
border-radius: var(--radius-sm);
color: var(--text-dim);
font-size: $text-sm;
code {
background: var(--surface-2);
padding: 0 $space-1;
border-radius: $radius-badge;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text);
}
a {
color: var(--accent-bright);
text-decoration: underline;
}
}
}
.docker-sub-tabs {
display: flex;
gap: $space-hair;
border-bottom: 1px solid var(--border-soft);
padding: 0 $space-3;
}
.sub-tab {
background: transparent;
border: none;
color: var(--text-faint);
font-size: $text-sm;
font-weight: $font-weight-medium;
padding: $space-3 $space-4;
cursor: pointer;
border-bottom: 2px solid transparent;
margin-bottom: -1px;
transition: color 0.14s;
&:hover {
color: var(--text-dim);
}
&.active {
color: var(--text);
border-bottom-color: var(--accent);
}
}
.containers-list,
.images-list {
padding: 0;
.empty-state {
border: none;
background: transparent;
}
}
.status-pill {
display: inline-flex;
align-items: center;
gap: $space-1;
height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
&.running {
@include status-variant($success, $success-bg);
}
&.stopped {
background: $bg-secondary;
color: $text-tertiary;
}
}
.actions-cell {
display: flex;
gap: $space-1;
justify-content: flex-end;
}
.empty-list {
text-align: center;
padding: $space-8;
color: $text-tertiary;
}
// Metrics Tab
.metrics-live-stats {
margin-top: $space-6;
}
.live-stat-card {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
padding: $space-5;
h4 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
margin: 0 0 $space-4;
}
}
.live-stats-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: $space-4;
@media (max-width: $breakpoint-lg) {
grid-template-columns: repeat(3, 1fr);
}
@media (max-width: $breakpoint-sm) {
grid-template-columns: repeat(2, 1fr);
}
}
.live-stat {
text-align: center;
.live-stat-label {
display: block;
font-size: $text-xs;
color: var(--text-faint);
margin-bottom: $space-1;
}
.live-stat-value {
display: block;
font-size: $text-md;
font-weight: $font-weight-semibold;
letter-spacing: -0.02em;
color: var(--text);
}
}
.metrics-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: $space-5;
@media (max-width: $breakpoint-lg) {
grid-template-columns: repeat(2, 1fr);
}
@media (max-width: $breakpoint-md) {
grid-template-columns: 1fr;
}
}
.metric-card {
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
padding: $space-5;
&.large {
display: flex;
flex-direction: column;
align-items: center;
}
h3 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-tertiary;
margin: 0 0 $space-4;
text-align: center;
}
}
.metric-gauge {
display: flex;
justify-content: center;
margin-bottom: $space-4;
}
.circular-gauge {
width: 120px;
height: 120px;
.gauge-bg {
fill: none;
stroke: $bg-secondary;
stroke-width: 8;
}
.gauge-fill {
fill: none;
stroke-width: 8;
stroke-linecap: round;
transform: rotate(-90deg);
transform-origin: center;
}
.gauge-text {
font-size: $text-lg;
font-weight: $font-weight-semibold;
fill: $text-primary;
text-anchor: middle;
dominant-baseline: middle;
}
}
.metric-details {
width: 100%;
}
.detail-item {
display: flex;
justify-content: space-between;
padding: $space-2 0;
font-size: $text-xs;
border-top: 1px solid $border-subtle;
&:first-child {
border-top: none;
}
span:first-child {
color: $text-tertiary;
}
span:last-child {
color: $text-primary;
}
}
.network-stats,
.docker-stats {
display: flex;
flex-direction: column;
gap: $space-4;
}
.net-stat,
.docker-stat {
display: flex;
align-items: center;
gap: $space-3;
svg {
color: $text-tertiary;
}
span:first-of-type {
color: $text-tertiary;
font-size: $text-xs;
flex: 1;
}
.value {
font-size: $text-xs;
color: $text-primary;
}
}
// Settings Tab
.settings-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-6;
margin-bottom: $space-6;
align-items: start;
@media (max-width: $breakpoint-lg) {
grid-template-columns: 1fr;
}
.form-section {
margin-bottom: 0;
}
}
.security-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-6;
margin-bottom: $space-6;
align-items: start;
@media (max-width: $breakpoint-lg) {
grid-template-columns: 1fr;
}
.form-section {
margin-bottom: 0;
}
}
// Security section styles: the connection facts, as an InfoList in a box.
.security-info-bar {
display: flex;
flex-direction: column;
gap: 0;
padding: $space-1 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-card;
margin-bottom: $space-5;
}
.subsection {
h4 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-primary;
margin: 0 0 $space-2;
}
}
.ip-list {
margin-bottom: $space-3;
}
.ip-empty {
font-size: $text-xs;
color: $text-tertiary;
padding: $space-4;
text-align: center;
background: $bg-elevated;
border: 1px dashed $border-subtle;
border-radius: $radius-control;
}
.ip-item {
display: flex;
align-items: center;
gap: $space-3;
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
margin-bottom: $space-2;
code {
flex: 1;
font-family: $font-mono;
font-size: $text-xs;
color: $text-primary;
}
}
.ip-add-form {
display: flex;
gap: $space-2;
input {
flex: 1;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
padding: $space-2 $space-3;
color: $text-primary;
font-size: $text-xs;
&::placeholder {
color: $text-tertiary;
}
&:focus {
border-color: $accent-primary;
outline: none;
}
}
}
.security-warning {
margin-top: $space-3;
padding: $space-3 $space-4;
background: fade($warning-raw, 10%);
border: 1px solid fade($warning-raw, 25%);
border-radius: $radius-control;
font-size: $text-xs;
color: $warning;
}
.security-notice {
margin-top: $space-3;
font-size: $text-xs;
color: $text-tertiary;
}
.key-rotation-actions {
display: flex;
align-items: center;
gap: $space-4;
}
.key-rotation-hint {
font-size: $text-xs;
color: $text-tertiary;
}
// Security Alerts
.alerts-list {
display: flex;
flex-direction: column;
gap: $space-3;
}
.alert-item {
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-card;
&.severity-critical { border-color: fade($danger-raw, 45%); }
&.severity-high { border-color: fade($warning-raw, 45%); }
&.severity-medium { border-color: fade($accent-primary-raw, 45%); }
&.severity-low { border-color: $border-subtle; }
}
.alert-item-header {
display: flex;
align-items: center;
gap: $space-3;
margin-bottom: $space-2;
.alert-type {
flex: 1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-primary;
text-transform: capitalize;
}
.alert-time {
font-size: $text-xs;
color: $text-tertiary;
}
}
.severity-badge {
display: inline-flex;
align-items: center;
height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
font-weight: $font-weight-medium;
padding: 0 $space-tight;
border-radius: $radius-badge;
&.critical { @include status-variant(var(--red), var(--red-bg)); }
&.high { @include status-variant(var(--amber), var(--amber-bg)); }
&.medium { @include status-variant(var(--accent-bright), var(--accent-bg)); }
&.warning { @include status-variant(var(--amber), var(--amber-bg)); }
&.low,
&.info { background: var(--surface-3); color: var(--text-faint); }
}
.alert-item-details {
display: flex;
gap: $space-4;
font-size: $text-xs;
color: $text-secondary;
margin-bottom: $space-3;
}
.alert-item-actions {
display: flex;
gap: $space-2;
}
.form-section {
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
padding: $space-6;
margin-bottom: $space-6;
h3 {
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
margin: 0 0 $space-4;
}
.section-description {
color: $text-secondary;
font-size: $text-xs;
margin-bottom: $space-4;
}
&.danger-zone {
border-color: $danger-border;
h3 {
color: $danger;
}
}
}
// Polished form section variant used in Settings tab
.form-section--accent {
position: relative;
overflow: hidden;
padding: $space-6;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, $accent-primary, transparent 70%);
opacity: 0.85;
}
.form-section__header {
display: flex;
align-items: flex-start;
gap: $space-3;
margin-bottom: $space-5;
h3 {
margin: 0 0 $space-1;
font-size: $text-lg;
letter-spacing: -0.01em;
}
.section-description {
margin: 0;
color: $text-secondary;
font-size: $text-xs;
line-height: 1.5;
}
}
.form-section__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-control;
background: rgba($accent-primary-raw, 0.12);
color: $accent-primary;
border: 1px solid rgba($accent-primary-raw, 0.25);
svg {
width: 18px;
height: 18px;
}
}
}
// ============================================
// AGENT REGISTRATION SECTION
// ============================================
.token-status {
display: flex;
align-items: center;
gap: $space-2;
font-size: $text-xs;
color: var(--text-dim);
margin-bottom: $space-5;
}
.token-status-dot {
width: 8px;
height: 8px;
border-radius: $radius-full;
flex-shrink: 0;
background: var(--text-ghost);
&.active {
background: var(--green);
box-shadow: none;
}
}
.install-active {
display: flex;
flex-direction: column;
gap: $space-4;
}
.install-script-block {
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-card;
overflow: hidden;
}
.install-script-header {
display: flex;
align-items: center;
gap: $space-3;
padding: $space-3 $space-4;
background: $bg-hover;
border-bottom: 1px solid $border-subtle;
> svg {
color: $text-tertiary;
flex-shrink: 0;
}
> span {
flex: 1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-primary;
}
}
.install-script-code {
padding: $space-4 $space-5;
margin: 0;
font-family: $font-mono;
font-size: $text-xs;
line-height: $line-height-relaxed;
color: $text-secondary;
background: $bg-body;
overflow-x: auto;
white-space: pre-wrap;
word-break: break-all;
}
.install-inactive {
.section-description {
margin-bottom: $space-4;
}
}
// ============================================
// ADD SERVER MODAL
// ============================================
.permissions-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: $space-2;
@media (max-width: $breakpoint-sm) {
grid-template-columns: 1fr;
}
}
.install-instructions {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
padding: 0;
.modal-actions {
flex-shrink: 0;
margin: 0;
padding: $space-3 $space-6;
border-top: 1px solid $border-subtle;
background: $bg-card;
}
}
.install-instructions__scroll {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: $space-5 $space-6;
@include custom-scrollbar();
> .success-banner {
margin-bottom: $space-4;
}
}
.success-banner {
display: flex;
align-items: flex-start;
gap: $space-4;
background: $success-bg;
border: 1px solid $success-border;
color: $success;
padding: $space-5;
border-radius: $radius-card;
margin-bottom: $space-6;
svg {
flex-shrink: 0;
width: 22px;
height: 22px; // geometry: icon
margin-top: 1px;
}
strong {
display: block;
font-size: $text-xs;
font-weight: $font-weight-semibold;
margin-bottom: $space-1;
}
.success-subtitle {
font-size: $text-xs;
color: $text-secondary;
margin: 0;
line-height: $line-height-normal;
}
}
.install-tabs {
display: flex;
flex-direction: column;
gap: $space-4;
}
.install-tabs--after-summary {
margin-top: $space-3;
}
// The connection string on the "ready" screen: the one pasteable blob.
.server-connection-string {
margin-top: $space-5;
}
// "Set group…" in the floating bulk bar sizes to its text, not the field width.
.servers-bulk-group {
width: auto;
min-width: 140px;
height: $control-sm;
}
.install-fallback {
margin-top: $space-5;
summary {
cursor: pointer;
font-size: $text-xs;
color: $text-secondary;
padding: $space-2 0;
&:hover {
color: $text-primary;
}
}
}
.install-info {
margin-top: $space-6;
padding: $space-5;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-card;
h4 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-primary;
margin: 0 0 $space-3;
}
ol {
margin: 0 0 $space-4;
padding-left: $space-5;
color: $text-secondary;
font-size: $text-xs;
line-height: $line-height-relaxed;
}
li {
margin-bottom: $space-2;
}
.text-muted {
color: $text-tertiary;
font-size: $text-xs;
}
}
// ============================================
// MANAGE GROUPS MODAL
// ============================================
.group-form {
display: flex;
gap: $space-3;
margin-bottom: $space-5;
input {
flex: 1;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
padding: $space-3;
color: $text-primary;
font-size: $text-xs;
&::placeholder {
color: $text-tertiary;
}
&:focus {
outline: none;
border-color: $accent-primary;
}
}
}
.groups-list {
display: flex;
flex-direction: column;
gap: $space-2;
max-height: 300px;
overflow-y: auto;
}
.group-item {
display: flex;
align-items: center;
gap: $space-3;
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
input {
flex: 1;
background: $bg-card;
border: 1px solid $accent-primary;
border-radius: $radius-badge;
padding: $space-2;
color: $text-primary;
font-size: $text-xs;
&:focus {
outline: none;
}
}
.group-name {
flex: 1;
display: flex;
align-items: center;
gap: $space-2;
font-size: $text-xs;
color: $text-primary;
svg {
color: $text-tertiary;
}
}
.group-count {
font-size: $text-xs;
color: $text-tertiary;
}
.group-actions {
display: flex;
gap: $space-1;
}
}
.empty-groups {
text-align: center;
padding: $space-6;
color: $text-tertiary;
font-size: $text-xs;
}
// ============================================
// SERVERS — REDESIGNED OPS CONSOLE
// ============================================
.servers-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: $space-4;
margin-bottom: $space-5;
padding-bottom: $space-4;
border-bottom: 1px solid $border-subtle;
h1 {
margin: 0;
font-size: $text-2xl;
line-height: 1.1;
letter-spacing: -0.02em;
color: $text-primary;
font-weight: $font-weight-semibold;
}
p {
margin: $space-1 0 0;
color: $text-tertiary;
font-size: $text-xs;
}
&__actions {
display: flex;
gap: $space-2;
flex-wrap: wrap;
}
@media (max-width: $breakpoint-sm) {
flex-direction: column;
align-items: stretch;
&__actions .btn {
flex: 1;
justify-content: center;
}
}
}
.server-row {
&--offline .status-pill__dot { background: $danger; }
&--online .status-pill__dot { background: $success; }
&--connecting .status-pill__dot { background: $warning; }
&--pending .status-pill__dot { background: $text-tertiary; }
}
.server-row__name {
display: inline-flex;
align-items: center;
gap: $space-3;
color: $text-primary;
text-decoration: none;
min-width: 0;
&:hover .server-row__title {
color: $accent-primary;
}
}
.server-row__avatar {
flex-shrink: 0;
width: 32px;
height: 32px; // geometry: avatar
display: flex;
align-items: center;
justify-content: center;
border-radius: $radius-control;
background: $bg-elevated;
border: 1px solid $border-subtle;
color: $text-secondary;
font-weight: $font-weight-semibold;
font-size: $text-xs;
&--online {
background: $success-bg;
border-color: $success-border;
color: $success;
}
&--offline {
background: $danger-bg;
border-color: $danger-border;
color: $danger;
}
&--connecting {
background: $warning-bg;
border-color: $warning-border;
color: $warning;
}
}
.server-row__identity {
display: flex;
flex-direction: column;
min-width: 0;
}
.server-row__title {
color: $text-primary;
font-weight: $font-weight-semibold;
line-height: 1.2;
transition: color $transition-fast;
}
.server-row__sub {
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.3;
margin-top: $space-hair;
}
.server-row__group {
display: inline-flex;
align-items: center;
gap: $space-tight;
padding: $space-hair $space-2;
border-radius: $radius-full;
background: $bg-elevated;
border: 1px solid $border-subtle;
font-size: $text-xs;
color: $text-secondary;
white-space: nowrap;
}
.server-row__stack {
display: flex;
flex-direction: column;
line-height: 1.3;
span:first-child {
color: $text-secondary;
}
}
.server-row__lastseen {
font-size: $text-xs;
color: $text-secondary;
white-space: nowrap;
}
.server-row__telemetry {
display: flex;
flex-direction: column;
gap: $space-1;
min-width: 180px;
> span {
display: grid;
grid-template-columns: 30px 1fr 36px;
align-items: center;
gap: $space-2;
font-size: $text-xs;
}
em {
color: $text-tertiary;
font-family: $font-mono;
font-style: normal;
}
b {
color: $text-secondary;
font-family: $font-mono;
font-weight: $font-weight-semibold;
text-align: right;
}
.bar {
position: relative;
height: 5px;
background: var(--surface-3);
border-radius: $radius-badge;
overflow: hidden;
}
.bar-fill {
position: absolute;
inset: 0 auto 0 0;
border-radius: $radius-badge;
&.cpu { background: var(--accent-bright); }
&.memory { background: var(--cyan); }
&.disk { background: var(--green); }
}
}
.status-pill {
display: inline-flex;
align-items: center;
gap: $space-tight;
height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
text-transform: capitalize;
border: 1px solid transparent;
line-height: 1;
&__dot {
width: 6px;
height: 6px;
border-radius: $radius-full;
background: $text-tertiary;
}
&--online {
@include status-variant($success, $success-bg);
border-color: $success-border;
}
&--offline {
@include status-variant($danger, $danger-bg);
border-color: $danger-border;
}
&--connecting {
@include status-variant($warning, $warning-bg);
border-color: $warning-border;
}
&--pending {
color: $text-tertiary;
background: $bg-elevated;
border-color: $border-subtle;
}
}
.row-actions {
position: relative;
display: inline-flex;
align-items: center;
gap: $space-1;
&__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: $control-sm;
height: $control-sm;
border: 1px solid transparent;
border-radius: $radius-control;
background: transparent;
color: $text-secondary;
cursor: pointer;
transition: all $transition-fast;
text-decoration: none;
&:hover {
background: $bg-elevated;
border-color: $border-subtle;
color: $text-primary;
}
}
}
.row-menu {
z-index: 9999;
min-width: 200px;
padding: $space-tight;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
box-shadow: $shadow-raised;
display: flex;
flex-direction: column;
gap: $space-hair;
&__item {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
border: 0;
border-radius: $radius-control;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
text-align: left;
text-decoration: none;
cursor: pointer;
white-space: nowrap;
svg {
color: $text-tertiary;
flex-shrink: 0;
}
&:hover {
background: $bg-hover;
color: $text-primary;
svg { color: $text-primary; }
}
&--danger {
color: $danger;
svg { color: $danger; }
&:hover {
@include status-variant($danger, $danger-bg);
}
}
}
&__divider {
height: 1px;
background: $border-subtle;
margin: $space-1 0;
}
}
// Servers workspace polish: match the Docker route's rail + work surface.
// ============================================
// SERVER DETAIL — REDESIGNED HEADER
// ============================================
// Detail header: flat surface, soft border, mono dotsep meta. All existing
// regions kept (avatar, title row + copy-chip, meta, description, actions).
.server-detail-header {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: $space-5;
padding: $space-6;
margin-bottom: $space-5;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
overflow: hidden;
flex-wrap: wrap;
&__main {
position: relative;
display: flex;
align-items: flex-start;
gap: $space-4;
min-width: 0;
flex: 1;
}
&__avatar {
flex-shrink: 0;
width: 54px;
height: 54px;
display: flex;
align-items: center;
justify-content: center;
border-radius: $radius-overlay;
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text-dim);
font-weight: $font-weight-semibold;
font-size: $text-lg;
&--online {
background: var(--green-bg);
border-color: fade($success-raw, 25%);
color: var(--green);
}
&--offline {
background: var(--red-bg);
border-color: fade($danger-raw, 25%);
color: var(--red);
}
&--connecting {
background: var(--amber-bg);
border-color: fade($warning-raw, 25%);
color: var(--amber);
}
}
&__identity {
min-width: 0;
flex: 1;
}
&__title-row {
display: flex;
align-items: center;
gap: $space-3;
flex-wrap: wrap;
h1 {
margin: 0;
font-size: $text-lg;
line-height: 1.2;
letter-spacing: -0.02em;
color: var(--text);
font-weight: $font-weight-semibold;
}
}
.copy-chip {
display: inline-flex;
align-items: center;
gap: $space-2;
padding: $space-hair $space-2;
background: var(--surface-2);
border: 1px solid var(--border-soft);
border-radius: $radius-control;
color: var(--text-faint);
font-size: $text-xs;
cursor: pointer;
transition: all 0.12s ease;
&:hover {
color: var(--text);
border-color: var(--border-strong);
background: var(--surface-3);
}
&__label {
font-weight: $font-weight-semibold;
color: var(--text-ghost);
}
&__value {
color: var(--text-dim);
font-family: var(--mono);
font-size: $text-xs;
background: transparent;
padding: 0;
max-width: 22ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&--mono &__value {
font-size: $text-xs;
}
svg {
opacity: 0.6;
}
}
&__meta {
display: flex;
align-items: center;
gap: $space-2;
flex-wrap: wrap;
margin-top: $space-2;
font-size: $text-xs;
color: var(--text-dim);
.dotsep {
color: var(--text-ghost);
}
}
&__meta-item {
display: inline-flex;
align-items: center;
gap: $space-tight;
min-width: 0;
svg {
color: var(--text-faint);
flex-shrink: 0;
}
}
&__description {
margin: $space-3 0 0;
color: var(--text-dim);
font-size: $text-sm;
line-height: $line-height-relaxed;
max-width: 720px;
}
&__actions {
position: relative;
display: flex;
gap: $space-2;
flex-shrink: 0;
flex-wrap: wrap;
}
@media (max-width: $breakpoint-md) {
flex-direction: column;
&__actions {
width: 100%;
.btn { flex: 1; justify-content: center; }
}
}
}
// Refine overview info cards (less marketing, more dashboard)
.overview-tab .info-card {
padding: $space-5;
border-radius: $radius-overlay;
background: $bg-card;
border: 1px solid $border-subtle;
box-shadow: none;
transition: border-color $transition-fast;
&:hover {
border-color: $border-active;
}
h3 {
margin: 0 0 $space-3;
padding-bottom: $space-2;
border-bottom: 1px solid $border-subtle;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-tertiary;
}
}
.overview-tab .info-item {
padding: $space-2 0;
border-bottom: 1px dashed $border-subtle;
&:last-child { border-bottom: 0; }
.info-value {
font-size: $text-xs;
color: $text-primary;
}
}
// ============================================
// SERVER OVERVIEW — KPI STRIP & ICONIFIED ROWS
// ============================================
.server-stats-strip {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: $space-4;
margin-bottom: $space-5;
@media (max-width: $breakpoint-lg) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: $breakpoint-sm) {
grid-template-columns: 1fr;
}
}
// Demo `.spec-card` look: quiet surface tile, mono uppercase label, big mono
// value. Gauge tiles carry a thin .sk-gauge meter (CPU=accent-bright,
// RAM=cyan, Disk=green; red>85 / amber>70 thresholds set in JSX).
.kpi-tile {
position: relative;
display: flex;
flex-direction: column;
gap: $space-2;
padding: $space-4 $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
transition: border-color $transition-fast;
&:hover {
border-color: var(--border-strong);
}
&__head {
display: flex;
align-items: center;
gap: $space-2;
color: var(--text-faint);
}
&__icon {
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-ghost);
svg { width: 13px; height: 13px; }
}
&__label {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__value {
font-size: $text-lg;
font-weight: $font-weight-semibold;
letter-spacing: -0.02em;
color: var(--text);
line-height: 1.15;
text-transform: capitalize;
}
&__sub {
font-size: $text-xs;
color: var(--text-faint);
}
&__meter {
margin-top: $space-hair;
}
// Tone variants (status tile + gauge thresholds)
&--success .kpi-tile__value { color: var(--green); }
&--danger .kpi-tile__value { color: var(--red); }
&--warning .kpi-tile__value,
&--warn .kpi-tile__value { color: var(--amber); }
}
// Iconified info rows replacing plain InfoList rows in overview cards
.overview-tab .info-card {
h3 {
display: flex;
align-items: center;
gap: $space-2;
color: $text-tertiary;
svg {
width: 14px;
height: 14px;
color: $accent-primary;
}
}
}
// Server overview spec rows (InfoList): icon + faint key, mono value
// right-aligned, soft separators.
.server-info-list {
gap: 0;
&--columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 $space-5;
@media (max-width: $breakpoint-md) {
grid-template-columns: 1fr;
}
}
.info-item {
gap: $space-3;
padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
min-height: 40px; // geometry: table-row height (40 default row)
font-size: $text-sm;
&:last-child { border-bottom: 0; }
}
.info-label {
display: inline-flex;
align-items: center;
gap: $space-3;
min-width: 0;
font-size: $text-sm;
color: var(--text-faint);
svg {
width: 14px;
height: 14px;
flex-shrink: 0;
color: var(--text-ghost);
}
}
.info-value {
min-width: 0;
font-size: $text-sm;
font-weight: $font-weight-normal;
color: var(--text);
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
&.mono {
font-size: $text-xs;
color: var(--text-dim);
}
}
}
.overview-grid__full {
grid-column: 1 / -1;
}
// ============================================
// TAB BADGE (notification count on tabs)
// ============================================
.tab-badge {
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: $space-2;
min-width: 18px;
height: 17px;
padding: 0 $space-tight;
border-radius: $radius-full;
@include status-variant(var(--amber), var(--amber-bg));
font-size: $text-xs;
font-weight: $font-weight-semibold;
line-height: 1;
font-feature-settings: "tnum";
}
// ============================================
// NOTIFICATIONS / ALERTS TAB
// ============================================
.notifications-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: $space-3;
}
.notification {
display: flex;
align-items: flex-start;
gap: $space-3;
padding: $space-4 $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
box-shadow: none;
&__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px; // geometry: icon tile
border-radius: $radius-control;
background: $bg-elevated;
flex-shrink: 0;
}
&__body {
min-width: 0;
flex: 1;
}
&__title {
font-weight: $font-weight-semibold;
color: $text-primary;
margin-bottom: $space-1;
}
&__message {
margin: 0;
font-size: $text-xs;
color: $text-secondary;
line-height: $line-height-relaxed;
}
&--info {
border-color: fade($accent-primary-raw, 45%);
.notification__icon { background: $accent-glow; color: $accent-primary; }
}
&--warning {
border-color: fade($warning-raw, 45%);
.notification__icon { @include status-variant($warning, $warning-bg); }
}
&--danger {
border-color: fade($danger-raw, 45%);
.notification__icon { @include status-variant($danger, $danger-bg); }
}
}
.notifications-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: $space-2;
padding: $space-12 $space-6;
background: $bg-card;
border: 1px dashed $border-subtle;
border-radius: $radius-overlay;
text-align: center;
svg { color: $text-tertiary; margin-bottom: $space-2; }
h4 { margin: 0; color: $text-primary; font-size: $text-lg; }
p { margin: 0; color: $text-secondary; font-size: $text-xs; }
}
.alerts-tab {
display: flex;
flex-direction: column;
gap: $space-6;
}
.alerts-section {
&__header {
display: flex;
align-items: center;
gap: $space-2;
margin-bottom: $space-3;
// Mono-uppercase eyebrow section label (redesign)
h3 {
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
}
&__count {
display: inline-flex;
align-items: center;
height: 18px;
padding: 0 $space-2;
border-radius: $radius-full;
background: var(--surface-2);
border: 1px solid var(--border-soft);
color: var(--text-dim);
font-size: $text-xs;
font-weight: $font-weight-medium;
line-height: 1;
}
&--muted {
opacity: 0.75;
}
}
.notification {
&__head {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: $space-2;
margin-bottom: $space-1;
.notification__title {
margin: 0;
text-transform: capitalize;
}
}
&__time {
margin-left: auto;
font-size: $text-xs;
color: $text-tertiary;
font-variant-numeric: tabular-nums;
}
&__actions {
display: flex;
gap: $space-2;
margin-top: $space-3;
}
}
// ============================================
// SERVER DETAIL — REDESIGNED TAB BODIES (scoped)
// ============================================
// Everything below is scoped under .server-detail-page on purpose: the base
// class names (.tabs/.tab, .data-table, .info-card, .overview-tab,
// .form-section, .notification, .server-services__*, .server-packages__*)
// are ALSO rendered by other pages (Git, Firewall, FTP, Monitoring, security
// tabs, settings) or styled by other partials. Scoping keeps this restyle
// from leaking outside the ServerDetail route.
.server-detail-page {
// ---- In-page tab strip (shadcn Tabs renders .tabs / .tab) ----
// Demo `.wp-tab` spec: 13px labels, faint → dim → active text + accent
// underline. Tab ids/keys and deep-linking are untouched (JSX as-is).
.tabs {
gap: $space-hair;
margin-bottom: $space-5;
border-bottom: 1px solid var(--border-soft);
}
.tab {
padding: $space-3 $space-4;
font-size: $text-sm;
font-weight: $font-weight-medium;
color: var(--text-faint);
&:hover {
color: var(--text-dim);
}
&.active,
&[data-state='active'] {
color: var(--text);
border-bottom-color: var(--accent);
}
}
// ---- Dense tables (docker containers/images, cron jobs, tunnels) ----
// The table itself is .sk-dtable; only the cell content is styled here.
.data-table {
.container-name {
color: var(--text);
font-weight: $font-weight-semibold;
}
.container-id {
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-faint);
margin-top: $space-hair;
}
.mono {
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
}
}
// ---- Overview info cards (quiet surface + mono eyebrow) ----
// `> h3` on purpose: SystemStatusCard nests its own h3 (styled in
// _server-packages.scss) and must not get a second eyebrow border.
.overview-tab .info-card {
padding: $space-4 $space-4;
border-radius: var(--radius);
background: var(--surface);
border: 1px solid var(--border-soft);
box-shadow: none;
transition: border-color $transition-fast;
&:hover {
border-color: var(--border-strong);
}
> h3 {
display: flex;
align-items: center;
gap: $space-2;
margin: 0 0 $space-2;
padding-bottom: $space-3;
border-bottom: 1px solid var(--border-soft);
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
svg {
width: 13px;
height: 13px;
color: var(--accent-bright);
}
}
}
.offline-message {
svg { color: var(--text-ghost); }
h4 { color: var(--text); }
p { color: var(--text-dim); font-size: $text-sm; }
}
// ---- Settings tab (quiet form cards, accent-washed icon chips) ----
.form-section {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
box-shadow: none;
}
.form-section--accent {
&::before {
height: 2px;
background: linear-gradient(90deg, var(--accent), transparent 60%);
opacity: 0.45;
}
.form-section__header h3 {
font-size: $text-md;
color: var(--text);
}
.form-section__header .section-description {
color: var(--text-faint);
font-size: $text-sm;
}
.form-section__icon {
background: var(--accent-bg);
border-color: fade($accent-primary-raw, 22%);
color: var(--accent-bright);
border-radius: $radius-card;
}
}
.security-info-bar {
background: var(--surface-2);
border-color: var(--border-soft);
border-radius: var(--radius);
}
.ip-item {
background: var(--surface-2);
border-color: var(--border-soft);
border-radius: var(--radius-sm);
code {
font-size: $text-xs;
color: var(--text);
}
}
.ip-empty {
background: var(--surface-2);
border-color: var(--border);
color: var(--text-faint);
font-size: $text-xs;
}
.key-rotation-hint {
font-size: $text-xs;
color: var(--text-faint);
}
.security-warning {
background: var(--amber-bg);
border-color: fade($warning-raw, 30%);
color: var(--amber);
}
.security-notice {
font-size: $text-xs;
color: var(--text-faint);
}
// ---- Alerts tab notifications (scoped: Monitoring + settings also
// render .notification and must keep their current look) ----
.alerts-tab .notification {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
box-shadow: none;
&__icon {
border-radius: $radius-card;
}
&__title {
font-size: $text-sm;
color: var(--text);
}
&__message {
font-size: $text-sm;
color: var(--text-dim);
}
&__time {
font-size: $text-xs;
color: var(--text-faint);
}
&--info {
border-color: var(--border-soft);
.notification__icon { @include status-variant(var(--accent-bright), var(--accent-bg)); }
}
&--warning {
border-color: fade($warning-raw, 28%);
.notification__icon { @include status-variant(var(--amber), var(--amber-bg)); }
}
&--danger {
border-color: fade($danger-raw, 28%);
.notification__icon { @include status-variant(var(--red), var(--red-bg)); }
}
}
// ---- Packages tab — mono eyebrows + token chips (base styles live in
// _server-packages.scss and use shadcn vars; retint to the new tokens) ----
.server-packages {
&__presets h3,
&__results h3,
&__installed h3 {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__chip {
background: var(--surface-2);
border-color: var(--border);
color: var(--text-dim);
font-size: $text-xs;
&:hover {
background: var(--accent-bg);
border-color: var(--accent-dim);
color: var(--accent-bright);
}
}
&__list,
&__raw,
&__remove-tip {
border-color: var(--border-soft);
border-radius: var(--radius-sm);
}
&__raw {
background: var(--bg-code);
color: var(--text-dim);
font-size: $text-xs;
}
&__list-item {
border-bottom-color: var(--border-soft);
&:hover {
background: var(--surface-2);
}
}
&__list-name {
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
}
&__remove-tip {
background: var(--surface-2);
font-size: $text-sm;
}
}
}
// ============================================
// LINK PANEL — "Link panel" tab of the Add Server modal (linked state view)
// ============================================
.link-panel-status {
display: flex;
flex-direction: column;
gap: $space-3;
}