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
// ============================================
// SERVICE DETAIL PAGE (redesign — infra console look)
// Shares the WordPress detail page's layout: a full-bleed PageTopbar
// (.sk-topbar) above a centered .app-detail-body, reusing the shared
// app-detail-* base chrome (_applications.scss). Tab bodies consume the
// shared sk- primitives (Pill / MetricCard / Gauge / .sk-info-row / .sk-dtable).
// ============================================
// Run the detail page FULL-BLEED like the list pages: drop the .main-content
// frame so the .sk-topbar spans edge-to-edge; .app-detail-body re-pads a
// centered column below. (Mirrors .main-content:has(.wp-detail-page).)
.main-content:has(.svc-detail) {
padding: 0;
// padding:0 also drops the base rule's mobile top-clearance, so restore it
// (the fixed mobile header would otherwise overlap the top bar).
@media (max-width: $breakpoint-md) {
margin-top: calc(#{$mobile-header-height} + env(safe-area-inset-top));
}
}
.svc-detail {
// ── Full-bleed shell ────────────────────────────────────────────────
// Mirrors .wp-detail-page: the page reuses the shared app-detail-* base
// chrome (from _applications.scss) and runs full-bleed, so the .sk-topbar
// spans edge-to-edge above a centered, padded body. The .main-content
// frame is dropped by the `:has()` rule at the bottom of this file.
gap: 0;
// Full-width body below the full-bleed top bar.
.app-detail-body {
display: flex;
flex-direction: column;
gap: $space-5;
width: 100%;
// Same full width and gutter as every page body (page-shell-inner).
padding: $space-5 $space-5 $space-8;
}
// Identity row — flat (no card): just the tile + name on the page.
.app-detail-header {
padding: $space-1 0 0;
background: none;
border: none;
border-radius: 0;
&::before { content: none; }
}
// Breadcrumb rendered in the top bar's title slot.
.svc-crumbs {
display: inline-flex;
align-items: center;
gap: $space-2;
white-space: nowrap;
a {
color: var(--text-dim);
text-decoration: none;
&:hover { color: var(--accent-bright); }
}
&__sep { color: var(--text-ghost); }
&__cur { color: var(--text); }
}
// The detail page carries several actions, so let the whole bar wrap
// instead of squeezing the breadcrumb (matches .wp-detail-topbar).
.svc-detail-topbar {
padding: $space-3 $space-4;
flex-wrap: wrap;
row-gap: $space-2;
.sk-topbar__spacer { display: none; }
.sk-topbar__titles { flex-shrink: 0; }
.sk-topbar__actions {
margin-left: auto;
flex-wrap: wrap;
justify-content: flex-end;
row-gap: $space-tight;
}
}
// Gradient initial avatar (ds ServiceTile — size via props)
&__tile {
border-radius: $radius-overlay;
box-shadow: none;
}
// Service-type tag (brand colors arrive via inline style props)
&__type-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;
border: 1px solid;
}
// Dropdown
&__dropdown {
position: relative;
}
&__dropdown-menu {
position: absolute;
top: calc(100% + 4px);
left: 0;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: $space-1;
min-width: 200px;
z-index: $z-dropdown;
box-shadow: $shadow-raised;
&--right {
left: auto;
right: 0;
}
button, a {
display: flex;
align-items: center;
gap: $space-2;
width: 100%;
padding: $space-2 $space-3;
background: none;
border: none;
color: $text-secondary;
font-size: $text-xs;
cursor: pointer;
border-radius: $radius-control;
text-decoration: none;
&:hover {
background: var(--surface-hover);
color: $text-primary;
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
}
&__dropdown-divider {
height: 1px;
background: var(--border-soft);
margin: $space-1 0;
}
&__dropdown-danger {
color: $danger !important;
&:hover {
background: $danger-bg !important;
color: $danger !important;
}
}
// Repo Bar (spacing handled by the .app-detail-body flex gap)
&__repo-bar {
display: flex;
}
&__repo-pill {
display: inline-flex;
align-items: center;
gap: $space-2;
padding: $space-tight $space-3;
background: var(--surface);
border: 1px solid var(--border);
border-radius: $radius-full;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
cursor: pointer;
transition: border-color $transition-fast, background $transition-fast;
svg { color: var(--text-faint); }
&:hover {
border-color: var(--accent-dim);
background: var(--surface-2);
}
&--static {
cursor: default;
&:hover {
border-color: var(--border);
background: var(--surface);
}
}
}
&__repo-url {
font-size: $text-xs;
color: $text-primary;
}
&__repo-arrow {
color: var(--text-ghost);
}
&__repo-branch {
font-size: $text-xs;
color: var(--accent-bright);
font-weight: $font-weight-medium;
}
&__auto-deploy-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;
@include status-variant(var(--green), var(--green-bg));
border-radius: $radius-badge;
}
&__connect-repo {
display: inline-flex;
align-items: center;
gap: $space-2;
padding: $space-tight $space-3;
background: none;
border: 1px dashed var(--border-strong);
border-radius: $radius-full;
font-size: $text-xs;
color: var(--text-faint);
cursor: pointer;
transition: all $transition-fast;
&:hover {
border-color: var(--accent-dim);
color: var(--accent-bright);
background: var(--accent-bg-soft);
}
}
&__versions {
padding: $space-4;
background: var(--surface);
border: 1px solid var(--border);
border-radius: $radius-card;
}
&__versions-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
margin-bottom: $space-3;
h3 {
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-primary);
}
}
&__upload-label {
display: inline-flex;
align-items: center;
gap: $space-2;
padding: $space-tight $space-3;
background: var(--accent-bg-soft);
border: 1px solid var(--accent-dim);
border-radius: $radius-control;
color: var(--accent-bright);
font-size: $text-xs;
font-weight: $font-weight-medium;
cursor: pointer;
transition: background $transition-fast;
&:hover {
background: var(--accent-bg);
}
input {
display: none;
}
}
&__versions-list {
display: grid;
gap: $space-2;
margin: 0;
padding: 0;
list-style: none;
li {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
padding: $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: $radius-control;
&.is-current {
border-color: rgba(61, 220, 151, 0.35);
background: rgba(61, 220, 151, 0.06);
}
}
}
&__version-name {
font-family: var(--mono);
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-primary);
}
&__version-date {
margin-left: auto;
color: var(--text-faint);
font-size: $text-xs;
}
&__version-current {
padding: $space-1 $space-2;
background: rgba(61, 220, 151, 0.1);
border: 1px solid rgba(61, 220, 151, 0.2);
border-radius: $radius-full;
color: var(--green);
font-size: $text-xs;
font-weight: $font-weight-medium;
}
// Tab strip + content reuse the shared app-detail-tabs / app-detail-tab /
// app-detail-content chrome (defined in _applications.scss), matching the
// WordPress detail page. Let the strip WRAP (instead of scroll) so the
// right-pinned Settings tab can never get pushed off-screen.
.app-detail-tabs {
flex-wrap: wrap;
overflow-x: visible;
row-gap: $space-hair;
}
// Settings pinned to the far right of the strip (matches the mockup's gear).
.app-detail-tab--end { margin-left: auto; }
// Scoped console/editor polish for tabs that use shared classes
// (Gunicorn editor, Commands output) — token re-tint only.
.code-editor {
background: var(--bg-code);
border-color: var(--border-soft);
color: var(--text-code);
font-family: var(--mono);
font-size: $text-xs;
}
.command-output {
background: var(--bg-code);
border-color: var(--border-soft);
border-radius: var(--radius);
pre {
color: var(--text-code);
font-size: $text-xs;
}
&.error {
border-color: rgba(251, 111, 111, 0.4);
}
.stderr {
color: var(--red);
}
}
}
// ============================================
// SHARED TAB CHROME
// ============================================
// Mono eyebrow section label (used by tab section headers).
// The h3 variant out-specifies the global `.section-header h3` sizing.
.svc-eyebrow,
h3.svc-eyebrow {
display: flex;
align-items: center;
gap: $space-tight;
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
&__count {
font-weight: $font-weight-medium;
color: var(--text-ghost);
}
// standalone eyebrow followed by a hint paragraph (Commands tab)
+ .hint {
margin-top: $space-2;
}
}
// Plain surface card wrapper (tables, consoles)
.svc-card {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
}
// Accent-tinted mono cell (e.g. package names)
.svc-pkg-name {
color: var(--accent-bright) !important;
}
// ============================================
// EVENTS TAB — the merged activity table
// ============================================
// ============================================
// SHELL TAB — console re-tinted to tokens
// ============================================
.shell-tab {
&__container-select { font-size: $text-xs; }
&__container {
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
}
&__header {
display: flex;
justify-content: space-between;
align-items: center;
padding: $space-3 $space-4;
background: var(--surface-2);
border-bottom: 1px solid var(--border-soft);
}
&__title {
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__terminal {
background: var(--bg-code);
padding: $space-4;
min-height: 400px;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-code);
overflow-y: auto;
max-height: 600px;
}
&__hint {
color: var(--text-faint);
}
&__line {
line-height: 1.6;
white-space: pre-wrap;
word-break: break-all;
&--input {
color: var(--cyan);
}
&--error {
color: var(--red);
}
}
&__input-row {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-3 $space-4;
background: var(--surface);
border-top: 1px solid var(--border-soft);
}
&__prompt {
color: var(--accent-bright);
font-family: var(--mono);
font-size: $text-xs;
flex-shrink: 0;
}
&__input {
flex: 1;
background: none;
border: none;
color: $text-primary;
font-family: var(--mono);
font-size: $text-xs;
outline: none;
}
}
// ============================================
// METRICS TAB — point-in-time spec cards + gauges
// (no metrics HISTORY backend yet — see docs/REDESIGN_MAP.md §5; the cards
// bind to live point-in-time stats only, no fabricated series)
// ============================================
// Settings tab within service detail — grouped left sub-nav + content pane,
// mirroring the WordPress detail page's settings layout (.wp-settings).
.svc-settings {
display: grid;
grid-template-columns: 200px 1fr;
gap: $space-4;
align-items: start;
@media (max-width: $breakpoint-md) {
grid-template-columns: 1fr;
}
&__nav {
display: flex;
flex-direction: column;
gap: $space-hair;
position: sticky;
top: $space-4;
// Phones: one horizontally scrollable chip row. Groups are flattened
// (display: contents) so every item is a direct flex child; the group
// labels are hidden and the +$space-4 stagger margin disappears with
// the group boxes. The old wrap layout squeezed four group columns
// side by side, staggered them 16px apart and clipped the pills.
@media (max-width: $breakpoint-md) {
position: static;
flex-direction: row;
flex-wrap: nowrap;
gap: $space-tight;
overflow-x: auto;
padding-bottom: $space-hair; // keep the active pill's ring/shadow unclipped
scrollbar-width: none;
&::-webkit-scrollbar { display: none; }
}
}
// Grouped left nav — an uppercase mono label per group.
&__group + &__group {
margin-top: $space-4;
}
@media (max-width: $breakpoint-md) {
&__group { display: contents; }
&__grouplabel { display: none; }
}
&__grouplabel {
padding: 0 $space-3;
margin-bottom: $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__navitem {
display: flex;
width: 100%; // fill the nav column — a flex <button> otherwise shrinks
// to its label, so each item's box was a different width
align-items: center;
gap: $space-2;
min-height: $control-md;
padding: 0 $space-3;
border: none;
border-radius: $radius-control;
background: none;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
text-align: left;
cursor: pointer;
transition: background 0.14s, color 0.14s;
svg { color: var(--text-faint); flex-shrink: 0; }
&:hover { background: var(--surface-hover); color: var(--text); }
&.is-active {
@include status-variant(var(--accent-bright), var(--accent-bg));
svg { color: var(--accent-bright); }
}
// Chip row on phones: shrink to the label, never wrap or stretch.
@media (max-width: $breakpoint-md) {
width: auto;
flex: 0 0 auto;
white-space: nowrap;
}
}
&__content {
min-width: 0;
}
&__section {
margin-bottom: $space-6;
&:last-child { margin-bottom: 0; }
}
&__section-title {
display: flex;
align-items: center;
gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
// A divided sub-block within a section — e.g. the Deployment pipeline under
// the Git connect form in "Git & Deploy". Mirrors the .svc-give-subdomain
// divider so stacked panels read as distinct steps rather than one slab.
&__subsection {
margin-top: $space-5;
padding-top: $space-5;
border-top: 1px solid var(--border-soft);
}
&__subsection-title {
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
}
// Icon-only button (global utility consumed by several other components)
// ============================================
// MANIFEST PANEL (service settings → Manifest)
// Declarative serverkit.yaml status + scaffold / plan / apply actions.
// ============================================
.svc-manifest {
display: flex;
flex-direction: column;
gap: $space-4;
&__status {
display: flex;
align-items: center;
gap: $space-3;
flex-wrap: wrap;
}
&__badge {
display: inline-flex;
align-items: center;
gap: $space-tight;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
svg { color: var(--accent-bright); }
}
&__pill {
display: inline-flex;
align-items: center;
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;
background: var(--surface-hover);
color: var(--text-dim);
&--applied { background: rgba(61, 220, 151, 0.14); color: $success; }
&--pending { background: rgba(245, 185, 69, 0.14); color: $warning; }
&--drifted,
&--error { background: rgba(239, 68, 68, 0.14); color: $danger; }
}
&__source {
color: var(--text-faint);
font-size: $text-xs;
overflow-wrap: anywhere;
}
&__empty {
display: flex;
flex-direction: column;
gap: $space-2;
.hint { margin: 0; }
}
&__actions {
display: flex;
align-items: center;
gap: $space-2;
flex-wrap: wrap;
}
&__block {
padding-top: $space-3;
border-top: 1px solid var(--border-soft);
}
&__block-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
}
&__block-title {
margin: 0 0 $space-2;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__pre {
max-height: 320px;
margin: $space-2 0 0;
padding: $space-3;
overflow: auto;
background: var(--surface-sunken, var(--surface-hover));
border: 1px solid var(--border-soft);
border-radius: $radius-card;
font-family: var(--mono);
font-size: $text-xs;
line-height: 1.5;
color: var(--text);
}
&__steps,
&__issues {
display: flex;
flex-direction: column;
gap: $space-tight;
margin: $space-2 0 0;
padding: 0;
list-style: none;
li {
display: flex;
align-items: center;
gap: $space-2;
flex-wrap: wrap;
font-size: $text-sm;
color: var(--text-dim);
}
}
&__issues li { color: $warning; }
&__step-type {
display: inline-flex;
align-items: center;
height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
font-weight: $font-weight-medium;
text-transform: capitalize;
&.is-error { background: rgba(239, 68, 68, 0.14); color: $danger; }
}
&__step-service { color: var(--text); font-size: $text-xs; }
&__step-desc { color: var(--text-dim); }
}
// ============================================
// DOMAIN & SSL PANEL (service settings)
// Mirrors the WordPress SiteSSLPanel layout so both detail pages feel the same.
// ============================================
.svc-domain-panel {
.ssl-guide {
display: flex;
flex-direction: column;
gap: $space-3;
margin-top: $space-3;
}
// "Give it a subdomain" action — sits under the domain/SSL summary grid.
.svc-give-subdomain {
display: flex;
align-items: center;
gap: $space-3;
flex-wrap: wrap;
margin-top: $space-3;
padding-top: $space-3;
border-top: 1px solid var(--border-soft);
.form-hint { margin: 0; }
}
.ssl-checklist {
display: flex;
flex-direction: column;
gap: $space-2;
padding: $space-3;
background: var(--surface-2);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
}
.ssl-check-item {
display: flex;
align-items: center;
gap: $space-2;
font-size: $text-xs;
color: var(--text-dim);
}
.ssl-check-icon {
flex-shrink: 0;
&--ok { color: var(--green); }
&--missing { color: var(--amber); }
}
.ssl-check-label {
&--ok { color: var(--text); }
}
.ssl-inline-attach {
display: flex;
flex-direction: column;
gap: $space-3;
margin-top: $space-3;
padding-top: $space-3;
border-top: 1px solid var(--border-soft);
}
}
// ============================================
// OVERVIEW TAB
// ============================================
.overview-tab {
// Stack the KPI band, the info/metrics grid and the full-width panels with
// one consistent rhythm, so the KPI strip is never glued to the section
// directly below it (the old "no padding under the KPIs" gap).
display: flex;
flex-direction: column;
gap: $space-5;
// A firmer border (no shadow: cards stay flat) keeps the KPI tiles from
// dissolving into the page (dark --surface ≈ --bg-body).
.sk-kpi {
border-color: var(--border);
}
// KPI strip (ds MetricCard) — legacy grid, kept for any non-KpiBand use
&__kpis {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: $space-4;
@media (max-width: $breakpoint-lg) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: $breakpoint-sm) { grid-template-columns: 1fr; }
}
// Grid layout for info + metrics
&__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-4;
@media (max-width: $breakpoint-md) {
grid-template-columns: 1fr;
}
}
&__card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: $radius-card;
box-shadow: none;
padding: $space-4;
&--full {
grid-column: 1 / -1;
}
}
&__card-title {
display: flex;
align-items: center;
gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
}
&__card-header-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $space-3;
.overview-tab__card-title {
margin: 0;
}
}
&__see-all {
font-size: $text-xs;
color: var(--text-faint);
}
// Info badge (brand colors via inline style props)
&__info-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;
border: 1px solid;
}
&__info-link {
display: inline-flex;
align-items: center;
gap: $space-1;
font-family: var(--mono);
font-size: $text-xs;
color: var(--accent-bright);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
&__branch {
margin-left: $space-2;
color: var(--accent-bright);
font-weight: $font-weight-medium;
}
// Resource metrics (ds Gauge bars + mono values)
&__metrics {
display: flex;
flex-direction: column;
gap: $space-4;
}
&__metric-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $space-2;
font-size: $text-sm;
color: $text-secondary;
}
&__metric-value {
font-weight: $font-weight-semibold;
color: $text-primary;
}
&__metric-detail {
display: block;
font-size: $text-xs;
color: var(--text-faint);
margin-top: $space-1;
}
&__metric-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: $space-3;
}
&__metric-item {
display: flex;
flex-direction: column;
gap: $space-hair;
}
&__metric-item-label {
font-size: $text-xs;
color: var(--text-faint);
}
&__metric-item-value {
font-size: $text-sm;
font-weight: $font-weight-medium;
color: $text-primary;
}
&__loading, &__no-metrics, &__no-deploys {
padding: $space-6;
text-align: center;
color: $text-tertiary;
font-size: $text-xs;
}
// Recent Deployments list — dense rows
&__deploy-list {
display: flex;
flex-direction: column;
}
&__deploy-row {
display: flex;
align-items: center;
gap: $space-3;
padding: $space-3 0;
& + & {
border-top: 1px solid var(--border-soft);
}
}
&__deploy-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
background: var(--text-ghost);
&--green { background: var(--green); }
&--red { background: var(--red); }
&--amber { background: var(--amber); }
&--cyan { background: var(--cyan); }
&--gray { background: var(--text-faint); }
}
&__deploy-info {
flex: 1;
min-width: 0;
}
&__deploy-message {
font-size: $text-sm;
color: $text-primary;
font-weight: $font-weight-medium;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&__deploy-meta {
display: flex;
align-items: center;
gap: $space-3;
font-size: $text-xs;
color: var(--text-faint);
margin-top: $space-hair;
}
&__deploy-sha {
@include status-variant(var(--accent-bright), var(--accent-bg));
padding: 0 $space-1;
border-radius: $radius-badge;
}
}
// ============================================
// LOGS TAB V2 — console re-tinted to tokens
// ============================================
.logs-tab-v2 {
display: flex;
flex-direction: column;
gap: 0;
}
// Live deploy progress shown above the container logs when a DeploymentJob
// is active for the app (repo create, template install, redeploy).
.deploy-job-banner {
margin-bottom: $space-4;
padding: $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
&__title {
margin: 0 0 $space-3 0;
font-size: $text-base;
font-weight: $font-weight-semibold;
}
}
.logs-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
gap: $space-3;
padding: $space-3 $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius) var(--radius) 0 0;
&__left {
display: flex;
align-items: center;
gap: $space-3;
flex: 1;
}
&__right {
display: flex;
align-items: center;
gap: $space-2;
flex-shrink: 0;
}
&__search {
display: flex;
align-items: center;
gap: $space-2;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: $radius-control;
padding: 0 $space-2;
flex: 1;
max-width: 300px;
&:focus-within {
border-color: var(--accent-primary);
}
svg {
color: var(--text-faint);
flex-shrink: 0;
}
input {
flex: 1;
background: none;
border: none;
padding: $space-1 0;
color: $text-primary;
font-size: $text-xs;
outline: none;
min-width: 0;
&::placeholder {
color: var(--text-faint);
}
}
}
&__match-count {
font-size: $text-xs;
color: var(--accent-bright);
white-space: nowrap;
}
// Radix select triggers, sized to their content in the toolbar row.
&__select {
width: auto;
min-width: 8rem;
}
&__toggle {
display: flex;
align-items: center;
gap: $space-1;
font-size: $text-xs;
color: $text-tertiary;
cursor: pointer;
white-space: nowrap;
input {
accent-color: var(--accent-primary);
}
}
&__divider {
width: 1px;
height: 16px;
background: var(--border);
}
}
.logs-source-hint {
display: flex;
align-items: center;
gap: $space-2;
padding: $space-1 $space-4;
background: var(--surface-2);
border-left: 1px solid var(--border-soft);
border-right: 1px solid var(--border-soft);
font-size: $text-xs;
color: var(--text-faint);
&__live {
font-size: $text-xs;
font-weight: $font-weight-semibold;
padding: 1px $space-1;
@include status-variant(var(--red), var(--red-bg));
border-radius: $radius-badge;
animation: pulse-dot 1.5s ease-in-out infinite;
}
}
// Open-in-new-tab affordance next to the service name, before the status pill.
.svc-detail__open,
.svc-detail__portlink {
display: inline-flex;
align-items: center;
gap: $space-1;
color: $text-tertiary;
transition: color $transition-fast;
&:hover { color: var(--accent-bright); }
}
.svc-detail__open { margin-left: 2px; }
// Semantic layouts and controls; declarations preserved from the legacy compatibility layer.
.svc-title-link-icon { margin-inline-start: 0.25rem; }