1924 lines
36 KiB
CSS
1924 lines
36 KiB
CSS
:root {
|
|
--bg: #07101b;
|
|
--panel: rgba(9, 20, 35, 0.78);
|
|
--panel-strong: rgba(11, 24, 41, 0.92);
|
|
--text: #eef6ff;
|
|
--text-dim: rgba(227, 239, 255, 0.72);
|
|
--text-faint: rgba(227, 239, 255, 0.54);
|
|
--border: rgba(152, 192, 255, 0.16);
|
|
--shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
|
|
--radius-xl: 30px;
|
|
--radius-lg: 22px;
|
|
--radius-md: 16px;
|
|
--accent: #6ce5ff;
|
|
--accent-strong: #21b8ff;
|
|
--accent-rgb: 108, 229, 255;
|
|
--success: #65f0b7;
|
|
--danger: #ff8db5;
|
|
--font-sans: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
|
|
--font-mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", monospace;
|
|
--card-bg: linear-gradient(180deg, rgba(11, 24, 41, 0.9), rgba(9, 18, 31, 0.82));
|
|
--nebula-bg-image: none;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] {
|
|
--bg: #eef4fb;
|
|
--panel: rgba(255, 255, 255, 0.86);
|
|
--panel-strong: rgba(255, 255, 255, 0.96);
|
|
--text: #142235;
|
|
--text-dim: rgba(20, 34, 53, 0.72);
|
|
--text-faint: rgba(20, 34, 53, 0.56);
|
|
--border: rgba(75, 104, 145, 0.16);
|
|
--shadow: 0 18px 45px rgba(39, 61, 92, 0.12);
|
|
--card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
|
|
}
|
|
|
|
:root[data-accent="sunset"] {
|
|
--accent: #ffc177;
|
|
--accent-strong: #ff8f40;
|
|
--accent-rgb: 255, 193, 119;
|
|
}
|
|
|
|
:root[data-accent="ember"] {
|
|
--accent: #ff97b9;
|
|
--accent-strong: #ff5e92;
|
|
--accent-rgb: 255, 151, 185;
|
|
}
|
|
|
|
:root[data-accent="violet"] {
|
|
--accent: #b6a4ff;
|
|
--accent-strong: #776dff;
|
|
--accent-rgb: 182, 164, 255;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
background:
|
|
var(--nebula-bg-image) center / cover fixed no-repeat,
|
|
radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.16), transparent 30%),
|
|
radial-gradient(circle at top right, rgba(255, 201, 122, 0.12), transparent 22%),
|
|
linear-gradient(180deg, #050d16 0%, #07101b 48%, #040a12 100%);
|
|
color: var(--text);
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] html,
|
|
:root[data-theme-mode="light"] body {
|
|
background:
|
|
var(--nebula-bg-image) center / cover fixed no-repeat,
|
|
radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.18), transparent 30%),
|
|
radial-gradient(circle at top right, rgba(255, 201, 122, 0.14), transparent 22%),
|
|
linear-gradient(180deg, #f7fbff 0%, #eef4fb 48%, #e7eef8 100%);
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
body::before,
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
body::before {
|
|
background-image:
|
|
linear-gradient(rgba(155, 192, 255, 0.06) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(155, 192, 255, 0.06) 1px, transparent 1px);
|
|
background-size: 72px 72px;
|
|
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 88%);
|
|
}
|
|
|
|
body::after {
|
|
background:
|
|
radial-gradient(circle at 12% 20%, rgba(var(--accent-rgb), 0.2), transparent 24%),
|
|
radial-gradient(circle at 82% 12%, rgba(255, 201, 122, 0.14), transparent 18%),
|
|
radial-gradient(circle at 50% 88%, rgba(113, 162, 255, 0.12), transparent 18%);
|
|
filter: blur(28px);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#app {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.glass-card,
|
|
.nebula-loading__card {
|
|
border: 1px solid var(--border);
|
|
background: var(--card-bg);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.nebula-loading {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.nebula-loading__card {
|
|
width: min(540px, 100%);
|
|
padding: 28px;
|
|
border-radius: var(--radius-xl);
|
|
}
|
|
|
|
.nebula-loading__card h1 {
|
|
margin: 18px 0 10px;
|
|
font-size: clamp(2rem, 5vw, 3.1rem);
|
|
line-height: 1;
|
|
}
|
|
|
|
.nebula-loading__card p {
|
|
margin: 0;
|
|
color: var(--text-dim);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.nebula-pill,
|
|
.tiny-pill,
|
|
.status-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.24);
|
|
background: rgba(var(--accent-rgb), 0.08);
|
|
}
|
|
|
|
.nebula-pill {
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.tiny-pill,
|
|
.status-chip {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.status-chip.online {
|
|
color: var(--success);
|
|
border-color: rgba(101, 240, 183, 0.24);
|
|
background: rgba(101, 240, 183, 0.08);
|
|
}
|
|
|
|
.status-chip.offline {
|
|
color: var(--danger);
|
|
border-color: rgba(255, 141, 181, 0.24);
|
|
background: rgba(255, 141, 181, 0.08);
|
|
}
|
|
|
|
.status-chip.pending {
|
|
color: #f6b84f;
|
|
border-color: rgba(246, 184, 79, 0.24);
|
|
background: rgba(246, 184, 79, 0.1);
|
|
}
|
|
|
|
.status-chip.neutral {
|
|
color: var(--text-dim);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.app-shell {
|
|
width: min(1400px, calc(100vw - 32px));
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px 0 20px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.record-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: auto;
|
|
padding: 28px 0 6px;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.record-divider {
|
|
opacity: 0.48;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 12px 0 24px;
|
|
}
|
|
|
|
.nebula-topbar {
|
|
padding: 18px 22px;
|
|
border-radius: 26px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 46px;
|
|
height: 46px;
|
|
flex: 0 0 46px;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.28);
|
|
background:
|
|
radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), transparent 40%),
|
|
linear-gradient(135deg, rgba(var(--accent-rgb), 0.35), rgba(255, 212, 121, 0.12));
|
|
box-shadow: inset 0 0 24px rgba(var(--accent-rgb), 0.16);
|
|
}
|
|
|
|
.brand-mark--image {
|
|
display: grid;
|
|
place-items: center;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.94);
|
|
box-shadow: 0 10px 26px rgba(10, 20, 36, 0.14);
|
|
}
|
|
|
|
.brand-mark--image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
padding: 8px;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .brand-mark--image {
|
|
border-color: rgba(75, 104, 145, 0.18);
|
|
box-shadow: 0 10px 24px rgba(39, 61, 92, 0.1);
|
|
}
|
|
|
|
.brand h1,
|
|
.brand p,
|
|
.section-head h3,
|
|
.hero h2,
|
|
.auth-panel h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-badge-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
min-height: 100%;
|
|
padding: 34px 34px 38px;
|
|
}
|
|
|
|
.hero::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 28px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 24px;
|
|
pointer-events: none;
|
|
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.45));
|
|
}
|
|
|
|
.hero-copy-block {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: clamp(34px, 6vh, 56px);
|
|
min-height: 0;
|
|
padding: 26px 0 4px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-description {
|
|
color: var(--text-dim);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.hero-subcopy {
|
|
display: block;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.hero-metric-label {
|
|
margin-top: 12px;
|
|
font-size: clamp(1.05rem, 1.9vw, 1.35rem);
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.02em;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.hero-metric-stack {
|
|
display: grid;
|
|
gap: clamp(16px, 2.3vh, 26px);
|
|
margin: auto 0;
|
|
align-content: start;
|
|
justify-items: start;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero-metric-line {
|
|
font-size: clamp(3.4rem, 6.6vw, 5.9rem);
|
|
font-weight: 760;
|
|
line-height: 0.86;
|
|
letter-spacing: -0.095em;
|
|
font-style: italic;
|
|
white-space: nowrap;
|
|
text-wrap: nowrap;
|
|
text-align: left;
|
|
}
|
|
|
|
.hero-metric-value {
|
|
font-size: clamp(3.4rem, 6.4vw, 5.9rem);
|
|
font-weight: 760;
|
|
line-height: 0.86;
|
|
letter-spacing: -0.095em;
|
|
white-space: nowrap;
|
|
text-wrap: nowrap;
|
|
text-align: left;
|
|
}
|
|
|
|
.hero-metric-value em {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hero-custom-line {
|
|
margin: 18px 0 0;
|
|
font-size: clamp(2.4rem, 4.5vw, 4.15rem);
|
|
font-weight: 760;
|
|
line-height: 0.9;
|
|
letter-spacing: -0.085em;
|
|
font-style: italic;
|
|
color: color-mix(in srgb, var(--text-main) 78%, transparent);
|
|
width: 100%;
|
|
white-space: normal;
|
|
text-wrap: balance;
|
|
text-align: left;
|
|
opacity: 0.88;
|
|
}
|
|
|
|
.auth-panel-heading {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 16px 0 12px;
|
|
}
|
|
|
|
.auth-panel-eyebrow {
|
|
margin: 0;
|
|
font-size: 0.82rem;
|
|
line-height: 1;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
@media (min-width: 1181px) {
|
|
.auth-grid .hero {
|
|
min-height: 560px;
|
|
}
|
|
}
|
|
|
|
.brand p,
|
|
.hero p,
|
|
.auth-panel p,
|
|
.section-copy,
|
|
.footer-note {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.topbar-actions,
|
|
.form-actions,
|
|
.toolbar,
|
|
.inline-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
border: 0;
|
|
border-radius: 999px;
|
|
padding: 12px 18px;
|
|
transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: #06111b;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
|
|
box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.18);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.btn-secondary {
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.btn-ghost {
|
|
color: var(--text-dim);
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .btn-secondary,
|
|
:root[data-theme-mode="light"] .btn-ghost {
|
|
background: rgba(20, 34, 53, 0.035);
|
|
border-color: rgba(75, 104, 145, 0.16);
|
|
}
|
|
|
|
.auth-grid,
|
|
.dashboard-grid,
|
|
.dashboard-hero,
|
|
.dashboard-stat-grid,
|
|
.metric-strip,
|
|
.kpi-row,
|
|
.ip-list,
|
|
.session-list,
|
|
.node-list,
|
|
.notice-list,
|
|
.stack {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.auth-grid {
|
|
grid-template-columns: 1.34fr 0.78fr;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.hero,
|
|
.auth-panel,
|
|
.section-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: var(--radius-xl);
|
|
padding: 34px;
|
|
}
|
|
|
|
.auth-panel {
|
|
width: min(100%, 460px);
|
|
justify-self: end;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.hero::before,
|
|
.auth-panel::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(var(--accent-rgb), 0.1));
|
|
}
|
|
|
|
.hero h2,
|
|
.auth-panel h2 {
|
|
margin: 14px 0 12px;
|
|
font-size: clamp(2.3rem, 5vw, 4.2rem);
|
|
line-height: 0.95;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.auth-panel-heading h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-panel form[data-form] {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.auth-panel .form-actions {
|
|
margin-top: 18px;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.auth-panel .form-actions .btn-primary {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero h2 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.hero .hero-metric-label {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.metric-strip {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.metric-box,
|
|
.dashboard-stat,
|
|
.kpi-box,
|
|
.token-field,
|
|
.ip-item,
|
|
.session-item,
|
|
.node-item,
|
|
.notice-item,
|
|
.message-banner,
|
|
.empty-state {
|
|
border-radius: var(--radius-md);
|
|
padding: 16px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.metric-box .value,
|
|
.dashboard-stat .value,
|
|
.kpi-value {
|
|
display: block;
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.kpi-box {
|
|
min-width: 0;
|
|
}
|
|
|
|
.kpi-label {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.kpi-value {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.section-card--overview .kpi-value {
|
|
font-size: clamp(1.1rem, 2vw, 1.45rem);
|
|
}
|
|
|
|
.section-card--overview .kpi-box:nth-child(1) .kpi-value,
|
|
.section-card--overview .kpi-box:nth-child(4) .kpi-value {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-break: normal;
|
|
}
|
|
|
|
.section-card--overview .kpi-box:nth-child(4) .kpi-value span {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metric-box .label,
|
|
.dashboard-stat .label,
|
|
.kpi-label,
|
|
.meta-label {
|
|
display: block;
|
|
margin-top: 8px;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
}
|
|
|
|
.message-banner {
|
|
margin-bottom: 16px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.message-banner.error {
|
|
color: var(--danger);
|
|
border-color: rgba(255, 141, 181, 0.22);
|
|
background: rgba(255, 141, 181, 0.08);
|
|
}
|
|
|
|
.message-banner.success {
|
|
color: var(--success);
|
|
border-color: rgba(101, 240, 183, 0.22);
|
|
background: rgba(101, 240, 183, 0.08);
|
|
}
|
|
|
|
.form-tabs {
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
padding: 6px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .form-tabs {
|
|
background: rgba(20, 34, 53, 0.03);
|
|
border-color: rgba(75, 104, 145, 0.14);
|
|
}
|
|
|
|
.form-tab {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-dim);
|
|
border-radius: 999px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.form-tab.active {
|
|
color: #07111d;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
|
|
font-weight: 700;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field label {
|
|
font-size: 13px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.field-help {
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.field input,
|
|
.field textarea {
|
|
width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text);
|
|
padding: 14px 16px;
|
|
outline: none;
|
|
}
|
|
|
|
.field select {
|
|
width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text);
|
|
padding: 14px 16px;
|
|
outline: none;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .field input,
|
|
:root[data-theme-mode="light"] .field textarea,
|
|
:root[data-theme-mode="light"] .field select {
|
|
background: rgba(20, 34, 53, 0.035);
|
|
border-color: rgba(75, 104, 145, 0.16);
|
|
}
|
|
|
|
.field input:focus,
|
|
.field textarea:focus {
|
|
border-color: rgba(var(--accent-rgb), 0.45);
|
|
box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
|
|
}
|
|
|
|
.node-search-input {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
color: var(--text);
|
|
padding: 8px 14px;
|
|
font-size: 14px;
|
|
width: 180px;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.node-search-input:focus {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(var(--accent-rgb), 0.5);
|
|
width: 240px;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .node-search-input {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.node-action-btn {
|
|
background: rgba(var(--accent-rgb), 0.1);
|
|
color: var(--accent);
|
|
border: 1px solid rgba(var(--accent-rgb), 0.2);
|
|
padding: 6px 14px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
transition: all 0.2s ease;
|
|
backdrop-filter: blur(8px);
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.node-action-btn:hover {
|
|
background: var(--accent);
|
|
color: #08101c;
|
|
border-color: var(--accent);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
|
|
}
|
|
|
|
.node-action-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .node-action-btn {
|
|
background: rgba(var(--accent-rgb), 0.08);
|
|
border-color: rgba(var(--accent-rgb), 0.15);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .node-action-btn:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.node-info-pre {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--accent);
|
|
overflow-x: auto;
|
|
white-space: pre-wrap;
|
|
border: 1px solid var(--border);
|
|
margin: 10px 0;
|
|
max-height: 300px;
|
|
}
|
|
|
|
.input-with-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.input-with-button input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.send-code-btn {
|
|
height: 44px;
|
|
min-width: 100px;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.input-with-button {
|
|
gap: 8px;
|
|
}
|
|
|
|
.send-code-btn {
|
|
min-width: 80px;
|
|
font-size: 11px;
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
}
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .node-info-pre {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
color: var(--text);
|
|
}
|
|
|
|
.dashboard-hero {
|
|
grid-template-columns: 1.45fr 0.85fr;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.dashboard-stat-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
}
|
|
|
|
.dashboard-grid--overview {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.section-card--overview {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.dashboard-grid--overview .kpi-row {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
|
|
.dashboard-shell {
|
|
display: grid;
|
|
grid-template-columns: 280px minmax(0, 1fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.dashboard-main {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.dashboard-sidebar {
|
|
position: sticky;
|
|
top: 20px;
|
|
display: grid;
|
|
gap: 16px;
|
|
padding: 22px;
|
|
border-radius: 28px;
|
|
}
|
|
|
|
.sidebar-title {
|
|
margin: 10px 0 0;
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.sidebar-nav,
|
|
.sidebar-kpis {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sidebar-link,
|
|
.sidebar-kpi {
|
|
border-radius: 20px;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.sidebar-link {
|
|
width: 100%;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
}
|
|
|
|
.sidebar-link.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.34);
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12);
|
|
}
|
|
|
|
.sidebar-link strong,
|
|
.sidebar-kpi strong {
|
|
display: block;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.sidebar-link span {
|
|
display: block;
|
|
margin-top: 6px;
|
|
color: var(--text-faint);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sidebar-progress {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.nebula-main-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.74fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.nebula-app-stage {
|
|
position: relative;
|
|
min-height: 100%;
|
|
padding: 18px;
|
|
border-radius: var(--radius-xl);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nebula-app-stage::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%),
|
|
radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.12), transparent 24%);
|
|
}
|
|
|
|
.nebula-app-stage > #app {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.nebula-side-rail {
|
|
display: grid;
|
|
gap: 18px;
|
|
align-content: start;
|
|
}
|
|
|
|
.span-5 { grid-column: span 5; }
|
|
.span-6 { grid-column: span 6; }
|
|
.span-7 { grid-column: span 7; }
|
|
.span-12 { grid-column: span 12; }
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.kpi-row {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.progress {
|
|
margin-top: 16px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
overflow: hidden;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .progress {
|
|
background: rgba(20, 34, 53, 0.08);
|
|
}
|
|
|
|
.progress > span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-strong));
|
|
}
|
|
|
|
.token-field {
|
|
font-family: var(--font-mono);
|
|
color: var(--text-dim);
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.token-field--masked {
|
|
display: grid;
|
|
gap: 8px;
|
|
font-family: var(--font-sans);
|
|
white-space: normal;
|
|
}
|
|
|
|
.token-field--masked strong {
|
|
color: var(--text);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.session-item,
|
|
.notice-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.notice-item--interactive {
|
|
width: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: transform 0.18s ease, opacity 0.18s ease;
|
|
}
|
|
|
|
.notice-item--interactive:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.notice-item--interactive:focus-visible {
|
|
outline: 2px solid rgba(var(--accent-rgb), 0.45);
|
|
outline-offset: 6px;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.session-copy,
|
|
.node-copy,
|
|
.notice-copy {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.notice-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.notice-open-indicator {
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.node-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.section-card--nodes {
|
|
overflow: visible;
|
|
}
|
|
|
|
.node-item {
|
|
display: grid;
|
|
gap: 14px;
|
|
align-content: start;
|
|
min-width: 0;
|
|
height: 100%;
|
|
grid-template-rows: auto auto auto;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.node-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.node-copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.node-copy strong {
|
|
word-break: break-word;
|
|
}
|
|
|
|
.node-specs {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.node-spec {
|
|
border-radius: 14px;
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .metric-box,
|
|
:root[data-theme-mode="light"] .dashboard-stat,
|
|
:root[data-theme-mode="light"] .kpi-box,
|
|
:root[data-theme-mode="light"] .token-field,
|
|
:root[data-theme-mode="light"] .ip-item,
|
|
:root[data-theme-mode="light"] .session-item,
|
|
:root[data-theme-mode="light"] .node-item,
|
|
:root[data-theme-mode="light"] .notice-item,
|
|
:root[data-theme-mode="light"] .message-banner,
|
|
:root[data-theme-mode="light"] .empty-state,
|
|
:root[data-theme-mode="light"] .sidebar-link,
|
|
:root[data-theme-mode="light"] .sidebar-kpi {
|
|
background: rgba(20, 34, 53, 0.035);
|
|
border-color: rgba(75, 104, 145, 0.14);
|
|
}
|
|
|
|
.node-spec strong {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.real-name-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.real-name-identity {
|
|
font-family: var(--font-mono);
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.real-name-alert {
|
|
margin-top: 16px;
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
background: rgba(var(--accent-rgb), 0.08);
|
|
border: 1px solid rgba(var(--accent-rgb), 0.14);
|
|
color: var(--text-dim);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.real-name-alert--rejected {
|
|
border-color: rgba(255, 141, 181, 0.22);
|
|
background: rgba(255, 141, 181, 0.08);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.node-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.node-list-wrap {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.node-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.theme-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
}
|
|
|
|
.theme-switch__track {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 58px;
|
|
height: 30px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.2);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.theme-switch__icon {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--text-faint);
|
|
transition: color 240ms ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.theme-switch.is-dark .theme-switch__icon--moon {
|
|
color: #06111b;
|
|
}
|
|
|
|
.theme-switch.is-light .theme-switch__icon--sun {
|
|
color: #06111b;
|
|
}
|
|
|
|
.theme-switch__thumb {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
|
|
box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
|
|
transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.theme-switch.is-dark .theme-switch__thumb {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.theme-switch.is-light .theme-switch__thumb {
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .theme-switch__track {
|
|
background: rgba(20, 34, 53, 0.05);
|
|
border-color: rgba(75, 104, 145, 0.16);
|
|
}
|
|
|
|
.session-copy strong,
|
|
.node-copy strong,
|
|
.notice-copy strong {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.session-meta,
|
|
.node-meta,
|
|
.notice-meta {
|
|
color: var(--text-faint);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ip-list {
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
}
|
|
|
|
.ip-item code {
|
|
font-family: var(--font-mono);
|
|
color: var(--text);
|
|
}
|
|
|
|
.empty-state {
|
|
color: var(--text-faint);
|
|
text-align: center;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .node-spec {
|
|
background: rgba(20, 34, 53, 0.035);
|
|
border-color: rgba(75, 104, 145, 0.14);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .glass-card,
|
|
:root[data-theme-mode="light"] .nebula-loading__card {
|
|
border-color: rgba(75, 104, 145, 0.14);
|
|
}
|
|
|
|
.sidebar-overlay,
|
|
.menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-overlay,
|
|
.menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.auth-grid,
|
|
.dashboard-hero {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.dashboard-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.span-5,
|
|
.span-6,
|
|
.span-7 {
|
|
grid-column: span 12;
|
|
}
|
|
|
|
.nebula-main-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.node-list {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
/* Sidebar Drawer for Mobile */
|
|
.dashboard-sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
width: 280px;
|
|
z-index: 10000;
|
|
transform: translateX(-110%) scale(0.96);
|
|
filter: blur(8px);
|
|
transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
|
|
filter 400ms ease,
|
|
box-shadow 450ms ease,
|
|
opacity 450ms ease;
|
|
background: var(--panel-strong) !important;
|
|
border-radius: 0 !important;
|
|
border: none !important;
|
|
border-right: 1px solid var(--border) !important;
|
|
backdrop-filter: blur(28px);
|
|
overflow-y: auto;
|
|
padding: 32px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
[data-sidebar-open="true"] .dashboard-sidebar,
|
|
.dashboard-sidebar.is-open {
|
|
transform: translateX(0) scale(1);
|
|
filter: blur(0);
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
box-shadow: 40px 0 100px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.sidebar-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(4, 9, 17, 0.55);
|
|
z-index: 9999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 400ms ease, visibility 400ms ease, backdrop-filter 400ms ease;
|
|
backdrop-filter: blur(0px);
|
|
display: block;
|
|
}
|
|
|
|
[data-sidebar-open="true"] .sidebar-overlay,
|
|
.sidebar-overlay.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-radius: 14px;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.app-shell {
|
|
width: min(100vw - 20px, 1400px);
|
|
padding-top: 10px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.topbar {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 12px 0 16px;
|
|
}
|
|
|
|
.brand h1 {
|
|
display: none;
|
|
}
|
|
|
|
.hero-badge-row {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.metric-strip,
|
|
.dashboard-stat-grid,
|
|
.kpi-row,
|
|
.node-specs,
|
|
.real-name-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.node-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hero,
|
|
.auth-panel,
|
|
.section-card {
|
|
padding: 20px;
|
|
}
|
|
|
|
.auth-panel {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.hero-metric-stack {
|
|
gap: 12px;
|
|
margin: auto auto auto 0;
|
|
padding-left: 0;
|
|
justify-items: start;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.hero-copy-block {
|
|
gap: 20px;
|
|
padding: 12px 0 0;
|
|
}
|
|
|
|
.hero-metric-line {
|
|
font-size: clamp(2.4rem, 10vw, 4.2rem);
|
|
white-space: normal;
|
|
text-align: left;
|
|
}
|
|
|
|
.hero-metric-value {
|
|
font-size: clamp(2.1rem, 8vw, 2.9rem);
|
|
white-space: normal;
|
|
text-align: left;
|
|
}
|
|
|
|
.hero-custom-line {
|
|
font-size: clamp(1.65rem, 6.5vw, 2.4rem);
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
padding-left: 0;
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.record-footer {
|
|
padding-top: 22px;
|
|
}
|
|
|
|
.topbar-actions .btn {
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.nebula-topbar {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.nebula-app-stage {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
.nebula-shell {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nebula-glow,
|
|
.nebula-ring {
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nebula-glow {
|
|
border-radius: 50%;
|
|
filter: blur(24px);
|
|
opacity: 0.36;
|
|
}
|
|
|
|
.nebula-glow-a {
|
|
top: -10vw;
|
|
right: -8vw;
|
|
width: 42vw;
|
|
height: 42vw;
|
|
background: radial-gradient(circle, rgba(var(--accent-rgb), 0.38), transparent 62%);
|
|
}
|
|
|
|
.nebula-glow-b {
|
|
left: -12vw;
|
|
bottom: -16vw;
|
|
width: 38vw;
|
|
height: 38vw;
|
|
background: radial-gradient(circle, rgba(255, 208, 122, 0.26), transparent 58%);
|
|
}
|
|
|
|
.nebula-ring {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 999px;
|
|
transform: rotate(-18deg);
|
|
opacity: 0.32;
|
|
}
|
|
|
|
.nebula-ring-a {
|
|
width: 520px;
|
|
height: 520px;
|
|
top: -180px;
|
|
right: -120px;
|
|
}
|
|
|
|
.nebula-ring-b {
|
|
width: 420px;
|
|
height: 420px;
|
|
left: -140px;
|
|
bottom: -160px;
|
|
}
|
|
|
|
.nebula-loading {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: linear-gradient(180deg, rgba(4, 10, 18, 0.84), rgba(4, 10, 18, 0.92));
|
|
z-index: 20;
|
|
transition: opacity 320ms ease, visibility 320ms ease;
|
|
}
|
|
|
|
.nebula-loading.is-hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.n-layout,
|
|
.n-layout-content,
|
|
.n-drawer-container,
|
|
.n-modal-container,
|
|
.n-drawer,
|
|
.n-menu,
|
|
.n-layout-scroll-container {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.n-layout-sider,
|
|
.n-card,
|
|
.n-modal .n-card,
|
|
.n-data-table,
|
|
.n-tabs-nav,
|
|
.n-dropdown-menu,
|
|
.n-popover,
|
|
.n-drawer .n-drawer-content,
|
|
.n-base-selection,
|
|
.n-input {
|
|
background: linear-gradient(180deg, rgba(11, 24, 41, 0.9), rgba(9, 18, 31, 0.82)) !important;
|
|
border: 1px solid rgba(152, 192, 255, 0.14) !important;
|
|
box-shadow: var(--shadow) !important;
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.n-card,
|
|
.n-modal .n-card,
|
|
.n-layout-sider,
|
|
.n-base-selection,
|
|
.n-input {
|
|
border-radius: var(--radius-lg) !important;
|
|
}
|
|
|
|
.n-button {
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.n-button--primary-type,
|
|
.n-button--info-type,
|
|
.n-button--success-type {
|
|
color: #06111b !important;
|
|
border: none !important;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-strong)) !important;
|
|
}
|
|
|
|
.n-menu-item-content--selected,
|
|
.n-tabs-tab--active,
|
|
.n-tag--info-type {
|
|
background: rgba(var(--accent-rgb), 0.12) !important;
|
|
color: var(--accent) !important;
|
|
}
|
|
|
|
.nebula-monitor {
|
|
position: sticky;
|
|
top: 20px;
|
|
width: 100%;
|
|
border-radius: var(--radius-xl);
|
|
border: 1px solid rgba(var(--accent-rgb), 0.2);
|
|
background: linear-gradient(180deg, rgba(11, 24, 41, 0.96), rgba(8, 18, 31, 0.92));
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nebula-monitor__head,
|
|
.nebula-monitor__section {
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.nebula-monitor__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.nebula-monitor__body {
|
|
display: grid;
|
|
}
|
|
|
|
.nebula-monitor__title {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nebula-monitor__copy {
|
|
margin-top: 6px;
|
|
color: var(--text-faint);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.nebula-monitor__actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.nebula-monitor__actions button {
|
|
border: 0;
|
|
border-radius: 999px;
|
|
padding: 8px 12px;
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.nebula-monitor.is-collapsed .nebula-monitor__body {
|
|
display: none;
|
|
}
|
|
|
|
.nebula-monitor__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.nebula-monitor__metric {
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.nebula-monitor__metric strong {
|
|
display: block;
|
|
font-size: 1.5rem;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.nebula-monitor__metric span,
|
|
.nebula-monitor__meta,
|
|
.nebula-monitor__empty {
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.nebula-monitor__chips,
|
|
.nebula-monitor__sessions {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.nebula-monitor__chip,
|
|
.nebula-monitor__session {
|
|
border-radius: 14px;
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.nebula-monitor__chip code {
|
|
font-family: var(--font-mono);
|
|
color: var(--text);
|
|
}
|
|
|
|
.nebula-monitor__session strong {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.nebula-monitor__empty {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.nebula-monitor {
|
|
position: relative;
|
|
top: 0;
|
|
}
|
|
|
|
.nebula-monitor__grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Modal Overlay & Dialogs */
|
|
.nebula-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9000;
|
|
background: rgba(4, 9, 17, 0.6);
|
|
backdrop-filter: blur(12px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
animation: nebula-fade-in 240ms ease-out forwards;
|
|
}
|
|
|
|
.nebula-modal {
|
|
width: min(440px, 100%);
|
|
border-radius: var(--radius-xl);
|
|
padding: 34px;
|
|
border: 1px solid var(--border);
|
|
background: var(--card-bg);
|
|
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
|
|
transform-origin: center;
|
|
animation: nebula-pop-in 340ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
.nebula-modal--article {
|
|
width: min(720px, 100%);
|
|
max-height: min(80vh, 760px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.nebula-modal-title {
|
|
margin: 0 0 14px;
|
|
font-size: 1.7rem;
|
|
font-weight: 760;
|
|
letter-spacing: -0.04em;
|
|
color: var(--text);
|
|
}
|
|
|
|
.nebula-modal-body {
|
|
margin-bottom: 32px;
|
|
color: var(--text-dim);
|
|
line-height: 1.6;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.nebula-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
}
|
|
|
|
.knowledge-article-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.knowledge-article-head .nebula-modal-title {
|
|
margin: 0;
|
|
}
|
|
|
|
.knowledge-article-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
color: var(--text-faint);
|
|
font-size: 13px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.knowledge-article-body {
|
|
margin-bottom: 28px;
|
|
color: var(--text-dim);
|
|
line-height: 1.8;
|
|
font-size: 14px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.knowledge-article-empty {
|
|
margin: 0 0 28px;
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
@keyframes nebula-fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes nebula-pop-in {
|
|
from { transform: scale(0.92) translateY(12px); opacity: 0; }
|
|
to { transform: scale(1) translateY(0); opacity: 1; }
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .nebula-modal-overlay {
|
|
background: rgba(238, 244, 251, 0.45);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .message-banner {
|
|
background: rgba(255, 255, 255, 0.55);
|
|
border: 1px solid rgba(20, 34, 53, 0.12);
|
|
box-shadow: 0 16px 48px rgba(39, 61, 92, 0.12);
|
|
backdrop-filter: blur(16px);
|
|
color: var(--text);
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .message-banner.success {
|
|
background: #f0fff4;
|
|
border-color: #65f0b7;
|
|
color: #0b7a4b;
|
|
}
|
|
|
|
:root[data-theme-mode="light"] .message-banner.error {
|
|
background: #fff5f7;
|
|
border-color: #ff8db5;
|
|
color: #a31d44;
|
|
}
|
|
|
|
/* Toast Notifications */
|
|
.nebula-toast-container {
|
|
position: fixed;
|
|
top: 32px;
|
|
right: 32px;
|
|
z-index: 11000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.message-banner {
|
|
pointer-events: auto;
|
|
border-radius: var(--radius-md);
|
|
padding: 16px 24px;
|
|
background: rgba(14, 25, 41, 0.5);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(16px);
|
|
min-width: 280px;
|
|
max-width: 420px;
|
|
animation: nebula-toast-slide-in 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
@keyframes nebula-toast-slide-in {
|
|
from { transform: translateX(60px); opacity: 0; }
|
|
to { transform: translateX(0); opacity: 1; }
|
|
}
|
|
|