Release 1.1.0: QR-Reportimport, Regal-Auswahlmodal, Einlagern/Auslagern-Verknuepfungen aus Reifenlager, Stabilitaetsfixes

This commit is contained in:
spaethf committed 2026-09-26 23:24:14 +02:00
1 parent cba9414e92
commit 3404fb9875
25 files changed
+5106 -744

No files matched your search

@@ -212,6 +212,18 @@
}
}
/* Step 3 (Lagerplatz/Regalansicht): volle Breite nutzen */
.checkin-card.wide {
max-width: none;
width: 100%;
}
@media (min-width: 1024px) {
.checkin-card.wide {
padding: 2rem 2.5rem;
}
}
.checkin-card h2 {
font-family: 'Rajdhani', sans-serif;
font-size: clamp(1.25rem, 4vw, 1.75rem);
@@ -1192,38 +1204,90 @@ select.form-control {
/* ========================================
Area Filter - Responsive
======================================== */
.location-filter-row {
display: flex;
gap: 6px;
flex-wrap: wrap;
align-items: center;
margin-bottom: 0.6rem;
}
.location-filter-row .row-filter {
margin-bottom: 0;
flex: 1;
min-width: 120px;
}
.location-filter-row .row-filter .form-control {
min-height: 36px;
padding: 6px 10px;
font-size: 0.85rem;
}
/* Collapsed bar after a location was selected */
.location-collapsed-bar {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 10px 14px;
background: rgba(34, 197, 94, 0.1);
border: 0.5px solid rgba(34, 197, 94, 0.35);
border-radius: 10px;
margin-bottom: 0.75rem;
cursor: pointer;
transition: all 0.2s ease;
text-align: left;
}
.location-collapsed-bar:hover {
background: rgba(34, 197, 94, 0.16);
border-color: rgba(34, 197, 94, 0.5);
}
.location-collapsed-bar .collapsed-icon {
font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
font-size: 1.1rem;
}
.location-collapsed-bar .collapsed-code {
font-family: 'Orbitron', monospace;
font-size: 1rem;
font-weight: 700;
color: #22c55e;
}
.location-collapsed-bar .collapsed-hint {
margin-left: auto;
font-family: 'Rajdhani', sans-serif;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.5);
white-space: nowrap;
}
.area-filter {
display: flex;
gap: 6px;
margin-bottom: 0.75rem;
flex-wrap: wrap;
}
@media (min-width: 480px) {
.area-filter {
gap: 8px;
margin-bottom: 1rem;
}
}
.filter-btn {
padding: 10px 12px;
padding: 6px 10px;
background: rgba(28, 28, 30, 0.8);
border: 0.5px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: rgba(255, 255, 255, 0.6);
font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif;
font-size: 0.85rem;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s ease;
min-height: 44px;
min-height: 36px;
}
@media (min-width: 480px) {
.filter-btn {
padding: 10px 14px;
border-radius: 10px;
font-size: 0.9rem;
padding: 6px 12px;
font-size: 0.85rem;
}
}
@@ -1266,51 +1330,51 @@ select.form-control {
Area Section - Responsive
======================================== */
.area-section {
margin-bottom: 1.25rem;
margin-bottom: 0.75rem;
}
@media (min-width: 480px) {
.area-section {
margin-bottom: 1.5rem;
margin-bottom: 1rem;
}
}
.area-title {
font-family: 'Rajdhani', sans-serif;
font-size: 1rem;
font-size: 0.9rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.8);
margin: 0 0 0.5rem 0;
margin: 0 0 0.4rem 0;
}
@media (min-width: 480px) {
.area-title {
font-size: 1.1rem;
margin: 0 0 0.75rem 0;
font-size: 0.95rem;
margin: 0 0 0.5rem 0;
}
}
.row-section {
margin-bottom: 0.75rem;
margin-bottom: 0.5rem;
}
@media (min-width: 480px) {
.row-section {
margin-bottom: 1rem;
margin-bottom: 0.6rem;
}
}
.row-label {
font-family: 'Rajdhani', sans-serif;
font-size: 0.8rem;
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.5);
display: block;
margin-bottom: 0.5rem;
margin-bottom: 0.3rem;
}
@media (min-width: 480px) {
.row-label {
font-size: 0.85rem;
font-size: 0.8rem;
}
}
@@ -1319,50 +1383,49 @@ select.form-control {
======================================== */
.location-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
grid-template-columns: repeat(4, 1fr);
gap: 5px;
}
@media (min-width: 400px) {
.location-grid {
grid-template-columns: repeat(4, 1fr);
gap: 8px;
grid-template-columns: repeat(5, 1fr);
gap: 6px;
}
}
@media (min-width: 768px) {
.location-grid {
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
}
}
@media (min-width: 1024px) {
.location-grid {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 12px;
grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
gap: 8px;
}
}
.location-tile {
aspect-ratio: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
gap: 1px;
background: rgba(0, 0, 0, 0.3);
border: 0.5px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
min-height: 60px;
min-height: 44px;
padding: 4px 2px;
}
@media (min-width: 480px) {
.location-tile {
gap: 4px;
border-radius: 10px;
min-height: 70px;
gap: 2px;
min-height: 48px;
}
}
@@ -1429,6 +1492,110 @@ select.form-control {
}
}
/* ========================================
Checkin Summary (before saving)
======================================== */
.checkin-summary {
position: relative;
background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(28, 28, 30, 0.6));
border: 0.5px solid rgba(34, 197, 94, 0.35);
border-radius: 14px;
padding: 14px 16px;
margin-bottom: 1rem;
animation: summary-fade-in 0.25s ease;
}
@keyframes summary-fade-in {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.summary-title {
font-family: 'Rajdhani', sans-serif;
font-size: 0.95rem;
font-weight: 600;
color: #ffffff;
margin: 0 0 10px 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.summary-grid {
display: grid;
grid-template-columns: 1fr;
gap: 6px 16px;
}
@media (min-width: 480px) {
.summary-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 768px) {
.summary-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.summary-item {
display: flex;
flex-direction: column;
gap: 2px;
padding: 6px 10px;
background: rgba(0, 0, 0, 0.25);
border-radius: 8px;
min-width: 0;
}
.summary-item.highlight {
background: rgba(34, 197, 94, 0.12);
border: 0.5px solid rgba(34, 197, 94, 0.4);
}
.summary-label {
font-family: 'Rajdhani', sans-serif;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.45);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.summary-value {
font-family: 'Rajdhani', sans-serif;
font-size: 0.9rem;
font-weight: 600;
color: #ffffff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.summary-value.location {
white-space: normal;
}
.summary-clear {
position: absolute;
top: 10px;
right: 10px;
}
/* Field hint (e.g. tire size taken from vehicle) */
.field-hint {
display: inline-block;
margin-top: 4px;
font-family: 'Rajdhani', sans-serif;
font-size: 0.75rem;
color: #22c55e;
}
.location-icon {
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
font-size: 1.25rem;
@@ -2237,3 +2404,390 @@ select.form-control {
max-height: 75vh;
}
}
/* ========================================
QR Report Scan (Step 2)
======================================== */
.report-scan-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
background: rgba(255, 255, 255, 0.04);
border: 0.5px dashed rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 12px 16px;
margin-bottom: 1.25rem;
}
.report-scan-text {
display: flex;
align-items: center;
gap: 10px;
font-family: 'Rajdhani', sans-serif;
font-size: 0.95rem;
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.3rem;
line-height: 1;
}
.report-scan-bar .btn {
display: inline-flex;
align-items: center;
gap: 8px;
}
.report-attached {
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
}
.report-attached-head {
display: flex;
align-items: center;
gap: 10px;
font-family: 'Rajdhani', sans-serif;
color: #ffffff;
}
.report-attached-head .btn-link {
margin-left: auto;
}
.report-summary {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.report-chip {
font-family: 'Rajdhani', sans-serif;
font-size: 0.85rem;
font-weight: 600;
padding: 3px 10px;
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 modal */
.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-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;
}
.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-choice h4 {
font-family: 'Rajdhani', sans-serif;
font-size: 1rem;
font-weight: 700;
color: #ffffff;
margin: 0 0 10px;
}
.report-choice-buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.choice-btn {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
text-align: left;
padding: 12px 14px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.12);
color: #ffffff;
cursor: pointer;
transition: border-color 0.15s, background 0.15s;
}
.choice-btn:hover:not(:disabled) {
border-color: rgba(255, 255, 255, 0.3);
}
.choice-btn.active {
border-color: #dc2626;
background: rgba(220, 38, 38, 0.12);
}
.choice-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.choice-icon {
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
font-size: 1.3rem;
}
.choice-title {
font-family: 'Rajdhani', sans-serif;
font-weight: 700;
font-size: 1rem;
}
.choice-sub {
font-family: 'Rajdhani', sans-serif;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.55);
}
.stack-pick-list {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 10px;
max-height: 220px;
overflow-y: auto;
}
.stack-pick-item {
display: flex;
flex-direction: column;
gap: 2px;
text-align: left;
padding: 10px 12px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
cursor: pointer;
}
.stack-pick-item:hover {
border-color: rgba(255, 255, 255, 0.3);
}
.stack-pick-item.selected {
border-color: #dc2626;
background: rgba(220, 38, 38, 0.12);
}
.stack-pick-main {
display: flex;
flex-wrap: wrap;
gap: 10px;
font-family: 'Rajdhani', sans-serif;
font-weight: 600;
}
.stack-pick-sub {
font-family: 'Rajdhani', sans-serif;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.55);
}
.report-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 0.9rem 1.25rem;
border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}
.report-footer.center {
justify-content: center;
border-top: none;
}
.report-footer .btn {
display: inline-flex;
align-items: center;
gap: 8px;
}
.report-success {
max-width: 420px;
text-align: center;
padding: 1.5rem 1.25rem 0.5rem;
}
.report-success h3 {
font-family: 'Rajdhani', sans-serif;
font-size: 1.3rem;
font-weight: 700;
color: #ffffff;
margin: 0.5rem 0 0.25rem;
}
.report-success p {
font-family: 'Rajdhani', sans-serif;
color: rgba(255, 255, 255, 0.7);
}
.mono {
font-family: 'Orbitron', monospace;
letter-spacing: 0.03em;
}
@media (max-width: 480px) {
.report-meta,
.tread-grid,
.report-choice-buttons {
grid-template-columns: 1fr;
}
}