Files

392 строки
6.2 KiB
CSS

:root {
color-scheme: dark;
--bg: #07080d;
--panel: #111522;
--panel-2: #171d2d;
--text: #f6f7fb;
--muted: #aeb7c9;
--line: #2a3347;
--accent: #5ee0b8;
--accent-2: #88a7ff;
--danger: #ff7d7d;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: radial-gradient(circle at top left, #17253c 0, transparent 34rem), var(--bg);
color: var(--text);
font-family: Arial, Helvetica, sans-serif;
}
a {
color: inherit;
}
.shell {
width: min(1180px, calc(100% - 32px));
margin: 0 auto;
padding: 36px 0 56px;
}
.hero {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
gap: 28px;
align-items: stretch;
min-height: 420px;
}
.hero.compact {
min-height: 260px;
grid-template-columns: 1fr;
}
.eyebrow {
margin: 0 0 18px;
color: var(--accent);
font-size: 14px;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
}
h1,
h2 {
margin: 0;
line-height: .98;
}
h1 {
max-width: 900px;
font-size: clamp(44px, 7vw, 86px);
letter-spacing: 0;
}
h2 {
font-size: 32px;
}
.lead {
max-width: 720px;
margin: 22px 0 0;
color: var(--muted);
font-size: 22px;
line-height: 1.35;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}
.button {
border: 0;
border-radius: 8px;
padding: 14px 20px;
background: var(--accent);
color: #04120f;
font: inherit;
font-weight: 800;
text-decoration: none;
cursor: pointer;
}
.button.ghost {
border: 1px solid var(--line);
background: transparent;
color: var(--text);
}
.status-panel,
.tile,
.panel {
border: 1px solid var(--line);
border-radius: 8px;
background: color-mix(in srgb, var(--panel) 92%, transparent);
}
.status-panel {
display: grid;
align-content: end;
gap: 14px;
padding: 22px;
}
.status-panel div {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 18px;
padding-bottom: 14px;
border-bottom: 1px solid var(--line);
}
.status-panel div:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.status-panel span,
.tile p,
label {
color: var(--muted);
}
.status-panel strong {
font-size: 34px;
}
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-top: 24px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.stat-card {
border: 1px solid var(--line);
border-radius: 8px;
padding: 18px;
background: var(--panel-2);
}
.stat-card span {
display: block;
color: var(--muted);
font-size: 14px;
font-weight: 700;
}
.stat-card strong {
display: block;
margin-top: 10px;
font-size: 34px;
line-height: 1;
}
.dashboard-panel,
.service-control {
display: grid;
gap: 18px;
}
.event-list {
display: grid;
gap: 10px;
}
.event-row {
display: grid;
grid-template-columns: 150px 110px minmax(0, 1fr);
gap: 12px;
align-items: start;
border: 1px solid var(--line);
border-radius: 8px;
padding: 12px;
background: #06070b;
}
.event-row span {
color: var(--muted);
font-size: 13px;
}
.event-row strong {
color: var(--accent);
}
.event-row p {
margin: 0;
overflow-wrap: anywhere;
}
.tile {
padding: 22px;
}
.num {
display: block;
margin-bottom: 34px;
color: var(--accent-2);
font-size: 18px;
font-weight: 800;
}
.tile p {
margin: 16px 0 0;
font-size: 18px;
line-height: 1.45;
}
.panel {
margin-top: 24px;
padding: 24px;
}
.panel.split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
gap: 24px;
}
.form,
.settings-form {
display: grid;
gap: 14px;
}
.settings-form {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
label {
display: grid;
gap: 8px;
font-size: 14px;
font-weight: 700;
}
input {
width: 100%;
border: 1px solid var(--line);
border-radius: 8px;
padding: 14px;
background: var(--panel-2);
color: var(--text);
font: inherit;
font-size: 17px;
}
textarea {
width: 100%;
min-height: 420px;
resize: vertical;
border: 1px solid var(--line);
border-radius: 8px;
padding: 16px;
background: #06070b;
color: var(--text);
font-family: Consolas, "Courier New", monospace;
font-size: 15px;
line-height: 1.55;
}
input:focus,
textarea:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.result {
min-height: 72px;
overflow: auto;
margin: 0;
border: 1px solid var(--line);
border-radius: 8px;
padding: 14px;
background: #06070b;
color: var(--text);
font-size: 14px;
line-height: 1.5;
white-space: pre-wrap;
}
.env-preview {
min-height: 420px;
}
.muted-text {
max-width: 760px;
margin: 12px 0 0;
color: var(--muted);
font-size: 17px;
line-height: 1.45;
}
.config-editor {
display: grid;
gap: 18px;
}
.config-editor-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
}
.file-tabs {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.file-tab {
border: 1px solid var(--line);
border-radius: 8px;
padding: 12px 16px;
background: transparent;
color: var(--text);
font: inherit;
font-weight: 800;
cursor: pointer;
}
.file-tab.active {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.file-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
color: var(--muted);
font-size: 14px;
}
.file-meta span {
border: 1px solid var(--line);
border-radius: 999px;
padding: 8px 12px;
background: var(--panel-2);
}
.editor-label {
color: var(--text);
font-size: 16px;
}
@media (max-width: 880px) {
.hero,
.grid,
.stats-grid,
.event-row,
.panel.split,
.settings-form,
.config-editor-head {
grid-template-columns: 1fr;
}
.config-editor-head {
display: grid;
}
h1 {
font-size: 44px;
}
}