Release 1.1.0: QR-Reportimport, Regal-Auswahlmodal, Einlagern/Auslagern-Verknuepfungen aus Reifenlager, Stabilitaetsfixes
This commit is contained in:
1 parent
cba9414e92
commit
3404fb9875
25 files changed
+5106
-744
No files matched your search
@@ -34,12 +34,12 @@
|
||||
Page Header - Responsive
|
||||
======================================== */
|
||||
.page-header {
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.page-header {
|
||||
margin-bottom: 1.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,193 +85,145 @@
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Statistics Grid - Responsive
|
||||
Compact Toolbar (Stats + Filter combined)
|
||||
======================================== */
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.stats-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 10px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.stats-grid {
|
||||
gap: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.stats-grid {
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
background: rgba(28, 28, 30, 0.8);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
.toolbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.6rem 0.75rem;
|
||||
background: rgba(28, 28, 30, 0.92);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border-radius: 12px;
|
||||
padding: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.stat-card {
|
||||
padding: 14px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.stat-card {
|
||||
padding: 20px;
|
||||
}
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.stat-card {
|
||||
padding: 24px;
|
||||
border-radius: 16px;
|
||||
.toolbar {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
display: block;
|
||||
font-family: 'Orbitron', monospace;
|
||||
font-size: clamp(1.25rem, 4vw, 2.25rem);
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.stat-value.summer {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
.stat-value.winter {
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: clamp(0.65rem, 2vw, 0.85rem);
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Type Filter - Responsive
|
||||
======================================== */
|
||||
.type-filter {
|
||||
/* Stat chips - clickable, act as filters */
|
||||
.stat-chips {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-bottom: 0.75rem;
|
||||
background: rgba(28, 28, 30, 0.6);
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.type-filter {
|
||||
gap: 8px;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.type-btn {
|
||||
flex: 1;
|
||||
padding: 8px 10px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.type-btn {
|
||||
padding: 10px 14px;
|
||||
font-size: 0.85rem;
|
||||
border-radius: 8px;
|
||||
min-height: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
.type-btn:hover {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.type-btn.active {
|
||||
background: rgba(220, 38, 38, 0.15);
|
||||
border: 1px solid rgba(220, 38, 38, 0.3);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Filter Bar - Responsive
|
||||
======================================== */
|
||||
.filter-bar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-bottom: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.filter-bar {
|
||||
gap: 10px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.stat-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.75rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.filter-bar {
|
||||
gap: 14px;
|
||||
}
|
||||
.stat-chip.static {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.stat-chip:not(.static):hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.stat-chip .chip-value {
|
||||
font-family: 'Orbitron', monospace;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.stat-chip .chip-value.free {
|
||||
color: #22c55e;
|
||||
}
|
||||
|
||||
.stat-chip.active {
|
||||
background: rgba(220, 38, 38, 0.15);
|
||||
border-color: rgba(220, 38, 38, 0.4);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.stat-chip.customer.active {
|
||||
background: rgba(96, 165, 250, 0.15);
|
||||
border-color: rgba(96, 165, 250, 0.4);
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
.stat-chip.inventory.active {
|
||||
background: rgba(251, 191, 36, 0.15);
|
||||
border-color: rgba(251, 191, 36, 0.4);
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
/* Toolbar controls: search + season + category + view toggle */
|
||||
.toolbar-controls {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.toolbar-controls .search-box {
|
||||
flex: 1;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.toolbar-controls .clear-filters {
|
||||
padding: 6px 10px;
|
||||
font-size: 0.75rem;
|
||||
min-height: 34px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border: 0.5px solid rgba(239, 68, 68, 0.3);
|
||||
border-radius: 8px;
|
||||
color: #f87171;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.toolbar-controls .clear-filters:hover {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
border-color: rgba(239, 68, 68, 0.5);
|
||||
}
|
||||
|
||||
.search-input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
background: rgba(28, 28, 30, 0.8);
|
||||
padding: 7px 12px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 10px;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 16px; /* Prevents iOS zoom */
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.search-input {
|
||||
min-width: 200px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.search-input {
|
||||
max-width: 400px;
|
||||
padding: 14px 18px;
|
||||
font-size: 1rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -288,18 +240,14 @@
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (max-width: 479.98px) {
|
||||
.filter-buttons {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
padding: 10px 12px;
|
||||
background: rgba(28, 28, 30, 0.8);
|
||||
padding: 5px 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
@@ -307,15 +255,7 @@
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.filter-btn {
|
||||
padding: 10px 14px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.filter-btn:hover {
|
||||
@@ -877,41 +817,27 @@
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Category Filter - Responsive
|
||||
Category Select (in Toolbar)
|
||||
======================================== */
|
||||
.category-filter {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.category-filter {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.category-filter .form-control {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
background: rgba(28, 28, 30, 0.8);
|
||||
.category-select {
|
||||
width: auto;
|
||||
min-width: 140px;
|
||||
padding: 6px 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 10px;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 16px; /* Prevents iOS zoom */
|
||||
font-size: 0.8rem;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.category-filter .form-control {
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.category-filter .form-control:focus {
|
||||
.category-select:focus {
|
||||
outline: none;
|
||||
border-color: rgba(220, 38, 38, 0.5);
|
||||
}
|
||||
|
||||
.category-filter .form-control option {
|
||||
.category-select option {
|
||||
background: #1c1c1e;
|
||||
color: #ffffff;
|
||||
}
|
||||
@@ -921,26 +847,26 @@
|
||||
======================================== */
|
||||
.view-toggle {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-bottom: 0.75rem;
|
||||
background: rgba(28, 28, 30, 0.6);
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
gap: 4px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
padding: 3px;
|
||||
border-radius: 8px;
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.view-btn {
|
||||
flex: 1;
|
||||
padding: 8px 10px;
|
||||
padding: 5px 10px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
min-height: 40px;
|
||||
min-height: 28px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.view-btn:hover {
|
||||
@@ -1194,4 +1120,416 @@
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Card two-row layout
|
||||
======================================== */
|
||||
.card-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.card-row-primary {
|
||||
justify-content: space-between;
|
||||
padding: 12px 14px 6px;
|
||||
}
|
||||
|
||||
.card-row-secondary {
|
||||
padding: 0 14px 12px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.card-row-primary {
|
||||
padding: 16px 24px 8px;
|
||||
}
|
||||
|
||||
.card-row-secondary {
|
||||
padding: 0 24px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-identity {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.card-row .customer-name {
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.card-row .customer-name {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.vehicle-badge {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 6px;
|
||||
padding: 2px 8px;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 40vw;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.vehicle-badge {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.card-location {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.location-indicator {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 0.8rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.location-indicator {
|
||||
font-size: 0.95rem;
|
||||
gap: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.loc-area {
|
||||
padding: 2px 8px;
|
||||
border-radius: 6px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.loc-area.werkstatt {
|
||||
background: rgba(155, 89, 182, 0.2);
|
||||
color: #c084fc;
|
||||
}
|
||||
|
||||
.loc-area.lager {
|
||||
background: rgba(52, 152, 219, 0.2);
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
.loc-part {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
padding: 2px 6px;
|
||||
border-radius: 6px;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.card-row-secondary .season-indicator {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
font-size: 0.9rem;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.tireset-card.selected {
|
||||
border-color: #60a5fa;
|
||||
box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.4);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Selected stack details panel
|
||||
======================================== */
|
||||
.stack-details-panel {
|
||||
background: rgba(28, 28, 30, 0.95);
|
||||
border: 1px solid rgba(96, 165, 250, 0.4);
|
||||
border-radius: 12px;
|
||||
padding: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.stack-details-panel {
|
||||
padding: 1.25rem 1.5rem;
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.stack-details-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.stack-details-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stack-details-title h2 {
|
||||
margin: 0;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.stack-details-title h2 {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.stack-details-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.detail-columns {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.detail-list {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 10px;
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.detail-list-title {
|
||||
margin: 0 0 0.5rem;
|
||||
padding-bottom: 0.4rem;
|
||||
border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
.detail-rows {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.detail-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(110px, 38%) 1fr;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
padding: 0.4rem 0;
|
||||
border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.detail-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.detail-row dt {
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.detail-row dd {
|
||||
margin: 0;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.detail-row dd.mono {
|
||||
font-family: 'Orbitron', monospace;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.04em;
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
.detail-row .muted {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Edit modal
|
||||
======================================== */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
background: #1c1c1e;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 16px;
|
||||
width: 100%;
|
||||
max-width: 560px;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 1.25rem;
|
||||
border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.modal-header h2 {
|
||||
margin: 0;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.modal-close:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 1rem 1.25rem;
|
||||
}
|
||||
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 479px) {
|
||||
.form-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.form-group-wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.form-group .form-control {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
border: 0.5px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
padding: 8px 10px;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.form-group .form-control:focus {
|
||||
outline: none;
|
||||
border-color: #60a5fa;
|
||||
}
|
||||
|
||||
.edit-error {
|
||||
color: #f87171;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
margin: 0.75rem 0 0;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
border-top: 0.5px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
Tread depth measurement (detail list)
|
||||
======================================== */
|
||||
.tread-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.tread-chip {
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
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);
|
||||
}
|
||||
|
||||
.tread-chip.rating-ok { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
|
||||
.tread-chip.rating-warn { background: rgba(250, 204, 21, 0.15); border-color: rgba(250, 204, 21, 0.4); color: #fde047; }
|
||||
.tread-chip.rating-crit { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
|
||||
|
||||
.report-link {
|
||||
display: inline-block;
|
||||
margin-top: 2px;
|
||||
font-family: 'Rajdhani', sans-serif;
|
||||
font-size: 0.8rem;
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
/* Reduced motion: inherited from app.css (section 17) */
|
||||
Reference in new issue
Block a user