Добавлены стили для страницы сети

Этот коммит содержится в:
Виктор
2026-05-06 21:41:43 +09:00
родитель d68a298699
Коммит 8b5af0d48e
+21 -142
Просмотреть файл
@@ -41,23 +41,13 @@ body {
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
} }
.brand { .brand { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
font-size: 28px;
font-weight: 800;
letter-spacing: -.04em;
}
.muted { color: var(--muted); } .muted { color: var(--muted); }
.small-note { font-size: 13px; line-height: 1.45; } .small-note { font-size: 13px; line-height: 1.45; }
.top-space { margin-top: 14px; }
.inline-form { margin: 0; }
.top-meta { .top-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
}
.top-meta span, .top-meta span,
.pill, .pill,
.link-pill { .link-pill {
@@ -88,15 +78,7 @@ body {
box-shadow: 0 18px 50px rgba(0,0,0,.22); box-shadow: 0 18px 50px rgba(0,0,0,.22);
margin-bottom: 16px; margin-bottom: 16px;
} }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 14px;
}
h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; } h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.label { color: var(--muted); font-size: 13px; margin-bottom: 8px; } .label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.value { font-size: 24px; font-weight: 800; letter-spacing: -.03em; } .value { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
@@ -104,29 +86,12 @@ h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.strong { font-weight: 700; } .strong { font-weight: 700; }
.services { display: grid; gap: 10px; } .services { display: grid; gap: 10px; }
.service-row { .service-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; }
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 11px 12px;
background: rgba(255,255,255,.03);
border: 1px solid rgba(255,255,255,.06);
border-radius: 14px;
}
.service-row small { display: block; margin-top: 4px; color: var(--muted); } .service-row small { display: block; margin-top: 4px; color: var(--muted); }
.service-link { color: var(--text); text-decoration: none; } .service-link { color: var(--text); text-decoration: none; }
.service-link:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); } .service-link:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); }
.status { .status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid currentColor; white-space: nowrap; }
display: inline-flex;
padding: 5px 9px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
border: 1px solid currentColor;
white-space: nowrap;
}
.status.ok { color: var(--green); background: rgba(61,255,157,.09); } .status.ok { color: var(--green); background: rgba(61,255,157,.09); }
.status.warn { color: var(--yellow); background: rgba(255,209,102,.09); } .status.warn { color: var(--yellow); background: rgba(255,209,102,.09); }
.status.err { color: var(--red); background: rgba(255,92,122,.09); } .status.err { color: var(--red); background: rgba(255,92,122,.09); }
@@ -138,15 +103,7 @@ tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; } .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions form, .logout-form { margin: 0; } .actions form, .logout-form { margin: 0; }
button { button { border: 1px solid var(--line); background: rgba(55,214,255,.08); color: var(--text); padding: 8px 10px; border-radius: 12px; cursor: pointer; font-weight: 700; }
border: 1px solid var(--line);
background: rgba(55,214,255,.08);
color: var(--text);
padding: 8px 10px;
border-radius: 12px;
cursor: pointer;
font-weight: 700;
}
button:hover { border-color: var(--accent); } button:hover { border-color: var(--accent); }
button.danger { background: rgba(255,92,122,.09); color: var(--red); } button.danger { background: rgba(255,92,122,.09); color: var(--red); }
button.primary { background: rgba(55,214,255,.18); border-color: rgba(55,214,255,.55); } button.primary { background: rgba(55,214,255,.18); border-color: rgba(55,214,255,.55); }
@@ -154,22 +111,9 @@ button.ghost { background: rgba(255,255,255,.035); color: var(--muted); }
button.wide { width: 100%; padding: 12px 14px; } button.wide { width: 100%; padding: 12px 14px; }
button:disabled { cursor: not-allowed; opacity: .45; } button:disabled { cursor: not-allowed; opacity: .45; }
pre { pre { overflow: auto; margin: 14px 0 0; padding: 14px; border-radius: 14px; background: #070b12; border: 1px solid rgba(255,255,255,.06); color: #d9e5f6; line-height: 1.55; }
overflow: auto;
margin: 14px 0 0;
padding: 14px;
border-radius: 14px;
background: #070b12;
border: 1px solid rgba(255,255,255,.06);
color: #d9e5f6;
line-height: 1.55;
}
.auth-body { .auth-body { display: grid; place-items: center; padding: 20px; }
display: grid;
place-items: center;
padding: 20px;
}
.auth-shell { width: min(440px, 100%); } .auth-shell { width: min(440px, 100%); }
.auth-card { padding: 28px; } .auth-card { padding: 28px; }
.auth-brand { margin-bottom: 6px; } .auth-brand { margin-bottom: 6px; }
@@ -180,98 +124,33 @@ pre {
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form input, .auth-form input,
.form-grid input, .form-grid input,
.form-grid select { .form-grid select { width: 100%; border: 1px solid var(--line); background: rgba(7,11,18,.82); color: var(--text); border-radius: 14px; padding: 12px 13px; outline: none; }
width: 100%;
border: 1px solid var(--line);
background: rgba(7,11,18,.82);
color: var(--text);
border-radius: 14px;
padding: 12px 13px;
outline: none;
}
.auth-form input:focus, .auth-form input:focus,
.form-grid input:focus, .form-grid input:focus,
.form-grid select:focus { border-color: var(--accent); } .form-grid select:focus { border-color: var(--accent); }
.alert, .alert,
.notice { .notice { padding: 12px 13px; border-radius: 14px; margin: 0 0 16px; font-weight: 700; }
padding: 12px 13px;
border-radius: 14px;
margin: 0 0 16px;
font-weight: 700;
}
.notice { margin: 0; color: var(--accent); background: rgba(55,214,255,.07); border: 1px solid rgba(55,214,255,.22); } .notice { margin: 0; color: var(--accent); background: rgba(55,214,255,.07); border: 1px solid rgba(55,214,255,.22); }
.alert.danger { color: var(--red); background: rgba(255,92,122,.08); border: 1px solid rgba(255,92,122,.28); } .alert.danger { color: var(--red); background: rgba(255,92,122,.08); border: 1px solid rgba(255,92,122,.28); }
.quick-actions { display: grid; gap: 10px; } .quick-actions { display: grid; gap: 10px; }
.big-action { .big-action { display: grid; gap: 5px; padding: 14px; color: var(--text); text-decoration: none; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
display: grid;
gap: 5px;
padding: 14px;
color: var(--text);
text-decoration: none;
background: rgba(255,255,255,.03);
border: 1px solid rgba(255,255,255,.06);
border-radius: 16px;
}
.big-action:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); } .big-action:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); }
.big-action.static:hover { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.03); }
.big-action span { color: var(--muted); font-size: 13px; line-height: 1.45; } .big-action span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.progress { .progress { height: 9px; overflow: hidden; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; }
height: 9px;
overflow: hidden;
background: rgba(255,255,255,.065);
border: 1px solid rgba(255,255,255,.08);
border-radius: 999px;
}
.progress.big { height: 14px; } .progress.big { height: 14px; }
.progress span { .progress span { display: block; height: 100%; width: 0; min-width: 3px; background: linear-gradient(90deg, rgba(55,214,255,.75), rgba(61,255,157,.9)); border-radius: inherit; transition: width .35s ease; }
display: block;
height: 100%;
width: 0;
min-width: 3px;
background: linear-gradient(90deg, rgba(55,214,255,.75), rgba(61,255,157,.9));
border-radius: inherit;
transition: width .35s ease;
}
.operation-summary { .operation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
display: grid; .meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
grid-template-columns: 1fr 1fr; .meta-grid div { display: grid; gap: 5px; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
gap: 18px;
margin-bottom: 16px;
}
.meta-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.meta-grid div {
display: grid;
gap: 5px;
padding: 11px 12px;
border-radius: 14px;
background: rgba(255,255,255,.03);
border: 1px solid rgba(255,255,255,.06);
}
.meta-grid span { color: var(--muted); font-size: 12px; } .meta-grid span { color: var(--muted); font-size: 12px; }
.meta-grid strong { overflow-wrap: anywhere; } .meta-grid strong { overflow-wrap: anywhere; }
.command-box { white-space: pre-wrap; overflow-wrap: anywhere; } .command-box { white-space: pre-wrap; overflow-wrap: anywhere; }
.op-log { .op-log { min-height: 420px; max-height: 620px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 13px; }
min-height: 420px; .live-dot::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(61,255,157,.8); }
max-height: 620px;
white-space: pre-wrap;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
font-size: 13px;
}
.live-dot::before {
content: "";
width: 7px;
height: 7px;
margin-right: 6px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 18px rgba(61,255,157,.8);
}
@media (max-width: 900px) { @media (max-width: 900px) {
.topbar { align-items: flex-start; flex-direction: column; } .topbar { align-items: flex-start; flex-direction: column; }