admin page

This commit is contained in:
2026-06-05 22:33:02 +03:00
parent fd66ca9c9b
commit f4af2fd137
17 changed files with 508 additions and 43 deletions

View File

@@ -0,0 +1,145 @@
.section {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 20px;
padding: 24px;
}
.sectionTitle {
font-size: 14px;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--text-secondary, rgba(255, 255, 255, 0.5));
font-weight: 600;
margin: 0 0 18px;
}
.uploadForm {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
margin-bottom: 16px;
}
.input {
flex: 1;
min-width: 200px;
background: var(--glass-bg, rgba(255, 255, 255, 0.06));
border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
border-radius: 10px;
color: var(--text-primary, #fff);
font-size: 14px;
padding: 11px 14px;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
border-color: var(--interactive, #4a6dff);
box-shadow: 0 0 0 3px rgba(74, 109, 255, 0.15);
}
.fileInput {
flex: 1;
min-width: 200px;
font-size: 13px;
color: var(--text-secondary, rgba(255, 255, 255, 0.6));
}
.fileInput::file-selector-button {
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
border-radius: 8px;
color: var(--text-primary, #fff);
padding: 8px 14px;
margin-right: 12px;
cursor: pointer;
transition: background 0.2s;
}
.fileInput::file-selector-button:hover {
background: rgba(255, 255, 255, 0.14);
}
.uploadBtn {
background: var(--interactive, #4a6dff);
border: none;
border-radius: 10px;
color: #fff;
font-size: 14px;
font-weight: 600;
padding: 11px 20px;
cursor: pointer;
transition: opacity 0.2s;
white-space: nowrap;
}
.uploadBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.table {
width: 100%;
border-collapse: collapse;
}
.table th {
text-align: left;
font-size: 12px;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--text-secondary);
font-weight: 500;
padding: 0 16px 14px;
white-space: nowrap;
}
.table td {
padding: 14px 16px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
vertical-align: middle;
font-size: 14px;
color: var(--text-primary);
}
.mono {
font-family: var(--font-mono, monospace);
font-size: 13px;
}
.downloadBtn {
background: rgba(74, 109, 255, 0.12);
border: 1px solid rgba(74, 109, 255, 0.3);
border-radius: 8px;
color: #7c95ff;
font-size: 13px;
font-weight: 600;
padding: 7px 14px;
cursor: pointer;
transition: background 0.2s;
white-space: nowrap;
}
.downloadBtn:hover:not(:disabled) {
background: rgba(74, 109, 255, 0.22);
}
.downloadBtn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.state {
padding: 32px 16px;
text-align: center;
color: var(--text-secondary, rgba(255, 255, 255, 0.6));
font-size: 14px;
}
.error {
color: #ff5a5a;
font-size: 13px;
margin: 0 0 12px;
}