bump project

This commit is contained in:
2026-05-01 21:24:21 +03:30
parent dc4b1a1400
commit 139b3e26da
83 changed files with 2455 additions and 18349 deletions

286
app/static/css/app.css Normal file
View File

@@ -0,0 +1,286 @@
:root {
--surface: #ffffff;
--surface-muted: #f6f7f9;
--border: #d8dee6;
--text: #172033;
--muted: #657084;
--accent: #0f6b5f;
--accent-strong: #0b5a50;
--info: #275f9f;
--warning: #a35f00;
}
body {
min-height: 100vh;
background: var(--surface-muted);
color: var(--text);
}
a {
color: var(--info);
}
.btn-primary {
--bs-btn-bg: var(--accent);
--bs-btn-border-color: var(--accent);
--bs-btn-hover-bg: var(--accent-strong);
--bs-btn-hover-border-color: var(--accent-strong);
}
.page-shell {
padding: 2rem 0 3rem;
}
.flash-stack {
margin-bottom: 1.25rem;
}
.page-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.5rem;
}
.page-header h1 {
margin: 0;
font-size: clamp(1.75rem, 2vw, 2.35rem);
}
.eyebrow {
margin: 0 0 0.35rem;
color: var(--muted);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.auth-layout {
min-height: calc(100vh - 4rem);
display: grid;
place-items: center;
}
.auth-panel,
.form-section,
.content-section,
.camera-panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: 0 16px 40px rgba(23, 32, 51, 0.06);
}
.auth-panel {
width: min(100%, 440px);
padding: 2rem;
}
.form-section,
.content-section,
.camera-panel {
padding: 1.25rem;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
}
.section-header h2,
.content-section h2 {
font-size: 1.15rem;
margin: 0 0 1rem;
}
.section-header h2 {
margin: 0;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.stat-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1.1rem;
}
.stat-card span {
display: block;
color: var(--muted);
font-size: 0.9rem;
}
.stat-card strong {
display: block;
margin-top: 0.35rem;
font-size: 2rem;
line-height: 1;
}
.empty-state {
border: 1px dashed var(--border);
border-radius: 8px;
color: var(--muted);
padding: 1.25rem;
text-align: center;
}
.form-actions {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
}
.form-help {
color: var(--muted);
font-size: 0.9rem;
margin: 0.85rem 0 0;
}
.upload-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
margin-top: 0.5rem;
}
.detail-grid,
.kiosk-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
gap: 1.25rem;
}
.detail-list {
display: grid;
grid-template-columns: 140px 1fr;
gap: 0.65rem 1rem;
margin: 0;
}
.detail-list dt {
color: var(--muted);
font-weight: 600;
}
.detail-list dd {
margin: 0;
}
.event-list,
.result-list {
display: grid;
gap: 0.75rem;
}
.event-row,
.result-card {
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.85rem;
}
.event-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.camera-frame {
position: relative;
overflow: hidden;
aspect-ratio: 16 / 10;
background: #111827;
border-radius: 8px;
}
.camera-frame video,
.camera-frame img,
.camera-frame canvas {
width: 100%;
height: 100%;
object-fit: cover;
}
.camera-frame img,
.camera-frame canvas {
display: none;
}
.camera-frame.has-preview video {
display: none;
}
.camera-frame.has-preview img {
display: block;
}
.camera-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1rem 0;
}
.result-card h3 {
font-size: 1rem;
margin: 0 0 0.35rem;
}
.result-card p {
color: var(--muted);
margin-bottom: 0.75rem;
}
.result-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.error-page {
max-width: 620px;
margin: 10vh auto;
text-align: center;
}
@media (max-width: 992px) {
.stats-grid,
.upload-grid,
.detail-grid,
.kiosk-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 720px) {
.page-header,
.section-header {
align-items: flex-start;
flex-direction: column;
}
.stats-grid,
.upload-grid,
.detail-grid,
.kiosk-grid {
grid-template-columns: 1fr;
}
.detail-list {
grid-template-columns: 1fr;
}
}