Reifenwechsel: QR-Report-Integration fuer eingelagerten Satz

This commit is contained in:
spaethf committed 2026-09-26 23:33:43 +02:00
1 parent 3404fb9875
commit 766703524a
2 files changed
+540 -1

No files matched your search

@@ -1102,4 +1102,276 @@
}
}
/* ========================================
QR Report (swap flow)
======================================== */
.report-scan-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
background: rgba(255, 255, 255, 0.04);
border: 0.5px dashed rgba(255, 255, 255, 0.2);
border-radius: 10px;
padding: 8px 12px;
margin-bottom: 0.75rem;
}
.report-scan-text {
display: flex;
align-items: center;
gap: 8px;
font-family: 'Rajdhani', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.75);
}
.report-scan-icon {
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
font-size: 1.15rem;
line-height: 1;
}
.report-scan-bar .btn {
display: inline-flex;
align-items: center;
gap: 6px;
}
.report-attached {
width: 100%;
display: flex;
flex-direction: column;
gap: 6px;
}
.report-attached-head {
display: flex;
align-items: center;
gap: 8px;
font-family: 'Rajdhani', sans-serif;
font-size: 0.9rem;
color: #ffffff;
}
.btn-link {
background: none;
border: none;
padding: 0;
color: #60a5fa;
font-family: 'Rajdhani', sans-serif;
font-size: 0.85rem;
cursor: pointer;
margin-left: auto;
}
.btn-link:hover {
text-decoration: underline;
}
.report-summary {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.report-chip {
font-family: 'Rajdhani', sans-serif;
font-size: 0.8rem;
font-weight: 600;
padding: 2px 9px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.85);
border: 0.5px solid rgba(255, 255, 255, 0.12);
}
.report-chip.rating-ok { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
.report-chip.rating-warn { background: rgba(250, 204, 21, 0.15); border-color: rgba(250, 204, 21, 0.4); color: #fde047; }
.report-chip.rating-crit { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.report-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
z-index: 1150;
}
.report-dialog {
background: #1c1c1e;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 16px;
width: 100%;
max-width: 640px;
max-height: 92vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.report-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
padding: 1rem 1.25rem;
border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}
.report-header h3 {
margin: 0;
font-family: 'Rajdhani', sans-serif;
font-size: 1.2rem;
font-weight: 700;
color: #ffffff;
}
.report-subtitle {
margin: 0.2rem 0 0;
font-family: 'Rajdhani', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.55);
}
.report-close {
background: none;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 1.1rem;
cursor: pointer;
padding: 4px 8px;
border-radius: 6px;
}
.report-close:hover {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.report-body {
padding: 1rem 1.25rem;
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
gap: 1rem;
}
.report-warning {
background: rgba(250, 204, 21, 0.1);
border: 0.5px solid rgba(250, 204, 21, 0.35);
color: #fde047;
border-radius: 10px;
padding: 10px 14px;
font-family: 'Rajdhani', sans-serif;
font-size: 0.9rem;
}
.report-warning.info {
background: rgba(96, 165, 250, 0.1);
border-color: rgba(96, 165, 250, 0.3);
color: rgba(255, 255, 255, 0.85);
}
.report-meta {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.report-meta .form-group {
margin: 0;
}
.tread-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.tread-cell {
border-radius: 12px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.12);
}
.tread-cell.rating-ok { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.08); }
.tread-cell.rating-warn { border-color: rgba(250, 204, 21, 0.5); background: rgba(250, 204, 21, 0.08); }
.tread-cell.rating-crit { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.08); }
.tread-cell label {
display: block;
font-family: 'Rajdhani', sans-serif;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: rgba(255, 255, 255, 0.55);
margin-bottom: 6px;
}
.tread-input {
display: flex;
align-items: center;
gap: 6px;
}
.tread-input .form-control {
max-width: 110px;
font-family: 'Orbitron', monospace;
font-weight: 600;
background: rgba(255, 255, 255, 0.06);
border: 0.5px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
color: #ffffff;
padding: 6px 10px;
}
.tread-input span {
font-family: 'Rajdhani', sans-serif;
color: rgba(255, 255, 255, 0.6);
}
.report-recommendation {
font-family: 'Rajdhani', sans-serif;
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.85);
background: rgba(96, 165, 250, 0.1);
border: 0.5px solid rgba(96, 165, 250, 0.25);
border-radius: 10px;
padding: 10px 14px;
}
.report-link {
font-family: 'Rajdhani', sans-serif;
font-size: 0.85rem;
color: #60a5fa;
align-self: flex-start;
}
.report-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 0.85rem 1.25rem;
border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}
.success-detail.warn {
color: #fde047;
}
@media (max-width: 479px) {
.report-meta,
.tread-grid {
grid-template-columns: 1fr;
}
}
/* Reduced motion: inherited from app.css (section 17) */