chore: build
Frontend Web - Build & Lint / build (push) Failing after 15m43s

This commit is contained in:
2026-06-19 20:47:54 +02:00
parent b0aba29150
commit 0687171cf3
+340 -340
View File
@@ -1,388 +1,388 @@
/* ============================================
ITEMS MODAL - PROFESSIONAL DARK THEME
============================================ */
/* Overlay */ /* Overlay */
.items-modal-overlay { .items-modal-overlay {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.85); background: rgba(0, 0, 0, 0.85);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 1000; z-index: 1000;
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
padding: 1.5rem; padding: 1.5rem;
animation: items-fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1); animation: items-fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
} }
@keyframes items-fadeIn { @keyframes items-fadeIn {
from { from {
opacity: 0; opacity: 0;
} }
to { to {
opacity: 1; opacity: 1;
} }
} }
/* Modal Content */ /* Modal Content */
.items-modal-content { .items-modal-content {
background: linear-gradient(to bottom, var(--surface), var(--bg)); background: linear-gradient(to bottom, var(--surface), var(--bg));
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 16px; border-radius: 16px;
max-width: 800px; max-width: 800px;
width: 100%; width: 100%;
max-height: 90vh; max-height: 90vh;
overflow: hidden; overflow: hidden;
box-shadow: box-shadow:
0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 25px 50px -12px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(124, 58, 237, 0.1); 0 0 0 1px rgba(124, 58, 237, 0.1);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
animation: items-slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: items-slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} }
@keyframes items-slideUp { @keyframes items-slideUp {
from { from {
opacity: 0; opacity: 0;
transform: translateY(16px) scale(0.98); transform: translateY(16px) scale(0.98);
} }
to { to {
opacity: 1; opacity: 1;
transform: translateY(0) scale(1); transform: translateY(0) scale(1);
} }
} }
/* Header */ /* Header */
.items-modal-header { .items-modal-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 1.5rem 2rem; padding: 1.5rem 2rem;
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
background: var(--surface-2); background: var(--surface-2);
flex-shrink: 0; flex-shrink: 0;
} }
.items-modal-header h3 { .items-modal-header h3 {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.75rem;
color: var(--text); color: var(--text);
font-size: 1.25rem; font-size: 1.25rem;
margin: 0; margin: 0;
font-weight: 600; font-weight: 600;
} }
.items-modal-header h3 svg { .items-modal-header h3 svg {
color: #a78bfa; color: #a78bfa;
flex-shrink: 0; flex-shrink: 0;
} }
.items-modal-header h3 span { .items-modal-header h3 span {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.75rem;
flex-wrap: wrap; flex-wrap: wrap;
} }
.command-badge { .command-badge {
background: rgba(124, 58, 237, 0.15); background: rgba(124, 58, 237, 0.15);
color: #c4b5fd; color: #c4b5fd;
padding: 0.375rem 0.75rem; padding: 0.375rem 0.75rem;
border-radius: 6px; border-radius: 6px;
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 600; font-weight: 600;
border: 1px solid rgba(124, 58, 237, 0.3); border: 1px solid rgba(124, 58, 237, 0.3);
} }
.items-modal-close { .items-modal-close {
background: transparent; background: transparent;
border: none; border: none;
color: var(--text-muted); color: var(--text-muted);
width: 36px; width: 36px;
height: 36px; height: 36px;
border-radius: 8px; border-radius: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 1.5rem; font-size: 1.5rem;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: all 0.2s ease;
font-weight: 400; font-weight: 400;
flex-shrink: 0; flex-shrink: 0;
} }
.items-modal-close:hover { .items-modal-close:hover {
background: var(--surface-2); background: var(--surface-2);
color: var(--text); color: var(--text);
} }
/* Body */ /* Body */
.items-modal-body { .items-modal-body {
padding: 2rem; padding: 2rem;
overflow-y: auto; overflow-y: auto;
flex: 1; flex: 1;
background: var(--bg); background: var(--bg);
} }
.items-modal-body::-webkit-scrollbar { .items-modal-body::-webkit-scrollbar {
width: 6px; width: 6px;
} }
.items-modal-body::-webkit-scrollbar-track { .items-modal-body::-webkit-scrollbar-track {
background: transparent; background: transparent;
} }
.items-modal-body::-webkit-scrollbar-thumb { .items-modal-body::-webkit-scrollbar-thumb {
background: rgba(124, 58, 237, 0.3); background: rgba(124, 58, 237, 0.3);
border-radius: 10px; border-radius: 10px;
} }
.items-modal-body::-webkit-scrollbar-thumb:hover { .items-modal-body::-webkit-scrollbar-thumb:hover {
background: rgba(124, 58, 237, 0.5); background: rgba(124, 58, 237, 0.5);
} }
/* Empty State */ /* Empty State */
.items-modal-empty { .items-modal-empty {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 4rem 2rem; padding: 4rem 2rem;
color: var(--text-muted); color: var(--text-muted);
gap: 1rem; gap: 1rem;
} }
.items-modal-empty svg { .items-modal-empty svg {
color: var(--text-muted); color: var(--text-muted);
opacity: 0.5; opacity: 0.5;
} }
.items-modal-empty p { .items-modal-empty p {
font-size: 1rem; font-size: 1rem;
margin: 0; margin: 0;
color: var(--text-muted); color: var(--text-muted);
} }
/* Summary */ /* Summary */
.items-modal-summary { .items-modal-summary {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem; gap: 1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
.summary-item { .summary-item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.5rem; gap: 0.5rem;
padding: 1.25rem; padding: 1.25rem;
background: var(--surface); background: var(--surface);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 12px; border-radius: 12px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
.summary-item:hover { .summary-item:hover {
background: var(--surface-2); background: var(--surface-2);
border-color: rgba(124, 58, 237, 0.3); border-color: rgba(124, 58, 237, 0.3);
} }
.summary-item svg { .summary-item svg {
color: #a78bfa; color: #a78bfa;
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
.summary-item span { .summary-item span {
color: var(--text); color: var(--text);
font-weight: 600; font-weight: 600;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1; line-height: 1;
} }
.summary-item::before { .summary-item::before {
content: attr(data-label); content: attr(data-label);
color: var(--text-muted); color: var(--text-muted);
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 500; font-weight: 500;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
/* Items List */ /* Items List */
.items-modal-list { .items-modal-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1rem; gap: 1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
/* Item Card */ /* Item Card */
.items-modal-card { .items-modal-card {
background: var(--surface); background: var(--surface);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 12px; border-radius: 12px;
padding: 1.5rem; padding: 1.5rem;
transition: all 0.2s ease; transition: all 0.2s ease;
display: flex; display: flex;
gap: 1.25rem; gap: 1.25rem;
} }
.items-modal-card:hover { .items-modal-card:hover {
background: var(--surface-2); background: var(--surface-2);
border-color: rgba(124, 58, 237, 0.4); border-color: rgba(124, 58, 237, 0.4);
box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15); box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
} }
/* Item Number */ /* Item Number */
.item-number { .item-number {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 32px; width: 32px;
height: 32px; height: 32px;
background: rgba(124, 58, 237, 0.15); background: rgba(124, 58, 237, 0.15);
color: #a78bfa; color: #a78bfa;
border-radius: 8px; border-radius: 8px;
font-weight: 600; font-weight: 600;
font-size: 0.875rem; font-size: 0.875rem;
flex-shrink: 0; flex-shrink: 0;
border: 1px solid rgba(124, 58, 237, 0.2); border: 1px solid rgba(124, 58, 237, 0.2);
} }
/* Item Content */ /* Item Content */
.item-content { .item-content {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1rem; gap: 1rem;
} }
.item-header { .item-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
gap: 1rem; gap: 1rem;
} }
.item-name { .item-name {
color: var(--text); color: var(--text);
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
line-height: 1.5; line-height: 1.5;
margin: 0; margin: 0;
flex: 1; flex: 1;
} }
/* Item Status */ /* Item Status */
.item-status { .item-status {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.375rem; gap: 0.375rem;
padding: 0.375rem 0.75rem; padding: 0.375rem 0.75rem;
border-radius: 6px; border-radius: 6px;
font-size: 0.8125rem; font-size: 0.8125rem;
font-weight: 500; font-weight: 500;
white-space: nowrap; white-space: nowrap;
flex-shrink: 0; flex-shrink: 0;
} }
.item-status.status-pending { .item-status.status-pending {
background: rgba(251, 146, 60, 0.15); background: rgba(251, 146, 60, 0.15);
color: #fdba74; color: #fdba74;
border: 1px solid rgba(251, 146, 60, 0.3); border: 1px solid rgba(251, 146, 60, 0.3);
} }
.item-status.status-prepared, .item-status.status-prepared,
.item-status.status-packed { .item-status.status-packed {
background: rgba(59, 130, 246, 0.15); background: rgba(59, 130, 246, 0.15);
color: #93c5fd; color: #93c5fd;
border: 1px solid rgba(59, 130, 246, 0.3); border: 1px solid rgba(59, 130, 246, 0.3);
} }
.item-status.status-delivered { .item-status.status-delivered {
background: rgba(16, 185, 129, 0.15); background: rgba(16, 185, 129, 0.15);
color: #6ee7b7; color: #6ee7b7;
border: 1px solid rgba(16, 185, 129, 0.3); border: 1px solid rgba(16, 185, 129, 0.3);
} }
/* Item Details */ /* Item Details */
.item-details { .item-details {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 1.5rem; gap: 1.5rem;
} }
.item-detail { .item-detail {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.375rem; gap: 0.375rem;
} }
.detail-label { .detail-label {
color: var(--text-muted); color: var(--text-muted);
font-size: 0.8125rem; font-size: 0.8125rem;
font-weight: 500; font-weight: 500;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
.detail-value { .detail-value {
color: var(--text); color: var(--text);
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
} }
.detail-value.detail-total { .detail-value.detail-total {
color: #34d399; color: #34d399;
font-size: 1.25rem; font-size: 1.25rem;
} }
/* Item Meta */ /* Item Meta */
.item-meta { .item-meta {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.75rem;
padding-top: 0.75rem; padding-top: 0.75rem;
margin-top: 0.75rem; margin-top: 0.75rem;
border-top: 1px solid var(--border); border-top: 1px solid var(--border);
} }
.item-id { .item-id {
color: var(--text-muted); color: var(--text-muted);
font-size: 0.8125rem; font-size: 0.8125rem;
font-family: 'SF Mono', 'Monaco', 'Courier New', monospace; font-family: "SF Mono", "Monaco", "Courier New", monospace;
} }
/* Total */ /* Total */
.items-modal-total { .items-modal-total {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 1.5rem; padding: 1.5rem;
background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05)); background: linear-gradient(
border: 2px solid rgba(124, 58, 237, 0.3); 135deg,
border-radius: 12px; rgba(124, 58, 237, 0.1),
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); rgba(124, 58, 237, 0.05)
);
border: 2px solid rgba(124, 58, 237, 0.3);
border-radius: 12px;
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
} }
.items-modal-total span { .items-modal-total span {
color: var(--text-muted); color: var(--text-muted);
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 500; font-weight: 500;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
.items-modal-total strong { .items-modal-total strong {
color: #c4b5fd; color: #c4b5fd;
font-size: 1.875rem; font-size: 1.875rem;
font-weight: 700; font-weight: 700;
} }
/* ============================================ /* ============================================
@@ -391,147 +391,147 @@
/* Tablet */ /* Tablet */
@media (max-width: 768px) { @media (max-width: 768px) {
.items-modal-overlay { .items-modal-overlay {
padding: 1rem; padding: 1rem;
} }
.items-modal-content { .items-modal-content {
max-height: 92vh; max-height: 92vh;
border-radius: 12px; border-radius: 12px;
margin-bottom: 200px; margin-bottom: 200px;
} }
.items-modal-header { .items-modal-header {
padding: 1.25rem 1.5rem; padding: 1.25rem 1.5rem;
} }
.items-modal-header h3 { .items-modal-header h3 {
font-size: 1.125rem; font-size: 1.125rem;
} }
.command-badge { .command-badge {
font-size: 0.8125rem; font-size: 0.8125rem;
} }
.items-modal-body { .items-modal-body {
padding: 1.5rem; padding: 1.5rem;
} }
.items-modal-summary { .items-modal-summary {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 0.75rem; gap: 0.75rem;
} }
.summary-item { .summary-item {
padding: 1rem; padding: 1rem;
} }
.items-modal-card { .items-modal-card {
padding: 1.25rem; padding: 1.25rem;
gap: 1rem; gap: 1rem;
} }
.item-header { .item-header {
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
gap: 0.75rem; gap: 0.75rem;
} }
.item-details { .item-details {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 1rem; gap: 1rem;
} }
.items-modal-total { .items-modal-total {
padding: 1.25rem; padding: 1.25rem;
} }
.items-modal-total strong { .items-modal-total strong {
font-size: 1.5rem; font-size: 1.5rem;
} }
} }
/* Mobile */ /* Mobile */
@media (max-width: 480px) { @media (max-width: 480px) {
.items-modal-overlay { .items-modal-overlay {
padding: 0.5rem; padding: 0.5rem;
} }
.items-modal-header { .items-modal-header {
padding: 1rem 1.25rem; padding: 1rem 1.25rem;
} }
.items-modal-header h3 { .items-modal-header h3 {
font-size: 1rem; font-size: 1rem;
gap: 0.5rem; gap: 0.5rem;
} }
.command-badge { .command-badge {
font-size: 0.75rem; font-size: 0.75rem;
padding: 0.25rem 0.625rem; padding: 0.25rem 0.625rem;
} }
.items-modal-body { .items-modal-body {
padding: 1.25rem; padding: 1.25rem;
} }
.items-modal-card { .items-modal-card {
padding: 1rem; padding: 1rem;
gap: 0.875rem; gap: 0.875rem;
} }
.item-number { .item-number {
width: 28px; width: 28px;
height: 28px; height: 28px;
font-size: 0.8125rem; font-size: 0.8125rem;
} }
.item-name { .item-name {
font-size: 0.9375rem; font-size: 0.9375rem;
} }
.detail-value { .detail-value {
font-size: 1rem; font-size: 1rem;
} }
.detail-value.detail-total { .detail-value.detail-total {
font-size: 1.125rem; font-size: 1.125rem;
} }
.items-modal-total { .items-modal-total {
padding: 1rem; padding: 1rem;
} }
.items-modal-total strong { .items-modal-total strong {
font-size: 1.375rem; font-size: 1.375rem;
} }
} }
/* Small Mobile */ /* Small Mobile */
@media (max-width: 360px) { @media (max-width: 360px) {
.items-modal-content { .items-modal-content {
border-radius: 8px; border-radius: 8px;
} }
.items-modal-header h3 { .items-modal-header h3 {
font-size: 0.9375rem; font-size: 0.9375rem;
} }
.item-details { .item-details {
gap: 0.75rem; gap: 0.75rem;
} }
} }
/* Touch Devices */ /* Touch Devices */
@media (hover: none) { @media (hover: none) {
.items-modal-card:hover { .items-modal-card:hover {
background: var(--surface); background: var(--surface);
border-color: var(--border); border-color: var(--border);
box-shadow: none; box-shadow: none;
} }
.summary-item:hover { .summary-item:hover {
background: var(--surface); background: var(--surface);
border-color: var(--border); border-color: var(--border);
} }
} }