Обновить стиль панели под Virtualizor

Этот коммит содержится в:
Виктор
2026-05-07 03:52:58 +09:00
родитель 55406f15e6
Коммит 165f1cc7db
+108 -182
Просмотреть файл
@@ -1,14 +1,17 @@
:root { :root {
--bg: #070b12; --bg: #eef2f7;
--panel: #101722; --panel: #ffffff;
--panel-2: #0d131d; --panel-2: #f7f9fc;
--line: #233044; --line: #d7deea;
--text: #e8eef8; --text: #1f2937;
--muted: #8d9bb0; --muted: #65748b;
--accent: #37d6ff; --accent: #1976d2;
--green: #3dff9d; --accent-2: #0f5ea8;
--yellow: #ffd166; --sidebar: #172033;
--red: #ff5c7a; --sidebar-2: #101827;
--green: #16a34a;
--yellow: #d97706;
--red: #dc2626;
} }
* { box-sizing: border-box; } * { box-sizing: border-box; }
@@ -16,223 +19,146 @@
body { body {
margin: 0; margin: 0;
min-height: 100vh; min-height: 100vh;
background: radial-gradient(circle at top left, rgba(55, 214, 255, .14), transparent 34%), var(--bg); background: var(--bg);
color: var(--text); color: var(--text);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-family: Arial, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
} }
.shell { .v-layout { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
width: min(1440px, calc(100% - 32px)); .v-sidebar { position: sticky; top: 0; height: 100vh; padding: 14px 12px; background: linear-gradient(180deg, var(--sidebar), var(--sidebar-2)); color: #dbe7f7; border-right: 1px solid rgba(255,255,255,.08); }
margin: 0 auto; .v-logo { display: grid; gap: 2px; padding: 12px 12px 18px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
padding: 24px 0 48px; .v-logo strong { font-size: 19px; letter-spacing: -.02em; }
} .v-logo span { color: #8ea0bd; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.v-nav { display: grid; gap: 4px; }
.v-nav a { color: #b9c7dc; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.v-nav a:hover, .v-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.v-main { min-width: 0; padding: 16px 18px 40px; }
.v-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px rgba(31,41,55,.06); }
.v-title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.v-subtitle { color: var(--muted); font-size: 13px; margin-top: 3px; }
.topbar { .shell { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 48px; }
display: flex; .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px rgba(31,41,55,.06); }
align-items: center; .brand { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
justify-content: space-between;
gap: 16px;
padding: 18px 20px;
margin-bottom: 18px;
background: rgba(16, 23, 34, .86);
border: 1px solid var(--line);
border-radius: 22px;
box-shadow: 0 24px 70px rgba(0,0,0,.28);
backdrop-filter: blur(12px);
}
.brand { 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; } .top-space { margin-top: 14px; }
.inline-form { margin: 0; } .inline-form { margin: 0; }
.top-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; } .top-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.top-meta span, .top-meta span, .pill, .link-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--panel-2); font-size: 13px; text-decoration: none; }
.pill, .link-pill.accent { color: #fff; border-color: var(--accent); background: var(--accent); font-weight: 800; }
.link-pill { .link-pill:hover { border-color: var(--accent); color: var(--accent); }
display: inline-flex; .link-pill.accent:hover { color: #fff; background: var(--accent-2); }
align-items: center; .table-link { color: var(--accent); text-decoration: none; font-weight: 800; }
min-height: 30px; .table-link:hover { text-decoration: underline; }
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
background: rgba(13, 19, 29, .8);
font-size: 13px;
text-decoration: none;
}
.link-pill.accent { color: var(--accent); border-color: rgba(55,214,255,.38); background: rgba(55,214,255,.08); font-weight: 800; }
.link-pill:hover { border-color: var(--accent); }
.grid { display: grid; gap: 16px; } .grid { display: grid; gap: 12px; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; } .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; } .compact-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
.card, .card, .auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; box-shadow: 0 3px 12px rgba(31,41,55,.05); margin-bottom: 12px; }
.auth-card { .card.stat { min-height: 86px; }
background: linear-gradient(180deg, rgba(16, 23, 34, .96), rgba(13, 19, 29, .96)); .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
border: 1px solid var(--line); h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
border-radius: 22px; .label { color: var(--muted); font-size: 12px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
padding: 18px; .value { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
box-shadow: 0 18px 50px rgba(0,0,0,.22); .value.small { font-size: 15px; }
margin-bottom: 16px;
}
.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; }
.label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.value { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.value.small { font-size: 16px; }
.strong { font-weight: 700; } .strong { font-weight: 700; }
.update-banner { .update-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-color: rgba(217,119,6,.3); background: #fff8eb; }
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
border-color: rgba(255,209,102,.35);
background: linear-gradient(135deg, rgba(255,209,102,.12), rgba(55,214,255,.07));
}
.services { display: grid; gap: 10px; } .services { display: grid; gap: 8px; }
.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; } .service-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; }
.service-row small { display: block; margin-top: 4px; color: var(--muted); } .service-row small { display: block; margin-top: 3px; 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: var(--accent); background: #eef6ff; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid currentColor; white-space: nowrap; } .status { display: inline-flex; padding: 4px 8px; 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(22,163,74,.08); }
.status.warn { color: var(--yellow); background: rgba(255,209,102,.09); } .status.warn { color: var(--yellow); background: rgba(217,119,6,.08); }
.status.err { color: var(--red); background: rgba(255,92,122,.09); } .status.err { color: var(--red); background: rgba(220,38,38,.08); }
table { width: 100%; border-collapse: collapse; } table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.07); } th, td { text-align: left; padding: 9px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 13px; font-weight: 700; } th { color: #41516a; font-size: 12px; font-weight: 800; background: #f1f5f9; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; } tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fbff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; } .actions { display: flex; gap: 7px; flex-wrap: wrap; }
.actions form, .logout-form { margin: 0; } .actions form, .logout-form { margin: 0; }
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; } button { border: 1px solid var(--line); background: #f8fafc; color: var(--text); padding: 7px 9px; border-radius: 6px; cursor: pointer; font-weight: 700; }
button:hover { border-color: var(--accent); } button:hover { border-color: var(--accent); color: var(--accent); }
button.danger { background: rgba(255,92,122,.09); color: var(--red); } button.danger { background: rgba(220,38,38,.07); color: var(--red); }
button.primary { background: rgba(55,214,255,.18); border-color: rgba(55,214,255,.55); } button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.ghost { background: rgba(255,255,255,.035); color: var(--muted); } button.primary:hover { background: var(--accent-2); color: #fff; }
button.wide { width: 100%; padding: 12px 14px; } button.ghost { background: transparent; color: var(--muted); }
button.wide { width: 100%; padding: 11px 14px; }
button:disabled { cursor: not-allowed; opacity: .45; } button:disabled { cursor: not-allowed; opacity: .45; }
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; } pre { overflow: auto; margin: 12px 0 0; padding: 12px; border-radius: 7px; background: #0b1220; border: 1px solid #1f2937; color: #d9e5f6; line-height: 1.55; }
.auth-body { display: grid; place-items: center; padding: 20px; } .auth-body { 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; }
.auth-form, .auth-form, .form-grid { display: grid; gap: 13px; margin-top: 18px; }
.form-grid { display: grid; gap: 14px; margin-top: 22px; } .auth-form label, .form-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.auth-form label,
.form-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.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 select { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 7px; padding: 10px 11px; outline: none; }
.form-grid input, .auth-form input:focus, .form-grid input:focus, .form-grid select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,118,210,.12); }
.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; } .alert, .notice { padding: 10px 12px; border-radius: 7px; margin: 0 0 12px; font-weight: 700; }
.auth-form input:focus, .notice { margin: 0; color: var(--accent); background: #eef6ff; border: 1px solid #bfdbfe; }
.form-grid input:focus, .alert.danger { color: var(--red); background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.22); }
.form-grid select:focus { border-color: var(--accent); }
.alert,
.notice { 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); }
.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: 8px; }
.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; } .big-action { display: grid; gap: 4px; padding: 11px; color: var(--text); text-decoration: none; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; }
.big-action:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); } .big-action:hover { border-color: var(--accent); background: #eef6ff; }
.big-action.static:hover { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.03); } .big-action.static:hover { border-color: var(--line); background: var(--panel-2); }
.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 { height: 9px; overflow: hidden; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; } .progress { height: 8px; overflow: hidden; background: #e5eaf2; border: 1px solid #d7deea; border-radius: 999px; }
.progress.big { height: 14px; } .progress.big { height: 13px; }
.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; } .progress span { display: block; height: 100%; width: 0; min-width: 3px; background: linear-gradient(90deg, var(--accent), #16a34a); border-radius: inherit; transition: width .35s ease; }
.upload-progress-wrap { display: grid; gap: 10px; padding: 13px; border-radius: 16px; border: 1px solid rgba(55,214,255,.22); background: rgba(55,214,255,.055); } .upload-progress-wrap { display: grid; gap: 9px; padding: 12px; border-radius: 7px; border: 1px solid #bfdbfe; background: #eef6ff; }
.upload-progress-wrap[hidden] { display: none; } .upload-progress-wrap[hidden] { display: none; }
.upload-progress-head, .upload-progress-head, .upload-progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.upload-progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.upload-progress-head strong { font-size: 13px; } .upload-progress-head strong { font-size: 13px; }
.upload-progress-head span { color: var(--accent); font-weight: 900; } .upload-progress-head span { color: var(--accent); font-weight: 900; }
.upload-progress-meta { color: var(--muted); font-size: 12px; } .upload-progress-meta { color: var(--muted); font-size: 12px; }
.operation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; } .operation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.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 div { display: grid; gap: 4px; padding: 9px 10px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--line); }
.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 { 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; } .op-log { min-height: 420px; max-height: 650px; 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); } .live-dot::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(22,163,74,.5); }
.log-source-card { text-decoration: none; color: var(--text); }
.log-source-card.selected { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.console-body { .console-body { height: 100vh; min-height: 100vh; overflow: hidden; background: #03060b; }
height: 100vh; .console-window { display: grid; grid-template-rows: 46px 1fr; width: 100vw; height: 100vh; overflow: hidden; }
min-height: 100vh; .console-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; background: #111827; border-bottom: 1px solid #1f2937; box-shadow: 0 10px 28px rgba(0,0,0,.28); z-index: 2; }
overflow: hidden; .console-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; color: #f8fafc; }
background: #03060b;
}
.console-window {
display: grid;
grid-template-rows: 46px 1fr;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.console-topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 7px 10px;
background: rgba(7, 11, 18, .96);
border-bottom: 1px solid var(--line);
box-shadow: 0 10px 28px rgba(0,0,0,.28);
z-index: 2;
}
.console-title {
display: flex;
align-items: baseline;
gap: 10px;
min-width: 0;
}
.console-title strong { font-size: 15px; white-space: nowrap; } .console-title strong { font-size: 15px; white-space: nowrap; }
.console-title span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .console-title span { color: #94a3b8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; } .console-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.console-main { width: 100%; height: calc(100vh - 46px); min-height: 0; overflow: hidden; background: #000; }
.console-main { .console-frame-full { display: block; width: 100%; height: 100%; border: 0; background: #000; }
width: 100%; .console-error-wrap { display: grid; place-items: center; padding: 18px; background: #03060b; }
height: calc(100vh - 46px);
min-height: 0;
overflow: hidden;
background: #000;
}
.console-frame-full {
display: block;
width: 100%;
height: 100%;
border: 0;
background: #000;
}
.console-error-wrap {
display: grid;
place-items: center;
padding: 18px;
background: radial-gradient(circle at center, rgba(55,214,255,.08), transparent 46%), #03060b;
}
.console-error-card { width: min(760px, calc(100vw - 32px)); } .console-error-card { width: min(760px, calc(100vw - 32px)); }
@media (max-width: 900px) { @media (max-width: 980px) {
.topbar { align-items: flex-start; flex-direction: column; } .v-layout { grid-template-columns: 1fr; }
.stats, .two, .form-row, .operation-summary, .meta-grid { grid-template-columns: 1fr; } .v-sidebar { position: static; height: auto; }
.v-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
.v-main { padding: 10px; }
.topbar, .v-topbar { align-items: flex-start; flex-direction: column; }
.stats, .compact-stats, .two, .form-row, .operation-summary, .meta-grid { grid-template-columns: 1fr; }
.shell { width: min(100% - 20px, 1440px); padding-top: 10px; } .shell { width: min(100% - 20px, 1440px); padding-top: 10px; }
table { display: block; overflow-x: auto; } table { display: block; overflow-x: auto; }
.update-banner { align-items: flex-start; flex-direction: column; } .update-banner { align-items: flex-start; flex-direction: column; }