- flake.nix: import /etc/nixos/hub-overrides.nix alongside custom.nix - sovran-hub.nix: add hub-overrides-init service (seeds file if missing), sovran-hub-rebuild service (nixos-rebuild switch only), and feature_manager=true in generated config.json - server.py: add FEATURE_REGISTRY with 6 features (rdp, haven, element-calling, mempool, bip110, bitcoin-core); add hub-overrides.nix read/write helpers; add /api/features, /api/features/toggle, /api/rebuild/status, /api/domains/set, /api/domains/set-email, /api/domains/status endpoints; update /api/config to expose feature_manager - index.html: add domain setup modal, SSL email modal, feature confirm modal, and rebuild modal HTML - app.js: add Feature Manager rendering with sub-category layout, feature toggle cards with sliding toggles, domain setup flow, SSL email collection, conflict confirmation, rebuild polling - style.css: add Feature Manager styles (feature cards, toggle switch, domain badge, conflict warning, domain input fields)" Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/9088415a-efc3-4dd1-9c22-877a543af47b Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
1180 lines
23 KiB
CSS
1180 lines
23 KiB
CSS
/* Sovran_SystemsOS Hub — Web UI Stylesheet
|
||
Dark theme matching the Adwaita dark aesthetic
|
||
v6 — Status-only tiles (no controls) */
|
||
|
||
*, *::before, *::after {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
:root {
|
||
--bg-color: #1e1e2e;
|
||
--surface-color: #2a2a3c;
|
||
--card-color: #313244;
|
||
--border-color: #45475a;
|
||
--text-primary: #cdd6f4;
|
||
--text-secondary: #a6adc8;
|
||
--text-dim: #6c7086;
|
||
--accent-color: #89b4fa;
|
||
--green: #2ec27e;
|
||
--yellow: #e5a50a;
|
||
--red: #e01b24;
|
||
--grey: #888888;
|
||
--radius-card: 18px;
|
||
--radius-btn: 8px;
|
||
--shadow-card: 0 2px 8px rgba(0,0,0,0.4);
|
||
--shadow-hover: 0 6px 20px rgba(0,0,0,0.6);
|
||
}
|
||
|
||
html, body {
|
||
height: 100%;
|
||
}
|
||
|
||
body {
|
||
font-family: 'Cantarell', 'Inter', 'Segoe UI', sans-serif;
|
||
background-color: var(--bg-color);
|
||
color: var(--text-primary);
|
||
line-height: 1.5;
|
||
min-height: 100vh;
|
||
}
|
||
|
||
/* ── Header bar ─────────────────────────────────────────────────── */
|
||
|
||
.header-bar {
|
||
background-color: var(--surface-color);
|
||
border-bottom: 1px solid var(--border-color);
|
||
padding: 10px 24px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 16px;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 100;
|
||
}
|
||
|
||
.header-bar .title {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
color: var(--text-primary);
|
||
flex: 1;
|
||
}
|
||
|
||
.role-badge {
|
||
background-color: var(--accent-color);
|
||
color: #1e1e2e;
|
||
font-size: 0.72rem;
|
||
font-weight: 700;
|
||
padding: 3px 10px;
|
||
border-radius: 20px;
|
||
letter-spacing: 0.03em;
|
||
}
|
||
|
||
/* ── Buttons ────────────────────────────────────────────────────── */
|
||
|
||
button {
|
||
font-family: inherit;
|
||
cursor: pointer;
|
||
border: none;
|
||
outline: none;
|
||
transition: opacity 0.15s, box-shadow 0.15s, background-color 0.15s;
|
||
}
|
||
|
||
button:disabled {
|
||
opacity: 0.45;
|
||
cursor: default;
|
||
}
|
||
|
||
.btn {
|
||
padding: 7px 16px;
|
||
border-radius: var(--radius-btn);
|
||
font-size: 0.88rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.btn-primary {
|
||
background-color: var(--accent-color);
|
||
color: #1e1e2e;
|
||
}
|
||
|
||
.btn-primary:hover:not(:disabled) {
|
||
opacity: 0.88;
|
||
}
|
||
|
||
/* Update System button: BLUE by default */
|
||
.btn-update {
|
||
background-color: #89b4fa;
|
||
color: #1e1e2e;
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.btn-update:hover:not(:disabled) {
|
||
opacity: 0.88;
|
||
}
|
||
|
||
/* Update System button: GREEN when updates are available */
|
||
.btn-update.has-updates {
|
||
background-color: #2ec27e;
|
||
color: #fff;
|
||
}
|
||
|
||
.btn-update.has-updates:hover:not(:disabled) {
|
||
background-color: #27ae6e;
|
||
}
|
||
|
||
.update-badge {
|
||
display: none;
|
||
width: 10px;
|
||
height: 10px;
|
||
background-color: var(--yellow);
|
||
border-radius: 50%;
|
||
animation: pulse-badge 1.4s ease-in-out infinite;
|
||
}
|
||
|
||
.update-badge.visible {
|
||
display: inline-block;
|
||
}
|
||
|
||
@keyframes pulse-badge {
|
||
0%, 100% { opacity: 1; transform: scale(1); }
|
||
50% { opacity: 0.5; transform: scale(1.35); }
|
||
}
|
||
|
||
.btn-icon {
|
||
background: none;
|
||
color: var(--text-secondary);
|
||
padding: 6px;
|
||
border-radius: 50%;
|
||
font-size: 1.1rem;
|
||
line-height: 1;
|
||
}
|
||
|
||
.btn-icon:hover:not(:disabled) {
|
||
background-color: var(--border-color);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
/* ── IP bar ─────────────────────────────────────────────────────── */
|
||
|
||
.ip-bar {
|
||
background-color: var(--surface-color);
|
||
border-bottom: 1px solid var(--border-color);
|
||
padding: 8px 24px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 32px;
|
||
font-size: 0.82rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.ip-bar .ip-label {
|
||
color: var(--text-dim);
|
||
margin-right: 6px;
|
||
}
|
||
|
||
.ip-bar .ip-value {
|
||
font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
|
||
color: var(--accent-color);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ip-separator {
|
||
color: var(--border-color);
|
||
}
|
||
|
||
/* ── Main content ───────────────────────────────────────────────── */
|
||
|
||
.main-content {
|
||
max-width: 980px;
|
||
margin: 0 auto;
|
||
padding: 24px 16px 48px;
|
||
}
|
||
|
||
/* ── Category sections ──────────────────────────────────────────── */
|
||
|
||
.category-section {
|
||
margin-bottom: 32px;
|
||
}
|
||
|
||
.section-header {
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 4px;
|
||
padding-left: 4px;
|
||
}
|
||
|
||
.section-divider {
|
||
border: none;
|
||
border-top: 1px solid var(--border-color);
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.tiles-grid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 14px;
|
||
}
|
||
|
||
/* ── Service tile card (status-only) ─────────────────────────────── */
|
||
|
||
.service-tile {
|
||
width: 160px;
|
||
min-height: 150px;
|
||
background-color: var(--card-color);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: var(--radius-card);
|
||
box-shadow: var(--shadow-card);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 20px 12px 18px;
|
||
gap: 0;
|
||
transition: box-shadow 0.2s, border-color 0.2s;
|
||
position: relative;
|
||
}
|
||
|
||
.service-tile:hover {
|
||
box-shadow: var(--shadow-hover);
|
||
border-color: #6c7086;
|
||
}
|
||
|
||
.service-tile.disabled {
|
||
opacity: 0.45;
|
||
}
|
||
|
||
/* Info badge on tiles with credentials */
|
||
.tile-info-btn {
|
||
position: absolute;
|
||
top: 8px;
|
||
right: 8px;
|
||
width: 24px;
|
||
height: 24px;
|
||
border-radius: 50%;
|
||
background-color: var(--accent-color);
|
||
color: #1e1e2e;
|
||
font-size: 0.75rem;
|
||
font-weight: 800;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
border: none;
|
||
transition: transform 0.15s, background-color 0.15s;
|
||
line-height: 1;
|
||
}
|
||
|
||
.tile-info-btn:hover {
|
||
transform: scale(1.15);
|
||
background-color: #a8c8ff;
|
||
}
|
||
|
||
.tile-icon {
|
||
width: 48px;
|
||
height: 48px;
|
||
object-fit: contain;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.tile-icon-fallback {
|
||
width: 48px;
|
||
height: 48px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background-color: var(--border-color);
|
||
border-radius: 12px;
|
||
color: var(--text-dim);
|
||
font-size: 1.5rem;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.tile-name {
|
||
font-size: 0.88rem;
|
||
font-weight: 600;
|
||
text-align: center;
|
||
color: var(--text-primary);
|
||
line-height: 1.3;
|
||
max-width: 140px;
|
||
word-break: break-word;
|
||
hyphens: auto;
|
||
min-height: 1.3em;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.tile-status {
|
||
font-size: 0.75rem;
|
||
margin-top: 8px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.status-dot {
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: 50%;
|
||
flex-shrink: 0;
|
||
background-color: var(--grey);
|
||
}
|
||
|
||
.status-dot.active { background-color: var(--green); }
|
||
.status-dot.inactive { background-color: var(--red); }
|
||
.status-dot.loading { background-color: var(--yellow); animation: pulse-badge 1s infinite; }
|
||
.status-dot.failed { background-color: var(--red); }
|
||
.status-dot.disabled { background-color: var(--grey); }
|
||
|
||
/* ── Update modal ─────────────────────────────────<E29480><E29480><EFBFBD>─────────────── */
|
||
|
||
.modal-overlay {
|
||
display: none;
|
||
position: fixed;
|
||
inset: 0;
|
||
background-color: rgba(0,0,0,0.65);
|
||
z-index: 200;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.modal-overlay.open {
|
||
display: flex;
|
||
}
|
||
|
||
.modal-dialog {
|
||
background-color: var(--surface-color);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 16px;
|
||
width: 90vw;
|
||
max-width: 900px;
|
||
max-height: 80vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-shadow: 0 16px 48px rgba(0,0,0,0.7);
|
||
}
|
||
|
||
.modal-header {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 16px 20px;
|
||
border-bottom: 1px solid var(--border-color);
|
||
gap: 12px;
|
||
}
|
||
|
||
.modal-title {
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
flex: 1;
|
||
}
|
||
|
||
.modal-status {
|
||
font-size: 0.85rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.modal-spinner {
|
||
width: 18px;
|
||
height: 18px;
|
||
border: 2.5px solid var(--border-color);
|
||
border-top-color: var(--accent-color);
|
||
border-radius: 50%;
|
||
animation: spin 0.75s linear infinite;
|
||
display: none;
|
||
}
|
||
|
||
.modal-spinner.spinning {
|
||
display: block;
|
||
}
|
||
|
||
@keyframes spin {
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
|
||
.modal-log {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 12px 16px;
|
||
font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
|
||
font-size: 0.78rem;
|
||
line-height: 1.6;
|
||
color: var(--text-primary);
|
||
background-color: #12121c;
|
||
white-space: pre-wrap;
|
||
word-break: break-all;
|
||
min-height: 200px;
|
||
}
|
||
|
||
.modal-footer {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 10px;
|
||
padding: 12px 20px;
|
||
border-top: 1px solid var(--border-color);
|
||
}
|
||
|
||
/* Reboot = GREEN */
|
||
.modal-footer .btn-reboot,
|
||
button.btn-reboot {
|
||
background-color: #2ec27e;
|
||
color: #fff;
|
||
}
|
||
|
||
.modal-footer .btn-reboot:hover:not(:disabled),
|
||
button.btn-reboot:hover:not(:disabled) {
|
||
background-color: #27ae6e;
|
||
}
|
||
|
||
.btn-save {
|
||
background-color: var(--yellow);
|
||
color: #1e1e2e;
|
||
}
|
||
|
||
.btn-save:hover:not(:disabled) {
|
||
background-color: #c98d08;
|
||
}
|
||
|
||
.btn-close-modal {
|
||
background-color: var(--border-color);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.btn-close-modal:hover:not(:disabled) {
|
||
background-color: #5a5c72;
|
||
}
|
||
|
||
/* ── Credentials info modal ──────────────────────────────────────── */
|
||
|
||
.creds-dialog {
|
||
background-color: var(--surface-color);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 16px;
|
||
width: 90vw;
|
||
max-width: 700px;
|
||
max-height: 85vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-shadow: 0 16px 48px rgba(0,0,0,0.7);
|
||
animation: creds-fade-in 0.2s ease-out;
|
||
}
|
||
|
||
@keyframes creds-fade-in {
|
||
from { opacity: 0; transform: scale(0.95) translateY(8px); }
|
||
to { opacity: 1; transform: scale(1) translateY(0); }
|
||
}
|
||
|
||
.creds-header {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 20px 28px;
|
||
border-bottom: 1px solid var(--border-color);
|
||
}
|
||
|
||
.creds-title {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
flex: 1;
|
||
}
|
||
|
||
.creds-close-btn {
|
||
background: none;
|
||
color: var(--text-secondary);
|
||
font-size: 1.3rem;
|
||
padding: 4px 8px;
|
||
border-radius: 6px;
|
||
cursor: pointer;
|
||
border: none;
|
||
}
|
||
|
||
.creds-close-btn:hover {
|
||
background-color: var(--border-color);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.creds-body {
|
||
padding: 24px 28px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.creds-loading {
|
||
color: var(--text-dim);
|
||
text-align: center;
|
||
padding: 24px 0;
|
||
}
|
||
|
||
.creds-row {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.creds-row:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.creds-label {
|
||
font-size: 0.78rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.06em;
|
||
color: var(--text-dim);
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.creds-value-wrap {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
}
|
||
|
||
.creds-value {
|
||
flex: 1;
|
||
font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
|
||
font-size: 0.92rem;
|
||
color: var(--text-primary);
|
||
background-color: #12121c;
|
||
padding: 12px 16px;
|
||
border-radius: 8px;
|
||
word-break: break-all;
|
||
white-space: pre-wrap;
|
||
line-height: 1.6;
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
|
||
.creds-copy-btn {
|
||
background-color: var(--border-color);
|
||
color: var(--text-primary);
|
||
font-size: 0.78rem;
|
||
font-weight: 600;
|
||
padding: 8px 14px;
|
||
border-radius: 6px;
|
||
cursor: pointer;
|
||
border: none;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
align-self: flex-start;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.creds-copy-btn:hover {
|
||
background-color: #5a5c72;
|
||
}
|
||
|
||
.creds-copy-btn.copied {
|
||
background-color: var(--green);
|
||
color: #fff;
|
||
}
|
||
|
||
.creds-empty {
|
||
color: var(--text-dim);
|
||
text-align: center;
|
||
padding: 24px 0;
|
||
font-size: 0.88rem;
|
||
}
|
||
|
||
/* ── Credential links ────────────────────────────────────────────── */
|
||
|
||
.creds-link {
|
||
color: #b8f0c0;
|
||
text-decoration: none;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.creds-link:hover {
|
||
text-decoration: underline;
|
||
color: #defce6;
|
||
}
|
||
|
||
/* ── QR code in credentials modal ────────────────────────────────── */
|
||
|
||
.creds-qr-wrap {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: 20px 0;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.creds-qr-img {
|
||
width: 240px;
|
||
height: 240px;
|
||
border-radius: 12px;
|
||
border: 4px solid #fff;
|
||
background-color: #fff;
|
||
image-rendering: pixelated;
|
||
box-shadow: 0 4px 16px rgba(0,0,0,0.4);
|
||
}
|
||
|
||
.creds-qr-hint {
|
||
margin-top: 10px;
|
||
font-size: 0.82rem;
|
||
color: var(--text-secondary);
|
||
font-style: italic;
|
||
}
|
||
|
||
/* ── Reboot overlay ─────────────────────────────────────────────── */
|
||
|
||
.reboot-overlay {
|
||
display: none;
|
||
position: fixed;
|
||
inset: 0;
|
||
background-color: rgba(15, 15, 25, 0.92);
|
||
z-index: 999;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.reboot-overlay.visible {
|
||
display: flex;
|
||
}
|
||
|
||
.reboot-card {
|
||
background-color: var(--surface-color);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 20px;
|
||
padding: 48px 56px;
|
||
text-align: center;
|
||
max-width: 480px;
|
||
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
|
||
animation: reboot-fade-in 0.4s ease-out;
|
||
}
|
||
|
||
@keyframes reboot-fade-in {
|
||
from { opacity: 0; transform: scale(0.92) translateY(12px); }
|
||
to { opacity: 1; transform: scale(1) translateY(0); }
|
||
}
|
||
|
||
.reboot-icon {
|
||
font-size: 3rem;
|
||
color: var(--accent-color);
|
||
margin-bottom: 16px;
|
||
animation: reboot-spin 2s linear infinite;
|
||
display: inline-block;
|
||
}
|
||
|
||
@keyframes reboot-spin {
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
|
||
.reboot-title {
|
||
font-size: 1.35rem;
|
||
font-weight: 700;
|
||
color: var(--text-primary);
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.reboot-message {
|
||
font-size: 0.92rem;
|
||
color: var(--text-secondary);
|
||
line-height: 1.6;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.reboot-dots {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.reboot-dot {
|
||
width: 10px;
|
||
height: 10px;
|
||
border-radius: 50%;
|
||
background-color: var(--accent-color);
|
||
animation: reboot-bounce 1.4s ease-in-out infinite;
|
||
}
|
||
|
||
.reboot-dot:nth-child(2) { animation-delay: 0.2s; }
|
||
.reboot-dot:nth-child(3) { animation-delay: 0.4s; }
|
||
|
||
@keyframes reboot-bounce {
|
||
0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
|
||
40% { opacity: 1; transform: scale(1.2); }
|
||
}
|
||
|
||
.reboot-submessage {
|
||
font-size: 0.82rem;
|
||
color: var(--text-dim);
|
||
font-style: italic;
|
||
}
|
||
|
||
/* ── Empty state ────────────────────────────────────────────────── */
|
||
|
||
.empty-state {
|
||
text-align: center;
|
||
padding: 64px 24px;
|
||
color: var(--text-dim);
|
||
}
|
||
|
||
.empty-state p {
|
||
font-size: 1rem;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
/* ── Responsive ─────────────────────────────────────────────────── */
|
||
|
||
@media (max-width: 600px) {
|
||
.header-bar {
|
||
padding: 10px 14px;
|
||
gap: 10px;
|
||
}
|
||
.header-bar .title {
|
||
font-size: 0.95rem;
|
||
}
|
||
.ip-bar {
|
||
gap: 16px;
|
||
flex-wrap: wrap;
|
||
padding: 8px 14px;
|
||
}
|
||
.main-content {
|
||
padding: 16px 12px 40px;
|
||
}
|
||
.tiles-grid {
|
||
justify-content: center;
|
||
}
|
||
.service-tile {
|
||
width: 140px;
|
||
min-height: 130px;
|
||
}
|
||
.reboot-card {
|
||
padding: 36px 28px;
|
||
margin: 0 16px;
|
||
}
|
||
.creds-dialog {
|
||
margin: 0 12px;
|
||
}
|
||
.creds-qr-img {
|
||
width: 200px;
|
||
height: 200px;
|
||
}
|
||
|
||
/* ── Tech Support tile ───────────────────────────────────────────── */
|
||
|
||
.support-tile {
|
||
border-color: var(--accent-color);
|
||
border-width: 2px;
|
||
border-style: dashed;
|
||
}
|
||
|
||
.support-tile:hover {
|
||
border-color: #a8c8ff;
|
||
border-style: solid;
|
||
}
|
||
|
||
.support-status-label {
|
||
font-size: 0.75rem;
|
||
color: var(--accent-color);
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* ── Tech Support modal content ──────────────────────────────────── */
|
||
|
||
.support-section {
|
||
text-align: center;
|
||
padding: 8px 0;
|
||
}
|
||
|
||
.support-icon-big {
|
||
font-size: 3rem;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.support-heading {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
color: var(--text-primary);
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.support-active-heading {
|
||
color: var(--yellow);
|
||
}
|
||
|
||
.support-desc {
|
||
font-size: 0.88rem;
|
||
color: var(--text-secondary);
|
||
line-height: 1.6;
|
||
margin-bottom: 20px;
|
||
max-width: 480px;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
|
||
.support-info-box {
|
||
background-color: #12121c;
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 10px;
|
||
padding: 16px 20px;
|
||
margin: 0 auto 20px;
|
||
max-width: 400px;
|
||
}
|
||
|
||
.support-active-box {
|
||
border-color: var(--yellow);
|
||
}
|
||
|
||
.support-info-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 6px 0;
|
||
}
|
||
|
||
.support-info-label {
|
||
font-size: 0.78rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.06em;
|
||
color: var(--text-dim);
|
||
}
|
||
|
||
.support-info-value {
|
||
font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
|
||
font-size: 0.92rem;
|
||
color: var(--accent-color);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.support-info-hint {
|
||
font-size: 0.78rem;
|
||
color: var(--text-dim);
|
||
margin-top: 8px;
|
||
font-style: italic;
|
||
}
|
||
|
||
.support-steps {
|
||
text-align: left;
|
||
max-width: 420px;
|
||
margin: 0 auto 24px;
|
||
}
|
||
|
||
.support-steps-title {
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.support-steps ol {
|
||
padding-left: 20px;
|
||
font-size: 0.85rem;
|
||
color: var(--text-secondary);
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.support-btn-enable {
|
||
background-color: var(--green);
|
||
color: #fff;
|
||
padding: 12px 32px;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.support-btn-enable:hover:not(:disabled) {
|
||
background-color: #27ae6e;
|
||
}
|
||
|
||
.support-btn-disable {
|
||
background-color: var(--red);
|
||
color: #fff;
|
||
padding: 12px 32px;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.support-btn-disable:hover:not(:disabled) {
|
||
background-color: #c41520;
|
||
}
|
||
|
||
.support-active-note {
|
||
font-size: 0.85rem;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 20px;
|
||
max-width: 420px;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
|
||
.support-fine-print {
|
||
font-size: 0.75rem;
|
||
color: var(--text-dim);
|
||
margin-top: 12px;
|
||
font-style: italic;
|
||
}
|
||
|
||
.support-verify-box {
|
||
background-color: #12121c;
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 10px;
|
||
padding: 16px 20px;
|
||
margin: 20px auto;
|
||
max-width: 400px;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
|
||
.support-verify-label {
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
color: var(--text-dim);
|
||
}
|
||
|
||
.support-verify-value {
|
||
font-size: 0.88rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.support-verify-value.verified-gone {
|
||
color: var(--green);
|
||
}
|
||
|
||
.support-verify-value.verify-warning {
|
||
color: var(--yellow);
|
||
}
|
||
|
||
.support-btn-done {
|
||
background-color: var(--border-color);
|
||
color: var(--text-primary);
|
||
padding: 10px 28px;
|
||
font-size: 0.92rem;
|
||
font-weight: 600;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.support-btn-done:hover:not(:disabled) {
|
||
background-color: #5a5c72;
|
||
|
||
|
||
}
|
||
|
||
}
|
||
|
||
/* ── Feature Manager ─────────────────────────────────────────────── */
|
||
|
||
.feature-manager-section {
|
||
margin-bottom: 32px;
|
||
}
|
||
|
||
.feature-subcategory {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.feature-subcategory-header {
|
||
font-size: 0.88rem;
|
||
font-weight: 700;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 10px;
|
||
padding-left: 2px;
|
||
}
|
||
|
||
.feature-cards-wrap {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0;
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 12px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.feature-card {
|
||
background-color: var(--card-color);
|
||
padding: 14px 18px;
|
||
border-bottom: 1px solid var(--border-color);
|
||
}
|
||
|
||
.feature-card:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.feature-card-top {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.feature-card-info {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.feature-card-name {
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
color: var(--text-primary);
|
||
margin-bottom: 2px;
|
||
}
|
||
|
||
.feature-card-desc {
|
||
font-size: 0.82rem;
|
||
color: var(--text-secondary);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.feature-card-status {
|
||
font-size: 0.75rem;
|
||
color: var(--text-dim);
|
||
margin-top: 6px;
|
||
}
|
||
|
||
/* ── Feature toggle switch ───────────────────────────────────────── */
|
||
|
||
.feature-toggle {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
width: 44px;
|
||
height: 24px;
|
||
flex-shrink: 0;
|
||
cursor: pointer;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.feature-toggle-input {
|
||
opacity: 0;
|
||
width: 0;
|
||
height: 0;
|
||
position: absolute;
|
||
}
|
||
|
||
.feature-toggle-slider {
|
||
position: absolute;
|
||
inset: 0;
|
||
background-color: var(--border-color);
|
||
border-radius: 24px;
|
||
transition: background-color 0.2s;
|
||
}
|
||
|
||
.feature-toggle-slider::before {
|
||
content: "";
|
||
position: absolute;
|
||
width: 18px;
|
||
height: 18px;
|
||
left: 3px;
|
||
top: 3px;
|
||
background-color: var(--text-secondary);
|
||
border-radius: 50%;
|
||
transition: transform 0.2s, background-color 0.2s;
|
||
}
|
||
|
||
.feature-toggle.active .feature-toggle-slider {
|
||
background-color: var(--green);
|
||
}
|
||
|
||
.feature-toggle.active .feature-toggle-slider::before {
|
||
transform: translateX(20px);
|
||
background-color: #fff;
|
||
}
|
||
|
||
/* ── Feature domain badge ────────────────────────────────────────── */
|
||
|
||
.feature-domain-badge {
|
||
font-size: 0.75rem;
|
||
font-weight: 600;
|
||
margin-top: 6px;
|
||
padding: 2px 0;
|
||
}
|
||
|
||
.feature-domain-badge.configured {
|
||
color: var(--green);
|
||
}
|
||
|
||
.feature-domain-badge.not-configured {
|
||
color: var(--yellow);
|
||
}
|
||
|
||
/* ── Feature conflict warning ────────────────────────────────────── */
|
||
|
||
.feature-conflict-warning {
|
||
font-size: 0.75rem;
|
||
color: var(--yellow);
|
||
margin-top: 4px;
|
||
}
|
||
|
||
/* ── Domain setup modal inputs ───────────────────────────────────── */
|
||
|
||
.domain-narrow-dialog {
|
||
max-width: 520px;
|
||
}
|
||
|
||
.domain-setup-intro {
|
||
font-size: 0.88rem;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 18px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.domain-setup-intro ol {
|
||
padding-left: 20px;
|
||
margin-top: 6px;
|
||
}
|
||
|
||
.domain-field-group {
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.domain-field-label {
|
||
display: block;
|
||
font-size: 0.78rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.05em;
|
||
color: var(--text-dim);
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.domain-field-input {
|
||
width: 100%;
|
||
background-color: #12121c;
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 8px;
|
||
color: var(--text-primary);
|
||
font-family: inherit;
|
||
font-size: 0.92rem;
|
||
padding: 10px 14px;
|
||
outline: none;
|
||
transition: border-color 0.15s;
|
||
}
|
||
|
||
.domain-field-input:focus {
|
||
border-color: var(--accent-color);
|
||
}
|
||
|
||
.domain-field-hint {
|
||
font-size: 0.75rem;
|
||
color: var(--text-dim);
|
||
margin-top: 5px;
|
||
font-style: italic;
|
||
}
|
||
|
||
.domain-field-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 10px;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.feature-cards-wrap {
|
||
border-radius: 10px;
|
||
}
|
||
.feature-card {
|
||
padding: 12px 14px;
|
||
}
|
||
.domain-narrow-dialog {
|
||
margin: 0 12px;
|
||
}
|
||
}
|