788 lines
18 KiB
CSS
788 lines
18 KiB
CSS
/* Layout rules extracted from styles.css */`r`n`r`n.app {
|
|
width: min(var(--page-max), 100%);
|
|
margin: 0 auto;
|
|
padding: var(--page-pad);
|
|
animation: appFadeIn 220ms ease both;
|
|
}
|
|
|
|
@keyframes appFadeIn {
|
|
from { opacity: 0; transform: translateY(2px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.app { animation: none; }
|
|
}
|
|
|
|
.header {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding: 14px 18px;
|
|
border: 1px solid var(--border);
|
|
background:
|
|
linear-gradient(180deg, color-mix(in oklab, var(--primary) 4%, transparent), transparent 60%),
|
|
var(--header-bg);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(14px) saturate(1.1);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: box-shadow var(--motion), border-color var(--motion);
|
|
}
|
|
|
|
.header.isScrolled {
|
|
border-color: var(--primary-border);
|
|
box-shadow: 0 6px 24px -2px color-mix(in oklab, var(--primary) 20%, transparent), 0 1px 0 var(--border) inset;
|
|
}
|
|
|
|
:root[data-theme="dark"] .header.isScrolled {
|
|
box-shadow: 0 6px 24px -2px color-mix(in oklab, var(--primary) 28%, transparent), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
|
|
}
|
|
|
|
/* Top hairline gradient */
|
|
.header::before {
|
|
position: absolute;
|
|
inset: 0 0 auto;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 65%, transparent), color-mix(in oklab, var(--secondary) 65%, transparent), transparent);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Bottom sweep glow when scrolled */
|
|
.header::after {
|
|
position: absolute;
|
|
inset: auto 0 -1px 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
|
|
background-size: 200% 100%;
|
|
opacity: 0;
|
|
transition: opacity 200ms ease;
|
|
animation: headerSweep 6s linear infinite;
|
|
}
|
|
|
|
.header.isScrolled::after {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
@keyframes headerSweep {
|
|
to { background-position: 200% 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.header::after { animation: none; }
|
|
}
|
|
|
|
.brandBlock {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.brandMark {
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 42px;
|
|
width: 42px;
|
|
height: 42px;
|
|
color: var(--on-primary);
|
|
background:
|
|
conic-gradient(from 215deg, #fcd34d, #f59e0b, #92400e, #4f46e5, #818cf8, #fcd34d);
|
|
border-radius: var(--radius-md);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.35) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.2) inset,
|
|
0 4px 14px -2px rgba(245, 158, 11, 0.45),
|
|
0 1px 3px rgba(0, 0, 0, 0.18);
|
|
transition: transform var(--motion), box-shadow var(--motion);
|
|
}
|
|
|
|
/* Specular highlight that drifts on idle */
|
|
.brandMark::before {
|
|
position: absolute;
|
|
inset: 0;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.55), transparent 38%);
|
|
mix-blend-mode: screen;
|
|
animation: brandShine 9s ease-in-out infinite alternate;
|
|
}
|
|
|
|
/* Glassy inner ring */
|
|
.brandMark::after {
|
|
position: absolute;
|
|
inset: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
border-radius: calc(var(--radius-md) - 1px);
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
|
|
mix-blend-mode: overlay;
|
|
}
|
|
|
|
.brandMark svg {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 22px;
|
|
height: 22px;
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
|
|
}
|
|
|
|
@keyframes brandShine {
|
|
0% { transform: translate(0, 0); }
|
|
100% { transform: translate(8%, 6%); }
|
|
}
|
|
|
|
.brandBlock:hover .brandMark {
|
|
transform: translateY(-1px) scale(1.03);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.4) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.22) inset,
|
|
0 8px 22px -4px rgba(245, 158, 11, 0.55),
|
|
0 1px 3px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.brandMark::before {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.title {
|
|
color: var(--text-strong);
|
|
font-size: var(--text-lg);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.subtitle {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.actionGroup {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.secondaryActions::before {
|
|
align-self: stretch;
|
|
width: 1px;
|
|
margin: 4px 8px 4px 2px;
|
|
background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 35%, transparent), transparent);
|
|
content: "";
|
|
}
|
|
|
|
.primaryActions {
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#btnTheme {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.workspaceShell {
|
|
display: grid;
|
|
grid-template-columns: var(--rail-width) minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"rail workspace";
|
|
align-items: start;
|
|
gap: var(--shell-gap);
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.workspaceShell > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.configRail {
|
|
position: sticky;
|
|
top: 106px;
|
|
grid-area: rail;
|
|
max-height: calc(100vh - 124px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.workspaceShell .configRail {
|
|
position: sticky;
|
|
top: 106px;
|
|
align-self: start;
|
|
}
|
|
|
|
.configWorkspace {
|
|
grid-area: workspace;
|
|
min-width: 0;
|
|
}
|
|
|
|
.liveRail {
|
|
grid-area: workspace;
|
|
display: grid;
|
|
gap: var(--shell-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.activityDock {
|
|
grid-area: workspace;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--shell-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.monitorPanel {
|
|
display: grid;
|
|
grid-template-columns: minmax(320px, 640px);
|
|
gap: var(--shell-gap);
|
|
}
|
|
|
|
.monitorPanel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.cardShot {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 18px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
|
|
}
|
|
|
|
/* Top highlight hairline */
|
|
.card::before {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 65%, transparent), color-mix(in oklab, var(--secondary) 65%, transparent), transparent);
|
|
opacity: 0.45;
|
|
transition: opacity var(--motion);
|
|
}
|
|
|
|
.card:hover::before {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.cardShot {
|
|
animation-delay: 40ms;
|
|
}
|
|
|
|
.cardReservations {
|
|
animation-delay: 80ms;
|
|
}
|
|
|
|
.cardLog {
|
|
animation-delay: 120ms;
|
|
}
|
|
|
|
.card > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--primary-border);
|
|
box-shadow: var(--shadow), 0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent), 0 12px 28px -10px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.cardScroll {
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cardTitle {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding-bottom: 14px;
|
|
margin-bottom: 4px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-strong);
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
/* Status chip on the right of card titles, shows up when body.is-running */
|
|
.cardTitle::after {
|
|
margin-left: auto;
|
|
padding: 0 8px;
|
|
height: 19px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
border: 1px solid color-mix(in oklab, var(--muted) 40%, transparent);
|
|
border-radius: 99px;
|
|
background: color-mix(in oklab, var(--muted) 12%, transparent);
|
|
color: var(--muted);
|
|
font-family: "IBM Plex Mono", ui-monospace, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
content: "READY";
|
|
flex-shrink: 0;
|
|
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
body.is-running .cardTitle::after {
|
|
border-color: color-mix(in oklab, var(--success) 50%, transparent);
|
|
background: color-mix(in oklab, var(--success) 16%, transparent);
|
|
color: var(--success);
|
|
content: "● LIVE";
|
|
}
|
|
|
|
.cardTitle .sectionIcon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 28px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 1px solid var(--primary-border);
|
|
border-radius: var(--radius-sm);
|
|
background:
|
|
linear-gradient(135deg, color-mix(in oklab, var(--primary) 18%, transparent), color-mix(in oklab, var(--secondary) 18%, transparent)),
|
|
var(--primary-soft);
|
|
color: var(--primary);
|
|
box-shadow: 0 0 12px -4px color-mix(in oklab, var(--primary) 40%, transparent);
|
|
}
|
|
|
|
.cardTitle .sectionIcon svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.sectionIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.sectionIcon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.configLayout {
|
|
display: contents;
|
|
}
|
|
|
|
.workspaceHeader {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
min-width: 0;
|
|
margin-bottom: var(--space-3);
|
|
padding: var(--space-4) var(--space-5);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.workspaceHeader::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: var(--space-4);
|
|
bottom: var(--space-4);
|
|
width: 3px;
|
|
content: "";
|
|
border-radius: 0 3px 3px 0;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 12px -2px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
}
|
|
|
|
.workspaceHeader::after {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 50%, transparent), color-mix(in oklab, var(--secondary) 50%, transparent), transparent);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.workspaceEyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--primary-accent-text);
|
|
font-family: "IBM Plex Mono", ui-monospace, monospace;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.workspaceEyebrow::before {
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 8px color-mix(in oklab, var(--primary) 60%, transparent);
|
|
content: "";
|
|
}
|
|
|
|
.workspaceTitle {
|
|
margin: 6px 0 0;
|
|
color: var(--text-strong);
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.workspaceHint {
|
|
max-width: 360px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
text-align: right;
|
|
}
|
|
|
|
.workspaceSearch {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: clamp(220px, 32vw, 360px);
|
|
}
|
|
|
|
.workspaceSearch input {
|
|
width: 100%;
|
|
min-height: 36px;
|
|
padding: 0 64px 0 30px;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
background: var(--surface-soft);
|
|
font-size: var(--text-sm);
|
|
caret-color: var(--primary);
|
|
outline: none;
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearch input::-webkit-search-cancel-button {
|
|
display: none;
|
|
}
|
|
|
|
.workspaceSearch input:hover {
|
|
border-color: var(--primary-border);
|
|
}
|
|
|
|
.workspaceSearch input:focus-visible {
|
|
border-color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary-soft) 30%, var(--surface));
|
|
box-shadow:
|
|
0 0 0 1px var(--primary),
|
|
0 0 0 4px color-mix(in oklab, var(--primary) 22%, transparent),
|
|
0 0 16px -2px color-mix(in oklab, var(--primary) 45%, transparent);
|
|
}
|
|
|
|
/* Icon turns primary on focus */
|
|
.workspaceSearch:focus-within .workspaceSearchIcon {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.workspaceSearchIcon {
|
|
position: absolute;
|
|
left: 9px;
|
|
top: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -7px;
|
|
color: var(--muted-soft);
|
|
pointer-events: none;
|
|
transition: color var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchClear {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -10px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--muted-soft);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition: color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchClear:hover {
|
|
color: var(--text);
|
|
background: color-mix(in oklab, var(--primary-soft) 60%, transparent);
|
|
}
|
|
|
|
.workspaceSearchKbd {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 18px;
|
|
padding: 0 6px;
|
|
border: 1px solid color-mix(in oklab, var(--primary) 40%, var(--border-strong));
|
|
border-radius: 4px;
|
|
background: color-mix(in oklab, var(--primary) 6%, var(--surface));
|
|
color: var(--primary-accent-text);
|
|
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
pointer-events: none;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchCount {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
padding: 1px 7px;
|
|
border-radius: 99px;
|
|
background: var(--primary-soft);
|
|
color: var(--primary-accent-text);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.workspaceSearchCount[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.workspaceSearch:focus-within .workspaceSearchKbd,
|
|
.workspaceSearch input:not(:placeholder-shown) ~ .workspaceSearchKbd {
|
|
opacity: 0;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.workspaceSearchKbd {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.row.isSearchHidden,
|
|
.sectionTitle.isSearchHidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.configSearchEmpty {
|
|
margin: 12px 0;
|
|
padding: 24px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius-md);
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.sideNav {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
margin-top: 14px;
|
|
padding: 8px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background:
|
|
linear-gradient(180deg, color-mix(in oklab, var(--primary-soft) 50%, transparent), transparent 60%),
|
|
var(--surface-soft);
|
|
box-shadow: 0 1px 0 var(--hairline) inset;
|
|
counter-reset: tabIdx;
|
|
--tab-indicator-y: 6px;
|
|
--tab-indicator-h: 14px;
|
|
--tab-indicator-opacity: 0;
|
|
}
|
|
|
|
.sideNav::before {
|
|
position: absolute;
|
|
left: 6px;
|
|
top: var(--tab-indicator-y);
|
|
width: 3px;
|
|
height: var(--tab-indicator-h);
|
|
content: "";
|
|
border-radius: 3px;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
opacity: var(--tab-indicator-opacity);
|
|
box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent);
|
|
transition: top 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
height 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
opacity var(--motion-fast);
|
|
pointer-events: none;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.sideNav.isBurst::before {
|
|
animation: tabBurst 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
}
|
|
|
|
@keyframes tabBurst {
|
|
0% { transform: scaleY(1) scaleX(1); box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent); }
|
|
35% { transform: scaleY(1.3) scaleX(1.6); box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 90%, transparent); }
|
|
100% { transform: scaleY(1) scaleX(1); box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.sideNav::before {
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
.sideNav.isBurst::before {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* ==================== App footer ==================== */
|
|
.appFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
padding: 12px 16px;
|
|
border-top: 1px solid color-mix(in oklab, var(--primary) 22%, var(--border));
|
|
color: var(--muted);
|
|
font-family: "IBM Plex Mono", ui-monospace, monospace;
|
|
font-size: 12px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 4%, transparent));
|
|
}
|
|
|
|
.appFooterLeft,
|
|
.appFooterRight {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.appConnDot {
|
|
position: relative;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--muted-soft);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--muted-soft) 16%, transparent);
|
|
}
|
|
|
|
.appConnDot[data-state="ok"] {
|
|
background: radial-gradient(circle at 30% 30%, #fcd34d, var(--success));
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 18%, transparent), 0 0 8px color-mix(in oklab, var(--success) 50%, transparent);
|
|
}
|
|
|
|
.appConnDot[data-state="ok"]::after {
|
|
position: absolute;
|
|
inset: -4px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 1px solid var(--success);
|
|
opacity: 0.5;
|
|
animation: footerRipple 2.4s ease-out infinite;
|
|
}
|
|
|
|
.appConnDot[data-state="error"] {
|
|
background: var(--danger);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 18%, transparent), 0 0 8px color-mix(in oklab, var(--danger) 60%, transparent);
|
|
animation: statusPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes footerRipple {
|
|
0% { transform: scale(0.8); opacity: 0.6; }
|
|
100% { transform: scale(2.0); opacity: 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.appConnDot[data-state="ok"]::after { animation: none; }
|
|
}
|
|
|
|
.appConnText,
|
|
.appFooterMeta {
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01", "tnum";
|
|
}
|
|
|
|
.appFooterMeta em {
|
|
font-style: normal;
|
|
color: var(--text-strong);
|
|
letter-spacing: 0;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.hudPing em { color: var(--secondary); }
|
|
.hudFps em { color: var(--primary); }
|
|
|
|
.appFooterDivider {
|
|
color: var(--muted-soft);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.appFooter {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.appFooter .hudPing,
|
|
.appFooter .hudFps {
|
|
display: none;
|
|
}
|
|
}
|