1473 lines
31 KiB
CSS
1473 lines
31 KiB
CSS
/* ========================================
|
|
Storage Locations Page - Responsive Web Optimized
|
|
Uses global CSS variables from app.css
|
|
======================================== */
|
|
|
|
.locations-page {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
background: var(--color-bg-gradient);
|
|
padding: 0.75rem;
|
|
padding-bottom: calc(1rem + var(--safe-area-bottom));
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.locations-page {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.locations-page {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.locations-page {
|
|
padding: 2rem;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
/* Access-denied: inherited from app.css (section 19) */
|
|
|
|
/* ========================================
|
|
Page Header - Responsive
|
|
======================================== */
|
|
.page-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.page-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.header-left {
|
|
flex-direction: row;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-family: var(--font-family-heading);
|
|
font-size: clamp(1.25rem, 4vw, 1.75rem);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--text-primary);
|
|
margin: 0;
|
|
}
|
|
|
|
.location-count {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.header-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.header-actions .btn {
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
View Toggle
|
|
======================================== */
|
|
.view-toggle {
|
|
display: flex;
|
|
background: var(--surface-elevated);
|
|
border-radius: var(--radius-sm);
|
|
padding: 3px;
|
|
border: 0.5px solid var(--border-default);
|
|
}
|
|
|
|
.view-btn {
|
|
padding: 8px 12px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
font-size: 1rem;
|
|
min-width: 40px;
|
|
min-height: var(--touch-target-sm);
|
|
}
|
|
|
|
.view-btn:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: rgba(220, 38, 38, 0.3);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ========================================
|
|
Compact Toolbar (Stats + Filter combined)
|
|
======================================== */
|
|
.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: var(--radius-lg);
|
|
border: 0.5px solid var(--border-light);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.toolbar {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|
|
|
|
/* Stat chips - clickable, act as filters */
|
|
.stat-chips {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stat-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 10px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
white-space: nowrap;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.stat-chip:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.stat-chip .chip-value {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.stat-chip.active {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: var(--border-focus);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.stat-chip.available .chip-value {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.stat-chip.available.active {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.stat-chip.occupied .chip-value {
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.stat-chip.occupied.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.stat-chip.lager.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.stat-chip.werkstatt.active {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
color: var(--color-info-light);
|
|
}
|
|
|
|
/* Toolbar controls: search + row select + collapse toggle */
|
|
.toolbar-controls {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.toolbar-controls .search-box {
|
|
flex: 1;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.toolbar-controls .row-select {
|
|
width: auto;
|
|
min-width: 110px;
|
|
padding: 7px 10px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
min-height: 34px;
|
|
}
|
|
|
|
.toolbar-controls .btn-sm {
|
|
padding: 6px 10px;
|
|
font-size: var(--text-xs);
|
|
min-height: 34px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.toolbar-controls .btn-sm:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.toolbar-controls .clear-filters {
|
|
color: var(--color-error-light);
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
/* Filter Buttons */
|
|
.filter-btn {
|
|
padding: 8px 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
white-space: nowrap;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: var(--border-focus);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filter-btn.lager.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.filter-btn.werkstatt.active {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
color: var(--color-info-light);
|
|
}
|
|
|
|
.filter-btn.available.active {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.filter-btn.occupied.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
/* Search Box */
|
|
.search-box {
|
|
width: 100%;
|
|
}
|
|
|
|
.search-box .form-control {
|
|
padding: 7px 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
width: 100%;
|
|
min-height: 34px;
|
|
}
|
|
|
|
.search-box .form-control:focus {
|
|
outline: none;
|
|
border-color: var(--border-focus);
|
|
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
}
|
|
|
|
.search-box .form-control::placeholder {
|
|
color: var(--text-placeholder);
|
|
}
|
|
|
|
/* ========================================
|
|
Loading & Empty States
|
|
======================================== */
|
|
.loading-state,
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.loading-state {
|
|
gap: 12px;
|
|
color: var(--text-tertiary);
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
.spinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 2px solid var(--border-default);
|
|
border-top-color: var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.spinner.small {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
font-family: var(--font-family-base);
|
|
font-size: clamp(1rem, 3vw, 1.25rem);
|
|
color: var(--text-primary);
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.empty-state p {
|
|
font-family: var(--font-family-base);
|
|
color: var(--text-tertiary);
|
|
margin: 0 0 1.5rem 0;
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
/* ========================================
|
|
Area Section (Grid View)
|
|
======================================== */
|
|
.area-section {
|
|
margin-bottom: 1rem;
|
|
padding: 0.75rem;
|
|
background: rgba(28, 28, 30, 0.4);
|
|
border-radius: var(--radius-xl);
|
|
border: 0.5px solid var(--border-light);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.area-section {
|
|
padding: 1rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
}
|
|
|
|
.area-section.lager {
|
|
border-color: rgba(251, 191, 36, 0.2);
|
|
}
|
|
|
|
.area-section.werkstatt {
|
|
border-color: rgba(96, 165, 250, 0.2);
|
|
}
|
|
|
|
.area-title {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
margin: 0 0 0.6rem 0;
|
|
padding-bottom: 0.4rem;
|
|
border-bottom: 0.5px solid var(--border-default);
|
|
}
|
|
|
|
.row-section {
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
.row-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.position-title {
|
|
font-family: var(--font-family-base);
|
|
font-size: 0.7rem;
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin: 0.5rem 0 0.3rem 0;
|
|
}
|
|
|
|
.row-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
background: none;
|
|
border: none;
|
|
padding: 0.25rem 0.25rem;
|
|
margin: 0 0 0.4rem 0;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
border-radius: 6px;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.row-header:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.row-section.collapsed .row-header {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.row-header-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.row-header-wrap .row-header {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.row-print-btn {
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.row-section.collapsed .row-print-btn {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.row-print-error {
|
|
color: var(--danger, #e74c3c);
|
|
font-size: 0.8rem;
|
|
margin: 0 0 0.4rem 1.75rem;
|
|
}
|
|
|
|
.row-chevron {
|
|
font-size: 0.6rem;
|
|
color: var(--text-secondary);
|
|
width: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.row-summary {
|
|
margin-left: auto;
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.row-title {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.row-title {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Location Grid - Responsive
|
|
======================================== */
|
|
.location-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (min-width: 400px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* Location Card */
|
|
.location-card {
|
|
background: var(--surface-elevated);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-md);
|
|
padding: 8px;
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
position: relative;
|
|
min-height: 58px;
|
|
}
|
|
|
|
.location-card:hover {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.location-card.available {
|
|
border-color: rgba(34, 197, 94, 0.25);
|
|
}
|
|
|
|
.location-card.available:hover {
|
|
border-color: rgba(34, 197, 94, 0.5);
|
|
}
|
|
|
|
.location-card.occupied {
|
|
border-color: rgba(251, 191, 36, 0.25);
|
|
background: rgba(251, 191, 36, 0.03);
|
|
}
|
|
|
|
.location-card.occupied:hover {
|
|
border-color: rgba(251, 191, 36, 0.5);
|
|
}
|
|
|
|
.location-card.blocked {
|
|
opacity: 0.6;
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.location-code {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.slot-number {
|
|
font-family: var(--font-family-base);
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.card-content {
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
.card-content .customer-name {
|
|
display: block;
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.card-content .vehicle-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.card-content .vehicle-model {
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.location-table .vehicle-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.card-content .tire-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: var(--text-xs);
|
|
margin-top: 3px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-content .tire-size-compact {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.card-content.empty {
|
|
text-align: center;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.card-content .empty-text {
|
|
font-size: var(--text-xs);
|
|
color: rgba(34, 197, 94, 0.7);
|
|
}
|
|
|
|
.blocked-badge {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
background: rgba(239, 68, 68, 0.3);
|
|
color: var(--color-error-light);
|
|
font-size: 0.6rem;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
font-family: var(--font-family-base);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* ========================================
|
|
Table View
|
|
======================================== */
|
|
.location-table-wrapper {
|
|
position: relative;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
background: var(--surface-elevated);
|
|
border-radius: var(--radius-lg);
|
|
border: 0.5px solid var(--border-light);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.location-table-wrapper::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 30px;
|
|
background: linear-gradient(to left, rgba(28, 28, 30, 0.9), transparent);
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.location-table {
|
|
width: 100%;
|
|
min-width: 700px;
|
|
border-collapse: collapse;
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.location-table th {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
padding: 10px 8px;
|
|
text-align: left;
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.5px;
|
|
white-space: nowrap;
|
|
border-bottom: 1px solid var(--border-light);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.location-table td {
|
|
padding: 10px 8px;
|
|
border-bottom: 0.5px solid var(--border-light);
|
|
color: var(--text-secondary);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.location-table tbody tr {
|
|
cursor: pointer;
|
|
transition: background var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.location-table tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.location-table tbody tr.available {
|
|
background: rgba(34, 197, 94, 0.02);
|
|
}
|
|
|
|
.location-table tbody tr.occupied {
|
|
background: rgba(251, 191, 36, 0.02);
|
|
}
|
|
|
|
.location-table tbody tr.blocked {
|
|
background: rgba(239, 68, 68, 0.03);
|
|
}
|
|
|
|
/* Table columns */
|
|
.code-mono {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.area-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.area-badge.lager {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.area-badge.werkstatt {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
color: var(--color-info-light);
|
|
}
|
|
|
|
.status-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.status-dot.available {
|
|
background: var(--color-success);
|
|
box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
|
|
}
|
|
|
|
.status-dot.occupied {
|
|
background: var(--color-warning);
|
|
box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
|
|
}
|
|
|
|
.status-dot.blocked {
|
|
background: var(--color-error);
|
|
box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
|
|
}
|
|
|
|
.empty-dash {
|
|
color: var(--text-placeholder);
|
|
}
|
|
|
|
.btn-icon {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
width: 28px;
|
|
height: 28px;
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ========================================
|
|
Batch Section
|
|
======================================== */
|
|
.batch-section {
|
|
background: var(--surface-elevated);
|
|
border: 0.5px solid var(--border-light);
|
|
border-radius: var(--radius-lg);
|
|
margin-top: 1.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.batch-toggle {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
min-height: 48px;
|
|
}
|
|
|
|
.batch-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.toggle-icon {
|
|
font-size: 1.2rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.batch-content {
|
|
padding: 0 16px 16px;
|
|
}
|
|
|
|
.batch-content p {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
color: var(--text-tertiary);
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
.batch-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.batch-preview {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: var(--radius-sm);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.preview-label {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.preview-codes {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-sm);
|
|
color: var(--color-success-light);
|
|
}
|
|
|
|
.batch-summary-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding-top: 12px;
|
|
border-top: 0.5px solid var(--border-light);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.batch-summary-row {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.summary-info {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
}
|
|
|
|
.summary-count {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.summary-detail {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* ========================================
|
|
Forms
|
|
======================================== */
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-row {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
color: var(--text-secondary);
|
|
font-weight: var(--font-weight-medium);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.optional-indicator {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
font-weight: var(--font-weight-normal);
|
|
}
|
|
|
|
.range-input {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.range-input span {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.range-input .form-control {
|
|
width: 60px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.range-input .form-control {
|
|
width: 70px;
|
|
}
|
|
}
|
|
|
|
.notes-group {
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
.field-hint {
|
|
font-family: var(--font-family-base);
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* ========================================
|
|
Modal Content Variants (uses global modal system)
|
|
======================================== */
|
|
.modal-content.details-modal {
|
|
max-width: 520px;
|
|
}
|
|
|
|
.modal-content.confirm-modal {
|
|
max-width: 400px;
|
|
}
|
|
|
|
.modal-content.edit-modal {
|
|
max-width: 520px;
|
|
}
|
|
|
|
/* ========================================
|
|
Modal Header Custom Elements
|
|
======================================== */
|
|
.modal-title-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.modal-subtitle {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-tertiary);
|
|
font-weight: var(--font-weight-normal);
|
|
}
|
|
|
|
.modal-title-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.code-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border: 1px solid rgba(220, 38, 38, 0.3);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.code-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.code-text {
|
|
font-family: var(--font-family-heading);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--color-primary);
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
.location-description {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* ========================================
|
|
Modal Footer Custom Elements
|
|
======================================== */
|
|
.footer-spacer {
|
|
flex: 1;
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.footer-spacer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Status Banner (Details Modal)
|
|
======================================== */
|
|
.status-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.status-banner.available {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.status-banner.occupied {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
border: 1px solid rgba(251, 191, 36, 0.3);
|
|
}
|
|
|
|
.status-banner.blocked {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.status-banner .status-icon {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.status-banner .status-text {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
.status-banner.available .status-text {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.status-banner.occupied .status-text {
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.status-banner.blocked .status-text {
|
|
color: var(--color-error-light);
|
|
}
|
|
|
|
/* ========================================
|
|
Detail Grid
|
|
======================================== */
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.detail-grid {
|
|
gap: 14px;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
}
|
|
|
|
.detail-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.detail-item .label {
|
|
font-family: var(--font-family-base);
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.detail-item .value {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.area-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* ========================================
|
|
Stored Tires Section
|
|
======================================== */
|
|
.stored-tires {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 0.5px solid var(--border-light);
|
|
border-radius: var(--radius-lg);
|
|
padding: 14px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.stored-tires h4 {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-secondary);
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.stored-tires-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.stored-tires-header h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.tirestack-edit-form {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tirestack-edit-form .form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tirestack-edit-form .season-selector,
|
|
.tirestack-edit-form .toggle-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn,
|
|
.tirestack-edit-form .toggle-btn {
|
|
flex: 1;
|
|
padding: 8px 10px;
|
|
border: 0.5px solid var(--border-light);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-sm);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn:hover,
|
|
.tirestack-edit-form .toggle-btn:hover {
|
|
border-color: var(--text-secondary);
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn.active,
|
|
.tirestack-edit-form .toggle-btn.active {
|
|
border-color: var(--accent, #4a9eff);
|
|
color: var(--text-primary);
|
|
background: rgba(74, 158, 255, 0.15);
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn.active.summer {
|
|
border-color: #f5a623;
|
|
background: rgba(245, 166, 35, 0.15);
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn.active.winter {
|
|
border-color: #4a9eff;
|
|
background: rgba(74, 158, 255, 0.15);
|
|
}
|
|
|
|
.tirestack-edit-form .season-btn.active.allseason {
|
|
border-color: #7ed321;
|
|
background: rgba(126, 211, 33, 0.15);
|
|
}
|
|
|
|
.tirestack-edit-form .form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.stored-item {
|
|
padding: 0;
|
|
}
|
|
|
|
.stored-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.stored-customer {
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.stored-ticket {
|
|
font-family: var(--font-family-heading);
|
|
font-size: 0.75rem;
|
|
color: var(--color-primary);
|
|
padding: 3px 8px;
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.stored-details {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.detail-chip {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
color: var(--text-secondary);
|
|
padding: 3px 8px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.season-chip.sommer {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.season-chip.winter {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
color: var(--color-info-light);
|
|
}
|
|
|
|
.season-chip.ganzjahres {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.stored-brand {
|
|
font-family: var(--font-family-base);
|
|
color: var(--text-tertiary);
|
|
font-size: var(--text-sm);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stored-date {
|
|
font-family: var(--font-family-base);
|
|
color: var(--text-muted);
|
|
font-size: var(--text-xs);
|
|
}
|
|
|
|
/* ========================================
|
|
Notes Section
|
|
======================================== */
|
|
.notes-section {
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: var(--radius-sm);
|
|
padding: 12px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.notes-section .label {
|
|
font-family: var(--font-family-base);
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary);
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.notes-section p {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
line-height: var(--line-height-relaxed);
|
|
}
|
|
|
|
/* ========================================
|
|
Confirm Modal
|
|
======================================== */
|
|
.confirm-icon {
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.confirm-text {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
color: var(--text-primary);
|
|
text-align: center;
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.confirm-subtext {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
color: var(--text-tertiary);
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ========================================
|
|
Success Message
|
|
======================================== */
|
|
.success-message {
|
|
animation: slideDown var(--duration-normal) var(--ease-out);
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.success-message .success-icon,
|
|
.alert .error-icon {
|
|
font-size: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Buttons: inherited from app.css (section 5) */
|
|
|
|
/* ========================================
|
|
Reduced Motion
|
|
======================================== */
|
|
/* Reduced motion: inherited from app.css (section 17) */
|