chore: checkpoint initial — Zektyc dataset, avant humanisation
- site vitrine + fingerprint test + zmap + z-panel - remplacement duckdns -> riricdev.tail5ea5cd.ts.net (canonical/og/alternates/docs) - suppression du token DuckDNS (plus utilisé)
This commit is contained in:
commit
8e7ec41f18
104 changed files with 19256 additions and 0 deletions
772
public/z-panel/admin.css
Normal file
772
public/z-panel/admin.css
Normal file
|
|
@ -0,0 +1,772 @@
|
|||
:root {
|
||||
--bg: #0b0f14;
|
||||
--surface: #11161d;
|
||||
--surface-2: #161d27;
|
||||
--surface-3: #1b2430;
|
||||
--border: #1f2a37;
|
||||
--text: #e6ebf2;
|
||||
--muted: #8b96a6;
|
||||
--accent: #58a6ff;
|
||||
--accent-dim: rgba(88, 166, 255, 0.14);
|
||||
--ok: #34d399;
|
||||
--ok-dim: rgba(52, 211, 153, 0.12);
|
||||
--warn: #fbbf24;
|
||||
--warn-dim: rgba(251, 191, 36, 0.12);
|
||||
--err: #f87171;
|
||||
--err-dim: rgba(248, 113, 113, 0.12);
|
||||
--purple: #a78bfa;
|
||||
--radius: 12px;
|
||||
--shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
background:
|
||||
radial-gradient(1000px 500px at 80% -10%, rgba(88, 166, 255, 0.07), transparent 60%),
|
||||
radial-gradient(800px 400px at -10% 110%, rgba(167, 139, 250, 0.05), transparent 60%),
|
||||
var(--bg);
|
||||
color: var(--text);
|
||||
line-height: 1.5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
[hidden] { display: none !important; }
|
||||
|
||||
/* ---------- Connexion ---------- */
|
||||
|
||||
.login-view {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
box-shadow: var(--shadow);
|
||||
padding: 36px 32px 28px;
|
||||
}
|
||||
|
||||
.brand { display: flex; align-items: center; gap: 10px; }
|
||||
|
||||
.brand-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 9px;
|
||||
background: var(--accent-dim);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.brand-mark svg { width: 22px; height: 12px; }
|
||||
|
||||
.brand-name {
|
||||
font-weight: 700;
|
||||
font-size: 17px;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.brand-login { margin-bottom: 22px; }
|
||||
|
||||
.login-card h1 { margin: 0 0 4px; font-size: 20px; }
|
||||
|
||||
.login-sub { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
|
||||
|
||||
.login-card form label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
margin: 0 0 6px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.pw-wrap { position: relative; margin-bottom: 14px; }
|
||||
|
||||
.pw-wrap input {
|
||||
width: 100%;
|
||||
padding: 10px 40px 10px 12px;
|
||||
}
|
||||
|
||||
.pw-eye {
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.pw-eye:hover { color: var(--text); background: var(--surface-2); }
|
||||
|
||||
.pw-eye svg { width: 18px; height: 18px; display: block; }
|
||||
|
||||
input[type="text"], input[type="password"], select {
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
color: var(--text);
|
||||
padding: 9px 12px;
|
||||
font: inherit;
|
||||
outline: none;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
input[type="text"]:focus, input[type="password"]:focus, select:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px var(--accent-dim);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--accent);
|
||||
color: #04121f;
|
||||
font-weight: 700;
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
padding: 11px 16px;
|
||||
cursor: pointer;
|
||||
transition: filter 0.15s, transform 0.05s;
|
||||
}
|
||||
|
||||
.btn-primary:hover { filter: brightness(1.08); }
|
||||
.btn-primary:active { transform: translateY(1px); }
|
||||
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
|
||||
|
||||
.btn-block { width: 100%; }
|
||||
|
||||
.msg { margin: 12px 0 0; font-size: 13px; min-height: 18px; }
|
||||
.msg.err { color: var(--err); }
|
||||
.msg.ok { color: var(--ok); }
|
||||
|
||||
/* ---------- Application : layout ---------- */
|
||||
|
||||
.app { display: flex; min-height: 100vh; }
|
||||
|
||||
.sidebar {
|
||||
width: 230px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--surface);
|
||||
border-right: 1px solid var(--border);
|
||||
padding: 18px 12px 14px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.sidebar .brand { padding: 0 10px; margin-bottom: 22px; }
|
||||
|
||||
.side-nav { display: flex; flex-direction: column; gap: 2px; }
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: var(--muted);
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 10px 12px;
|
||||
border-radius: 9px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
|
||||
|
||||
.nav-item:hover { background: var(--surface-2); color: var(--text); }
|
||||
|
||||
.nav-item.active {
|
||||
background: var(--accent-dim);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
|
||||
|
||||
.btn-ghost {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
border-radius: 9px;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
}
|
||||
|
||||
.btn-ghost:hover { background: var(--surface-3); border-color: #2b3949; }
|
||||
.btn-ghost.active {
|
||||
background: rgba(88, 166, 255, 0.12);
|
||||
border-color: rgba(88, 166, 255, 0.45);
|
||||
color: var(--accent);
|
||||
}
|
||||
.btn-ghost svg { width: 15px; height: 15px; }
|
||||
|
||||
.side-foot .btn-ghost { width: 100%; justify-content: center; }
|
||||
|
||||
.main { flex: 1; min-width: 0; padding: 22px 28px 40px; }
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 20px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.topbar h1 { margin: 0; font-size: 20px; }
|
||||
|
||||
.topbar-actions { display: flex; align-items: center; gap: 12px; }
|
||||
|
||||
.updated { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
|
||||
/* ---------- Interrupteur auto ---------- */
|
||||
|
||||
.switch {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.switch input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
|
||||
.switch-track {
|
||||
width: 34px;
|
||||
height: 20px;
|
||||
border-radius: 20px;
|
||||
background: var(--surface-3);
|
||||
border: 1px solid var(--border);
|
||||
position: relative;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.switch-track::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: var(--muted);
|
||||
transition: transform 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.switch input:checked + .switch-track { background: var(--accent-dim); border-color: var(--accent); }
|
||||
.switch input:checked + .switch-track::after { transform: translateX(14px); background: var(--accent); }
|
||||
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 3px var(--accent-dim); }
|
||||
|
||||
/* ---------- Cartes & grilles ---------- */
|
||||
|
||||
.card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 18px 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.card-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.card-head h2 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
|
||||
|
||||
.meta { color: var(--muted); font-size: 12px; }
|
||||
|
||||
.muted { color: var(--muted); }
|
||||
|
||||
.grid-2 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 20px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.stat-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 14px 16px;
|
||||
}
|
||||
|
||||
.stat-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.stat-icon svg { width: 20px; height: 20px; }
|
||||
|
||||
.ic-total { background: var(--accent-dim); color: var(--accent); }
|
||||
.ic-ok { background: var(--ok-dim); color: var(--ok); }
|
||||
.ic-warn { background: var(--warn-dim); color: var(--warn); }
|
||||
.ic-err { background: var(--err-dim); color: var(--err); }
|
||||
.ic-info { background: rgba(167, 139, 250, 0.12); color: var(--purple); }
|
||||
|
||||
.stat-body { display: flex; flex-direction: column; min-width: 0; }
|
||||
|
||||
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
|
||||
|
||||
.stat-label { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
/* ---------- Tableaux ---------- */
|
||||
|
||||
.table-scroll { overflow-x: auto; }
|
||||
|
||||
table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||||
|
||||
thead th {
|
||||
text-align: left;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
tbody td {
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
tbody tr:hover { background: var(--surface-2); }
|
||||
|
||||
td.uri {
|
||||
max-width: 380px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
td.mono, .ip { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 44px;
|
||||
justify-content: center;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.pill.s2xx { background: var(--ok-dim); color: var(--ok); }
|
||||
.pill.s3xx { background: rgba(88, 166, 255, 0.12); color: var(--accent); }
|
||||
.pill.s4xx { background: var(--warn-dim); color: var(--warn); }
|
||||
.pill.s5xx { background: var(--err-dim); color: var(--err); }
|
||||
.pill.s0 { background: var(--err-dim); color: var(--err); }
|
||||
|
||||
.hit { font-variant-numeric: tabular-nums; }
|
||||
|
||||
/* ---------- Graphique ---------- */
|
||||
|
||||
.chart { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 8px 0; }
|
||||
.chart-svg { width: 100%; height: auto; display: block; }
|
||||
|
||||
.legend {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.lg { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
|
||||
.lg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
|
||||
.lg-ok::before { background: var(--ok); }
|
||||
.lg-redir::before { background: var(--accent); }
|
||||
.lg-err4::before { background: var(--warn); }
|
||||
.lg-err5::before { background: var(--err); }
|
||||
|
||||
/* ---------- Filtres logs ---------- */
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 14px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filters input { flex: 1; min-width: 200px; }
|
||||
|
||||
/* ---------- Système ---------- */
|
||||
|
||||
.sys-grid-mini .stat-grid { grid-template-columns: repeat(3, 1fr); }
|
||||
|
||||
#disk pre {
|
||||
margin: 0;
|
||||
padding: 14px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
overflow-x: auto;
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 12px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* ---------- Redémarrage ---------- */
|
||||
|
||||
.restart-actions {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
margin-top: 18px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
background: var(--err-dim);
|
||||
border: 1px solid rgba(248, 113, 113, 0.4);
|
||||
color: var(--err);
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
border-radius: 10px;
|
||||
padding: 11px 16px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.btn-danger:hover { background: rgba(248, 113, 113, 0.2); }
|
||||
.btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }
|
||||
.btn-danger svg { width: 17px; height: 17px; }
|
||||
|
||||
/* ---------- Articles & traductions ---------- */
|
||||
|
||||
.head-actions { display: flex; align-items: center; gap: 10px; }
|
||||
|
||||
.btn-sm { padding: 5px 9px; font-size: 12px; border-radius: 7px; }
|
||||
.btn-sm svg { width: 13px; height: 13px; }
|
||||
|
||||
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
|
||||
|
||||
.col-actions { width: 1%; white-space: nowrap; }
|
||||
|
||||
.badge-ban {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
background: rgba(248, 113, 113, 0.18);
|
||||
color: #fca5a5;
|
||||
border: 1px solid rgba(248, 113, 113, 0.4);
|
||||
}
|
||||
|
||||
.hp-ends { min-width: 180px; }
|
||||
|
||||
.hp-end {
|
||||
display: inline-block;
|
||||
margin: 1px 3px 1px 0;
|
||||
padding: 1px 7px;
|
||||
border-radius: 999px;
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 11px;
|
||||
background: var(--surface-3);
|
||||
color: var(--muted);
|
||||
}
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 12px 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.field { display: flex; flex-direction: column; gap: 5px; }
|
||||
|
||||
.field > span {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
input[type="date"] {
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
color: var(--text);
|
||||
padding: 9px 12px;
|
||||
font: inherit;
|
||||
outline: none;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
input[type="date"]:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px var(--accent-dim);
|
||||
}
|
||||
|
||||
textarea {
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
color: var(--text);
|
||||
padding: 9px 12px;
|
||||
font: inherit;
|
||||
outline: none;
|
||||
resize: vertical;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px var(--accent-dim);
|
||||
}
|
||||
|
||||
.rules-editor { margin-top: 14px; }
|
||||
|
||||
.rules-editor textarea {
|
||||
width: 100%;
|
||||
min-height: 320px;
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.lang-pane legend .btn-ghost {
|
||||
margin-left: 8px;
|
||||
font-size: 12px;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.md-tools {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.md-preview {
|
||||
margin-top: 10px;
|
||||
padding: 12px 14px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.md-preview p:first-child { margin-top: 0; }
|
||||
.md-preview p:last-child { margin-bottom: 0; }
|
||||
|
||||
.lang-pane {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 14px 16px 16px;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
.lang-pane legend {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--accent);
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.form-actions .btn-danger { margin-left: auto; }
|
||||
|
||||
.trans-key {
|
||||
max-width: 260px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.trans-val {
|
||||
width: 100%;
|
||||
min-width: 220px;
|
||||
resize: vertical;
|
||||
padding: 6px 8px;
|
||||
border-radius: 7px;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.form-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
/* ---------- Responsive ---------- */
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.stat-grid { grid-template-columns: repeat(3, 1fr); }
|
||||
.grid-2 { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.app { flex-direction: column; }
|
||||
|
||||
.sidebar {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.sidebar .brand { margin-bottom: 0; padding: 0 4px; }
|
||||
|
||||
.side-foot { order: 2; margin: 0 0 0 auto; padding: 0; border: 0; }
|
||||
|
||||
.side-foot .btn-ghost { width: auto; padding: 8px 10px; }
|
||||
|
||||
.side-nav {
|
||||
order: 3;
|
||||
flex-basis: 100%;
|
||||
flex-direction: row;
|
||||
gap: 4px;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.nav-item { white-space: nowrap; flex-shrink: 0; padding: 8px 10px; }
|
||||
.nav-item span { display: none; }
|
||||
.side-foot .btn-ghost span { display: none; }
|
||||
|
||||
.main { padding: 16px; }
|
||||
.stat-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.topbar h1 { font-size: 17px; }
|
||||
|
||||
.card-head { flex-wrap: wrap; }
|
||||
.head-actions { flex-wrap: wrap; }
|
||||
|
||||
.filters input { flex: 1 1 100%; min-width: 0; }
|
||||
.filters select { flex: 1 1 100%; }
|
||||
|
||||
.form-actions .btn-danger { margin-left: 0; }
|
||||
|
||||
#log-table, #trans-table { min-width: 600px; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.login-view { padding: 16px; }
|
||||
.login-card { padding: 26px 20px 22px; }
|
||||
.login-card h1 { font-size: 18px; }
|
||||
|
||||
.main { padding: 12px; }
|
||||
|
||||
.card { padding: 14px; }
|
||||
.card-head { gap: 8px; }
|
||||
|
||||
.stat-grid { gap: 10px; }
|
||||
.stat-card { padding: 10px 12px; gap: 10px; }
|
||||
.stat-icon { width: 34px; height: 34px; }
|
||||
.stat-icon svg { width: 17px; height: 17px; }
|
||||
.stat-value { font-size: 19px; }
|
||||
|
||||
.topbar-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 6px; }
|
||||
.updated { font-size: 11px; }
|
||||
|
||||
.legend { gap: 10px; flex-wrap: wrap; }
|
||||
|
||||
.lang-pane { padding: 12px; }
|
||||
.lang-pane legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
||||
|
||||
.form-actions .btn { flex: 1 1 auto; justify-content: center; }
|
||||
.restart-actions .btn-danger { flex: 1 1 100%; justify-content: center; }
|
||||
}
|
||||
|
||||
/* ---------- ZMap build ---------- */
|
||||
|
||||
.build-bars { display: flex; flex-direction: column; gap: 8px; }
|
||||
.bar-row { display: flex; align-items: center; gap: 10px; }
|
||||
.bar-label { width: 110px; font-size: 12px; color: var(--dim); text-align: right; }
|
||||
.bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
|
||||
.bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.3s; }
|
||||
.bar-pct { width: 40px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dim); }
|
||||
|
||||
.build-log {
|
||||
max-height: 320px;
|
||||
overflow: auto;
|
||||
font-size: 12px;
|
||||
font-family: var(--font-mono, monospace);
|
||||
line-height: 1.5;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
background: var(--bg);
|
||||
border-radius: var(--radius);
|
||||
color: var(--dim);
|
||||
}
|
||||
Loading…
Reference in a new issue