160 lines
14 KiB
CSS
160 lines
14 KiB
CSS
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
color: #e7edf6;
|
|
background: #0a0f18;
|
|
--panel: #111927;
|
|
--panel2: #151f2f;
|
|
--line: #263246;
|
|
--muted: #91a0b5;
|
|
--text: #e7edf6;
|
|
--accent: #5ca7ff;
|
|
--accent2: #88c2ff;
|
|
--danger: #ff7b7b;
|
|
--ok: #54d3a0;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; min-height: 100vh; background: radial-gradient(900px 500px at 15% -10%, #17345a 0%, transparent 65%), #0a0f18; color: var(--text); }
|
|
button, input, textarea, select { font: inherit; }
|
|
button { color: inherit; }
|
|
.topbar { position: sticky; top: 0; z-index: 10; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 28px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(10,15,24,.9); backdrop-filter: blur(18px); }
|
|
.brand { display: flex; align-items: center; gap: 12px; }
|
|
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-weight: 800; background: linear-gradient(145deg,#77b8ff,#2c73d2); box-shadow: 0 8px 24px rgba(61,132,220,.28); }
|
|
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
|
|
.brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
|
|
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #101827; }
|
|
.nav-btn { border: 0; border-radius: 8px; background: transparent; color: var(--muted); padding: 8px 12px; cursor: pointer; }
|
|
.nav-btn:hover, .nav-btn.active { background: #1b2940; color: #fff; }
|
|
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 70px; }
|
|
.view { display: none; }
|
|
.view.active { display: block; }
|
|
.hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 22px 0 30px; }
|
|
.eyebrow { margin: 0 0 7px; color: var(--accent2); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
|
|
h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.02; letter-spacing: -.035em; }
|
|
h2 { margin: 0; font-size: 19px; }
|
|
.lead { max-width: 760px; margin: 16px 0 0; color: #aab8ca; font-size: 16px; line-height: 1.6; }
|
|
.hero-status { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; background: rgba(17,25,39,.7); }
|
|
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(84,211,160,.1); }
|
|
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 6px 0 42px; }
|
|
.quick-card { min-height: 116px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg,#142034,#0f1724); text-align: left; padding: 16px; cursor: pointer; transition: transform .15s ease,border-color .15s ease; }
|
|
.quick-card:hover { transform: translateY(-2px); border-color: #3d5d88; }
|
|
.quick-card strong, .quick-card small { display: block; }
|
|
.quick-card small { margin-top: 4px; color: var(--muted); }
|
|
.quick-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 9px; background: #20314c; color: #9dccff; }
|
|
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 4px 0 18px; }
|
|
.section-head h1 { font-size: 36px; }
|
|
.filters { display: flex; gap: 8px; }
|
|
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #0c1421; color: var(--text); padding: 10px 11px; outline: none; }
|
|
input:focus, textarea:focus, select:focus { border-color: #4f8bd3; box-shadow: 0 0 0 3px rgba(79,139,211,.13); }
|
|
textarea { resize: vertical; }
|
|
label { display: grid; gap: 7px; color: #b6c2d1; font-size: 13px; }
|
|
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(205px,1fr)); gap: 13px; }
|
|
.app-tile { min-height: 122px; display: grid; grid-template-rows: 1fr auto auto; text-decoration: none; color: inherit; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg,#121c2c,#0e1623); position: relative; overflow: hidden; }
|
|
.app-tile:before { content:""; position:absolute; inset:-80px auto auto -80px; width:180px; height:180px; border-radius:50%; background: var(--tile-color,#427bbd); opacity:.13; filter:blur(10px); }
|
|
.app-tile:hover { border-color: #47648a; }
|
|
.app-icon { font-size: 28px; position: relative; }
|
|
.app-title { font-weight: 700; position: relative; }
|
|
.app-cat { width: max-content; margin-top: 7px; color: var(--muted); font-size: 11px; border: 1px solid #2a3850; border-radius: 999px; padding: 3px 7px; position: relative; }
|
|
.two-col { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 16px; }
|
|
.panel { border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(180deg,rgba(20,31,48,.96),rgba(14,22,35,.96)); padding: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.12); }
|
|
.panel > h2 { margin-bottom: 16px; }
|
|
.panel label + label { margin-top: 13px; }
|
|
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 13px; }
|
|
.form-grid label + label { margin-top: 0; }
|
|
.checks { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0; }
|
|
.check { display: flex; align-items: center; gap: 7px; }
|
|
.check input { width: auto; }
|
|
.actions { display: flex; gap: 9px; flex-wrap: wrap; }
|
|
.actions.compact { justify-content: flex-end; }
|
|
.btn { border: 1px solid #33445e; border-radius: 10px; background: #172338; padding: 10px 13px; cursor: pointer; }
|
|
.btn:hover { border-color: #4b6487; }
|
|
.btn.primary { color: #07111e; border-color: #73b5ff; background: #73b5ff; font-weight: 750; }
|
|
.btn.danger { color: #ffc1c1; border-color: #703e49; background: #2b1920; }
|
|
.btn.small { padding: 7px 9px; font-size: 12px; }
|
|
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
|
|
.panel-head > div { display: flex; align-items: center; gap: 9px; }
|
|
.badge { display: inline-flex; align-items: center; border: 1px solid #30425c; border-radius: 999px; color: #a8bad0; font-size: 11px; padding: 4px 8px; }
|
|
.hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
.clip-list { display: grid; gap: 9px; max-height: 560px; overflow: auto; padding-right: 2px; }
|
|
.clip-item { border: 1px solid #26364d; border-radius: 12px; background: #0d1624; padding: 12px; }
|
|
.clip-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
|
|
.clip-content { margin: 9px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 13px; color: #dce8f8; }
|
|
.clip-secret { letter-spacing: .12em; color: #8494aa; }
|
|
.clip-actions { display: flex; gap: 7px; }
|
|
.room-panel { margin-bottom: 16px; }
|
|
.room-hint { margin: 4px 0 0; }
|
|
.room-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 9px; margin-top: 12px; }
|
|
.room-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid #26364d; border-radius: 12px; background: #0d1624; }
|
|
.room-item.active { border-color: #4b82c6; background: #101d30; }
|
|
.room-open { min-width: 0; border: 0; background: transparent; color: inherit; padding: 3px; text-align: left; cursor: pointer; }
|
|
.room-name { display: block; font-weight: 700; overflow-wrap: anywhere; }
|
|
.room-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
|
|
.room-actions { display: flex; gap: 5px; }
|
|
.secret-output { min-height: 120px; margin: 0; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #26364d; border-radius: 12px; background: #09101a; color: #e9f2ff; font: 15px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
|
|
.meta-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
|
|
.meta-pill { border: 1px solid #2b3d57; border-radius: 999px; padding: 4px 8px; color: var(--muted); font-size: 11px; }
|
|
.upload-panel form { display: grid; grid-template-columns: minmax(0,2fr) minmax(180px,1fr) auto; align-items: end; gap: 12px; }
|
|
.file-drop { min-height: 66px; display: grid; place-items: center; border: 1px dashed #46617f; border-radius: 12px; background: #0c1522; cursor: pointer; padding: 10px; text-align: center; }
|
|
.file-drop input { display: none; }
|
|
.file-drop span { color: var(--muted); font-size: 12px; }
|
|
.file-list { display: grid; gap: 10px; margin-top: 14px; }
|
|
.file-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(180px,.8fr) auto; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: #101927; }
|
|
.file-name { font-weight: 700; overflow-wrap: anywhere; }
|
|
.file-sub, .file-hash { margin-top: 4px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
|
|
.file-hash { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
|
|
.file-actions { display: flex; gap: 7px; }
|
|
.file-actions a { text-decoration: none; }
|
|
.empty { padding: 28px 12px; text-align: center; color: var(--muted); border: 1px dashed #2c3c53; border-radius: 12px; }
|
|
.toast { position: fixed; right: 20px; bottom: 20px; max-width: 360px; transform: translateY(20px); opacity: 0; pointer-events:none; transition:.2s ease; padding: 11px 14px; border: 1px solid #375171; border-radius: 10px; background:#14233a; box-shadow:0 15px 40px rgba(0,0,0,.28); }
|
|
.toast.show { opacity:1; transform:translateY(0); }
|
|
code { color: #b7d7ff; }
|
|
@media (max-width: 850px) { .topbar { align-items:flex-start; flex-direction:column; } .nav { width:100%; overflow:auto; } .hero { grid-template-columns:1fr; } .quick-grid,.two-col { grid-template-columns:1fr; } .upload-panel form,.file-row { grid-template-columns:1fr; } }
|
|
@media (max-width: 560px) { .shell { width:min(100% - 20px,1180px); padding-top:24px; } .topbar { padding:12px; } .section-head { align-items:stretch; flex-direction:column; } .filters,.form-grid { grid-template-columns:1fr; display:grid; } .quick-grid { gap:9px; } .actions.compact { justify-content:flex-start; } }
|
|
|
|
/* integrated admin tools */
|
|
.quick-grid.four { grid-template-columns: repeat(4,1fr); }
|
|
.small-lead { font-size: 14px; margin-top: 10px; }
|
|
.tool-head { align-items: flex-end; }
|
|
.tool-search { max-width: 260px; }
|
|
.tool-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 16px; align-items: start; }
|
|
.tool-nav { position: sticky; top: 92px; display: grid; gap: 5px; max-height: calc(100vh - 112px); overflow: auto; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: #0e1724; }
|
|
.tool-nav-btn { width: 100%; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; padding: 9px 10px; cursor: pointer; font-size: 12px; }
|
|
.tool-nav-btn:hover, .tool-nav-btn.active { color: #fff; background: #1a2940; }
|
|
.tool-nav-btn[hidden] { display: none; }
|
|
.tool-panel { display: none; min-height: 460px; }
|
|
.tool-panel.active { display: block; }
|
|
.form-grid.three { grid-template-columns: repeat(3,1fr); }
|
|
.top-gap { margin-top: 14px; }
|
|
.align-end { align-items: end; }
|
|
.mono { font-family: ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace; }
|
|
.inline-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
|
|
.result-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
|
|
.result-grid > div { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #0d1624; }
|
|
.result-grid code { display: block; margin-top: 5px; overflow-wrap: anywhere; }
|
|
.result-label { color: var(--muted); font-size: 11px; }
|
|
.split-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
.tool-output, .diff-output { min-height: 80px; margin: 0; padding: 13px; white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; border: 1px solid #26364d; border-radius: 11px; background: #09101a; color: #dce8f8; font: 12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; }
|
|
.diff-output { min-height: 180px; }
|
|
.diff-add { color: #8ee8bd; }
|
|
.diff-del { color: #ffaaaa; }
|
|
.diff-same { color: #8d9caf; }
|
|
.kv-list { display: grid; gap: 7px; }
|
|
.kv-row { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 12px; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
|
|
.kv-key { color: var(--muted); font-size: 12px; }
|
|
.kv-value { min-width: 0; overflow-wrap: anywhere; font: 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
|
|
.subtools { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
|
|
.subpanel { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #0d1624; }
|
|
.subpanel h3 { margin: 0 0 13px; font-size: 14px; }
|
|
.cert-card { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background:#0d1624; }
|
|
.cert-card h3 { margin: 0 0 10px; font-size: 14px; }
|
|
.table-wrap { width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 11px; }
|
|
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
|
|
.data-table th, .data-table td { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; white-space: nowrap; }
|
|
.data-table th { position: sticky; top: 0; background: #142034; color: #cfe3ff; }
|
|
.data-table td { color: #c4cfdd; }
|
|
.status-ok { color: var(--ok); }
|
|
.status-bad { color: var(--danger); }
|
|
.status-warn { color: #ffd178; }
|
|
@media (max-width: 1020px) { .quick-grid.four { grid-template-columns: repeat(2,1fr); } .tool-layout { grid-template-columns: 1fr; } .tool-nav { position: static; display: flex; max-height: none; overflow-x: auto; } .tool-nav-btn { width: max-content; white-space: nowrap; } .subtools { grid-template-columns: 1fr; } }
|
|
@media (max-width: 850px) { .form-grid.three,.split-edit,.result-grid { grid-template-columns: 1fr; } .inline-form { grid-template-columns: 1fr; } }
|
|
@media (max-width: 560px) { .quick-grid.four { grid-template-columns:1fr; } .tool-search { max-width:none; } .kv-row { grid-template-columns:1fr; gap:3px; } }
|