5443 lines
118 KiB
CSS
5443 lines
118 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
font-family:
|
|
"Inter",
|
|
"Segoe UI",
|
|
system-ui,
|
|
-apple-system,
|
|
sans-serif;
|
|
background: #04070d;
|
|
color: #e8edf2;
|
|
|
|
/* Design tokens */
|
|
--radius-lg: 14px;
|
|
--radius-md: 10px;
|
|
--radius-sm: 8px;
|
|
--radius-full: 999px;
|
|
|
|
--text-xs: 0.75rem;
|
|
--text-sm: 0.8125rem;
|
|
--text-base: 0.875rem;
|
|
--text-lg: 1rem;
|
|
--text-xl: 1.25rem;
|
|
--text-2xl: 1.5rem;
|
|
--text-3xl: 1.75rem;
|
|
|
|
--color-text: #e8edf2;
|
|
--color-text-muted: #9db1cc;
|
|
--color-text-bright: #f8fbff;
|
|
--color-surface: rgba(40, 55, 90, 0.3);
|
|
--color-surface-dark: rgba(20, 26, 40, 0.7);
|
|
--color-border: rgba(255, 255, 255, 0.08);
|
|
--color-primary: #6366f1;
|
|
--color-primary-hover: #818cf8;
|
|
--color-success: #22c55e;
|
|
--color-danger: #ef4444;
|
|
}
|
|
|
|
.monaco-editor,
|
|
.monaco-editor .margin,
|
|
.monaco-editor-background {
|
|
--vscode-editor-background: #020617;
|
|
}
|
|
|
|
.overlord-tabulator.tabulator {
|
|
background: #020617;
|
|
border: 1px solid rgb(30 41 59);
|
|
border-radius: 0.75rem;
|
|
color: #e2e8f0;
|
|
min-height: 12rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-header {
|
|
background: #0f172a;
|
|
border-bottom-color: rgb(30 41 59);
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-header .tabulator-col {
|
|
background: #0f172a;
|
|
border-right-color: rgb(30 41 59);
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-header .tabulator-col:hover {
|
|
background: #162033;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-row {
|
|
background: #020617;
|
|
border-bottom-color: rgba(30, 41, 59, 0.85);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-row.tabulator-row-even {
|
|
background: #07101f;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-row:hover {
|
|
background: #111827;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-cell {
|
|
border-right-color: rgba(30, 41, 59, 0.75);
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
.overlord-tabulator .tabulator-placeholder {
|
|
background: #020617;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
:root:not(.app-ready) #app-loader {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
:root.app-ready #app-loader {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#app-loader {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(2, 6, 23, 0.92);
|
|
backdrop-filter: blur(8px);
|
|
transition: opacity 420ms ease, visibility 420ms ease;
|
|
}
|
|
|
|
.app-loader-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(60% 50% at 20% 20%, rgba(56, 189, 248, 0.22), transparent 70%),
|
|
radial-gradient(50% 45% at 80% 10%, rgba(99, 102, 241, 0.2), transparent 72%),
|
|
radial-gradient(65% 55% at 50% 100%, rgba(16, 185, 129, 0.12), transparent 75%);
|
|
animation: loaderBgPulse 5.2s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.app-loader-core {
|
|
position: relative;
|
|
width: min(440px, 88vw);
|
|
padding: 34px 24px 24px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(99, 102, 241, 0.3);
|
|
background:
|
|
linear-gradient(150deg, rgba(15, 23, 42, 0.92), rgba(10, 15, 30, 0.96));
|
|
box-shadow:
|
|
0 20px 46px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(129, 140, 248, 0.1);
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-loader-core::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(
|
|
110deg,
|
|
transparent 20%,
|
|
rgba(129, 140, 248, 0.14) 50%,
|
|
transparent 80%
|
|
);
|
|
transform: translateX(-120%);
|
|
animation: loaderSweep 2.6s linear infinite;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loader-rings {
|
|
position: relative;
|
|
width: 86px;
|
|
height: 86px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.loader-ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 999px;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.ring-a {
|
|
border-top-color: rgba(56, 189, 248, 0.95);
|
|
border-right-color: rgba(99, 102, 241, 0.65);
|
|
animation: loaderSpin 1.1s linear infinite;
|
|
}
|
|
|
|
.ring-b {
|
|
inset: 8px;
|
|
border-left-color: rgba(34, 197, 94, 0.9);
|
|
border-bottom-color: rgba(56, 189, 248, 0.6);
|
|
animation: loaderSpinReverse 1.6s linear infinite;
|
|
}
|
|
|
|
.ring-c {
|
|
inset: 18px;
|
|
border-top-color: rgba(186, 230, 253, 0.95);
|
|
border-right-color: rgba(129, 140, 248, 0.7);
|
|
animation: loaderSpin 0.9s linear infinite;
|
|
}
|
|
|
|
.loader-brand {
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.22em;
|
|
color: rgba(148, 163, 184, 0.95);
|
|
}
|
|
|
|
.loader-title {
|
|
font-size: 1.45rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
color: #e2e8f0;
|
|
text-shadow: 0 0 18px rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.loader-percent {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
color: #c7d2fe;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.loader-track {
|
|
width: min(340px, 76vw);
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: rgba(30, 41, 59, 0.9);
|
|
border: 1px solid rgba(99, 102, 241, 0.22);
|
|
overflow: hidden;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.loader-bar {
|
|
width: 0;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(56, 189, 248, 0.9),
|
|
rgba(99, 102, 241, 0.95),
|
|
rgba(34, 197, 94, 0.88)
|
|
);
|
|
box-shadow: 0 0 14px rgba(56, 189, 248, 0.38);
|
|
transition: width 120ms ease-out;
|
|
}
|
|
|
|
@keyframes loaderSpin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes loaderSpinReverse {
|
|
to {
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes loaderBgPulse {
|
|
0% {
|
|
filter: saturate(0.95) brightness(0.95);
|
|
}
|
|
100% {
|
|
filter: saturate(1.1) brightness(1.06);
|
|
}
|
|
}
|
|
|
|
@keyframes loaderSweep {
|
|
to {
|
|
transform: translateX(120%);
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
@view-transition {
|
|
navigation: auto;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: #0a0d14;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
background: rgba(10, 15, 25, 0.9);
|
|
border-bottom: 1px solid var(--color-border);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
.brand {
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.nav {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.nav a {
|
|
padding: 7px 12px;
|
|
border-radius: var(--radius-md);
|
|
color: #c5ced8;
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.nav a.active,
|
|
.nav a:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
.user-pill {
|
|
padding: 7px 12px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
color: #dfe7f2;
|
|
}
|
|
.login-body {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 100vh;
|
|
background: #05070f;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-body::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -20%;
|
|
background:
|
|
radial-gradient(
|
|
40% 40% at 20% 20%,
|
|
rgba(99, 230, 226, 0.28),
|
|
transparent 55%
|
|
),
|
|
radial-gradient(
|
|
35% 35% at 80% 30%,
|
|
rgba(111, 179, 255, 0.25),
|
|
transparent 55%
|
|
),
|
|
linear-gradient(120deg, rgba(56, 189, 248, 0.18), rgba(59, 130, 246, 0.08));
|
|
filter: blur(40px);
|
|
animation: gradientShift 18s ease-in-out infinite alternate;
|
|
opacity: 0.9;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* .container removed — collided with Tailwind's container utility */
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
h1 {
|
|
margin: 0 0 6px 0;
|
|
font-size: 26px;
|
|
}
|
|
p {
|
|
margin: 0;
|
|
}
|
|
.muted {
|
|
color: var(--color-text-muted);
|
|
}
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: var(--text-xs);
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-full);
|
|
border: 1px solid var(--color-border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #dfe7f2;
|
|
}
|
|
.pill i {
|
|
font-size: 12px;
|
|
}
|
|
.pill-online {
|
|
background: rgba(16, 185, 129, 0.08);
|
|
color: #86efac;
|
|
border-color: rgba(16, 185, 129, 0.2);
|
|
}
|
|
.pill-ghost {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #cbd5e1;
|
|
}
|
|
.pill-unknown {
|
|
background: rgba(148, 163, 184, 0.16);
|
|
color: #e2e8f0;
|
|
border-color: rgba(148, 163, 184, 0.32);
|
|
}
|
|
.pill-win {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: #bfdbfe;
|
|
border-color: rgba(59, 130, 246, 0.22);
|
|
}
|
|
.pill-mac {
|
|
background: rgba(209, 213, 219, 0.12);
|
|
color: #f8fafc;
|
|
border-color: rgba(209, 213, 219, 0.22);
|
|
}
|
|
.pill-ubuntu {
|
|
background: rgba(249, 115, 22, 0.08);
|
|
color: #fed7aa;
|
|
border-color: rgba(249, 115, 22, 0.18);
|
|
}
|
|
.pill-debian {
|
|
background: rgba(236, 72, 153, 0.08);
|
|
color: #fbcfe8;
|
|
border-color: rgba(236, 72, 153, 0.18);
|
|
}
|
|
.pill-arch {
|
|
background: rgba(34, 211, 238, 0.08);
|
|
color: #a5f3fc;
|
|
border-color: rgba(34, 211, 238, 0.18);
|
|
}
|
|
.pill-fedora {
|
|
background: rgba(59, 130, 246, 0.08);
|
|
color: #c7d2fe;
|
|
border-color: rgba(59, 130, 246, 0.18);
|
|
}
|
|
.pill-kali,
|
|
.pill-alpine {
|
|
background: rgba(14, 165, 233, 0.08);
|
|
color: #bae6fd;
|
|
border-color: rgba(14, 165, 233, 0.18);
|
|
}
|
|
.pill-redhat,
|
|
.pill-freebsd {
|
|
background: rgba(239, 68, 68, 0.09);
|
|
color: #fecaca;
|
|
border-color: rgba(239, 68, 68, 0.2);
|
|
}
|
|
.pill-centos,
|
|
.pill-gentoo {
|
|
background: rgba(139, 92, 246, 0.1);
|
|
color: #ddd6fe;
|
|
border-color: rgba(139, 92, 246, 0.22);
|
|
}
|
|
.pill-suse,
|
|
.pill-manjaro,
|
|
.pill-rocky,
|
|
.pill-alma,
|
|
.pill-pop,
|
|
.pill-nixos {
|
|
background: rgba(16, 185, 129, 0.08);
|
|
color: #bbf7d0;
|
|
border-color: rgba(16, 185, 129, 0.18);
|
|
}
|
|
.pill-raspi {
|
|
background: rgba(219, 39, 119, 0.08);
|
|
color: #fbcfe8;
|
|
border-color: rgba(219, 39, 119, 0.18);
|
|
}
|
|
.pill-android {
|
|
background: rgba(132, 204, 22, 0.08);
|
|
color: #d9f99d;
|
|
border-color: rgba(132, 204, 22, 0.18);
|
|
}
|
|
.pill-linux {
|
|
background: rgba(16, 185, 129, 0.07);
|
|
color: #bbf7d0;
|
|
border-color: rgba(16, 185, 129, 0.16);
|
|
}
|
|
.pill-x64 {
|
|
background: rgba(94, 234, 212, 0.14);
|
|
color: #ccfbf1;
|
|
border-color: rgba(94, 234, 212, 0.24);
|
|
}
|
|
.pill-arm {
|
|
background: rgba(14, 165, 233, 0.14);
|
|
color: #bae6fd;
|
|
border-color: rgba(14, 165, 233, 0.24);
|
|
}
|
|
.pill-version {
|
|
background: rgba(244, 114, 182, 0.16);
|
|
color: #fbcfe8;
|
|
border-color: rgba(244, 114, 182, 0.28);
|
|
}
|
|
|
|
/* .grid removed — was colliding with Tailwind's grid utility (display: grid) */
|
|
.card {
|
|
background: rgba(30, 41, 59, 0.72) !important;
|
|
border: 1px solid rgba(51, 65, 85, 0.6) !important;
|
|
border-radius: var(--radius-lg);
|
|
padding: 12px 14px;
|
|
box-shadow: none;
|
|
}
|
|
.card.card-offline {
|
|
background: rgba(15, 23, 40, 0.65) !important;
|
|
border-color: rgba(51, 65, 85, 0.35) !important;
|
|
filter: saturate(0.5);
|
|
opacity: 0.8;
|
|
}
|
|
article.card[data-bookmarked="true"] {
|
|
border-color: rgba(202, 138, 4, 0.55) !important;
|
|
}
|
|
.pill-offline {
|
|
background: rgba(51, 65, 85, 0.3);
|
|
color: #94a3b8;
|
|
border-color: rgba(71, 85, 105, 0.55);
|
|
}
|
|
.pill-admin {
|
|
background: rgba(234, 179, 8, 0.08);
|
|
color: #fef08a;
|
|
border-color: rgba(234, 179, 8, 0.22);
|
|
}
|
|
.pill-system {
|
|
background: rgba(239, 68, 68, 0.08);
|
|
color: #fca5a5;
|
|
border-color: rgba(239, 68, 68, 0.22);
|
|
}
|
|
.pill-ti {
|
|
background: rgba(168, 85, 247, 0.08);
|
|
color: #d8b4fe;
|
|
border-color: rgba(168, 85, 247, 0.22);
|
|
}
|
|
.pill-perm-ok {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #86efac;
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
}
|
|
.pill-perm-no {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #fca5a5;
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
/* Hardware info toggle & panel */
|
|
.pill-hw {
|
|
background: rgba(99, 102, 241, 0.14);
|
|
color: #c7d2fe;
|
|
border-color: rgba(99, 102, 241, 0.3);
|
|
transition: background 0.15s ease;
|
|
}
|
|
.pill-hw:hover {
|
|
background: rgba(99, 102, 241, 0.25);
|
|
}
|
|
.hw-panel {
|
|
margin-top: 4px;
|
|
background: linear-gradient(135deg, rgba(30, 35, 60, 0.55), rgba(20, 24, 44, 0.65));
|
|
border-color: rgba(99, 102, 241, 0.18);
|
|
backdrop-filter: blur(4px);
|
|
padding: 10px 14px;
|
|
}
|
|
.hw-panel-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.hw-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
.hw-row:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
.hw-label {
|
|
flex-shrink: 0;
|
|
width: 56px;
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.hw-label i {
|
|
font-size: 12px;
|
|
width: 14px;
|
|
text-align: center;
|
|
}
|
|
.hw-label-cpu { color: #93c5fd; }
|
|
.hw-label-cpu i { color: #60a5fa; }
|
|
.hw-label-gpu { color: #c4b5fd; }
|
|
.hw-label-gpu i { color: #a78bfa; }
|
|
.hw-label-ram { color: #6ee7b7; }
|
|
.hw-label-ram i { color: #34d399; }
|
|
.hw-value {
|
|
font-size: var(--text-xs);
|
|
color: var(--color-text);
|
|
word-break: break-word;
|
|
}
|
|
.hw-gpu-count {
|
|
font-size: 0.65rem;
|
|
padding: 1px 5px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(167, 139, 250, 0.18);
|
|
color: #c4b5fd;
|
|
border: 1px solid rgba(167, 139, 250, 0.25);
|
|
margin-left: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background: none;
|
|
opacity: 0;
|
|
}
|
|
.card > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.tone-pill-ubuntu {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(249, 115, 22, 0.12),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(249, 115, 22, 0.08), transparent 55%);
|
|
}
|
|
.tone-pill-debian {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(236, 72, 153, 0.14),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(236, 72, 153, 0.08), transparent 55%);
|
|
}
|
|
.tone-pill-kali {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(14, 165, 233, 0.16),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 55%);
|
|
}
|
|
.tone-pill-fedora {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(59, 130, 246, 0.16),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 55%);
|
|
}
|
|
.tone-pill-linux {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(16, 185, 129, 0.14),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.08), transparent 55%);
|
|
}
|
|
.tone-pill-win {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(59, 130, 246, 0.18),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 55%);
|
|
}
|
|
.tone-pill-mac {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(226, 232, 240, 0.16),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(circle at 80% 0%, rgba(148, 163, 184, 0.1), transparent 55%);
|
|
}
|
|
.tone-pill-unknown {
|
|
--card-accent:
|
|
radial-gradient(
|
|
circle at 20% 20%,
|
|
rgba(148, 163, 184, 0.12),
|
|
transparent 45%
|
|
),
|
|
radial-gradient(
|
|
circle at 80% 0%,
|
|
rgba(148, 163, 184, 0.06),
|
|
transparent 55%
|
|
);
|
|
}
|
|
.client-card {
|
|
padding: 14px;
|
|
}
|
|
.client-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.thumb-wrap {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
@keyframes gradientShift {
|
|
0% {
|
|
transform: translate3d(-4%, -2%, 0) scale(1);
|
|
}
|
|
50% {
|
|
transform: translate3d(3%, 4%, 0) scale(1.05);
|
|
}
|
|
100% {
|
|
transform: translate3d(-2%, 6%, 0) scale(1.02);
|
|
}
|
|
}
|
|
.thumb-lg {
|
|
width: 150px;
|
|
height: 96px;
|
|
object-fit: cover;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
display: grid;
|
|
place-items: center;
|
|
color: #8aa2c5;
|
|
font-size: 20px;
|
|
}
|
|
.thumb-lg.placeholder {
|
|
border-style: dashed;
|
|
}
|
|
.client-main {
|
|
flex: 1 1 260px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
font-weight: 700;
|
|
}
|
|
.flag {
|
|
font-size: 22px;
|
|
}
|
|
.client-name {
|
|
font-size: 16px;
|
|
}
|
|
.meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
color: #9db1cc;
|
|
font-size: 13px;
|
|
}
|
|
.chip {
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #d7e5ff;
|
|
font-size: var(--text-xs);
|
|
display: inline-flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
.ping {
|
|
font-variant-numeric: tabular-nums;
|
|
color: #9cf099;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.right-rail {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 18px;
|
|
color: #9db1cc;
|
|
}
|
|
|
|
.context-menu {
|
|
position: fixed;
|
|
z-index: 50;
|
|
padding: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
width: 180px;
|
|
}
|
|
.context-menu button {
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--color-border);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--color-text);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.context-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
.context-menu button.danger {
|
|
color: #ffb4b4;
|
|
border-color: rgba(255, 99, 99, 0.2);
|
|
}
|
|
|
|
#command-menu .menu-group-toggle {
|
|
transition: background-color 0.16s ease;
|
|
}
|
|
|
|
#command-menu .menu-group-chevron {
|
|
transition: transform 0.18s ease;
|
|
}
|
|
|
|
#command-menu .menu-group-toggle[aria-expanded="false"] .menu-group-chevron {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 12px 0 28px 0;
|
|
}
|
|
.button {
|
|
padding: 9px 14px;
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
color: var(--color-text);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.button:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
.button.ghost {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.topbar {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
.nav {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
.page {
|
|
padding: 16px 14px;
|
|
}
|
|
.right-rail {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
.thumb-lg {
|
|
width: 120px;
|
|
height: 80px;
|
|
}
|
|
|
|
#command-menu {
|
|
max-width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 20px);
|
|
overflow-y: auto;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
#command-menu button {
|
|
padding: 11px 12px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#command-menu .menu-group {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
#command-menu .menu-group-body {
|
|
gap: 6px;
|
|
}
|
|
|
|
#command-menu i {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1800px) {
|
|
#clients-shell {
|
|
max-width: min(1800px, 92vw) !important;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#clients-shell h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
#clients-shell #grid {
|
|
gap: 1rem;
|
|
}
|
|
|
|
#clients-shell #grid article.card {
|
|
padding: 1.15rem 1.35rem;
|
|
}
|
|
|
|
#clients-shell #grid .thumb-img {
|
|
width: 12rem;
|
|
height: 7.25rem;
|
|
}
|
|
|
|
#clients-shell #grid .text-2xl {
|
|
font-size: 1.7rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
#clients-shell #grid .text-lg {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
#clients-shell #grid .text-sm {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
#clients-shell #grid .text-xs {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
#clients-shell #grid .pill {
|
|
padding: 0.35rem 0.65rem;
|
|
}
|
|
|
|
#clients-shell #grid .command-btn,
|
|
#clients-shell #grid .ban-btn {
|
|
padding: 0.7rem 0.95rem;
|
|
}
|
|
}
|
|
.login-body {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%),
|
|
radial-gradient(110% 110% at 80% 0%, #112233 0%, transparent 50%), #05070f;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-particles {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.particle {
|
|
position: absolute;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: radial-gradient(circle, rgba(92, 145, 255, 0.8), transparent);
|
|
border-radius: 50%;
|
|
opacity: 0;
|
|
}
|
|
|
|
.particle:nth-child(1) {
|
|
top: 20%;
|
|
left: 15%;
|
|
}
|
|
.particle:nth-child(2) {
|
|
top: 60%;
|
|
left: 80%;
|
|
}
|
|
.particle:nth-child(3) {
|
|
top: 40%;
|
|
left: 50%;
|
|
}
|
|
.particle:nth-child(4) {
|
|
top: 75%;
|
|
left: 25%;
|
|
}
|
|
.particle:nth-child(5) {
|
|
top: 15%;
|
|
left: 70%;
|
|
}
|
|
|
|
.login-card {
|
|
width: min(420px, 90vw);
|
|
background: linear-gradient(
|
|
145deg,
|
|
rgba(40, 55, 90, 0.4),
|
|
rgba(20, 26, 40, 0.85)
|
|
);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--radius-lg);
|
|
padding: 40px 32px;
|
|
box-shadow:
|
|
0 20px 60px rgba(0, 0, 0, 0.5),
|
|
0 0 100px rgba(92, 145, 255, 0.1);
|
|
position: relative;
|
|
opacity: 0;
|
|
}
|
|
|
|
.login-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: var(--radius-lg);
|
|
padding: 1px;
|
|
background: linear-gradient(145deg, rgba(92, 145, 255, 0.3), transparent);
|
|
-webkit-mask:
|
|
linear-gradient(#fff 0 0) content-box,
|
|
linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.login-crown-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.login-crown {
|
|
font-size: 48px;
|
|
color: #7a5bff;
|
|
filter: drop-shadow(0 4px 12px rgba(122, 91, 255, 0.5));
|
|
}
|
|
|
|
.login-brand {
|
|
text-align: center;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 12px;
|
|
background: linear-gradient(135deg, #7a5bff, #5672ff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
opacity: 0;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.login-title {
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin: 0 0 8px 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.login-subtitle {
|
|
text-align: center;
|
|
margin-bottom: 28px;
|
|
opacity: 0;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
opacity: 0;
|
|
}
|
|
|
|
.modal {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal img {
|
|
margin: 0 auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
margin: 12px 0 6px 0;
|
|
color: #cfe0ff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.input-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 13px 16px;
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-row:focus-within {
|
|
border-color: rgba(100, 116, 139, 0.82);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.input-row i {
|
|
color: #7a8cb5;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.input-row:focus-within i {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.input-row input {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: none;
|
|
color: #e8edf2;
|
|
font-size: 15px;
|
|
outline: none;
|
|
}
|
|
|
|
.input-row input::placeholder {
|
|
color: #6b7a98;
|
|
}
|
|
|
|
.button.primary {
|
|
background: linear-gradient(120deg, #4f6bff, #715dff);
|
|
border-color: rgba(129, 140, 248, 0.55);
|
|
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.button.primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 24px rgba(122, 91, 255, 0.4);
|
|
}
|
|
|
|
.button.primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.button.full {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.graph-shell {
|
|
min-height: calc(100vh - 64px);
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 14px;
|
|
padding: 18px 20px 20px;
|
|
}
|
|
|
|
.graph-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
border: 1px solid rgba(30, 41, 59, 0.86);
|
|
background: rgba(2, 6, 23, 0.78);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.graph-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.graph-title > i {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
background: rgba(8, 145, 178, 0.12);
|
|
color: #67e8f9;
|
|
border: 1px solid rgba(103, 232, 249, 0.18);
|
|
}
|
|
|
|
.graph-title h1 {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.graph-title p {
|
|
margin: 2px 0 0;
|
|
color: #94a3b8;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.graph-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.graph-field {
|
|
height: 38px;
|
|
min-width: min(280px, 44vw);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 1px solid rgba(51, 65, 85, 0.95);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.92);
|
|
color: #94a3b8;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.graph-field:focus-within {
|
|
border-color: rgba(56, 189, 248, 0.65);
|
|
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
|
|
}
|
|
|
|
.graph-field input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: #e2e8f0;
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.graph-select {
|
|
height: 38px;
|
|
border: 1px solid rgba(51, 65, 85, 0.95);
|
|
border-radius: 8px;
|
|
background: #0f172a;
|
|
color: #dbeafe;
|
|
padding: 0 10px;
|
|
font-size: 0.84rem;
|
|
}
|
|
|
|
.graph-workspace {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.graph-canvas {
|
|
min-height: 560px;
|
|
height: calc(100vh - 170px);
|
|
border: 1px solid rgba(30, 41, 59, 0.9);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.94)),
|
|
linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
|
|
linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px);
|
|
background-size: auto, 34px 34px, 34px 34px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.graph-inspector {
|
|
min-height: 0;
|
|
height: calc(100vh - 170px);
|
|
overflow: auto;
|
|
border: 1px solid rgba(148, 163, 184, 0.14);
|
|
border-radius: 8px;
|
|
background: #141c2b;
|
|
box-shadow:
|
|
0 14px 38px rgba(0, 0, 0, 0.26),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
padding: 8px;
|
|
scrollbar-color: rgba(100, 116, 139, 0.7) transparent;
|
|
}
|
|
|
|
.graph-inspector-kicker {
|
|
color: #94a3b8;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
padding: 8px 8px 0;
|
|
}
|
|
|
|
.graph-inspector h2 {
|
|
margin: 4px 8px 10px;
|
|
color: #f8fafc;
|
|
font-size: 1.05rem;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.graph-detail-meta {
|
|
display: grid;
|
|
gap: 1px;
|
|
padding: 4px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.13);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.13);
|
|
}
|
|
|
|
.graph-meta-row {
|
|
display: grid;
|
|
grid-template-columns: 82px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 32px;
|
|
border-radius: 5px;
|
|
padding: 6px 8px;
|
|
background: transparent;
|
|
}
|
|
|
|
.graph-meta-row span {
|
|
color: #7c8aa0;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.graph-meta-row strong {
|
|
color: #cbd5e1;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.graph-meta-row:hover {
|
|
background: rgba(71, 85, 105, 0.32);
|
|
}
|
|
|
|
.graph-detail-actions {
|
|
display: grid;
|
|
gap: 1px;
|
|
margin-top: 8px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.graph-action-note {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #fca5a5;
|
|
background: rgba(127, 29, 29, 0.18);
|
|
border: 1px solid rgba(248, 113, 113, 0.14);
|
|
border-radius: 5px;
|
|
padding: 7px 10px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.graph-action {
|
|
min-height: 34px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 9px;
|
|
border-radius: 5px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #cbd5e1;
|
|
padding: 7px 10px;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
transition: background 0.1s ease, color 0.1s ease;
|
|
}
|
|
|
|
.graph-action:hover:not(:disabled) {
|
|
background: rgba(71, 85, 105, 0.55);
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.graph-action:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.38;
|
|
filter: grayscale(0.55);
|
|
}
|
|
|
|
.graph-action--remote {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.graph-action--remote i {
|
|
color: #c084fc;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.graph-action--console {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.graph-action--console i {
|
|
color: #34d399;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.graph-action--files {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.graph-action--files i {
|
|
color: #60a5fa;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.graph-action--copy {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.graph-action--copy i {
|
|
color: #94a3b8;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.graph-toolbar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.graph-controls {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.graph-field {
|
|
min-width: min(100%, 360px);
|
|
}
|
|
|
|
.graph-workspace {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.graph-canvas,
|
|
.graph-inspector {
|
|
height: auto;
|
|
}
|
|
|
|
.graph-canvas {
|
|
min-height: 520px;
|
|
}
|
|
}
|
|
|
|
@keyframes radioactiveShake {
|
|
0%,
|
|
100% {
|
|
transform: translate(0, 0);
|
|
}
|
|
25% {
|
|
transform: translate(-0.5px, 0.5px);
|
|
}
|
|
50% {
|
|
transform: translate(0.5px, -0.5px);
|
|
}
|
|
75% {
|
|
transform: translate(-0.5px, -0.5px);
|
|
}
|
|
}
|
|
|
|
@keyframes crownBounce {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-4px);
|
|
}
|
|
}
|
|
|
|
@keyframes statusPulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
|
|
}
|
|
50% {
|
|
opacity: 0.9;
|
|
box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
|
|
}
|
|
}
|
|
|
|
.status-online {
|
|
animation: statusPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes radioactiveShakeIntense {
|
|
0%,
|
|
100% {
|
|
transform: translate(0, 0);
|
|
}
|
|
10% {
|
|
transform: translate(-2px, 2px);
|
|
}
|
|
20% {
|
|
transform: translate(2px, -2px);
|
|
}
|
|
30% {
|
|
transform: translate(-2px, -2px);
|
|
}
|
|
40% {
|
|
transform: translate(2px, 2px);
|
|
}
|
|
50% {
|
|
transform: translate(-2px, 0);
|
|
}
|
|
60% {
|
|
transform: translate(2px, 0);
|
|
}
|
|
70% {
|
|
transform: translate(0, -2px);
|
|
}
|
|
80% {
|
|
transform: translate(0, 2px);
|
|
}
|
|
90% {
|
|
transform: translate(-2px, 2px);
|
|
}
|
|
}
|
|
|
|
.login-btn {
|
|
margin-top: 8px;
|
|
padding: 14px 20px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
opacity: 0;
|
|
position: relative;
|
|
overflow: visible;
|
|
animation: none;
|
|
}
|
|
|
|
.login-btn:hover {
|
|
animation: none;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.header-crown {
|
|
background: linear-gradient(135deg, #a78bfa, #c084fc);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
display: inline-block;
|
|
animation: crownBounce 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes cardSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.card-animate {
|
|
animation: cardSlideIn 0.4s ease-out forwards;
|
|
opacity: 0;
|
|
}
|
|
|
|
.large-client-set .card-animate,
|
|
.large-client-set .cv-row,
|
|
.large-client-set .cv-card,
|
|
.large-client-set .cv-trow,
|
|
.large-client-set .cv-actions,
|
|
.large-client-set .cv-card-actions,
|
|
.large-client-set .cv-card-check,
|
|
.large-client-set .layout-toggle-btn,
|
|
.large-client-set .dashboard-menu summary,
|
|
.large-client-set .dashboard-menu-panel,
|
|
.large-client-set .cv-expand-btn i {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
}
|
|
|
|
.large-client-set .cv-card:hover {
|
|
transform: none;
|
|
}
|
|
|
|
@keyframes cardFlipFall {
|
|
0% {
|
|
opacity: 1;
|
|
transform:
|
|
perspective(1400px) rotateX(0) rotateY(0) rotateZ(0)
|
|
translate3d(0, 0, 0) scale(1);
|
|
filter: brightness(1) saturate(1);
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
}
|
|
18% {
|
|
opacity: 1;
|
|
transform:
|
|
perspective(1400px) rotateX(6deg) rotateY(-12deg) rotateZ(-2deg)
|
|
translate3d(-4px, -16px, 40px) scale(1.04);
|
|
filter: brightness(1.18) saturate(1.15);
|
|
box-shadow:
|
|
0 30px 60px rgba(0, 0, 0, 0.55),
|
|
0 0 32px rgba(244, 63, 94, 0.35);
|
|
}
|
|
55% {
|
|
opacity: 1;
|
|
transform:
|
|
perspective(1400px) rotateX(35deg) rotateY(360deg) rotateZ(12deg)
|
|
translate3d(40px, 60px, -120px) scale(0.92);
|
|
filter: brightness(0.9) saturate(0.9);
|
|
box-shadow:
|
|
0 40px 70px rgba(0, 0, 0, 0.6),
|
|
0 0 22px rgba(244, 63, 94, 0.25);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform:
|
|
perspective(1400px) rotateX(75deg) rotateY(720deg) rotateZ(38deg)
|
|
translate3d(140px, 110vh, -400px) scale(0.5);
|
|
filter: brightness(0.45) saturate(0.6);
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
}
|
|
}
|
|
|
|
.card-uninstalling {
|
|
animation: cardFlipFall 1100ms cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
|
|
transform-origin: center center;
|
|
transform-style: preserve-3d;
|
|
backface-visibility: hidden;
|
|
pointer-events: none;
|
|
position: relative;
|
|
z-index: 5;
|
|
will-change: transform, opacity, filter;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.card-uninstalling {
|
|
animation: none;
|
|
opacity: 0;
|
|
transition: opacity 220ms ease;
|
|
}
|
|
}
|
|
|
|
.ripple {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ripple::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-top: -50px;
|
|
margin-left: -50px;
|
|
top: var(--y, 50%);
|
|
left: var(--x, 50%);
|
|
pointer-events: none;
|
|
transform: scale(0);
|
|
opacity: 0;
|
|
}
|
|
|
|
.ripple.ripple-active::after {
|
|
animation: ripple-effect 0.6s ease-out;
|
|
}
|
|
|
|
@keyframes ripple-effect {
|
|
0% {
|
|
transform: scale(0);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
transform: scale(4);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 20px;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(30, 41, 59, 0.98),
|
|
rgba(15, 23, 42, 0.98)
|
|
);
|
|
border: 1px solid rgba(100, 116, 139, 0.3);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 20px;
|
|
min-width: 320px;
|
|
max-width: 420px;
|
|
box-shadow:
|
|
0 10px 40px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
pointer-events: auto;
|
|
animation: toastSlideIn 0.3s ease-out;
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.toast.removing {
|
|
animation: toastSlideOut 0.3s ease-in forwards;
|
|
}
|
|
|
|
@keyframes toastSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(400px) scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes toastSlideOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0) scale(1);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(400px) scale(0.9);
|
|
}
|
|
}
|
|
|
|
.toast-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.toast-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.toast-success .toast-icon {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.toast-error .toast-icon {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
color: #f87171;
|
|
}
|
|
|
|
.toast-info .toast-icon {
|
|
background: rgba(59, 130, 246, 0.2);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.toast-warning .toast-icon {
|
|
background: rgba(245, 158, 11, 0.2);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.toast-title {
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
color: #f1f5f9;
|
|
flex: 1;
|
|
}
|
|
|
|
.toast-close {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.toast-close:hover {
|
|
background: rgba(100, 116, 139, 0.2);
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.toast-message {
|
|
color: #cbd5e1;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
padding-left: 36px;
|
|
}
|
|
|
|
.page-transition-enter {
|
|
animation: pageSlideIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes pageSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes countUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.counter-animate {
|
|
animation: countUp 0.5s ease-out;
|
|
}
|
|
|
|
.login-btn-particle {
|
|
position: fixed;
|
|
pointer-events: none;
|
|
border-radius: 50%;
|
|
background: radial-gradient(
|
|
circle,
|
|
rgba(150, 120, 255, 1),
|
|
rgba(100, 130, 255, 0.9)
|
|
);
|
|
box-shadow:
|
|
0 0 12px rgba(150, 120, 255, 1),
|
|
0 0 24px rgba(120, 100, 255, 0.9),
|
|
0 0 36px rgba(100, 130, 255, 0.7);
|
|
opacity: 0;
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
.btn-text {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.btn-icon {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.button.primary:hover .btn-icon {
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.error {
|
|
color: #ff9b9b;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 220ms ease,
|
|
padding 220ms ease,
|
|
background-color 220ms ease,
|
|
border-color 220ms ease;
|
|
}
|
|
|
|
.error:not(:empty) {
|
|
opacity: 1;
|
|
padding: 8px 10px;
|
|
background: rgba(255, 99, 99, 0.1);
|
|
border-color: rgba(255, 99, 99, 0.22);
|
|
}
|
|
|
|
.success {
|
|
color: #6ee7b7;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 220ms ease,
|
|
padding 220ms ease,
|
|
background-color 220ms ease,
|
|
border-color 220ms ease;
|
|
}
|
|
|
|
.success:not(:empty) {
|
|
opacity: 1;
|
|
padding: 8px 10px;
|
|
background: rgba(16, 185, 129, 0.12);
|
|
border-color: rgba(16, 185, 129, 0.28);
|
|
}
|
|
|
|
.login-footer {
|
|
margin-top: 18px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.login-footer a {
|
|
color: #c4b8ff;
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(196, 184, 255, 0.25);
|
|
transition: color 180ms ease, border-color 180ms ease;
|
|
}
|
|
|
|
.login-footer a:hover {
|
|
color: #e6dffe;
|
|
border-bottom-color: rgba(230, 223, 254, 0.7);
|
|
}
|
|
|
|
|
|
.console-body {
|
|
background:
|
|
radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%),
|
|
radial-gradient(110% 110% at 80% 0%, #112233 0%, transparent 50%), #05070f;
|
|
min-height: 100vh;
|
|
color: #e8edf2;
|
|
font-family:
|
|
"Inter",
|
|
"Segoe UI",
|
|
system-ui,
|
|
-apple-system,
|
|
sans-serif;
|
|
}
|
|
|
|
.console-topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px 18px;
|
|
background: rgba(5, 9, 18, 0.9);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.console-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.console-main {
|
|
padding: 16px;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.console-card {
|
|
background: linear-gradient(
|
|
145deg,
|
|
rgba(40, 55, 90, 0.35),
|
|
rgba(12, 18, 30, 0.9)
|
|
);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.console-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 10px;
|
|
padding: 8px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.console-target-id {
|
|
font-weight: 600;
|
|
color: #f8fbff;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.console-output {
|
|
min-height: 46vh;
|
|
max-height: 68vh;
|
|
white-space: normal;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
overflow: auto;
|
|
overflow-x: auto;
|
|
box-sizing: border-box;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
background:
|
|
radial-gradient(
|
|
120% 120% at 20% 20%,
|
|
rgba(80, 120, 255, 0.08),
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
80% 80% at 80% 0%,
|
|
rgba(24, 196, 164, 0.08),
|
|
transparent 60%
|
|
),
|
|
#0b1020;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
overflow-wrap: normal;
|
|
word-break: normal;
|
|
}
|
|
|
|
.console-pre {
|
|
margin: 0;
|
|
white-space: pre;
|
|
display: block;
|
|
width: max-content;
|
|
min-width: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.console-input-row {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 10px;
|
|
align-items: end;
|
|
padding: 10px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.console-input-row .prompt {
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #cfe0ff;
|
|
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
|
|
}
|
|
|
|
#console-input {
|
|
width: 100%;
|
|
min-height: 46px;
|
|
max-height: 200px;
|
|
resize: vertical;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(3, 7, 18, 0.8);
|
|
color: #e8edf2;
|
|
border-radius: 12px;
|
|
padding: 10px 12px;
|
|
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.console-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.console-buttons .button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.console-topbar {
|
|
flex-wrap: wrap;
|
|
}
|
|
.console-actions {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
.console-input-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.console-input-row .prompt {
|
|
width: fit-content;
|
|
}
|
|
.console-buttons {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
#console-input {
|
|
min-height: 60px;
|
|
}
|
|
}
|
|
|
|
/* Search highlighting */
|
|
mark.search-match {
|
|
background-color: rgba(250, 204, 21, 0.3);
|
|
color: inherit;
|
|
padding: 2px 0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
mark.search-current {
|
|
background-color: rgba(251, 146, 60, 0.5);
|
|
color: inherit;
|
|
padding: 2px 0;
|
|
border-radius: 2px;
|
|
box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.6);
|
|
}
|
|
|
|
/* Dashboard polish */
|
|
#top-nav {
|
|
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
|
|
/* Reserve the topbar's height before nav.js mounts so the page below it
|
|
doesn't visibly jump when the nav HTML is injected. The min-height is
|
|
overridden by `body.sb-ready #top-nav` for sidebar mode, which has its
|
|
own explicit dimensions. */
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
width: 100%;
|
|
min-height: 60px;
|
|
background: rgba(2, 6, 23, 0.92);
|
|
border-bottom: 1px solid rgba(30, 41, 59, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
}
|
|
|
|
#top-nav:empty::before {
|
|
content: "Overlord";
|
|
display: flex;
|
|
align-items: center;
|
|
height: 60px;
|
|
padding: 0 20px;
|
|
color: #e2e8f0;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
html.nav-pre-sidebar #top-nav:empty::before {
|
|
align-items: flex-start;
|
|
height: auto;
|
|
padding: 18px 14px 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
html.nav-pre-sidebar.nav-pre-collapsed #top-nav:empty::before {
|
|
content: "O";
|
|
justify-content: center;
|
|
padding-inline: 0;
|
|
}
|
|
|
|
#top-nav nav a {
|
|
position: relative;
|
|
border-color: rgba(71, 85, 105, 0.55) !important;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
|
|
transition:
|
|
transform 160ms ease,
|
|
border-color 160ms ease,
|
|
background-color 160ms ease,
|
|
box-shadow 160ms ease;
|
|
}
|
|
|
|
#top-nav nav a i {
|
|
transition:
|
|
transform 160ms ease,
|
|
filter 160ms ease;
|
|
}
|
|
|
|
#top-nav nav a:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(99, 102, 241, 0.45) !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04),
|
|
0 8px 22px rgba(2, 6, 23, 0.28);
|
|
}
|
|
|
|
#top-nav nav a:hover i {
|
|
transform: translateY(-1px) scale(1.06);
|
|
filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.35));
|
|
}
|
|
|
|
#top-nav nav a.nav-active {
|
|
border-color: rgba(99, 102, 241, 0.62) !important;
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(49, 46, 129, 0.45),
|
|
rgba(30, 41, 59, 0.9)
|
|
) !important;
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(129, 140, 248, 0.18),
|
|
0 10px 26px rgba(30, 64, 175, 0.24);
|
|
}
|
|
|
|
#top-nav nav a.nav-active i {
|
|
filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.45));
|
|
}
|
|
|
|
#total-pill {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(30, 58, 138, 0.55),
|
|
rgba(15, 23, 42, 0.75)
|
|
) !important;
|
|
border-color: rgba(59, 130, 246, 0.5) !important;
|
|
box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
|
|
}
|
|
|
|
.server-version-number {
|
|
color: #4ade80;
|
|
text-shadow:
|
|
0 0 8px rgba(74, 222, 128, 0.65),
|
|
0 0 16px rgba(34, 197, 94, 0.4);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.server-version-number-mismatch {
|
|
color: #f87171;
|
|
text-shadow:
|
|
0 0 8px rgba(248, 113, 113, 0.65),
|
|
0 0 16px rgba(239, 68, 68, 0.45);
|
|
font-weight: 600;
|
|
}
|
|
|
|
#filter-status,
|
|
#filter-os,
|
|
#filter-group,
|
|
#filter-webcam,
|
|
#sort {
|
|
transition:
|
|
border-color 150ms ease,
|
|
box-shadow 150ms ease,
|
|
background-color 150ms ease;
|
|
}
|
|
|
|
#filter-status:focus,
|
|
#filter-os:focus,
|
|
#filter-group:focus,
|
|
#filter-webcam:focus,
|
|
#sort:focus {
|
|
border-color: rgba(100, 116, 139, 0.82) !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
#search-shell {
|
|
transition:
|
|
border-color 150ms ease,
|
|
box-shadow 150ms ease,
|
|
background-color 150ms ease;
|
|
}
|
|
|
|
#search-shell:focus-within {
|
|
border-color: rgba(100, 116, 139, 0.82) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.dashboard-toolbar {
|
|
position: relative;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.dashboard-search {
|
|
flex: 1 1 420px;
|
|
min-width: 240px;
|
|
}
|
|
.dashboard-toolbar-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex: 0 0 auto;
|
|
}
|
|
.dashboard-icon-btn,
|
|
.dashboard-toggle,
|
|
.dashboard-menu > summary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(71, 85, 105, 0.72);
|
|
background: #172033;
|
|
color: #cbd5e1;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 150ms ease,
|
|
border-color 150ms ease,
|
|
background-color 150ms ease,
|
|
color 150ms ease;
|
|
}
|
|
.dashboard-icon-btn:hover,
|
|
.dashboard-toggle:hover,
|
|
.dashboard-menu > summary:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(129, 140, 248, 0.55);
|
|
background: #1f2a3e;
|
|
color: #f8fafc;
|
|
}
|
|
.dashboard-toggle input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
.dashboard-toggle:has(input:not(:checked)) {
|
|
color: #64748b;
|
|
background: rgba(15, 23, 42, 0.75);
|
|
}
|
|
.dashboard-menu {
|
|
position: relative;
|
|
}
|
|
.dashboard-menu > summary {
|
|
list-style: none;
|
|
}
|
|
.dashboard-menu > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.dashboard-menu[open] > summary {
|
|
color: #818cf8;
|
|
border-color: rgba(129, 140, 248, 0.55);
|
|
background: #20294a;
|
|
}
|
|
.dashboard-menu-panel {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: 40;
|
|
min-width: 220px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(71, 85, 105, 0.78);
|
|
border-radius: 8px;
|
|
background: #111827;
|
|
box-shadow: 0 18px 44px rgba(2, 6, 23, 0.55);
|
|
}
|
|
.dashboard-filter-panel {
|
|
min-width: 250px;
|
|
}
|
|
.dashboard-menu-panel select,
|
|
.dashboard-menu-panel button {
|
|
width: 100%;
|
|
}
|
|
.dashboard-menu-panel select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
height: 36px;
|
|
padding: 0 42px 0 10px;
|
|
border: 1px solid rgba(71, 85, 105, 0.7) !important;
|
|
border-radius: 6px;
|
|
background-color: #172033 !important;
|
|
background-image: url("data:image/svg+xml,%3Csvg width='38' height='34' viewBox='0 0 38 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5v24' stroke='%23475569' stroke-width='1'/%3E%3Cpath d='M14 13l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
background-position: right center !important;
|
|
background-repeat: no-repeat !important;
|
|
color: #dbe4f0;
|
|
box-shadow: none !important;
|
|
}
|
|
.dashboard-menu-panel select option {
|
|
background: #111827;
|
|
color: #dbe4f0;
|
|
}
|
|
.dashboard-menu-panel select:hover {
|
|
border-color: rgba(129, 140, 248, 0.55) !important;
|
|
background-color: #1f2a3e !important;
|
|
}
|
|
.dashboard-menu-panel select:focus {
|
|
border-color: rgba(100, 116, 139, 0.82) !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
.dashboard-menu-panel #country-picker-btn {
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
min-height: 36px;
|
|
padding: 0 10px;
|
|
background: #172033 !important;
|
|
border-color: rgba(71, 85, 105, 0.7) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.dashboard-menu-panel #country-picker-btn:hover {
|
|
border-color: rgba(129, 140, 248, 0.55) !important;
|
|
background: #1f2a3e !important;
|
|
}
|
|
.dashboard-menu-panel #country-picker-btn .fa-chevron-down {
|
|
align-self: stretch;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin: 0 -2px 0 auto;
|
|
padding-left: 10px;
|
|
border-left: 1px solid rgba(71, 85, 105, 0.7);
|
|
}
|
|
.dashboard-menu-panel #country-picker-btn:hover .fa-chevron-down {
|
|
border-left-color: rgba(129, 140, 248, 0.45);
|
|
}
|
|
#country-picker-panel .p-2 > div {
|
|
background: #172033 !important;
|
|
border-color: transparent !important;
|
|
box-shadow: none !important;
|
|
}
|
|
#country-picker-panel .p-2 > div:focus-within {
|
|
border-color: transparent !important;
|
|
box-shadow: none !important;
|
|
}
|
|
#country-search,
|
|
#country-search:focus {
|
|
background: transparent !important;
|
|
border-color: transparent !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
.dashboard-fields-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(92px, 1fr));
|
|
gap: 7px 10px;
|
|
min-width: 260px;
|
|
}
|
|
.dashboard-fields-panel label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
.dashboard-fields-panel input {
|
|
width: 14px;
|
|
height: 14px;
|
|
accent-color: #6366f1;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.dashboard-toolbar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
.dashboard-search {
|
|
flex-basis: auto;
|
|
width: 100%;
|
|
}
|
|
.dashboard-toolbar-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
#select-all,
|
|
#clear-selection,
|
|
#prev,
|
|
#next,
|
|
#page-jump-go {
|
|
transition:
|
|
transform 150ms ease,
|
|
border-color 150ms ease,
|
|
box-shadow 150ms ease;
|
|
}
|
|
|
|
#select-all:hover,
|
|
#clear-selection:hover,
|
|
#prev:hover,
|
|
#next:hover,
|
|
#page-jump-go:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(99, 102, 241, 0.45) !important;
|
|
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.4);
|
|
}
|
|
|
|
.page-jump {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
height: 40px;
|
|
padding: 0 5px 0 10px;
|
|
border: 1px solid rgba(71, 85, 105, 0.62);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.72);
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.page-jump label,
|
|
.page-jump-total {
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.page-jump input {
|
|
width: 4ch;
|
|
min-width: 4ch;
|
|
max-width: 10ch;
|
|
height: 28px;
|
|
padding: 0 4px;
|
|
border: 1px solid rgba(71, 85, 105, 0.72);
|
|
border-radius: 6px;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.page-jump input:focus {
|
|
border-color: rgba(100, 116, 139, 0.9);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.page-jump input::-webkit-outer-spin-button,
|
|
.page-jump input::-webkit-inner-spin-button {
|
|
margin: 0;
|
|
}
|
|
|
|
.page-jump button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 28px;
|
|
border: 1px solid rgba(71, 85, 105, 0.72);
|
|
border-radius: 6px;
|
|
background: #172033;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
#bulk-toolbar {
|
|
background:
|
|
radial-gradient(
|
|
120% 120% at 0% 0%,
|
|
rgba(99, 102, 241, 0.15),
|
|
transparent 55%
|
|
),
|
|
rgba(49, 46, 129, 0.3) !important;
|
|
border-color: rgba(99, 102, 241, 0.45) !important;
|
|
box-shadow: 0 10px 24px rgba(30, 41, 59, 0.32);
|
|
}
|
|
|
|
#grid article.card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-color: var(--group-color, rgba(71, 85, 105, 0.55)) !important;
|
|
backdrop-filter: blur(4px);
|
|
transition:
|
|
transform 170ms ease,
|
|
border-color 170ms ease,
|
|
box-shadow 170ms ease;
|
|
}
|
|
|
|
#grid article.card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--group-color, rgba(99, 102, 241, 0.45)) !important;
|
|
box-shadow:
|
|
0 18px 36px rgba(2, 6, 23, 0.45),
|
|
0 0 0 1px color-mix(in srgb, var(--group-color, rgba(99, 102, 241, 0.14)) 40%, transparent),
|
|
0 0 20px 4px color-mix(in srgb, var(--group-color, transparent) 30%, transparent);
|
|
}
|
|
|
|
/* Cohesive UI polish layer */
|
|
:root {
|
|
--ui-surface: rgba(8, 12, 24, 0.72);
|
|
--ui-surface-strong: rgba(11, 17, 33, 0.9);
|
|
--ui-surface-elevated: rgba(14, 22, 40, 0.94);
|
|
--ui-border: rgba(148, 163, 184, 0.2);
|
|
--ui-border-strong: rgba(100, 116, 139, 0.82);
|
|
--ui-ring: transparent;
|
|
--ui-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
|
|
}
|
|
|
|
body {
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.topbar,
|
|
.console-topbar,
|
|
#top-nav {
|
|
background: linear-gradient(
|
|
170deg,
|
|
rgba(8, 12, 24, 0.92),
|
|
rgba(6, 10, 20, 0.84)
|
|
);
|
|
border-bottom: 1px solid var(--ui-border);
|
|
box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
|
|
}
|
|
|
|
.container,
|
|
.console-main,
|
|
.page {
|
|
gap: 20px;
|
|
}
|
|
|
|
.card,
|
|
.console-card,
|
|
.login-card,
|
|
.context-menu,
|
|
.modal {
|
|
backdrop-filter: blur(10px);
|
|
border-color: var(--ui-border);
|
|
box-shadow: var(--ui-shadow);
|
|
}
|
|
|
|
.card,
|
|
.console-card {
|
|
transition:
|
|
transform 180ms ease,
|
|
border-color 180ms ease,
|
|
box-shadow 180ms ease,
|
|
background-color 180ms ease;
|
|
}
|
|
|
|
.card:hover,
|
|
.console-card:hover {
|
|
border-color: var(--ui-border-strong);
|
|
}
|
|
|
|
.button,
|
|
.context-menu button,
|
|
button {
|
|
transition:
|
|
transform 150ms ease,
|
|
border-color 150ms ease,
|
|
box-shadow 150ms ease,
|
|
background-color 150ms ease,
|
|
color 150ms ease;
|
|
}
|
|
|
|
.button:hover:not(:disabled),
|
|
.context-menu button:hover,
|
|
button:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
border-color: var(--ui-border-strong);
|
|
box-shadow: 0 10px 22px rgba(2, 6, 23, 0.36);
|
|
}
|
|
|
|
.button.primary {
|
|
background: linear-gradient(120deg, #4f6bff, #715dff);
|
|
border-color: rgba(129, 140, 248, 0.55);
|
|
box-shadow:
|
|
0 10px 24px rgba(79, 70, 229, 0.35),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.button.ghost {
|
|
background: linear-gradient(
|
|
170deg,
|
|
rgba(30, 41, 59, 0.32),
|
|
rgba(15, 23, 42, 0.28)
|
|
);
|
|
border-color: rgba(148, 163, 184, 0.24);
|
|
}
|
|
|
|
.button.danger {
|
|
background: linear-gradient(130deg, rgba(185, 28, 28, 0.82), rgba(153, 27, 27, 0.9));
|
|
border-color: rgba(248, 113, 113, 0.45);
|
|
color: #fee2e2;
|
|
}
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
|
|
select,
|
|
textarea,
|
|
.input-row,
|
|
#search,
|
|
#filter-status,
|
|
#filter-os,
|
|
#filter-group,
|
|
#filter-webcam,
|
|
#sort,
|
|
#console-input {
|
|
background-color: var(--ui-surface);
|
|
border-color: var(--ui-border);
|
|
}
|
|
|
|
.input-row input,
|
|
#search {
|
|
background-color: transparent !important;
|
|
border-color: transparent !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
|
|
select:focus,
|
|
textarea:focus,
|
|
.input-row:focus-within,
|
|
#filter-status:focus,
|
|
#filter-os:focus,
|
|
#filter-group:focus,
|
|
#filter-webcam:focus,
|
|
#sort:focus,
|
|
#console-input:focus {
|
|
border-color: var(--ui-border-strong) !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.pill,
|
|
.chip,
|
|
.user-pill {
|
|
border-color: rgba(148, 163, 184, 0.26);
|
|
background: linear-gradient(
|
|
165deg,
|
|
rgba(30, 41, 59, 0.45),
|
|
rgba(15, 23, 42, 0.3)
|
|
);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
background: var(--ui-surface-strong);
|
|
}
|
|
|
|
thead th {
|
|
background: rgba(30, 41, 59, 0.65);
|
|
color: #dbe7ff;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
border-bottom: 1px solid var(--ui-border);
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.14);
|
|
}
|
|
|
|
tbody tr:nth-child(even) {
|
|
background: rgba(15, 23, 42, 0.45);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: rgba(49, 46, 129, 0.2);
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(129, 140, 248, 0.55) rgba(15, 23, 42, 0.6);
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: rgba(15, 23, 42, 0.55);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(180deg, rgba(99, 102, 241, 0.76), rgba(56, 189, 248, 0.7));
|
|
border-radius: 999px;
|
|
border: 2px solid rgba(15, 23, 42, 0.75);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(180deg, rgba(129, 140, 248, 0.88), rgba(34, 211, 238, 0.84));
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 1ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 1ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
|
|
.login-btn,
|
|
.header-crown,
|
|
.status-online,
|
|
.card-animate {
|
|
animation: none !important;
|
|
}
|
|
|
|
.card-animate {
|
|
opacity: 1 !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
CLIENT VIEWS — Variants A (rows) / B (table) / C (card wall)
|
|
============================================================ */
|
|
|
|
:root {
|
|
--cv-bg: #13161f;
|
|
--cv-bg-selected: #1a2238;
|
|
--cv-bg-hover: rgba(255, 255, 255, 0.03);
|
|
--cv-surface2: #1b2030;
|
|
--cv-border: rgba(148, 163, 184, 0.16);
|
|
--cv-border-strong: rgba(148, 163, 184, 0.32);
|
|
--cv-text: #e8edf2;
|
|
--cv-text-mute: #9aa6bd;
|
|
--cv-text-dim: #6b7488;
|
|
--cv-accent: #818cf8;
|
|
--cv-accent-bg: rgba(99, 102, 241, 0.18);
|
|
--cv-accent-border: rgba(129, 140, 248, 0.55);
|
|
--cv-danger: #ef9a9a;
|
|
--cv-warn: #fbbf24;
|
|
}
|
|
|
|
/* ── Layout toggle (segmented control) ─────────────────────── */
|
|
|
|
#layout-toggle {
|
|
gap: 2px;
|
|
}
|
|
.layout-toggle-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--cv-text-dim);
|
|
cursor: pointer;
|
|
transition: background-color 140ms ease, color 140ms ease;
|
|
}
|
|
.layout-toggle-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--cv-text);
|
|
}
|
|
.layout-toggle-btn.is-active {
|
|
background: var(--cv-accent-bg);
|
|
color: var(--cv-accent);
|
|
box-shadow: inset 0 0 0 1px var(--cv-accent-border);
|
|
}
|
|
.layout-toggle-btn i { font-size: 13px; }
|
|
|
|
/* ── Grid container — switches mode ────────────────────────── */
|
|
|
|
#grid.clients-grid[data-layout="rows"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 0;
|
|
}
|
|
#grid.clients-grid[data-layout="table"] {
|
|
display: block;
|
|
padding: 0;
|
|
}
|
|
#grid.clients-grid[data-layout="cards"] {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
|
|
gap: 14px;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
/* ── Shared atoms ──────────────────────────────────────────── */
|
|
|
|
.cv-mid { color: var(--cv-text-dim); margin: 0 6px; }
|
|
.cv-mono { font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace; }
|
|
.cv-tab-num { font-variant-numeric: tabular-nums; }
|
|
.cv-warn { color: var(--cv-warn) !important; }
|
|
|
|
.cv-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
background: #475569;
|
|
box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.12);
|
|
}
|
|
.cv-dot.is-online {
|
|
background: #22c55e;
|
|
box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18), 0 0 8px rgba(34, 197, 94, 0.45);
|
|
}
|
|
.cv-dot.is-offline {
|
|
background: #64748b;
|
|
}
|
|
|
|
.cv-flag { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 14px; line-height: 1; }
|
|
.fi { display: inline-block; width: 24px; height: 18px; background-size: cover; background-position: center; border-radius: 2px; vertical-align: middle; }
|
|
.cv-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--cv-text);
|
|
letter-spacing: -0.2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.cv-mini-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
border: 1px solid transparent;
|
|
}
|
|
.cv-pill-admin { background: rgba(234, 179, 8, 0.12); color: #fde68a; border-color: rgba(234, 179, 8, 0.3); }
|
|
.cv-pill-system { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border-color: rgba(239, 68, 68, 0.3); }
|
|
.cv-pill-ti { background: rgba(168, 85, 247, 0.12); color: #d8b4fe; border-color: rgba(168, 85, 247, 0.3); }
|
|
.cv-pill-webcam { background: rgba(20, 184, 166, 0.12); color: #99f6e4; border-color: rgba(20, 184, 166, 0.3); }
|
|
.cv-mini-pill.cv-webcam-btn { padding: 0; cursor: pointer; }
|
|
.cv-mini-pill.cv-webcam-btn:hover { background: rgba(20, 184, 166, 0.20); border-color: rgba(20, 184, 166, 0.5); }
|
|
.cv-pill-muted { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border-color: rgba(245, 158, 11, 0.3); }
|
|
.cv-pill-macperm.is-ok { background: rgba(16, 185, 129, 0.12); color: #86efac; border-color: rgba(16, 185, 129, 0.3); }
|
|
.cv-pill-macperm.is-warn { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border-color: rgba(245, 158, 11, 0.3); }
|
|
.cv-plugin-badge {
|
|
width: auto;
|
|
min-width: 18px;
|
|
gap: 4px;
|
|
padding: 0 5px;
|
|
color: #bfdbfe;
|
|
background: rgba(59, 130, 246, 0.12);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
.cv-plugin-badge span {
|
|
max-width: 74px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.cv-plugin-badge img {
|
|
width: 13px;
|
|
height: 13px;
|
|
object-fit: contain;
|
|
border-radius: 3px;
|
|
}
|
|
.cv-plugin-badge-good { color: #86efac; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
|
|
.cv-plugin-badge-warn { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
|
|
.cv-plugin-badge-danger { color: #fca5a5; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); }
|
|
.cv-plugin-badge:hover { filter: brightness(1.18); }
|
|
|
|
.cv-perm-list {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.cv-perm-summary {
|
|
width: 100%;
|
|
font-size: 11px;
|
|
line-height: 1.25;
|
|
}
|
|
.cv-perm-summary.is-ok { color: #86efac; }
|
|
.cv-perm-summary.is-warn { color: #fcd34d; }
|
|
.cv-perm-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 22px;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
appearance: none;
|
|
}
|
|
.cv-perm-chip:hover { filter: brightness(1.08); }
|
|
.cv-perm-chip.is-ok { background: rgba(16, 185, 129, 0.1); color: #86efac; border-color: rgba(16, 185, 129, 0.25); }
|
|
.cv-perm-chip.is-missing { background: rgba(244, 63, 94, 0.1); color: #fda4af; border-color: rgba(244, 63, 94, 0.25); }
|
|
.cv-perm-freshness {
|
|
font-size: 10px;
|
|
color: var(--cv-text-dim);
|
|
white-space: nowrap;
|
|
}
|
|
.cv-perm-readiness,
|
|
.cv-perm-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.cv-perm-readiness {
|
|
width: 100%;
|
|
}
|
|
.cv-ready-chip,
|
|
.cv-perm-tool {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 22px;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
.cv-ready-chip.is-ok { background: rgba(16, 185, 129, 0.08); color: #86efac; border-color: rgba(16, 185, 129, 0.2); }
|
|
.cv-ready-chip.is-warn { background: rgba(245, 158, 11, 0.1); color: #fcd34d; border-color: rgba(245, 158, 11, 0.24); }
|
|
.cv-perm-tool {
|
|
cursor: pointer;
|
|
font: inherit;
|
|
appearance: none;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
color: var(--cv-text);
|
|
border-color: rgba(148, 163, 184, 0.18);
|
|
}
|
|
.cv-perm-tool:hover { background: rgba(148, 163, 184, 0.14); }
|
|
|
|
.cv-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
background: color-mix(in srgb, var(--gc, #64748b) 15%, transparent);
|
|
color: var(--gc, #cbd5e1);
|
|
border: 1px solid color-mix(in srgb, var(--gc, #64748b) 30%, transparent);
|
|
white-space: nowrap;
|
|
}
|
|
.cv-group-empty { color: var(--cv-text-dim); font-size: 11px; }
|
|
|
|
/* Custom checkbox */
|
|
.cv-checkbox {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
.cv-checkbox input {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
.cv-checkbox input:disabled { cursor: not-allowed; }
|
|
.cv-checkbox-box {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 4px;
|
|
border: 1.5px solid var(--cv-border-strong);
|
|
background: transparent;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: transparent;
|
|
font-size: 9px;
|
|
transition: all 140ms ease;
|
|
}
|
|
.cv-checkbox input:checked + .cv-checkbox-box {
|
|
background: var(--cv-accent);
|
|
border-color: var(--cv-accent);
|
|
color: #fff;
|
|
}
|
|
.cv-checkbox input:disabled + .cv-checkbox-box { opacity: 0.4; }
|
|
|
|
/* Star button */
|
|
.cv-star {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--cv-text-dim);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: color 120ms ease, transform 120ms ease;
|
|
}
|
|
.cv-star:hover { color: #fde68a; transform: scale(1.1); }
|
|
.cv-star.is-on { color: #fbbf24; }
|
|
|
|
/* Thumbnails */
|
|
.cv-thumb,
|
|
.cv-thumb-img {
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
background: #0d1018;
|
|
border: 1px solid var(--cv-border);
|
|
}
|
|
.cv-thumb-img { object-fit: cover; cursor: pointer; }
|
|
.cv-thumb { position: relative; }
|
|
.cv-thumb-host { position: relative; isolation: isolate; }
|
|
.cv-thumb-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
border-radius: inherit;
|
|
z-index: 1;
|
|
}
|
|
|
|
.cv-faux {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, var(--p1) 0%, var(--p2) 55%, var(--p3) 100%);
|
|
opacity: var(--op, 1);
|
|
overflow: hidden;
|
|
}
|
|
.cv-faux-dots {
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 8px;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
.cv-faux-dots i {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.55);
|
|
}
|
|
.cv-faux-dots i:nth-child(1) { background: rgba(255, 90, 90, 0.78); }
|
|
.cv-faux-dots i:nth-child(2) { background: rgba(255, 200, 60, 0.68); }
|
|
.cv-faux-dots i:nth-child(3) { background: rgba(70, 220, 110, 0.64); }
|
|
.cv-faux-window {
|
|
position: absolute;
|
|
top: 22px;
|
|
left: 14px;
|
|
right: 14px;
|
|
bottom: 24px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
padding: 8px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
overflow: hidden;
|
|
}
|
|
.cv-faux-window span {
|
|
display: block;
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.34);
|
|
border-radius: 1px;
|
|
}
|
|
.cv-faux-window span:nth-child(2) { background: rgba(255, 255, 255, 0.26); }
|
|
.cv-faux-window span:nth-child(3) { background: rgba(255, 255, 255, 0.20); }
|
|
.cv-faux-window span:nth-child(4) { background: rgba(255, 255, 255, 0.16); }
|
|
.cv-faux-window span:nth-child(5) { background: rgba(255, 255, 255, 0.12); }
|
|
.cv-faux-bar {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
left: 8px;
|
|
right: 8px;
|
|
height: 14px;
|
|
background: rgba(0, 0, 0, 0.40);
|
|
border-radius: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 0 5px;
|
|
}
|
|
.cv-faux-bar i {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.36);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
/* Buttons */
|
|
.cv-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
border-radius: 6px;
|
|
background: var(--cv-accent);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: 0;
|
|
cursor: pointer;
|
|
transition: background-color 140ms ease, transform 140ms ease;
|
|
}
|
|
.cv-btn-primary:hover { background: #6366f1; }
|
|
.cv-btn-primary i { font-size: 12px; }
|
|
.cv-btn-primary.cv-btn-sm { height: 26px; padding: 0 10px; font-size: 11px; }
|
|
.cv-btn-primary.cv-btn-flex { flex: 1; }
|
|
|
|
.cv-icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
background: var(--cv-surface2);
|
|
border: 1px solid var(--cv-border);
|
|
color: var(--cv-text-mute);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 140ms ease;
|
|
}
|
|
.cv-icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: var(--cv-text);
|
|
border-color: var(--cv-border-strong);
|
|
}
|
|
.cv-icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
.cv-icon-btn.cv-icon-sm { width: 26px; height: 26px; font-size: 11px; }
|
|
.cv-icon-btn.cv-webcam-btn { color: #99f6e4; border-color: rgba(20, 184, 166, 0.3); }
|
|
.cv-icon-btn.cv-webcam-btn:hover { background: rgba(20, 184, 166, 0.10); border-color: rgba(20, 184, 166, 0.45); }
|
|
.cv-icon-btn.cv-icon-danger { color: var(--cv-danger); border-color: rgba(239, 68, 68, 0.25); }
|
|
.cv-icon-btn.cv-icon-danger:hover { background: rgba(239, 68, 68, 0.10); border-color: rgba(239, 68, 68, 0.45); }
|
|
|
|
.cv-actions { display: inline-flex; align-items: center; gap: 4px; }
|
|
|
|
/* ════════════════════════════════════════════════════════════
|
|
VARIANT A — Row cards
|
|
════════════════════════════════════════════════════════════ */
|
|
|
|
.cv-row {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
background: var(--cv-bg);
|
|
border: 1px solid var(--cv-border);
|
|
border-radius: 12px;
|
|
padding: 10px 22px 10px 25px;
|
|
min-height: 116px;
|
|
flex-wrap: wrap;
|
|
transition: background-color 140ms ease, border-color 140ms ease;
|
|
}
|
|
.cv-row .cv-edge {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 4px;
|
|
background: var(--group-color, transparent);
|
|
border-top-left-radius: 12px;
|
|
border-bottom-left-radius: 12px;
|
|
}
|
|
.cv-row.cv-offline { opacity: 0.65; }
|
|
.cv-row.is-bookmarked { border-color: rgba(202, 138, 4, 0.5); }
|
|
.cv-row:has(.client-checkbox:checked) {
|
|
background: var(--cv-bg-selected);
|
|
border-color: var(--cv-accent-border);
|
|
}
|
|
|
|
.cv-row .cv-primary {
|
|
flex: 1 1 320px;
|
|
min-width: 240px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.cv-row .cv-name-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 16px;
|
|
min-width: 0;
|
|
}
|
|
.cv-row .cv-name { font-size: 16px; }
|
|
.cv-row .cv-user-line {
|
|
font-size: 12px;
|
|
font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
|
|
color: var(--cv-text-mute);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cv-row .cv-user-line i { margin-right: 4px; opacity: 0.6; }
|
|
.cv-row .cv-meta-line {
|
|
font-size: 12px;
|
|
color: var(--cv-text-dim);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-top: 4px;
|
|
}
|
|
.cv-row .cv-meta-line i { font-size: 11px; margin-right: 3px; }
|
|
|
|
.cv-row .cv-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-top: 4px;
|
|
padding: 2px 8px;
|
|
font-size: 11px;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: #fcd34d;
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
border-radius: 4px;
|
|
cursor: default;
|
|
align-self: flex-start;
|
|
}
|
|
.cv-row .cv-tag.has-note { cursor: pointer; }
|
|
.cv-row .cv-tag.has-note:hover { background: rgba(245, 158, 11, 0.18); }
|
|
|
|
.cv-row .client-tag-note {
|
|
flex-basis: 100%;
|
|
margin-top: 6px;
|
|
padding: 8px 10px;
|
|
background: var(--cv-surface2);
|
|
border: 1px solid var(--cv-border);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
color: #fde68a;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
}
|
|
.cv-row .client-tag-note.hidden { display: none; }
|
|
|
|
.cv-row .cv-time {
|
|
flex: 0 0 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--cv-text-dim);
|
|
}
|
|
.cv-row .cv-time-line { display: inline-flex; align-items: center; gap: 6px; }
|
|
.cv-row .cv-time i { font-size: 11px; }
|
|
.cv-row .cv-ping-line {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-family: ui-monospace, monospace;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.cv-row .cv-group-cell { flex: 0 0 auto; min-width: 60px; }
|
|
.cv-row .cv-spacer { flex: 1 1 auto; }
|
|
|
|
.cv-row .cv-actions { opacity: 0.85; transition: opacity 120ms ease; }
|
|
.cv-row:hover .cv-actions,
|
|
.cv-row:has(.client-checkbox:checked) .cv-actions { opacity: 1; }
|
|
.cv-row .cv-expand-btn[aria-expanded="true"] i { transform: rotate(180deg); transition: transform 180ms ease; }
|
|
.cv-row .cv-expand-btn i { transition: transform 180ms ease; }
|
|
|
|
.cv-row .cv-expand-panel {
|
|
flex-basis: 100%;
|
|
margin: 14px -22px -10px -25px;
|
|
padding: 12px 22px 16px 25px;
|
|
border-top: 1px solid var(--cv-border);
|
|
background: var(--cv-surface2);
|
|
border-bottom-left-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
}
|
|
.cv-row .cv-expand-panel.hidden { display: none; }
|
|
.cv-expand-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.cv-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
|
.cv-field-wide { grid-column: span 2; }
|
|
.cv-field-label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--cv-text-mute);
|
|
font-weight: 600;
|
|
}
|
|
.cv-field-value {
|
|
font-size: 12px;
|
|
color: var(--cv-text);
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.cv-field-value.copy-id-btn { cursor: pointer; }
|
|
.cv-field-value.copy-id-btn:hover { color: var(--cv-accent); }
|
|
|
|
/* Ping tones */
|
|
.ping-good { color: #86efac; }
|
|
.ping-mid { color: #fcd34d; }
|
|
.ping-bad { color: #fca5a5; }
|
|
.ping-unknown { color: var(--cv-text-dim); }
|
|
|
|
/* OS / arch tones — applied to icon containers across all variants */
|
|
.cv-tone-pill-win { color: #93c5fd; }
|
|
.cv-tone-pill-mac { color: #f1f5f9; }
|
|
.cv-tone-pill-ubuntu { color: #e95420; }
|
|
.cv-tone-pill-debian { color: #d70a53; }
|
|
.cv-tone-pill-arch { color: #1793d1; }
|
|
.cv-tone-pill-kali { color: #2777ff; }
|
|
.cv-tone-pill-fedora { color: #51a2da; }
|
|
.cv-tone-pill-redhat { color: #ee0000; }
|
|
.cv-tone-pill-centos { color: #932279; }
|
|
.cv-tone-pill-suse { color: #73ba25; }
|
|
.cv-tone-pill-raspi { color: #c51a4a; }
|
|
.cv-tone-pill-freebsd { color: #ab2b28; }
|
|
.cv-tone-pill-alpine { color: #0d597f; }
|
|
.cv-tone-pill-manjaro { color: #35bf5c; }
|
|
.cv-tone-pill-mint { color: #87cf3e; }
|
|
.cv-tone-pill-pop { color: #48b9c7; }
|
|
.cv-tone-pill-nixos { color: #5277c3; }
|
|
.cv-tone-pill-gentoo { color: #54487a; }
|
|
.cv-tone-pill-rocky { color: #10b981; }
|
|
.cv-tone-pill-alma { color: #0ea5e9; }
|
|
.cv-tone-pill-android { color: #a4c639; }
|
|
.cv-tone-pill-linux { color: #facc15; }
|
|
.cv-tone-pill-x64 { color: #5eead4; }
|
|
.cv-tone-pill-arm { color: #7dd3fc; }
|
|
.cv-tone-pill-ghost,
|
|
.cv-tone-pill-unknown { color: var(--cv-text-mute); }
|
|
.cv-os, .cv-arch { display: inline-flex; align-items: center; gap: 4px; }
|
|
.cv-os i,
|
|
.cv-card-meta-bit i.fa-brands {
|
|
color: currentColor;
|
|
font-size: 12px;
|
|
}
|
|
.cv-os-icon {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 13px;
|
|
height: 13px;
|
|
flex: 0 0 13px;
|
|
font-family: inherit;
|
|
font-size: 0;
|
|
line-height: 1;
|
|
}
|
|
.cv-os-icon::before {
|
|
content: "";
|
|
display: block;
|
|
}
|
|
.cv-os-icon-arch::before {
|
|
width: 12px;
|
|
height: 12px;
|
|
background: currentColor;
|
|
clip-path: polygon(50% 3%, 95% 96%, 70% 82%, 61% 62%, 50% 39%, 39% 62%, 30% 82%, 5% 96%);
|
|
}
|
|
.cv-os-icon-mint::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 1px solid rgba(134, 239, 172, 0.9);
|
|
border-radius: 3px;
|
|
background: #16351f;
|
|
box-shadow: inset 0 0 0 2px rgba(134, 239, 172, 0.16);
|
|
}
|
|
.cv-os-icon-mint::after {
|
|
content: "LM";
|
|
position: absolute;
|
|
font-family: Inter, system-ui, sans-serif;
|
|
font-size: 6px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
color: #86efac;
|
|
letter-spacing: 0;
|
|
}
|
|
.cv-os-icon-manjaro::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 2px;
|
|
background:
|
|
linear-gradient(currentColor 0 0) 0 0 / 4px 13px no-repeat,
|
|
linear-gradient(currentColor 0 0) 5px 0 / 8px 4px no-repeat,
|
|
linear-gradient(currentColor 0 0) 5px 5px / 4px 8px no-repeat,
|
|
linear-gradient(currentColor 0 0) 10px 5px / 3px 8px no-repeat;
|
|
}
|
|
.cv-os-icon-kali::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 2px;
|
|
background: currentColor;
|
|
clip-path: polygon(8% 14%, 92% 14%, 58% 40%, 86% 86%, 66% 86%, 48% 55%, 33% 66%, 33% 86%, 8% 86%);
|
|
}
|
|
.cv-os-icon-alpine::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 2px;
|
|
background:
|
|
linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.55) 0) 1px 7px / 5px 5px no-repeat,
|
|
linear-gradient(135deg, transparent 48%, currentColor 0) 0 3px / 13px 10px no-repeat;
|
|
}
|
|
.cv-os-icon-pop::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
box-shadow: inset 0 0 0 3px rgba(72, 185, 199, 0.16);
|
|
}
|
|
.cv-os-icon-pop::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 4px;
|
|
height: 4px;
|
|
right: 1px;
|
|
bottom: 1px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
.cv-os-icon-nixos::before,
|
|
.cv-os-icon-nixos::after {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
width: 13px;
|
|
height: 2px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
box-shadow: 0 0 0 1px rgba(82, 119, 195, 0.08);
|
|
}
|
|
.cv-os-icon-nixos::before {
|
|
transform: translateY(-50%) rotate(30deg);
|
|
}
|
|
.cv-os-icon-nixos::after {
|
|
content: "";
|
|
transform: translateY(-50%) rotate(-30deg);
|
|
}
|
|
.cv-os-icon-gentoo::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 50%;
|
|
border: 2px solid currentColor;
|
|
border-left-color: transparent;
|
|
transform: rotate(-20deg);
|
|
}
|
|
.cv-os-icon-rocky::before {
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 3px;
|
|
background:
|
|
linear-gradient(135deg, transparent 45%, currentColor 0 62%, transparent 0),
|
|
linear-gradient(45deg, transparent 42%, currentColor 0 63%, transparent 0),
|
|
linear-gradient(currentColor 0 0) center / 5px 5px no-repeat;
|
|
}
|
|
.cv-os-icon-alma::before {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: #0ea5e9;
|
|
box-shadow:
|
|
6px 0 0 #22c55e,
|
|
3px 5px 0 #f97316,
|
|
0 0 0 1px rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
/* Arch chip in table variant */
|
|
.clients-table .cv-arch-chip {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
/* ════════════════════════════════════════════════════════════
|
|
VARIANT B — Dense table
|
|
════════════════════════════════════════════════════════════ */
|
|
|
|
.clients-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border: 1px solid var(--cv-border);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: var(--cv-bg) !important;
|
|
backdrop-filter: none;
|
|
}
|
|
.clients-table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 0;
|
|
background: var(--cv-bg) !important;
|
|
color: var(--cv-text-mute);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--cv-border);
|
|
}
|
|
.clients-table th.cv-th-check { width: 36px; padding-left: 12px; }
|
|
.clients-table th.cv-th-star { width: 30px; }
|
|
.clients-table th.cv-th-thumb { width: 96px; }
|
|
.clients-table th.cv-th-status { width: 110px; }
|
|
.clients-table th.cv-th-last { width: 130px; }
|
|
.clients-table th.cv-th-system { width: 140px; }
|
|
.clients-table th.cv-th-ping { width: 90px; text-align: right; }
|
|
.clients-table th.cv-th-group { width: 90px; }
|
|
.clients-table th.cv-th-actions { width: 160px; text-align: right; padding-right: 12px; }
|
|
|
|
.clients-table tbody tr,
|
|
.clients-table tbody tr:nth-child(even) {
|
|
background: transparent;
|
|
border-bottom: 1px solid var(--cv-border);
|
|
transition: background-color 100ms ease;
|
|
}
|
|
.clients-table tbody tr:hover {
|
|
background: var(--cv-bg-hover);
|
|
}
|
|
.clients-table tbody tr:has(.client-checkbox:checked) {
|
|
background: var(--cv-bg-selected) !important;
|
|
}
|
|
.clients-table tbody tr.cv-trow.cv-offline { opacity: 0.65; }
|
|
.clients-table tbody tr.is-bookmarked td:first-child { box-shadow: inset 3px 0 0 0 rgba(202, 138, 4, 0.55); }
|
|
.clients-table td {
|
|
padding: 8px 10px;
|
|
vertical-align: middle;
|
|
border-bottom: 1px solid var(--cv-border);
|
|
color: var(--cv-text);
|
|
font-size: 13px;
|
|
}
|
|
.clients-table td.cv-td-check { padding-left: 12px; }
|
|
.clients-table td.cv-td-actions { padding-right: 12px; text-align: right; }
|
|
.clients-table td.cv-td-ping { text-align: right; }
|
|
.clients-table tbody tr:last-child td { border-bottom: 0; }
|
|
|
|
.cv-tcell-client { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.cv-tcell-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
|
|
.cv-tcell-name-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
|
|
.cv-tcell-stack .cv-name { font-size: 13px; }
|
|
.cv-tcell-stack .cv-user-line {
|
|
font-size: 11px;
|
|
color: var(--cv-text-mute);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cv-tcell-stack .cv-user-line i { font-size: 10px; opacity: 0.7; }
|
|
|
|
.cv-status-cell { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cv-text-dim); }
|
|
.cv-trow[data-online="true"] .cv-status-cell { color: var(--cv-text); }
|
|
|
|
.cv-td-last { color: var(--cv-text-mute); font-size: 12px; }
|
|
|
|
.cv-system-cell { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
|
|
.cv-arch-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 10px;
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
border: 1px solid var(--cv-border);
|
|
color: var(--cv-text-mute);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.cv-actions-table { justify-content: flex-end; opacity: 0.55; transition: opacity 120ms ease; }
|
|
.clients-table tbody tr:hover .cv-actions-table,
|
|
.clients-table tbody tr:has(.client-checkbox:checked) .cv-actions-table { opacity: 1; }
|
|
|
|
.clients-table .cv-thumb,
|
|
.clients-table .cv-thumb-img { border-radius: 4px; }
|
|
|
|
/* ════════════════════════════════════════════════════════════
|
|
VARIANT C — Card wall
|
|
════════════════════════════════════════════════════════════ */
|
|
|
|
.cv-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--cv-bg);
|
|
border: 1px solid var(--cv-border);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
|
|
}
|
|
.cv-card:hover { transform: translateY(-2px); }
|
|
.cv-card.cv-offline { opacity: 0.85; }
|
|
.cv-card.is-bookmarked { border-color: rgba(202, 138, 4, 0.5); }
|
|
.cv-card:has(.client-checkbox:checked) {
|
|
border-color: var(--cv-accent-border);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.cv-card-header {
|
|
position: relative;
|
|
height: 130px;
|
|
overflow: hidden;
|
|
background: #0d1018;
|
|
}
|
|
.cv-card-header .cv-thumb,
|
|
.cv-card-header .cv-thumb-img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
border-radius: 0;
|
|
border: 0;
|
|
}
|
|
.cv-card.cv-offline .cv-card-header > .cv-thumb,
|
|
.cv-card.cv-offline .cv-card-header > .cv-thumb-img { opacity: 0.3 !important; }
|
|
|
|
.cv-card-check {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
z-index: 2;
|
|
width: 18px;
|
|
height: 18px;
|
|
opacity: 0;
|
|
transition: opacity 140ms ease;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
border-radius: 4px;
|
|
padding: 0;
|
|
}
|
|
.cv-card-check .cv-checkbox-box {
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
background: transparent;
|
|
}
|
|
.cv-card:hover .cv-card-check,
|
|
.cv-card:has(.client-checkbox:checked) .cv-card-check { opacity: 1; }
|
|
|
|
.cv-card-chips {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
z-index: 2;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
.cv-chip-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 5px;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
color: #f1f5f9;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
-webkit-backdrop-filter: blur(8px);
|
|
backdrop-filter: blur(8px);
|
|
transition: background-color 140ms ease, color 140ms ease;
|
|
}
|
|
.cv-chip-btn:hover { background: rgba(0, 0, 0, 0.6); }
|
|
.cv-chip-btn.is-on { color: #fbbf24; }
|
|
|
|
.cv-card-status {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
backdrop-filter: blur(8px);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
}
|
|
.cv-card-status .cv-card-ago { color: #cbd2e0; }
|
|
|
|
.cv-card-ping {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
backdrop-filter: blur(8px);
|
|
font-size: 11px;
|
|
color: #fff;
|
|
}
|
|
.cv-card-ping i { font-size: 10px; }
|
|
|
|
.cv-card {
|
|
/* let cards in the same row stretch so actions can sit on the same baseline */
|
|
}
|
|
.cv-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 10px 12px 12px;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
.cv-card-body .cv-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
.cv-card-body .cv-name { font-size: 14px; }
|
|
.cv-card-body .cv-user-line {
|
|
font-size: 11px;
|
|
color: var(--cv-text-mute);
|
|
margin-top: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cv-card-body .cv-user-line i { margin-right: 4px; opacity: 0.6; }
|
|
|
|
.cv-card-net {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--cv-text-dim);
|
|
flex-wrap: wrap;
|
|
}
|
|
.cv-card-net:empty { display: none; }
|
|
.cv-card-net-bit { display: inline-flex; align-items: center; gap: 5px; }
|
|
.cv-card-net-bit i { font-size: 10px; opacity: 0.7; }
|
|
|
|
.cv-card-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-top: 6px;
|
|
align-self: flex-start;
|
|
padding: 2px 8px;
|
|
font-size: 11px;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: #fcd34d;
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
border-radius: 4px;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cv-card-meta {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 11px;
|
|
color: var(--cv-text-dim);
|
|
flex-wrap: wrap;
|
|
}
|
|
.cv-card-meta-bit { display: inline-flex; align-items: center; gap: 4px; }
|
|
.cv-card-meta-bit i { font-size: 10px; }
|
|
.cv-group-spacer { margin-left: auto; }
|
|
|
|
.cv-card-hw {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 6px;
|
|
padding: 6px 8px;
|
|
background: var(--cv-surface2);
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
color: var(--cv-text-mute);
|
|
flex-wrap: wrap;
|
|
}
|
|
.cv-card-hw-bit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.cv-card-hw-bit i { color: var(--cv-text-dim); font-size: 10px; }
|
|
|
|
.cv-card-perms {
|
|
margin-top: 6px;
|
|
padding: 6px 8px;
|
|
background: var(--cv-surface2);
|
|
border-radius: 6px;
|
|
}
|
|
.cv-card-perms .cv-field {
|
|
gap: 5px;
|
|
}
|
|
|
|
.cv-cpu-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
height: 24px;
|
|
padding: 3px 8px;
|
|
border-radius: 5px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cv-card-hw .cv-cpu-badge { flex: 0 1 auto; }
|
|
.cv-cpu-badge span,
|
|
.cv-cpu-badge strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cv-cpu-apple {
|
|
background: #050505;
|
|
color: #ffffff;
|
|
}
|
|
.cv-cpu-apple i { color: #ffffff; font-size: 13px; }
|
|
.cv-cpu-apple strong { font-weight: 800; letter-spacing: 0; }
|
|
.cv-cpu-intel {
|
|
background: #0068b5;
|
|
color: #ffffff;
|
|
text-transform: uppercase;
|
|
}
|
|
.cv-cpu-intel strong {
|
|
font-weight: 800;
|
|
text-transform: lowercase;
|
|
letter-spacing: 0;
|
|
}
|
|
.cv-cpu-amd {
|
|
background: #151515;
|
|
color: #ffffff;
|
|
}
|
|
.cv-cpu-amd strong { color: #f87171; letter-spacing: 0; }
|
|
.cv-cpu-generic {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--cv-text-mute);
|
|
}
|
|
.cv-cpu-generic i { color: var(--cv-text-dim); }
|
|
|
|
.cv-battery {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
height: 24px;
|
|
color: var(--cv-text-mute);
|
|
white-space: nowrap;
|
|
}
|
|
.cv-battery-shell {
|
|
position: relative;
|
|
width: 28px;
|
|
height: 14px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 3px;
|
|
padding: 2px;
|
|
opacity: 0.95;
|
|
}
|
|
.cv-battery-shell::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 3px;
|
|
right: -4px;
|
|
width: 3px;
|
|
height: 6px;
|
|
border-radius: 0 2px 2px 0;
|
|
background: currentColor;
|
|
}
|
|
.cv-battery-fill {
|
|
display: block;
|
|
height: 100%;
|
|
min-width: 2px;
|
|
border-radius: 2px;
|
|
background: #86efac;
|
|
}
|
|
.cv-battery.is-low { color: #fb7185; }
|
|
.cv-battery.is-mid .cv-battery-fill { background: #fcd34d; }
|
|
.cv-battery.is-charging .cv-battery-fill { background: #60a5fa; }
|
|
.cv-battery.is-low .cv-battery-fill { background: #fb7185; }
|
|
.cv-battery-text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--cv-text);
|
|
}
|
|
.cv-battery-text i { color: #60a5fa; font-size: 9px; }
|
|
.cv-battery-label { color: var(--cv-text-dim); }
|
|
|
|
.cv-text-dim { color: var(--cv-text-dim); }
|
|
|
|
.cv-card-actions {
|
|
margin-top: auto;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--cv-border);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
opacity: 0.85;
|
|
transition: opacity 120ms ease;
|
|
}
|
|
.cv-card-meta { margin-bottom: 6px; }
|
|
.cv-card:hover .cv-card-actions,
|
|
.cv-card:has(.client-checkbox:checked) .cv-card-actions { opacity: 1; }
|
|
|
|
/* ── Sticky pagination at viewport bottom ─────────────────── */
|
|
|
|
#pagination {
|
|
position: fixed;
|
|
bottom: 12px;
|
|
left: var(--sb-w);
|
|
right: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
z-index: 30;
|
|
pointer-events: none;
|
|
transition: left var(--sb-speed, 240ms) var(--sb-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
}
|
|
#pagination > * { pointer-events: auto; }
|
|
|
|
html.nav-pre-sidebar.nav-pre-collapsed #pagination,
|
|
body.sb-ready.sb-collapsed #pagination {
|
|
left: var(--sb-w-collapsed);
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
#pagination { left: 0 !important; }
|
|
}
|
|
|
|
/* Reserve space so content isn't hidden behind the fixed bar */
|
|
main:has(#pagination) { padding-bottom: 76px; }
|
|
|
|
/* ── Mobile tweaks ─────────────────────────────────────────── */
|
|
@media (max-width: 720px) {
|
|
.cv-row {
|
|
padding: 10px 12px 10px 15px;
|
|
gap: 10px;
|
|
}
|
|
.cv-row .cv-primary { flex-basis: 100%; }
|
|
.cv-row .cv-time, .cv-row .cv-group-cell { flex-basis: auto; }
|
|
.cv-expand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.clients-table th.cv-th-thumb,
|
|
.clients-table td.cv-td-thumb,
|
|
.clients-table th.cv-th-system,
|
|
.clients-table td.cv-td-system { display: none; }
|
|
#grid.clients-grid[data-layout="cards"] {
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
SIDEBAR LAYOUT
|
|
============================================================ */
|
|
|
|
:root {
|
|
--sb-w: 224px;
|
|
--sb-w-collapsed: 64px;
|
|
--sb-speed: 240ms;
|
|
--sb-ease: cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* Offset body content so it sits beside the sidebar.
|
|
`html.nav-pre-sidebar` is set by the inline pre-paint script in each
|
|
page <head> and triggers the sidebar layout before nav.js mounts;
|
|
`body.sb-ready` is what the JS controller adds afterward. Both
|
|
selectors fire the same rules so there's no layout shift between the
|
|
two states. The same pattern applies to the rules below. */
|
|
html.nav-pre-sidebar body,
|
|
body.sb-ready {
|
|
padding-left: var(--sb-w);
|
|
transition: padding-left var(--sb-speed) var(--sb-ease);
|
|
}
|
|
html.nav-pre-sidebar.nav-pre-collapsed body,
|
|
body.sb-ready.sb-collapsed {
|
|
padding-left: var(--sb-w-collapsed);
|
|
}
|
|
|
|
/* On mobile the sidebar becomes a drawer, not a persistent rail */
|
|
@media (max-width: 767px) {
|
|
html.nav-pre-sidebar body,
|
|
html.nav-pre-sidebar.nav-pre-collapsed body,
|
|
body.sb-ready,
|
|
body.sb-ready.sb-collapsed {
|
|
padding-left: 0;
|
|
padding-top: 52px;
|
|
}
|
|
}
|
|
|
|
/* ---- The sidebar element (#top-nav) ---- */
|
|
html.nav-pre-sidebar #top-nav,
|
|
body.sb-ready #top-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100dvh;
|
|
width: var(--sb-w);
|
|
min-height: 0;
|
|
background: rgba(2, 8, 22, 0.97);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.07);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 50;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
transition: width var(--sb-speed) var(--sb-ease);
|
|
}
|
|
html.nav-pre-sidebar.nav-pre-collapsed #top-nav,
|
|
body.sb-collapsed #top-nav {
|
|
width: var(--sb-w-collapsed);
|
|
}
|
|
@media (max-width: 767px) {
|
|
html.nav-pre-sidebar #top-nav,
|
|
body.sb-ready #top-nav {
|
|
width: var(--sb-w) !important;
|
|
transform: translateX(calc(-100% - 2px));
|
|
box-shadow: 4px 0 32px rgba(0, 0, 0, 0.55);
|
|
z-index: 51;
|
|
transition: transform var(--sb-speed) var(--sb-ease);
|
|
}
|
|
body.sb-open #top-nav {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
/* Pre-paint nav-hidden: keep the nav from flashing in before JS removes it */
|
|
html.nav-pre-hidden #top-nav {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* ---- Sidebar header (logo row) ---- */
|
|
.sb-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 16px 12px 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
flex-shrink: 0;
|
|
min-width: 0;
|
|
}
|
|
body.sb-collapsed .sb-header {
|
|
justify-content: center;
|
|
padding: 16px 0 12px;
|
|
}
|
|
.sb-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
color: #f1f5f9;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
min-width: 0;
|
|
opacity: 1;
|
|
transition: opacity var(--sb-speed) var(--sb-ease);
|
|
}
|
|
body.sb-collapsed .sb-logo {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
width: 0;
|
|
flex: 0;
|
|
overflow: hidden;
|
|
}
|
|
.sb-logo .sb-text {
|
|
overflow: hidden;
|
|
opacity: 1;
|
|
max-width: 160px;
|
|
transition: opacity var(--sb-speed) var(--sb-ease), max-width var(--sb-speed) var(--sb-ease);
|
|
}
|
|
body.sb-collapsed .sb-logo .sb-text {
|
|
max-width: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ---- Collapse toggle button (desktop only) ---- */
|
|
.sb-collapse-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
flex-shrink: 0;
|
|
border-radius: 7px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.sb-collapse-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #cbd5e1;
|
|
}
|
|
.sb-collapse-btn i {
|
|
display: block;
|
|
font-size: 0.7rem;
|
|
transition: transform var(--sb-speed) var(--sb-ease);
|
|
}
|
|
body.sb-collapsed .sb-collapse-btn i {
|
|
transform: rotate(180deg);
|
|
}
|
|
@media (max-width: 767px) {
|
|
.sb-collapse-btn { display: none; }
|
|
}
|
|
|
|
/* ---- Nav section ---- */
|
|
.sb-nav {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(100, 116, 139, 0.25) transparent;
|
|
}
|
|
.sb-nav::-webkit-scrollbar { width: 4px; }
|
|
.sb-nav::-webkit-scrollbar-track { background: transparent; }
|
|
.sb-nav::-webkit-scrollbar-thumb {
|
|
background: rgba(100, 116, 139, 0.3);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* ---- Shared sidebar link style (<a> and <button>) ---- */
|
|
.sb-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 10px 12px;
|
|
border-radius: 9px;
|
|
color: #7c8fa3;
|
|
text-decoration: none;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: left;
|
|
position: relative;
|
|
transition: background 0.14s, color 0.14s;
|
|
}
|
|
.sb-link:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e2e8f0;
|
|
}
|
|
.sb-link:focus-visible {
|
|
outline: none;
|
|
}
|
|
/* Collapsed: center icon, fill the rail */
|
|
body.sb-collapsed .sb-link {
|
|
justify-content: center;
|
|
padding: 12px 0;
|
|
gap: 0;
|
|
}
|
|
.sb-icon {
|
|
flex-shrink: 0;
|
|
width: 20px;
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
}
|
|
body.sb-collapsed .sb-icon {
|
|
width: 22px;
|
|
font-size: 1.1rem;
|
|
}
|
|
.sb-link .sb-text {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
opacity: 1;
|
|
max-width: 200px;
|
|
transition: opacity var(--sb-speed) var(--sb-ease), max-width var(--sb-speed) var(--sb-ease);
|
|
}
|
|
body.sb-collapsed .sb-link .sb-text {
|
|
max-width: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Active link */
|
|
.sb-link.nav-active {
|
|
background: rgba(99, 102, 241, 0.14);
|
|
color: #e2e8f0;
|
|
}
|
|
.sb-link.nav-active:hover {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
/* Danger link (logout) */
|
|
.sb-link--danger { color: #f87171; }
|
|
.sb-link--danger:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
/* ---- Notification bell badge ---- */
|
|
.sb-notify-wrap {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
width: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.sb-notify-badge {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -7px;
|
|
min-width: 15px;
|
|
height: 15px;
|
|
padding: 0 3px;
|
|
border-radius: 999px;
|
|
background: #e11d48;
|
|
color: #fff;
|
|
font-size: 0.6rem;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* ---- Inline badge (purgatory count) ---- */
|
|
.sb-inline-badge {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
border-radius: 999px;
|
|
background: #d97706;
|
|
color: #fff;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
.sb-inline-badge:not(.hidden) {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* ---- Utility section (bottom of sidebar) ---- */
|
|
.sb-utility {
|
|
padding: 8px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
/* ---- Mobile topbar (drawer handle) ---- */
|
|
#sb-mobile-bar {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 52px;
|
|
z-index: 49;
|
|
background: rgba(2, 8, 22, 0.97);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
align-items: center;
|
|
padding: 0 14px;
|
|
gap: 10px;
|
|
}
|
|
@media (max-width: 767px) {
|
|
#sb-mobile-bar { display: flex; }
|
|
}
|
|
.sb-mobile-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
}
|
|
.sb-mobile-brand {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
color: #f1f5f9;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* ---- Mobile backdrop ---- */
|
|
#sb-backdrop {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
z-index: 50;
|
|
backdrop-filter: blur(1px);
|
|
-webkit-backdrop-filter: blur(1px);
|
|
}
|
|
body.sb-open #sb-backdrop { display: block; }
|
|
|
|
/* Notify-toggle enabled/disabled color — ID specificity beats .sb-link */
|
|
#notify-toggle.text-emerald-200 { color: #a7f3d0; }
|
|
#notify-toggle.text-slate-300 { color: #cbd5e1; }
|
|
#notify-toggle.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
|
|
|
|
/* ============================================================
|
|
TOPBAR — 3-column grid (brand · centered nav · utility)
|
|
============================================================ */
|
|
|
|
.topbar-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
grid-template-areas: "left center right";
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
.topbar-left {
|
|
grid-area: left;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
justify-self: start;
|
|
min-width: 0;
|
|
}
|
|
.topbar-center {
|
|
grid-area: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-self: center;
|
|
min-width: 0;
|
|
}
|
|
.topbar-right {
|
|
grid-area: right;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
justify-self: end;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.topbar-grid {
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-areas:
|
|
"left right"
|
|
"center center";
|
|
}
|
|
.topbar-center { justify-self: stretch; }
|
|
.topbar-center.hidden { display: none; }
|
|
}
|
|
|
|
/* ============================================================
|
|
USER ACTIONS DROPDOWN (notify · hide · logout)
|
|
============================================================ */
|
|
|
|
.user-actions-trigger {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: rgba(30, 41, 59, 0.7);
|
|
border: 1px solid rgba(51, 65, 85, 0.6);
|
|
color: #cbd5e1;
|
|
cursor: pointer;
|
|
transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
|
|
}
|
|
.user-actions-trigger:hover {
|
|
background: rgba(51, 65, 85, 0.7);
|
|
color: #e2e8f0;
|
|
}
|
|
.user-actions-trigger[aria-expanded="true"] {
|
|
background: rgba(51, 65, 85, 0.85);
|
|
border-color: rgba(99, 102, 241, 0.3);
|
|
color: #e2e8f0;
|
|
}
|
|
.user-actions-dot {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #f43f5e;
|
|
box-shadow: 0 0 0 2px rgba(8, 12, 24, 1);
|
|
}
|
|
.user-actions-dot.hidden { display: none; }
|
|
|
|
.user-actions-menu {
|
|
min-width: 220px;
|
|
/* Anchor down-right of the trigger; override base centering */
|
|
left: auto !important;
|
|
right: 0 !important;
|
|
transform: translateY(-4px) !important;
|
|
}
|
|
.user-actions-menu.nav-dd-open {
|
|
transform: translateY(0) !important;
|
|
}
|
|
|
|
.user-actions-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 9px 12px;
|
|
border-radius: 7px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #cbd5e1;
|
|
font-size: 0.84rem;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background 120ms ease, color 120ms ease;
|
|
}
|
|
.user-actions-item:hover {
|
|
background: rgba(99, 102, 241, 0.12);
|
|
color: #e2e8f0;
|
|
}
|
|
.user-actions-item--danger:hover {
|
|
background: rgba(244, 63, 94, 0.12);
|
|
color: #fecaca;
|
|
}
|
|
.user-actions-icon {
|
|
width: 16px;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.user-actions-label { flex: 1; }
|
|
.user-actions-shortcut {
|
|
margin-left: auto;
|
|
font-size: 0.7rem;
|
|
color: var(--cv-text-dim, #6b7488);
|
|
font-family: ui-monospace, "SFMono-Regular", monospace;
|
|
}
|
|
.user-actions-divider {
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
margin: 4px 6px;
|
|
}
|
|
|
|
/* The notify-badge inside the dropdown should stack right next to the label */
|
|
.user-actions-item #notify-badge { margin-left: auto; }
|
|
|
|
/* ============================================================
|
|
TOPBAR DROPDOWN MENUS
|
|
============================================================ */
|
|
|
|
.nav-dd-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-dd-group-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
background: rgba(30, 41, 59, 0.7);
|
|
border: 1px solid rgba(51, 65, 85, 0.6);
|
|
color: #94a3b8;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
}
|
|
.nav-dd-group-btn:hover {
|
|
background: rgba(51, 65, 85, 0.7);
|
|
color: #e2e8f0;
|
|
}
|
|
.nav-dd-group-btn[aria-expanded="true"] {
|
|
background: rgba(51, 65, 85, 0.85);
|
|
color: #e2e8f0;
|
|
border-color: rgba(99, 102, 241, 0.3);
|
|
}
|
|
.nav-dd-group-btn i.fa-chevron-down {
|
|
font-size: 0.6rem;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
.nav-dd-group-btn[aria-expanded="true"] i.fa-chevron-down {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Dropdown wrapper */
|
|
.nav-dd-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
/* Dropdown menu */
|
|
.nav-dd-menu {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-4px);
|
|
min-width: 200px;
|
|
padding: 6px;
|
|
border-radius: 10px;
|
|
background: rgba(15, 23, 42, 0.97);
|
|
border: 1px solid rgba(51, 65, 85, 0.7);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
|
|
z-index: 100;
|
|
}
|
|
.nav-dd-menu.nav-dd-open {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* Dropdown menu item */
|
|
.nav-dd-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px 12px;
|
|
border-radius: 7px;
|
|
color: #94a3b8;
|
|
text-decoration: none;
|
|
font-size: 0.84rem;
|
|
font-weight: 500;
|
|
transition: background 0.12s, color 0.12s;
|
|
}
|
|
.nav-dd-item:hover {
|
|
background: rgba(99, 102, 241, 0.12);
|
|
color: #e2e8f0;
|
|
}
|
|
.nav-dd-item.nav-active {
|
|
background: rgba(99, 102, 241, 0.18);
|
|
color: #c7d2fe;
|
|
border: 1px solid rgba(99, 102, 241, 0.25);
|
|
}
|
|
.nav-dd-item-icon {
|
|
width: 18px;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.nav-dd-badge {
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
border-radius: 999px;
|
|
background: #d97706;
|
|
color: #fff;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
}
|
|
.nav-dd-badge.hidden {
|
|
display: none;
|
|
}
|
|
.nav-dd-badge:not(.hidden) {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* ============================================================
|
|
SIDEBAR TREE GROUPS
|
|
============================================================ */
|
|
|
|
.sb-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
.sb-group-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 10px 12px;
|
|
border-radius: 9px;
|
|
color: #7c8fa3;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: left;
|
|
position: relative;
|
|
transition: background 0.14s, color 0.14s;
|
|
}
|
|
.sb-group-btn:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e2e8f0;
|
|
}
|
|
.sb-group-btn:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
.sb-chevron {
|
|
margin-left: auto;
|
|
font-size: 0.6rem;
|
|
transition: transform 0.2s ease;
|
|
color: #475569;
|
|
}
|
|
.sb-chevron.sb-chevron-open {
|
|
transform: rotate(90deg);
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Collapsed sidebar: hide chevron, center icon */
|
|
body.sb-collapsed .sb-chevron {
|
|
display: none;
|
|
}
|
|
body.sb-collapsed .sb-group-btn {
|
|
justify-content: center;
|
|
padding: 12px 0;
|
|
gap: 0;
|
|
}
|
|
|
|
/* Tree children container — completely hidden when collapsed */
|
|
.sb-group-children {
|
|
display: none;
|
|
}
|
|
.sb-group-children.sb-group-open {
|
|
display: block;
|
|
}
|
|
body.sb-collapsed .sb-group-children {
|
|
display: none;
|
|
}
|
|
|
|
/* Child links — indented */
|
|
.sb-link-child {
|
|
padding-left: 16px !important;
|
|
font-size: 0.82rem !important;
|
|
padding-top: 6px !important;
|
|
padding-bottom: 6px !important;
|
|
}
|
|
body.sb-collapsed .sb-link-child {
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
/* Badge in sidebar */
|
|
.sb-badge {
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
border-radius: 999px;
|
|
background: #d97706;
|
|
color: #fff;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.sb-badge.hidden {
|
|
display: none;
|
|
}
|
|
.sb-badge:not(.hidden) {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* ============================================================
|
|
NAV HIDE / REVEAL
|
|
============================================================ */
|
|
|
|
/* ---- Shared reveal pill ---- */
|
|
#nav-reveal-btn {
|
|
position: fixed;
|
|
z-index: 60;
|
|
display: none; /* hidden until nav-hidden */
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
color: #64748b;
|
|
font-size: 0.7rem;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity 0.25s ease, color 0.15s, background 0.15s, transform 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
#nav-reveal-btn:hover {
|
|
background: rgba(30, 41, 59, 0.95);
|
|
color: #e2e8f0;
|
|
transform: scale(1.08);
|
|
}
|
|
#nav-reveal-btn:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
#top-nav {
|
|
transition: transform 0.3s var(--sb-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
}
|
|
body.sb-ready #top-nav {
|
|
transition: transform 0.3s var(--sb-ease, cubic-bezier(0.4, 0, 0.2, 1)),
|
|
width var(--sb-speed, 240ms) var(--sb-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
}
|
|
#sb-mobile-bar {
|
|
transition: transform 0.3s var(--sb-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
}
|
|
|
|
/* ---- Topbar hidden state ---- */
|
|
body.nav-hidden:not(.sb-ready) #top-nav {
|
|
transform: translateY(-100%);
|
|
pointer-events: none;
|
|
}
|
|
body.nav-hidden:not(.sb-ready) #nav-reveal-btn {
|
|
display: flex;
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
top: 8px;
|
|
left: 8px;
|
|
}
|
|
|
|
/* ---- Sidebar hidden state ---- */
|
|
body.sb-ready.nav-hidden {
|
|
padding-left: 0 !important;
|
|
}
|
|
body.sb-ready.nav-hidden #top-nav {
|
|
transform: translateX(calc(-1 * var(--sb-w) - 2px));
|
|
pointer-events: none;
|
|
}
|
|
body.sb-ready.nav-hidden #sb-mobile-bar {
|
|
transform: translateY(-100%);
|
|
pointer-events: none;
|
|
}
|
|
body.sb-ready.nav-hidden #nav-reveal-btn {
|
|
display: flex;
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
top: 8px;
|
|
left: 8px;
|
|
}
|
|
|
|
/* ---- Reveal-on-hover edge strip (sidebar mode) ---- */
|
|
body.sb-ready.nav-hidden #nav-reveal-btn {
|
|
transition: opacity 0.3s ease 0.1s, color 0.15s, background 0.15s, transform 0.2s ease;
|
|
}
|
|
|
|
/* Tooltip on reveal button */
|
|
#nav-reveal-btn::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
left: calc(100% + 8px);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
white-space: nowrap;
|
|
font-size: 0.7rem;
|
|
color: #94a3b8;
|
|
background: rgba(15, 23, 42, 0.92);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 0.15s;
|
|
}
|
|
#nav-reveal-btn:hover::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Keep dashboard controls below the app navigation while scrolling. */
|
|
#top-nav,
|
|
html.nav-pre-sidebar #top-nav,
|
|
body.sb-ready #top-nav {
|
|
z-index: 200 !important;
|
|
}
|
|
|
|
#nav-reveal-btn,
|
|
#sb-mobile-bar {
|
|
z-index: 210 !important;
|
|
}
|
|
|
|
.dashboard-toolbar {
|
|
z-index: 20 !important;
|
|
}
|
|
|
|
.dashboard-stats-shell {
|
|
--dashboard-stats-height: 142px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-stats-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.dashboard-stats-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #94a3b8;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.dashboard-stats-title i {
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.dashboard-version-text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 22px;
|
|
border-left: 1px solid rgba(100, 116, 139, 0.42);
|
|
padding-left: 10px;
|
|
color: #64748b;
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
.dashboard-version-text .server-version-number {
|
|
color: #22c55e;
|
|
margin-left: 4px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.dashboard-version-text .server-version-number-warning {
|
|
color: #fbbf24;
|
|
margin-left: 4px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.dashboard-version-text .server-version-number-mismatch {
|
|
color: #f87171;
|
|
margin-left: 4px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.dashboard-stats-controls {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-stats-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid rgba(51, 65, 85, 0.68);
|
|
border-radius: 8px;
|
|
background: rgba(30, 41, 59, 0.7);
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
|
|
}
|
|
|
|
.dashboard-stats-toggle:hover {
|
|
background: rgba(51, 65, 85, 0.78);
|
|
color: #e2e8f0;
|
|
border-color: rgba(71, 85, 105, 0.8);
|
|
}
|
|
|
|
.dashboard-card-menu {
|
|
position: relative;
|
|
}
|
|
|
|
.dashboard-card-menu > summary {
|
|
list-style: none;
|
|
}
|
|
|
|
.dashboard-card-menu > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-card-menu-panel {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: 45;
|
|
display: grid;
|
|
gap: 6px;
|
|
width: 196px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(51, 65, 85, 0.82);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.98);
|
|
box-shadow: 0 18px 38px rgba(2, 6, 23, 0.42);
|
|
}
|
|
|
|
.dashboard-card-menu-panel label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding: 6px 7px;
|
|
border-radius: 6px;
|
|
color: #cbd5e1;
|
|
font-size: var(--text-xs);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dashboard-card-menu-panel label:hover {
|
|
background: rgba(51, 65, 85, 0.62);
|
|
}
|
|
|
|
.dashboard-card-menu-panel input {
|
|
accent-color: #38bdf8;
|
|
}
|
|
|
|
.dashboard-stats-content {
|
|
height: calc(var(--dashboard-stats-height) + 12px);
|
|
min-height: calc(var(--dashboard-stats-height) + 12px);
|
|
contain: layout paint;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-collapsed .dashboard-stats-content,
|
|
.dashboard-stats-shell.is-collapsed .dashboard-stats-resizer {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-resizing {
|
|
user-select: none;
|
|
}
|
|
|
|
.dashboard-stats-resizer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 14px;
|
|
border-radius: 8px;
|
|
cursor: ns-resize;
|
|
touch-action: none;
|
|
color: #64748b;
|
|
}
|
|
|
|
.dashboard-stats-resizer span {
|
|
width: 92px;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: rgba(71, 85, 105, 0.78);
|
|
transition: background 140ms ease, width 140ms ease;
|
|
}
|
|
|
|
.dashboard-stats-resizer:hover span,
|
|
.dashboard-stats-resizer:focus-visible span,
|
|
.dashboard-stats-shell.is-resizing .dashboard-stats-resizer span {
|
|
width: 132px;
|
|
background: rgba(56, 189, 248, 0.78);
|
|
}
|
|
|
|
.dashboard-stat-card,
|
|
.dashboard-chart-card,
|
|
.dashboard-health-card {
|
|
position: relative;
|
|
min-width: 0;
|
|
height: 100%;
|
|
border: 1px solid rgba(51, 65, 85, 0.68);
|
|
border-radius: 10px;
|
|
background: rgba(15, 23, 42, 0.72);
|
|
box-shadow: none;
|
|
overflow: hidden;
|
|
cursor: grab;
|
|
}
|
|
|
|
.dashboard-stat-card::before,
|
|
.dashboard-chart-card::before,
|
|
.dashboard-health-card::before {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-stat-card:active,
|
|
.dashboard-chart-card:active,
|
|
.dashboard-health-card:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.dashboard-stat-card.is-dragging,
|
|
.dashboard-chart-card.is-dragging,
|
|
.dashboard-health-card.is-dragging {
|
|
opacity: 0.52;
|
|
border-color: rgba(56, 189, 248, 0.62);
|
|
}
|
|
|
|
.dashboard-stats-content .grid-stack-item-content {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.dashboard-stats-content .grid-stack-item.dashboard-card-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-stats-content .grid-stack-item.ui-draggable-dragging .grid-stack-item-content,
|
|
.dashboard-stats-content .grid-stack-item.ui-resizable-resizing .grid-stack-item-content {
|
|
border-color: rgba(56, 189, 248, 0.62);
|
|
box-shadow: 0 18px 42px rgba(2, 6, 23, 0.42);
|
|
}
|
|
|
|
.dashboard-stats-content .grid-stack-placeholder > .placeholder-content,
|
|
.dashboard-stats-content .grid-stack-placeholder > .grid-stack-item-content {
|
|
border: 1px dashed rgba(56, 189, 248, 0.58);
|
|
border-radius: 10px;
|
|
background: rgba(8, 47, 73, 0.22);
|
|
}
|
|
|
|
.dashboard-stats-content .ui-resizable-se {
|
|
right: 8px !important;
|
|
bottom: 8px !important;
|
|
width: 14px;
|
|
height: 14px;
|
|
opacity: 0;
|
|
transition: opacity 140ms ease;
|
|
}
|
|
|
|
.dashboard-stats-content .grid-stack-item:hover .ui-resizable-se {
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.dashboard-stat-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
padding: 14px;
|
|
}
|
|
|
|
.dashboard-stat-card--online {
|
|
border-color: rgba(34, 211, 238, 0.22);
|
|
}
|
|
|
|
.dashboard-stat-card--online .dashboard-stat-value {
|
|
color: #f8fafc;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.dashboard-stat-card--online .dashboard-stat-subline span:last-child {
|
|
color: #86efac;
|
|
}
|
|
|
|
.dashboard-stat-card--sessions {
|
|
border-color: rgba(129, 140, 248, 0.24);
|
|
}
|
|
|
|
.dashboard-stat-topline,
|
|
.dashboard-chart-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: #94a3b8;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.dashboard-stat-topline i {
|
|
color: #818cf8;
|
|
}
|
|
|
|
.dashboard-stat-value {
|
|
margin-top: 10px;
|
|
color: #f8fafc;
|
|
font-size: clamp(1.8rem, calc(var(--dashboard-stats-height) / 3.2), 3.8rem);
|
|
line-height: 1;
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.dashboard-stat-subline {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
color: #9db1cc;
|
|
font-size: 0.78rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.dashboard-chart-card,
|
|
.dashboard-health-card {
|
|
padding: 12px 14px 10px;
|
|
}
|
|
|
|
.dashboard-chart-head {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.dashboard-chart-head strong {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: #e2e8f0;
|
|
font-size: 0.94rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-chart-pill {
|
|
flex-shrink: 0;
|
|
max-width: 9rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
border: 1px solid rgba(56, 189, 248, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(8, 47, 73, 0.32);
|
|
color: #bae6fd;
|
|
padding: 3px 8px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.dashboard-chart-wrap {
|
|
position: relative;
|
|
z-index: 1;
|
|
height: max(56px, calc(var(--dashboard-stats-height) - 54px));
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-chart-wrap--donut {
|
|
height: max(54px, calc(var(--dashboard-stats-height) - 62px));
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.dashboard-chart-wrap canvas {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.dashboard-health-list {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
gap: 7px;
|
|
align-content: start;
|
|
max-height: calc(var(--dashboard-stats-height) - 52px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard-health-row {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 26px;
|
|
border: 1px solid rgba(100, 116, 139, 0.16);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.46);
|
|
padding: 5px 8px;
|
|
color: #9db1cc;
|
|
font-size: 0.78rem;
|
|
cursor: grab;
|
|
}
|
|
|
|
.dashboard-health-row.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-health-row.is-dragging {
|
|
opacity: 0.5;
|
|
border-color: rgba(56, 189, 248, 0.58);
|
|
}
|
|
|
|
.dashboard-health-row strong {
|
|
color: #e2e8f0;
|
|
font-size: 0.78rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-compact .dashboard-chart-kicker {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-compact .dashboard-chart-head {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-compact .dashboard-chart-pill {
|
|
max-width: 7rem;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-tiny .dashboard-stat-subline {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-stats-shell.is-tiny .dashboard-chart-pill {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-live-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: #64748b;
|
|
box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.12);
|
|
}
|
|
|
|
.dashboard-live-dot.is-live {
|
|
background: #22c55e;
|
|
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13), 0 0 16px rgba(34, 197, 94, 0.36);
|
|
}
|
|
|
|
.dashboard-live-dot.is-warn {
|
|
background: #fbbf24;
|
|
box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12), 0 0 16px rgba(251, 191, 36, 0.3);
|
|
}
|
|
|
|
.dashboard-live-dot.is-bad {
|
|
background: #fb7185;
|
|
box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12), 0 0 16px rgba(251, 113, 133, 0.3);
|
|
}
|
|
|
|
.dashboard-live-dot.is-muted {
|
|
background: #64748b;
|
|
box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.1);
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
.dashboard-stat-value {
|
|
font-size: clamp(1.65rem, calc(var(--dashboard-stats-height) / 3.4), 3rem);
|
|
}
|
|
|
|
.dashboard-stats-bar {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dashboard-stats-controls {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
}
|
|
|
|
.dashboard-menu-panel,
|
|
.nav-dd-menu {
|
|
z-index: 40 !important;
|
|
}
|
|
|
|
/* No browser/theme focus boxes anywhere in the app UI. */
|
|
:where(a, button, input, select, textarea, summary, [tabindex]):focus,
|
|
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
|
|
:where(.input-row, #search-shell, #country-picker-panel .p-2 > div):focus-within {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|