/
Sturon
/
Diplom
Обзор
Документация
Войти
/
Sturon
/
Diplom
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
analyzer/app/static/styles.css
264 строки
3 KB
Sturon
Initial
03 июн 2026, 15:01
03 июн 2026, 15:01
17b44a2
Код
Авторство
О чём код?
:root { color-scheme: light; font-family: Inter, Segoe UI, Arial, sans-serif; background: #f3f5f8; color: #17202c; } * { box-sizing: border-box; } body { margin: 0; } .app { min-height: 100vh; } .topbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.6fr) minmax(260px, 1fr); gap: 18px; align-items: end; padding: 18px 22px; background: #ffffff; border-bottom: 1px solid #d9e0ea; } .brand { display: flex; align-items: center; gap: 12px; } .brand-mark { width: 36px; height: 36px; border-radius: 8px; background: #206a5d; } h1, h2, p { margin: 0; } h1 { font-size: 24px; line-height: 1.1; } h2 { font-size: 18px; } .brand p, .muted, .label { color: #667387; } .settings-form, .camera-form { display: grid; gap: 10px; } .settings-form { grid-template-columns: 1fr 1fr auto; align-items: end; } label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #4f5f72; } input { width: 100%; height: 38px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 11px; font: inherit; background: #ffffff; } button { height: 38px; border: 0; border-radius: 8px; padding: 0 14px; font: inherit; font-weight: 700; color: #ffffff; background: #206a5d; cursor: pointer; } button:hover { background: #18564b; } .status-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d9e0ea; border-bottom: 1px solid #d9e0ea; } .status-strip > div { min-height: 72px; display: grid; align-content: center; gap: 5px; padding: 12px 22px; background: #ffffff; } .label { font-size: 12px; text-transform: uppercase; font-weight: 800; } .active { color: #0f7b46; } .waiting { color: #8a5b00; } .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; padding: 18px 22px; } .image-panel, .result-panel { background: #ffffff; border: 1px solid #d9e0ea; border-radius: 8px; } .panel-header { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #e3e8ef; } .image-stage { position: relative; min-height: calc(100vh - 210px); display: grid; place-items: center; background: #111827; overflow: hidden; } .image-stage img { display: none; width: 100%; height: 100%; max-height: calc(100vh - 210px); object-fit: contain; } .empty { color: #cbd5e1; font-weight: 700; } .result-panel { padding: 16px; } .verdict { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 8px; font-size: 18px; font-weight: 900; background: #edf2f7; color: #4a5568; } .verdict.ok { background: #dcfce7; color: #166534; } .verdict.bad { background: #fee2e2; color: #991b1b; } dl { display: grid; gap: 10px; margin: 18px 0; } dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e3e8ef; } dt { color: #667387; } dd { margin: 0; font-weight: 800; } .summary { line-height: 1.45; color: #344256; } .defects { display: grid; gap: 8px; margin-top: 14px; } .defect { border: 1px solid #e3e8ef; border-radius: 8px; padding: 10px; background: #f8fafc; } .defect strong { display: block; margin-bottom: 4px; } @media (max-width: 980px) { .topbar, .settings-form, .status-strip, .workspace { grid-template-columns: 1fr; } }