Распаковал архив Proxmox-VPS-Panel.rar и добавил содержимое в репозиторий

This commit is contained in:
root
2026-07-24 15:10:47 +00:00
parent 0372e2c5f1
commit ac74a700ce
37 changed files with 2353 additions and 0 deletions
+346
View File
@@ -0,0 +1,346 @@
:root {
--bg: #0b1120;
--surface: #131b2e;
--surface-2: #1a2438;
--border: #26324a;
--text: #e6edf5;
--text-muted: #8b96a8;
--accent: #22d3aa;
--accent-dim: #16826a;
--warn: #f5a623;
--danger: #ef4444;
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
--font-body: "Inter", system-ui, sans-serif;
--radius: 8px;
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
-webkit-font-smoothing: antialiased;
}
button, input, select {
font-family: inherit;
}
a { color: var(--accent); text-decoration: none; }
.shell {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 24px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.brand {
font-family: var(--font-mono);
font-weight: 600;
letter-spacing: 0.02em;
font-size: 15px;
display: flex;
align-items: center;
gap: 8px;
}
.brand .prompt { color: var(--accent); }
.topbar-right {
display: flex;
align-items: center;
gap: 16px;
font-size: 14px;
color: var(--text-muted);
}
.container {
max-width: 1040px;
margin: 0 auto;
padding: 32px 24px 80px;
width: 100%;
}
.page-title {
font-family: var(--font-mono);
font-size: 22px;
margin: 0 0 6px;
}
.page-sub {
color: var(--text-muted);
margin: 0 0 28px;
font-size: 14px;
}
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 16px;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text);
cursor: pointer;
font-size: 14px;
transition: border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { border-color: var(--accent-dim); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
background: var(--accent);
border-color: var(--accent);
color: #06231c;
font-weight: 600;
}
.btn-primary:hover { background: #2ee6bb; }
.btn-danger {
border-color: #5c2626;
color: #ff8a8a;
}
.btn-danger:hover { border-color: var(--danger); }
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 16px;
}
.field label {
font-size: 13px;
color: var(--text-muted);
}
.field input, .field select {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 10px 12px;
color: var(--text);
font-size: 14px;
}
.field input:focus, .field select:focus {
outline: none;
border-color: var(--accent-dim);
}
.error-box {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.4);
color: #ff9d9d;
padding: 10px 14px;
border-radius: var(--radius);
font-size: 13px;
margin-bottom: 16px;
}
.auth-wrap {
max-width: 380px;
margin: 90px auto;
}
.instance-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
}
.instance-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 18px;
display: flex;
flex-direction: column;
gap: 10px;
}
.status-row {
display: flex;
align-items: center;
gap: 8px;
font-family: var(--font-mono);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-muted);
flex-shrink: 0;
}
.dot.running { background: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 170, 0.2); }
.dot.stopped { background: var(--text-muted); }
.dot.creating { background: var(--warn); animation: pulse 1.4s infinite; }
.dot.error { background: var(--danger); }
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
.instance-name {
font-size: 16px;
font-weight: 600;
}
.instance-meta {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-muted);
}
.instance-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 4px;
}
.btn-sm {
padding: 6px 10px;
font-size: 12px;
}
.empty-state {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
}
.nav-tabs {
display: flex;
gap: 4px;
margin-bottom: 24px;
border-bottom: 1px solid var(--border);
}
.nav-tab {
padding: 10px 16px;
font-size: 14px;
color: var(--text-muted);
cursor: pointer;
border-bottom: 2px solid transparent;
}
.nav-tab.active {
color: var(--text);
border-color: var(--accent);
}
table.data-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
table.data-table th, table.data-table td {
text-align: left;
padding: 10px 12px;
border-bottom: 1px solid var(--border);
}
table.data-table th {
color: var(--text-muted);
font-weight: 500;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.console-frame {
background: #000;
border-radius: 8px;
overflow: hidden;
border: 1px solid var(--border);
}
.badge {
font-family: var(--font-mono);
font-size: 11px;
padding: 2px 8px;
border-radius: 100px;
border: 1px solid var(--border);
color: var(--text-muted);
}
/* === Компактный размер карточек VPS === */
.instance-grid {
grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
gap: 16px;
justify-content: start;
}
.instance-card {
max-width: 340px;
padding: 14px 16px;
}
.instance-name {
font-size: 16px;
}
.instance-meta {
font-size: 12px;
}
.instance-actions .btn {
padding: 5px 10px;
font-size: 12px;
}
/* === Карточки VPS на всю ширину === */
.instance-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.instance-card {
max-width: none;
width: 100%;
}
/* === Сетка карточек: несколько в ряд === */
.instance-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 20px;
}
.instance-card {
max-width: none;
width: auto;
}
/* === Более светлый фон страницы === */
body {
background: #2b3448 !important;
}
.container,
.page-title,
.page-sub {
color: #f0f2f7;
}
.instance-card,
.card {
background: #39435c !important;
border: 1px solid #4d5878 !important;
}
.instance-meta {
color: #c3cadb;
}