Files
overlord/Overlord-Server/public/assets/main.css
T

3891 lines
85 KiB
CSS
Raw Normal View History

2026-03-05 00:04:26 -06:00
: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;
}
: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;
}
2026-05-08 15:36:24 -05:00
html {
scrollbar-gutter: stable;
}
@view-transition {
navigation: auto;
}
2026-03-05 00:04:26 -06:00
body {
margin: 0;
min-height: 100vh;
2026-04-18 00:51:37 -05:00
background: #0a0d14;
2026-03-05 00:04:26 -06:00
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 {
2026-04-18 00:51:37 -05:00
background: rgba(16, 185, 129, 0.08);
color: #86efac;
border-color: rgba(16, 185, 129, 0.2);
2026-03-05 00:04:26 -06:00
}
.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 {
2026-04-18 00:51:37 -05:00
background: rgba(59, 130, 246, 0.1);
2026-03-05 00:04:26 -06:00
color: #bfdbfe;
2026-04-18 00:51:37 -05:00
border-color: rgba(59, 130, 246, 0.22);
2026-03-05 00:04:26 -06:00
}
.pill-mac {
background: rgba(209, 213, 219, 0.12);
color: #f8fafc;
border-color: rgba(209, 213, 219, 0.22);
}
.pill-ubuntu {
2026-04-18 00:51:37 -05:00
background: rgba(249, 115, 22, 0.08);
2026-03-05 00:04:26 -06:00
color: #fed7aa;
2026-04-18 00:51:37 -05:00
border-color: rgba(249, 115, 22, 0.18);
2026-03-05 00:04:26 -06:00
}
.pill-debian {
2026-04-18 00:51:37 -05:00
background: rgba(236, 72, 153, 0.08);
2026-03-05 00:04:26 -06:00
color: #fbcfe8;
2026-04-18 00:51:37 -05:00
border-color: rgba(236, 72, 153, 0.18);
2026-03-05 00:04:26 -06:00
}
.pill-arch {
2026-04-18 00:51:37 -05:00
background: rgba(34, 211, 238, 0.08);
2026-03-05 00:04:26 -06:00
color: #a5f3fc;
2026-04-18 00:51:37 -05:00
border-color: rgba(34, 211, 238, 0.18);
2026-03-05 00:04:26 -06:00
}
.pill-fedora {
2026-04-18 00:51:37 -05:00
background: rgba(59, 130, 246, 0.08);
2026-03-05 00:04:26 -06:00
color: #c7d2fe;
2026-04-18 00:51:37 -05:00
border-color: rgba(59, 130, 246, 0.18);
2026-03-05 00:04:26 -06:00
}
.pill-linux {
2026-04-18 00:51:37 -05:00
background: rgba(16, 185, 129, 0.07);
2026-03-05 00:04:26 -06:00
color: #bbf7d0;
2026-04-18 00:51:37 -05:00
border-color: rgba(16, 185, 129, 0.16);
2026-03-05 00:04:26 -06:00
}
.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 {
2026-04-18 00:51:37 -05:00
background: rgba(30, 41, 59, 0.72) !important;
border: 1px solid rgba(51, 65, 85, 0.6) !important;
2026-03-05 00:04:26 -06:00
border-radius: var(--radius-lg);
padding: 12px 14px;
2026-04-18 00:51:37 -05:00
box-shadow: none;
2026-03-05 00:04:26 -06:00
}
.card.card-offline {
2026-04-18 00:51:37 -05:00
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;
2026-03-05 00:04:26 -06:00
}
.pill-offline {
background: rgba(51, 65, 85, 0.3);
color: #94a3b8;
border-color: rgba(71, 85, 105, 0.55);
}
.pill-admin {
2026-04-18 00:51:37 -05:00
background: rgba(234, 179, 8, 0.08);
color: #fef08a;
2026-04-18 00:51:37 -05:00
border-color: rgba(234, 179, 8, 0.22);
}
.pill-system {
2026-04-18 00:51:37 -05:00
background: rgba(239, 68, 68, 0.08);
color: #fca5a5;
2026-04-18 00:51:37 -05:00
border-color: rgba(239, 68, 68, 0.22);
}
.pill-ti {
2026-04-18 00:51:37 -05:00
background: rgba(168, 85, 247, 0.08);
color: #d8b4fe;
2026-04-18 00:51:37 -05:00
border-color: rgba(168, 85, 247, 0.22);
}
2026-04-13 10:49:36 -05:00
.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);
}
2026-04-03 20:24:34 -05:00
/* 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;
}
2026-03-05 00:04:26 -06:00
.card::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
2026-04-18 00:51:37 -05:00
background: none;
opacity: 0;
2026-03-05 00:04:26 -06:00
}
.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);
}
2026-03-05 00:04:26 -06:00
.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;
2026-03-05 00:04:26 -06:00
}
#command-menu button {
padding: 11px 12px;
2026-03-05 00:04:26 -06:00
font-size: 14px;
}
#command-menu .menu-group {
border-radius: 12px;
}
#command-menu .menu-group-body {
gap: 6px;
}
2026-03-05 00:04:26 -06:00
#command-menu i {
font-size: 14px;
}
}
@media (min-width: 1800px) {
#clients-shell {
max-width: min(1800px, 92vw) !important;
2026-04-06 20:48:07 -05:00
margin-left: auto;
margin-right: auto;
2026-03-05 00:04:26 -06:00
}
#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(92, 145, 255, 0.5);
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 0 0 3px rgba(92, 145, 255, 0.1);
}
.input-row i {
color: #7a8cb5;
font-size: 16px;
}
.input-row:focus-within i {
color: #7a5bff;
}
.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;
}
@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;
}
@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;
}
}
2026-03-05 00:04:26 -06:00
.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;
2026-05-15 11:52:26 -05:00
padding: 0;
2026-03-05 00:04:26 -06:00
border-radius: 8px;
2026-05-15 11:52:26 -05:00
background: transparent;
border: 1px solid transparent;
2026-03-05 00:04:26 -06:00
opacity: 0;
2026-05-15 11:52:26 -05:00
transition:
opacity 220ms ease,
padding 220ms ease,
background-color 220ms ease,
border-color 220ms ease;
2026-03-05 00:04:26 -06:00
}
.error:not(:empty) {
opacity: 1;
2026-05-15 11:52:26 -05:00
padding: 8px 10px;
background: rgba(255, 99, 99, 0.1);
border-color: rgba(255, 99, 99, 0.22);
2026-03-05 00:04:26 -06:00
}
2026-05-15 11:52:26 -05:00
.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);
}
2026-03-05 00:04:26 -06:00
.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);
2026-05-08 15:36:24 -05:00
/* 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;
2026-03-05 00:04:26 -06:00
}
#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);
}
2026-03-12 12:05:42 -05:00
.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;
}
2026-03-12 12:08:02 -05:00
.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;
}
2026-03-05 00:04:26 -06:00
#filter-status,
#filter-os,
#sort {
transition:
border-color 150ms ease,
box-shadow 150ms ease,
background-color 150ms ease;
}
#filter-status:focus,
#filter-os:focus,
#sort:focus {
border-color: rgba(99, 102, 241, 0.65) !important;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
outline: none;
}
#search-shell {
transition:
border-color 150ms ease,
box-shadow 150ms ease,
background-color 150ms ease;
}
#search-shell:focus-within {
border-color: rgba(99, 102, 241, 0.65) !important;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
#select-all,
#clear-selection,
#prev,
#next {
transition:
transform 150ms ease,
border-color 150ms ease,
box-shadow 150ms ease;
}
#select-all:hover,
#clear-selection:hover,
#prev:hover,
#next:hover {
transform: translateY(-1px);
border-color: rgba(99, 102, 241, 0.45) !important;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.4);
}
#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;
2026-04-14 19:38:27 -05:00
border-color: var(--group-color, rgba(71, 85, 105, 0.55)) !important;
2026-03-05 00:04:26 -06:00
backdrop-filter: blur(4px);
transition:
transform 170ms ease,
border-color 170ms ease,
box-shadow 170ms ease;
}
#grid article.card:hover {
transform: translateY(-2px);
2026-04-14 19:38:27 -05:00
border-color: var(--group-color, rgba(99, 102, 241, 0.45)) !important;
2026-03-05 00:04:26 -06:00
box-shadow:
0 18px 36px rgba(2, 6, 23, 0.45),
2026-04-14 19:38:27 -05:00
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);
2026-03-05 00:04:26 -06:00
}
/* 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(99, 102, 241, 0.4);
--ui-ring: rgba(99, 102, 241, 0.28);
--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,
#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,
#sort:focus,
#console-input:focus {
border-color: var(--ui-border-strong) !important;
box-shadow: 0 0 0 3px var(--ui-ring);
outline: none;
}
.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;
}
}
2026-04-05 21:32:18 -05:00
2026-05-09 20:47:44 -05:00
/* ============================================================
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;
}
2026-05-10 02:19:12 -05:00
.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; }
2026-05-09 20:47:44 -05:00
.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); }
2026-05-15 18:29:25 -05:00
.cv-pill-muted { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border-color: rgba(245, 158, 11, 0.3); }
2026-05-09 20:47:44 -05:00
.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;
}
2026-05-09 20:47:44 -05:00
.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-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;
2026-05-09 22:29:55 -05:00
padding: 10px 22px 10px 25px;
2026-05-09 20:47:44 -05:00
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%;
2026-05-09 22:29:55 -05:00
margin: 14px -22px -10px -25px;
2026-05-09 20:47:44 -05:00
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: #fdba74; }
.cv-tone-pill-debian { color: #f9a8d4; }
.cv-tone-pill-arch { color: #67e8f9; }
.cv-tone-pill-kali { color: #7dd3fc; }
.cv-tone-pill-fedora { color: #bfdbfe; }
.cv-tone-pill-linux { color: #86efac; }
.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 { font-size: 11px; }
/* 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: 1;
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; }
2026-05-09 22:29:55 -05:00
.clients-table th.cv-th-thumb { width: 96px; }
2026-05-09 20:47:44 -05:00
.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: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.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-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; }
2026-05-09 20:50:17 -05:00
/* ── 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; }
2026-05-09 20:47:44 -05:00
/* ── 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));
}
}
2026-04-05 21:32:18 -05:00
/* ============================================================
SIDEBAR LAYOUT
============================================================ */
:root {
--sb-w: 224px;
--sb-w-collapsed: 64px;
--sb-speed: 240ms;
--sb-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
2026-05-08 15:36:24 -05:00
/* 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,
2026-04-05 21:32:18 -05:00
body.sb-ready {
padding-left: var(--sb-w);
transition: padding-left var(--sb-speed) var(--sb-ease);
}
2026-05-08 15:36:24 -05:00
html.nav-pre-sidebar.nav-pre-collapsed body,
2026-04-05 21:32:18 -05:00
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) {
2026-05-08 15:36:24 -05:00
html.nav-pre-sidebar body,
html.nav-pre-sidebar.nav-pre-collapsed body,
2026-04-05 21:32:18 -05:00
body.sb-ready,
body.sb-ready.sb-collapsed {
padding-left: 0;
padding-top: 52px;
}
}
/* ---- The sidebar element (#top-nav) ---- */
2026-05-08 15:36:24 -05:00
html.nav-pre-sidebar #top-nav,
2026-04-05 21:32:18 -05:00
body.sb-ready #top-nav {
position: fixed;
top: 0;
left: 0;
height: 100dvh;
width: var(--sb-w);
2026-05-08 15:36:24 -05:00
min-height: 0;
2026-04-05 21:32:18 -05:00
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);
}
2026-05-08 15:36:24 -05:00
html.nav-pre-sidebar.nav-pre-collapsed #top-nav,
2026-04-05 21:32:18 -05:00
body.sb-collapsed #top-nav {
width: var(--sb-w-collapsed);
}
@media (max-width: 767px) {
2026-05-08 15:36:24 -05:00
html.nav-pre-sidebar #top-nav,
2026-04-05 21:32:18 -05:00
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);
}
}
2026-05-08 15:36:24 -05:00
/* Pre-paint nav-hidden: keep the nav from flashing in before JS removes it */
html.nav-pre-hidden #top-nav {
visibility: hidden;
}
2026-04-05 21:32:18 -05:00
/* ---- 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;
2026-04-15 17:36:00 +01:00
border: none;
outline: none;
2026-04-05 21:32:18 -05:00
background: transparent;
cursor: pointer;
width: 100%;
text-align: left;
position: relative;
2026-04-15 17:36:00 +01:00
transition: background 0.14s, color 0.14s;
2026-04-05 21:32:18 -05:00
}
.sb-link:hover {
background: rgba(255, 255, 255, 0.06);
color: #e2e8f0;
}
2026-04-15 17:36:00 +01:00
.sb-link:focus-visible {
outline: 2px solid #3b82f6;
outline-offset: 1px;
}
2026-04-05 21:32:18 -05:00
/* Collapsed: center icon, fill the rail */
body.sb-collapsed .sb-link {
justify-content: center;
padding: 12px 0;
gap: 0;
2026-04-05 21:32:18 -05:00
}
.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); }
2026-04-15 17:36:00 +01:00
2026-05-09 21:27:21 -05:00
/* ============================================================
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; }
2026-04-15 17:36:00 +01:00
/* ============================================================
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;
}
2026-04-17 08:54:12 -05:00
.nav-dd-badge.hidden {
display: none;
}
2026-04-15 17:36:00 +01:00
.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: 2px solid #3b82f6;
outline-offset: 1px;
}
.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;
}
2026-04-17 08:54:12 -05:00
body.sb-collapsed .sb-group-children {
display: none;
}
2026-04-15 17:36:00 +01:00
/* 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;
}
2026-04-17 08:54:12 -05:00
.sb-badge.hidden {
display: none;
}
2026-04-15 17:36:00 +01:00
.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: 2px solid #3b82f6;
outline-offset: 2px;
}
2026-05-09 22:00:45 -05:00
#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;
}