429 lines
35 KiB
CSS
429 lines
35 KiB
CSS
:root {
|
|
--bg: #f3f5f7;
|
|
--surface: #ffffff;
|
|
--surface-subtle: #f8fafc;
|
|
--sidebar: #101827;
|
|
--sidebar-hover: #1b2739;
|
|
--text: #182230;
|
|
--muted: #647386;
|
|
--line: #dce2e8;
|
|
--line-strong: #c8d1db;
|
|
--accent: #2563eb;
|
|
--accent-dark: #1d4ed8;
|
|
--accent-soft: #eaf1ff;
|
|
--success: #0f766e;
|
|
--success-soft: #e5f7f3;
|
|
--warning: #9a6700;
|
|
--warning-soft: #fff6d8;
|
|
--danger: #b4233c;
|
|
--danger-soft: #fff0f2;
|
|
--radius: 10px;
|
|
--radius-sm: 7px;
|
|
--shadow: 0 1px 2px rgba(16, 24, 39, .04), 0 8px 24px rgba(16, 24, 39, .035);
|
|
--mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { min-width: 320px; min-height: 100%; background: var(--bg); }
|
|
body { min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
|
|
button, input, textarea, select { font: inherit; }
|
|
button, summary { cursor: pointer; }
|
|
a { color: inherit; text-decoration: none; }
|
|
a:hover { color: var(--accent); }
|
|
h1, h2, h3, p, dl, dd { margin-top: 0; }
|
|
h1 { margin-bottom: 6px; font-size: clamp(25px, 3vw, 31px); line-height: 1.15; letter-spacing: -.035em; }
|
|
h2 { margin-bottom: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.015em; }
|
|
h3 { margin-bottom: 2px; font-size: 14px; line-height: 1.35; }
|
|
|
|
.skip-link { position: fixed; top: -50px; left: 12px; z-index: 100; padding: 8px 12px; border-radius: 6px; background: #fff; color: var(--text); box-shadow: var(--shadow); }
|
|
.skip-link:focus { top: 12px; }
|
|
|
|
.admin-layout { display: grid; min-height: 100vh; grid-template-columns: 232px minmax(0, 1fr); }
|
|
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 18px 14px 14px; background: var(--sidebar); color: #d7deea; }
|
|
.brand { display: flex; align-items: center; gap: 10px; padding: 3px 5px 17px; color: #fff; }
|
|
.brand:hover { color: #fff; }
|
|
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #41506a; border-radius: 8px; background: #192438; color: #8eb3ff; font-family: var(--mono); font-size: 11px; font-weight: 800; }
|
|
.brand strong, .brand small { display: block; }
|
|
.brand strong { font-size: 13px; line-height: 1.2; }
|
|
.brand small { margin-top: 2px; color: #7f8ca1; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
|
|
.instance-state { display: flex; align-items: center; gap: 7px; margin: 0 5px 17px; padding: 7px 9px; border: 1px solid #26344a; border-radius: 6px; color: #9eabc0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
|
|
.instance-state span { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .12); }
|
|
.instance-state.is-inactive { border-color: #3a3540; color: #958b98; }
|
|
.instance-state.is-inactive span { background: #7d8796; box-shadow: 0 0 0 3px rgba(125,135,150,.12); }
|
|
.sidebar nav { display: grid; gap: 3px; }
|
|
.sidebar nav a { display: flex; min-height: 38px; align-items: center; gap: 11px; padding: 0 10px; border-radius: 6px; color: #9eabc0; font-size: 12px; font-weight: 650; }
|
|
.sidebar nav a:hover { background: var(--sidebar-hover); color: #fff; }
|
|
.sidebar nav a[aria-current="page"] { background: #21304a; color: #fff; box-shadow: inset 2px 0 #6d9fff; }
|
|
.nav-icon { color: #68768c; font-family: var(--mono); font-size: 9px; }
|
|
.sidebar nav a[aria-current="page"] .nav-icon { color: #8eb3ff; }
|
|
.sidebar-account { display: grid; grid-template-columns: 32px minmax(0, 1fr) 28px; gap: 9px; align-items: center; margin-top: auto; padding: 12px 5px 2px; border-top: 1px solid #26344a; }
|
|
.account-avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: #28364b; color: #dce8ff; font-size: 12px; font-weight: 800; }
|
|
.sidebar-account strong, .sidebar-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.sidebar-account strong { color: #e8edf5; font-size: 11px; }
|
|
.sidebar-account small { color: #748298; font-size: 9px; }
|
|
.sidebar-account form { display: contents; }
|
|
.sidebar-account button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #7e8da3; }
|
|
.sidebar-account button:hover { background: #26344a; color: #fff; }
|
|
|
|
.workspace { min-width: 0; }
|
|
.workspace-bar { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
|
|
.workspace-bar div { display: flex; gap: 6px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
|
|
.workspace-bar strong { color: var(--text); font-weight: 700; }
|
|
.environment-badge { padding: 4px 7px; border: 1px solid #efd18a; border-radius: 4px; background: var(--warning-soft); color: #7b5707; font-family: var(--mono); font-size: 9px; font-weight: 700; }
|
|
.environment-badge.secure { border-color: #9fd5ca; background: var(--success-soft); color: var(--success); }
|
|
.app-shell { width: min(1280px, calc(100% - clamp(32px, 6vw, 72px))); margin: 0 auto; padding: 30px 0 52px; }
|
|
.auth-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: linear-gradient(135deg, #eef2f6 0%, #f8fafc 52%, #edf2f7 100%); }
|
|
|
|
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
|
|
.page-heading p { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
|
|
.page-kicker, .section-label, .metric-label { display: block; margin-bottom: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
|
|
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 650; }
|
|
.back-link:hover { color: var(--accent); }
|
|
.toast-region { position: fixed; z-index: 1000; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; width: min(460px, calc(100% - 28px)); pointer-events: none; transform: translateX(-50%); }
|
|
.toast { --toast-tone: #60a5fa; --toast-tone-soft: rgba(96, 165, 250, .14); position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; gap: 11px; align-items: center; min-height: 62px; overflow: hidden; padding: 11px 10px 11px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(16, 24, 39, .96); color: #f8fafc; box-shadow: 0 20px 45px rgba(15, 23, 42, .24), 0 4px 12px rgba(15, 23, 42, .14); backdrop-filter: blur(16px); pointer-events: auto; animation: toast-in .42s cubic-bezier(.21, 1, .36, 1) both; }
|
|
.toast::before { position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); content: ""; }
|
|
.toast-success { --toast-tone: #34d399; --toast-tone-soft: rgba(52, 211, 153, .14); }
|
|
.toast-error { --toast-tone: #fb7185; --toast-tone-soft: rgba(251, 113, 133, .15); }
|
|
.toast-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid color-mix(in srgb, var(--toast-tone) 35%, transparent); border-radius: 10px; background: var(--toast-tone-soft); color: var(--toast-tone); font-family: var(--mono); font-size: 13px; font-weight: 900; }
|
|
.toast-copy { min-width: 0; }
|
|
.toast-eyebrow { display: block; margin-bottom: 2px; color: var(--toast-tone); font-family: var(--mono); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
|
|
.toast-copy p { margin: 0; color: #eef2f7; font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
|
|
.toast-close { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #8e9caf; font-size: 19px; line-height: 1; transition: background .14s, color .14s; }
|
|
.toast-close:hover { background: rgba(255,255,255,.08); color: #fff; }
|
|
.toast-close:focus-visible { outline: 3px solid rgba(96, 165, 250, .32); outline-offset: 1px; }
|
|
.toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--toast-tone); transform-origin: left; animation: toast-progress 4.8s linear both; }
|
|
.toast-error .toast-progress { animation-duration: 6.5s; }
|
|
.toast.is-paused .toast-progress { animation-play-state: paused; }
|
|
.toast.is-leaving { animation: toast-out .2s ease-in both; }
|
|
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
|
|
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
|
|
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
|
|
|
|
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; border-radius: 6px; background: var(--surface-subtle); color: var(--text); font-size: 12px; font-weight: 700; line-height: 1; transition: border-color .14s, background .14s, box-shadow .14s; }
|
|
.button:hover { color: var(--text); box-shadow: 0 2px 6px rgba(16,24,39,.08); }
|
|
.button:disabled { border-color: var(--line); background: #e8edf2; color: #8995a3; box-shadow: none; cursor: not-allowed; }
|
|
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(37, 99, 235, .22); outline-offset: 2px; }
|
|
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
.button-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
|
|
.button-quiet { border-color: var(--line-strong); background: #fff; }
|
|
.button-danger, .button-danger-soft { border-color: #efb8c2; background: var(--danger-soft); color: var(--danger); }
|
|
.button-danger:hover, .button-danger-soft:hover { border-color: #dc8c9b; background: #ffe4e8; color: #961b31; }
|
|
.text-danger { color: var(--danger); font-size: 12px; font-weight: 700; }
|
|
|
|
.metric-grid { display: grid; grid-template-columns: .72fr 1.15fr 1.15fr .9fr; gap: 10px; margin-bottom: 12px; }
|
|
.metric-card { display: flex; min-height: 122px; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
|
|
.metric-card strong { margin-top: auto; overflow: hidden; color: var(--text); font-size: 26px; line-height: 1.15; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
|
|
.metric-card small { margin-top: 5px; color: var(--muted); font-size: 10px; }
|
|
.metric-card .address-value { font-size: clamp(12px, 1.45vw, 18px); letter-spacing: -.035em; }
|
|
.metric-card .address-value.compact { font-size: clamp(10px, 1.12vw, 14px); }
|
|
.metric-card-disabled { border-color: #d7dde4; background: #f1f3f6; box-shadow: none; }
|
|
.metric-card-disabled strong { color: #788596; }
|
|
.countdown-card { border-top: 3px solid var(--accent); padding-top: 13px; }
|
|
.countdown-card.metric-card-disabled { border-top-color: #9aa5b2; }
|
|
.countdown { font-size: 28px !important; font-variant-numeric: tabular-nums; }
|
|
.mono { font-family: var(--mono); }
|
|
|
|
.panel, .form-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
|
|
.panel { padding: 17px; }
|
|
.form-panel { padding: 22px; }
|
|
.compact-panel { max-width: 930px; }
|
|
.panel-heading, .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
|
|
.panel-heading a { color: var(--accent); font-size: 11px; font-weight: 700; }
|
|
.panel-links, .heading-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
|
|
.panel-links { justify-content: flex-end; }
|
|
.panel-description { max-width: 760px; margin: -4px 0 15px; color: var(--muted); font-size: 12px; }
|
|
.panel-divider { height: 1px; margin: 18px 0; background: var(--line); }
|
|
.dashboard-grid, .split-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 12px; margin-bottom: 12px; }
|
|
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.data-list { display: grid; }
|
|
.data-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0f3; }
|
|
.data-row:first-child { border-top: 0; }
|
|
.data-row strong, .data-row small { display: block; }
|
|
.data-row strong { font-size: 12px; font-weight: 650; }
|
|
.data-row small { margin-top: 2px; color: var(--muted); font-size: 10px; }
|
|
.state-dot { width: 7px; height: 7px; border-radius: 50%; background: #a8b2bf; }
|
|
.state-dot.status-good { background: var(--success); }
|
|
.state-dot.status-warn { background: var(--warning); }
|
|
.state-dot.status-bad { background: var(--danger); }
|
|
.status-pill { display: inline-flex; width: fit-content; min-height: 22px; align-items: center; padding: 0 7px; border-radius: 99px; background: #eef1f4; color: #556476; font-size: 9px; font-weight: 800; white-space: nowrap; }
|
|
.status-good { color: var(--success) !important; }
|
|
.status-warn { color: var(--warning) !important; }
|
|
.status-bad { color: var(--danger) !important; }
|
|
.status-pill.status-good { background: var(--success-soft); }
|
|
.status-pill.status-warn { background: var(--warning-soft); }
|
|
.status-pill.status-bad { background: var(--danger-soft); }
|
|
|
|
.domain-list { display: grid; }
|
|
.domain-list > a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0f3; }
|
|
.domain-list > a:first-child { border-top: 0; }
|
|
.domain-list strong, .domain-list small { display: block; }
|
|
.domain-list strong { font-size: 12px; }
|
|
.domain-list small { margin-top: 2px; color: var(--muted); font-size: 10px; }
|
|
.zone-glyph, .empty-icon { display: grid; width: 34px; height: 28px; place-items: center; border: 1px solid #bfd0ea; border-radius: 5px; background: var(--accent-soft); color: #315eaa; font-family: var(--mono); font-size: 8px; font-weight: 800; }
|
|
.audit-panel { margin-top: 12px; }
|
|
.audit-list { display: grid; margin: 0; padding: 0; list-style: none; }
|
|
.audit-list li { display: grid; grid-template-columns: 140px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid #edf0f3; }
|
|
.audit-list li:first-child { border-top: 0; }
|
|
.audit-list time, .audit-list code { color: var(--muted); font-family: var(--mono); font-size: 9px; }
|
|
.audit-list strong { font-size: 11px; font-weight: 600; }
|
|
|
|
.domain-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
|
|
.zone-card { display: flex; min-height: 220px; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
|
|
.zone-card:hover { border-color: #b6c4d4; }
|
|
.zone-card-top { display: flex; align-items: center; justify-content: space-between; }
|
|
.zone-card h2 { margin: 26px 0 12px; overflow-wrap: anywhere; font-size: 17px; }
|
|
.zone-card dl { display: grid; gap: 5px; margin-bottom: 14px; }
|
|
.zone-card dl div { display: flex; justify-content: space-between; gap: 12px; }
|
|
.zone-card dt, .zone-card dd { color: var(--muted); font-size: 10px; }
|
|
.zone-card dd { color: var(--text); text-align: right; }
|
|
.inline-error { margin-bottom: 12px; color: var(--danger); font-size: 10px; }
|
|
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 750; }
|
|
.empty-board { grid-column: 1 / -1; padding: 54px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.55); text-align: center; }
|
|
.empty-board .empty-icon { width: 46px; height: 38px; margin: 0 auto 13px; }
|
|
.empty-board h2 { margin-bottom: 5px; }
|
|
.empty-board p { max-width: 560px; margin: 0 auto 16px; color: var(--muted); font-size: 12px; }
|
|
.empty-state { padding: 32px 12px; color: var(--muted); font-size: 11px; text-align: center; }
|
|
.empty-state a { color: var(--accent); font-weight: 700; }
|
|
|
|
.zone-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
|
|
.zone-summary div { padding: 12px 14px; border-left: 1px solid var(--line); }
|
|
.zone-summary div:first-child { border-left: 0; }
|
|
.zone-summary span, .zone-summary strong { display: block; }
|
|
.zone-summary span { color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
|
|
.zone-summary strong { margin-top: 4px; font-size: 11px; }
|
|
.bulk-ttl-panel { margin: -10px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-subtle); }
|
|
.bulk-ttl-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) auto; gap: 12px; align-items: end; }
|
|
.bulk-ttl-form > div { display: grid; gap: 3px; }
|
|
.bulk-ttl-form strong { font-size: 11px; }
|
|
.bulk-ttl-form small { color: var(--muted); font-size: 9px; }
|
|
.targets-section { margin-bottom: 18px; }
|
|
.record-count { color: var(--muted); font-family: var(--mono); font-size: 10px; }
|
|
.target-list { display: grid; gap: 7px; }
|
|
.target-row { display: grid; grid-template-columns: minmax(0,1fr) auto; overflow: hidden; border: 1px solid var(--line); border-left: 3px solid #b9c3ce; border-radius: var(--radius-sm); background: var(--surface); }
|
|
.target-row.is-active { border-left-color: var(--success); }
|
|
.target-main { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px 14px; }
|
|
.target-main > div { min-width: 0; }
|
|
.target-status { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #aeb8c3; }
|
|
.target-status.on { background: var(--success); box-shadow: 0 0 0 3px rgba(15,118,110,.1); }
|
|
.target-main h3 { overflow-wrap: anywhere; }
|
|
.target-main p { display: flex; gap: 7px; align-items: center; overflow: hidden; margin: 0; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.family-chip { display: inline-flex; flex: none; padding: 2px 5px; border-radius: 4px; background: #e9eef4; color: #45576b; font-family: var(--mono); font-size: 8px; font-weight: 800; }
|
|
.target-meta { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 14px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
|
|
.target-edit { grid-column: 1 / -1; border-top: 1px solid var(--line); }
|
|
.target-edit > summary { display: flex; align-items: center; justify-content: space-between; padding: 7px 14px; color: #52647a; font-size: 10px; font-weight: 700; list-style: none; }
|
|
.target-edit > summary::-webkit-details-marker, details > summary::-webkit-details-marker { display: none; }
|
|
.target-edit[open] > summary { background: #f8fafc; }
|
|
.edit-inner { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 14px; padding: 14px; border-top: 1px solid var(--line); background: var(--surface-subtle); }
|
|
.target-form, .unlink-form { display: grid; gap: 11px; }
|
|
.danger-actions { display: grid; align-content: start; gap: 11px; }
|
|
.unlink-form { align-content: start; padding: 12px; border: 1px solid #efc6cd; border-radius: var(--radius-sm); background: #fffafb; }
|
|
.unlink-form strong { color: var(--danger); font-size: 11px; }
|
|
.unlink-form p { margin-bottom: 0; color: #865764; font-size: 10px; }
|
|
.target-requirement { margin: 0; padding: 8px 10px; border-left: 3px solid var(--danger); background: #fff3f5; color: #8f2f42; font-size: 10px; }
|
|
.target-requirement[hidden] { display: none; }
|
|
.row-error { grid-column: 1 / -1; margin: 0; padding: 8px 14px; border-top: 1px solid #f3d5da; background: #fff8f9; color: var(--danger); font-size: 10px; }
|
|
.archive-panel { margin-bottom: 18px; border-left: 3px solid #8a98a9; }
|
|
.archive-list { display: grid; }
|
|
.archive-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #edf0f3; }
|
|
.archive-row:first-child { border-top: 0; }
|
|
.archive-row strong, .archive-row small { display: block; }
|
|
.archive-row strong { font-size: 11px; }
|
|
.archive-row small { margin-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
|
|
.admin-actions-grid { margin-top: 18px; }
|
|
|
|
.pihole-kicker { color: #a4121a; }
|
|
.button-pihole { border-color: #a4121a; background: #a4121a; color: #fff; }
|
|
.button-pihole:hover { border-color: #861016; background: #861016; color: #fff; }
|
|
.button-pihole:disabled, .button-pihole:disabled:hover { border-color: var(--line); background: #e8edf2; color: #8995a3; box-shadow: none; }
|
|
.button-pihole:focus-visible { outline: 3px solid rgba(164,18,26,.2); outline-offset: 2px; }
|
|
.pihole-summary { border-top: 3px solid #a4121a; }
|
|
.target-row.pihole-target-row { border-left-color: #b9c3ce; }
|
|
.target-row.pihole-target-row.is-active { border-left-color: #a4121a; }
|
|
.target-status.pihole-on { background: #a4121a; box-shadow: 0 0 0 3px rgba(164,18,26,.1); }
|
|
.pihole-status-pill { background: #fff0f1; color: #98131b; }
|
|
.pihole-switch input:checked + span { background: #a4121a; }
|
|
.pihole-record-form { gap: 6px; }
|
|
.pihole-record-form label:not(.switch) { gap: 2px; }
|
|
.pihole-record-form .form-grid { gap: 8px; align-items: start; }
|
|
.pihole-record-form .toggle-row { min-height: 24px; }
|
|
.pihole-record-form input { min-height: 43px; }
|
|
.pihole-record-save { min-height: 36px; justify-self: start; padding-inline: 11px; font-size: 11px; }
|
|
.pihole-target-row .edit-inner { gap: 10px; padding-block: 11px; }
|
|
.pihole-action-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 14px; }
|
|
.pihole-connection-error { margin-bottom: 18px; padding: 12px; border: 1px solid #efc7ce; border-left: 3px solid #a4121a; border-radius: var(--radius-sm); background: #fff8f9; }
|
|
.pihole-connection-error strong { color: var(--danger); font-size: 11px; }
|
|
.pihole-connection-error p { margin: 3px 0 0; color: #865764; font-size: 10px; overflow-wrap: anywhere; }
|
|
.pihole-connect-stage { display: grid; min-height: clamp(390px, calc(100vh - 245px), 640px); place-items: center; }
|
|
.pihole-connect-panel { width: min(560px, 100%); border-top: 3px solid #a4121a; }
|
|
.pihole-api-badge { padding: 4px 7px; border-radius: 4px; background: #fff0f1; color: #98131b; font-family: var(--mono); font-size: 9px; font-weight: 800; }
|
|
|
|
.stacked-form { display: grid; gap: 13px; }
|
|
.wide-form { width: 100%; max-width: 850px; }
|
|
.settings-form { display: grid; gap: 12px; }
|
|
.settings-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; max-width: 930px; }
|
|
.setting-switch-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; min-height: 116px; padding: 17px; border: 1px solid var(--line); border-left: 3px solid #aab4c0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
|
|
.setting-switch-card:hover { border-color: #bcc7d3; transform: translateY(-1px); }
|
|
.setting-switch-card.is-enabled { border-left-color: var(--success); background: linear-gradient(110deg, #fff 65%, #f0faf7); }
|
|
.setting-switch-copy, .setting-switch-copy strong, .setting-switch-copy small { display: block; }
|
|
.setting-switch-copy strong { margin-bottom: 4px; color: var(--text); font-size: 15px; }
|
|
.setting-switch-copy small { max-width: 430px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.45; }
|
|
.setting-switch { flex-direction: column; gap: 5px; }
|
|
.setting-switch b { min-width: 48px; color: var(--muted); font-family: var(--mono); font-size: 8px; text-align: center; text-transform: uppercase; }
|
|
.setting-switch-card.is-enabled .setting-switch b { color: var(--success); }
|
|
.settings-fields { max-width: 930px; }
|
|
.endpoint-setting { transition: opacity .18s; }
|
|
.endpoint-setting.is-disabled { opacity: .48; }
|
|
.endpoint-setting.is-disabled textarea { background: #f0f2f5; }
|
|
label { display: grid; gap: 5px; color: #37475a; font-size: 11px; font-weight: 700; }
|
|
label small { color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.45; }
|
|
input, textarea, select { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 6px; outline: none; background: #fff; color: var(--text); font-size: 12px; transition: border-color .14s, box-shadow .14s; }
|
|
textarea { resize: vertical; font-family: var(--mono); font-size: 10px; line-height: 1.55; }
|
|
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
|
|
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
|
|
.cname-edit-grid { align-items: start; }
|
|
.field-note { display: block; margin-top: -6px; color: var(--muted); font-size: 9px; line-height: 1.45; }
|
|
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
|
|
.toggle-row { display: flex; flex-wrap: wrap; gap: 11px 16px; align-items: center; }
|
|
.switch { display: inline-flex; width: auto; align-items: center; gap: 7px; color: var(--text); font-size: 10px; font-weight: 700; }
|
|
.switch input { position: absolute; width: 1px; min-height: 1px; opacity: 0; }
|
|
.switch > span { position: relative; width: 28px; height: 16px; border-radius: 99px; background: #b9c3cf; transition: background .14s; }
|
|
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .14s; }
|
|
.switch input:checked + span { background: var(--success); }
|
|
.switch input:checked + span::after { transform: translateX(12px); }
|
|
.switch input:focus-visible + span { outline: 3px solid rgba(37,99,235,.2); outline-offset: 2px; }
|
|
.switch.pihole-switch > span { width: 32px; height: 20px; }
|
|
.switch.pihole-switch > span::after { top: 4px; left: 4px; width: 12px; height: 12px; }
|
|
.switch.pihole-switch input:checked + span::after { transform: translateX(12px); }
|
|
.switch-disabled { color: var(--muted); opacity: .65; }
|
|
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px; }
|
|
.info-box { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 12px; border: 1px solid #bfd1e8; border-radius: 6px; background: #f2f7fd; font-size: 10px; }
|
|
.info-box strong { color: #315e8b; }
|
|
.info-box span { color: #526d86; }
|
|
.technical-summary { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; align-content: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-subtle); }
|
|
.technical-summary span { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
|
|
.technical-summary strong { font-size: 10px; text-align: right; }
|
|
.inset-form { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-subtle); }
|
|
|
|
.auth-card, .token-card { width: min(500px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 45px rgba(16,24,39,.1); }
|
|
.auth-card h1, .token-card h1 { margin: 20px 0 7px; font-size: 25px; }
|
|
.auth-card .lede, .token-card > p { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
|
|
.auth-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 12px; font-weight: 800; }
|
|
.auth-brand span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 6px; background: var(--sidebar); color: #9dbbff; font-family: var(--mono); font-size: 9px; }
|
|
.security-strip, .login-meta { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
|
|
.security-strip span { color: var(--success); }
|
|
.login-meta { text-align: center; }
|
|
.token-card { width: min(680px, 100%); }
|
|
.token-value { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; margin: 17px 0; padding: 10px; border: 1px solid #b6cbe8; border-radius: 6px; background: #f2f7fd; }
|
|
.token-value code { overflow: auto; font-family: var(--mono); font-size: 10px; white-space: nowrap; }
|
|
.warning-box { margin-top: 14px; padding: 10px 11px; border: 1px solid #ead18e; border-radius: 6px; background: var(--warning-soft); color: #74540b; font-size: 10px; }
|
|
|
|
.security-facts ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
|
|
.security-facts li { display: grid; gap: 2px; padding-left: 10px; border-left: 2px solid #9fcac4; }
|
|
.security-facts strong { font-size: 11px; }
|
|
.security-facts span { color: var(--muted); font-size: 10px; }
|
|
.user-table { display: grid; }
|
|
.user-table-head, .user-table-row { display: grid; grid-template-columns: minmax(160px,1.2fr) .55fr .55fr minmax(120px,.8fr) 20px; gap: 10px; align-items: center; }
|
|
.user-table-head { padding: 4px 7px 8px; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 800; text-transform: uppercase; }
|
|
.user-table-row { padding: 10px 7px; border-top: 1px solid #edf0f3; }
|
|
.user-table-row:hover { background: var(--surface-subtle); color: var(--text); }
|
|
.user-table-row strong, .user-table-row small { display: block; }
|
|
.user-table-row strong { font-size: 11px; }
|
|
.user-table-row small, .muted-cell { color: var(--muted); font-size: 9px; }
|
|
.role-chip { display: inline-flex; width: fit-content; padding: 3px 6px; border-radius: 4px; background: #edf1f5; color: #536477; font-size: 9px; font-weight: 800; }
|
|
.role-chip.admin { background: var(--accent-soft); color: #315eaa; }
|
|
.row-arrow { color: var(--accent); }
|
|
.access-panel { margin-top: 12px; }
|
|
.access-intro { max-width: 780px; margin: -3px 0 14px; color: var(--muted); font-size: 10px; }
|
|
.access-list { display: grid; gap: 9px; }
|
|
.access-zone { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
|
|
.access-zone-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 12px; background: var(--surface-subtle); }
|
|
.access-zone-head small { color: var(--muted); font-size: 9px; }
|
|
.access-zone-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 14px; }
|
|
.access-targets { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
|
|
.access-target { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 62px; padding: 8px 10px; background: #fff; color: var(--text); font-size: 10px; font-weight: 600; }
|
|
.access-target-main { display: flex; width: auto; grid-template-columns: none; align-items: center; gap: 8px; }
|
|
.access-target-main input { width: 15px; min-height: 15px; flex: none; accent-color: var(--accent); }
|
|
.access-target strong, .access-target small { display: block; }
|
|
.access-target small { color: var(--muted); font-size: 8px; }
|
|
.access-manage-switch { white-space: nowrap; }
|
|
|
|
.error-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
|
|
.error-summary-grid article { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid #efc7ce; border-radius: var(--radius-sm); background: #fff8f9; }
|
|
.error-summary-grid span { color: #865764; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
|
|
.error-summary-grid strong { color: var(--danger); font-size: 20px; }
|
|
.error-section { margin-bottom: 12px; }
|
|
.error-list { display: grid; }
|
|
.error-item { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid #edf0f3; }
|
|
.error-item:first-child { border-top: 0; }
|
|
.error-item > div { min-width: 0; }
|
|
.error-item strong, .error-item small { display: block; }
|
|
.error-item strong { font-size: 11px; }
|
|
.error-item p { margin: 3px 0; color: var(--danger); font-size: 10px; overflow-wrap: anywhere; }
|
|
.error-item small { color: var(--muted); font-family: var(--mono); font-size: 8px; }
|
|
.error-item > a { color: var(--accent); font-size: 10px; font-weight: 700; }
|
|
.error-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: var(--danger-soft); color: var(--danger); font-family: var(--mono); font-size: 10px; font-weight: 900; }
|
|
.run-error-list .error-item { grid-template-columns: 10px minmax(0,1fr); align-items: center; }
|
|
.error-empty { display: flex; max-width: 720px; align-items: center; gap: 14px; }
|
|
.error-empty-icon { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border-radius: 10px; background: var(--success-soft); color: var(--success); font-weight: 900; }
|
|
.error-empty h2 { margin-bottom: 3px; }
|
|
.error-empty p { margin: 0; color: var(--muted); font-size: 11px; }
|
|
|
|
@media (max-width: 1000px) {
|
|
.admin-layout { grid-template-columns: 190px minmax(0,1fr); }
|
|
.sidebar { padding-inline: 10px; }
|
|
.metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
|
|
.dashboard-grid, .split-grid { grid-template-columns: 1fr; }
|
|
.edit-inner { grid-template-columns: 1fr; }
|
|
.settings-mode-grid { grid-template-columns: 1fr; }
|
|
.pihole-action-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.admin-layout { display: block; }
|
|
.sidebar { position: static; height: auto; padding: 10px 12px; }
|
|
.brand { padding-bottom: 9px; }
|
|
.instance-state { display: none; }
|
|
.sidebar nav { display: flex; overflow-x: auto; padding-bottom: 2px; }
|
|
.sidebar nav a { min-width: fit-content; }
|
|
.sidebar-account { display: none; }
|
|
.workspace-bar { min-height: 45px; padding-inline: 14px; }
|
|
.app-shell { width: min(100% - 24px, 1280px); padding-top: 20px; }
|
|
.page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
|
|
.page-heading > form, .page-heading > .button { width: 100%; }
|
|
.page-heading .button { width: 100%; }
|
|
.heading-actions { width: 100%; }
|
|
.heading-actions form, .heading-actions .button { width: 100%; }
|
|
.form-grid, .metric-grid, .zone-summary { grid-template-columns: 1fr; }
|
|
.bulk-ttl-form { grid-template-columns: 1fr; }
|
|
.bulk-ttl-form .button { width: 100%; }
|
|
.zone-summary div { border-top: 1px solid var(--line); border-left: 0; }
|
|
.zone-summary div:first-child { border-top: 0; }
|
|
.target-row { grid-template-columns: 1fr; }
|
|
.target-meta { min-width: 0; justify-content: space-between; padding-top: 0; }
|
|
.target-edit { grid-column: 1; }
|
|
.audit-list li { grid-template-columns: 1fr auto; gap: 3px 10px; }
|
|
.audit-list strong { grid-column: 1 / -1; grid-row: 1; }
|
|
.user-table-head { display: none; }
|
|
.user-table-row { grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; }
|
|
.user-table-row > :nth-child(4) { display: none; }
|
|
.archive-row { align-items: flex-start; flex-direction: column; }
|
|
.archive-row .button { width: 100%; }
|
|
.info-box { grid-template-columns: 1fr; }
|
|
.access-zone-head, .access-zone-controls { align-items: flex-start; flex-direction: column; }
|
|
.access-zone-controls { width: 100%; }
|
|
.access-target { grid-template-columns: 1fr; }
|
|
.error-summary-grid { grid-template-columns: 1fr; }
|
|
.error-item { grid-template-columns: 26px minmax(0,1fr); }
|
|
.error-item > a { grid-column: 2; }
|
|
.pihole-action-grid { grid-template-columns: 1fr; }
|
|
.pihole-connect-stage { min-height: 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
|
|
.toast, .toast-progress { animation: none !important; }
|
|
}
|