Files
wdm/build/static/style.css
T
bryan.hoffmann 36180448e1
Build und Push Docker Image / build-and-push (push) Failing after 49s
Initial commit
2026-08-20 12:24:38 +02:00

485 lines
11 KiB
CSS

:root {
--bg: #12161c;
--panel: #1c222b;
--panel-2: #262e3a;
--border: #333d4c;
--text: #eef1f5;
--text-dim: #9aa4b2;
--primary: #2f7dff;
--primary-dark: #1f5fd6;
--green: #2fb872;
--amber: #e0a629;
--red: #e0433b;
--radius: 16px;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
height: 100%;
background: var(--bg);
color: var(--text);
font-family: "Segoe UI", Roboto, Arial, sans-serif;
-webkit-tap-highlight-color: transparent;
user-select: none;
}
#app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header {
padding: 28px 24px 12px;
text-align: center;
}
.header-logo {
/* Logo ist von Haus aus breiter als hoch (kein Quadrat) - deshalb nur die
Höhe vorgeben und die Breite automatisch im echten Seitenverhältnis
mitskalieren lassen, statt es in ein Quadrat zu zwingen/zu verzerren. */
height: 130px;
width: auto;
max-width: 90%;
display: block;
margin: 0 auto 10px;
}
.header h1 {
margin: 0;
font-size: 2.4em;
letter-spacing: 0.5px;
}
.header .subtitle {
color: var(--text-dim);
font-size: 1.1em;
margin-top: 6px;
}
.content {
flex: 1;
padding: 16px 24px 40px;
max-width: 1000px;
margin: 0 auto;
width: 100%;
}
.content.wide {
max-width: 1400px;
}
.btn-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-top: 24px;
}
.big-btn {
background: var(--panel);
border: 2px solid var(--border);
border-radius: var(--radius);
color: var(--text);
padding: 32px 20px;
font-size: 1.4em;
font-weight: 600;
cursor: pointer;
transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
text-decoration: none;
font-family: inherit;
width: 100%;
}
form.btn-form { display: contents; }
.order-form { display: block; width: 100%; }
.order-form .order-item { width: 100%; }
.big-btn:active { transform: scale(0.97); }
.big-btn.primary { background: var(--primary); border-color: var(--primary-dark); }
.big-btn.green { background: var(--green); border-color: #1f8f57; }
.big-btn.amber { background: var(--amber); border-color: #b98418; color: #23200f; }
.big-btn.red { background: var(--red); border-color: #a92e28; }
.big-btn.neutral { background: var(--panel-2); }
.big-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.big-btn.small {
min-height: 70px;
font-size: 1.1em;
padding: 16px;
}
.back-row {
margin-top: 28px;
}
.back-row.top {
margin-top: 0;
margin-bottom: 22px;
}
.machine-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 14px;
margin-top: 10px;
}
.machine-link {
background: var(--panel-2);
border: 2px solid var(--border);
border-radius: 12px;
padding: 18px 12px;
text-decoration: none;
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
font-size: 1.1em;
font-weight: 600;
text-align: center;
}
.machine-link:active { transform: scale(0.97); }
.machine-link .machine-link-status {
font-size: 0.7em;
font-weight: 700;
text-transform: uppercase;
color: var(--text-dim);
background: var(--bg);
padding: 3px 10px;
border-radius: 20px;
}
.machine-link.aktiv { border-color: var(--green); }
.machine-link.aktiv .machine-link-status { color: var(--green); }
.machine-link .machine-link-artikel {
font-size: 0.65em;
font-weight: 500;
color: var(--text-dim);
text-transform: none;
}
.card {
background: var(--panel);
border: 2px solid var(--border);
border-radius: var(--radius);
padding: 24px;
margin-top: 20px;
}
.card.compact { padding: 18px 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.compact-form { max-width: 480px; margin: 0 auto; }
.compact-form .form-group { margin-top: 12px; }
.compact-form .form-group label { font-size: 0.95em; margin-bottom: 5px; }
.compact-form .form-group input, .compact-form .form-group select {
padding: 11px 12px;
font-size: 1.05em;
}
.form-row-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.action-row.compact { max-width: 480px; margin: 20px auto 0; }
.action-row.compact .big-btn { flex: none; width: 100%; }
.status-line {
display: flex;
justify-content: space-between;
font-size: 1.15em;
padding: 8px 0;
border-bottom: 1px solid var(--border);
}
.status-line:last-child { border-bottom: none; }
.status-line .label { color: var(--text-dim); }
.order-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.order-item {
background: var(--panel-2);
border: 2px solid var(--border);
border-radius: 12px;
padding: 18px 22px;
cursor: pointer;
font-size: 1.2em;
display: flex;
justify-content: space-between;
align-items: center;
font-family: inherit;
color: var(--text);
text-align: left;
border-left: 6px solid var(--primary);
}
button.order-item:active { transform: scale(0.98); }
.order-item-main {
display: flex;
flex-direction: column;
gap: 4px;
}
.order-item-nummer {
font-size: 1.3em;
font-weight: 800;
letter-spacing: 0.3px;
}
.order-item-menge {
font-size: 0.75em;
color: var(--text-dim);
font-weight: 500;
}
.order-item .tag {
font-size: 0.7em;
padding: 4px 10px;
border-radius: 20px;
background: var(--amber);
color: #23200f;
font-weight: 700;
white-space: nowrap;
margin-left: 14px;
}
.form-group { margin-top: 18px; }
.form-group label {
display: block;
margin-bottom: 8px;
font-size: 1.1em;
color: var(--text-dim);
}
.form-group input, .form-group select {
width: 100%;
padding: 16px;
font-size: 1.3em;
border-radius: 10px;
border: 2px solid var(--border);
background: var(--bg);
color: var(--text);
}
.error-box {
background: rgba(224, 67, 59, 0.15);
border: 2px solid var(--red);
color: #ffb3af;
padding: 14px 18px;
border-radius: 10px;
margin-top: 18px;
font-size: 1.05em;
}
.info-box {
background: rgba(47, 125, 255, 0.12);
border: 2px solid var(--primary);
padding: 14px 18px;
border-radius: 10px;
margin-top: 18px;
}
.action-row {
display: flex;
gap: 16px;
margin-top: 26px;
flex-wrap: wrap;
}
.action-row .big-btn { flex: 1; min-width: 160px; }
table.data-table {
width: 100%;
border-collapse: collapse;
margin-top: 16px;
font-size: 0.95em;
}
table.data-table th, table.data-table td {
border-bottom: 1px solid var(--border);
padding: 9px 10px;
text-align: left;
white-space: nowrap;
}
table.data-table th {
color: var(--text-dim);
font-weight: 600;
position: sticky;
top: 0;
background: var(--bg);
z-index: 1;
}
table.data-table tr:hover { background: var(--panel-2); }
table.data-table td.col-actions { white-space: nowrap; }
.table-wrap {
overflow: auto;
max-height: 68vh;
border: 2px solid var(--border);
border-radius: 12px;
margin-top: 16px;
}
.table-wrap table.data-table { margin-top: 0; }
.list-meta {
color: var(--text-dim);
font-size: 0.95em;
margin-top: 6px;
}
.row-actions {
display: flex;
gap: 10px;
flex-wrap: nowrap;
}
.filter-row { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.filter-row select { padding: 10px; font-size: 1em; border-radius: 8px; border: 2px solid var(--border); background: var(--bg); color: var(--text); }
.filter-row button { padding: 10px 18px; font-size: 1em; border-radius: 8px; border: 2px solid var(--border); background: var(--panel-2); color: var(--text); cursor: pointer; font-family: inherit; }
.confirm-box {
background: var(--panel);
border: 3px solid var(--red);
border-radius: var(--radius);
padding: 32px;
text-align: center;
margin-top: 20px;
}
.confirm-box h2 { font-size: 1.6em; margin-top: 0; }
.loading, .empty-state {
text-align: center;
color: var(--text-dim);
padding: 40px 20px;
font-size: 1.2em;
}
.modal-overlay {
position: fixed; inset: 0;
background: rgba(0,0,0,0.7);
display: flex; align-items: center; justify-content: center;
z-index: 50;
padding: 20px;
}
.modal-box {
background: var(--panel);
border: 3px solid var(--red);
border-radius: var(--radius);
padding: 32px;
max-width: 480px;
text-align: center;
}
.modal-box h2 { font-size: 1.6em; margin-top: 0; }
.modal-actions { display: flex; gap: 16px; margin-top: 26px; }
.modal-actions .big-btn { flex: 1; }
.priority-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.priority-item {
background: var(--panel-2);
border: 2px solid var(--border);
border-radius: 10px;
padding: 14px 16px;
display: flex;
align-items: center;
gap: 14px;
font-size: 1.1em;
cursor: grab;
}
.priority-item.dragging {
opacity: 0.4;
border-style: dashed;
}
.priority-item .drag-handle {
font-size: 1.3em;
color: var(--text-dim);
line-height: 1;
}
.priority-item .priority-item-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.priority-item .priority-item-artikel {
font-size: 0.75em;
color: var(--text-dim);
font-weight: 500;
}
.priority-item .tag {
margin-left: auto;
font-size: 0.75em;
padding: 4px 10px;
border-radius: 20px;
background: var(--amber);
color: #23200f;
font-weight: 700;
white-space: nowrap;
}
.priority-item .sid-badge {
background: var(--primary);
border-radius: 20px;
padding: 4px 12px;
font-size: 0.85em;
font-weight: 700;
}
.hint {
color: var(--text-dim);
font-size: 0.95em;
margin: 10px 0 16px;
line-height: 1.5;
}
.save-indicator {
margin-top: 12px;
color: var(--text-dim);
font-size: 0.9em;
min-height: 1.3em;
}
.card details { margin-top: 14px; }
.card summary { cursor: pointer; font-weight: 600; }
.card ul { margin: 8px 0 0; padding-left: 20px; }
.card li { margin-bottom: 5px; }
.dropzone {
position: relative;
border: 2px dashed var(--border);
border-radius: 12px;
padding: 34px 16px;
text-align: center;
background: var(--bg);
transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.dragover {
border-color: var(--primary);
background: rgba(47, 125, 255, 0.1);
}
.dropzone input[type="file"] {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.dropzone-text {
color: var(--text-dim);
font-size: 1.02em;
pointer-events: none;
word-break: break-all;
}
.icon-btn {
background: var(--panel-2);
border: 2px solid var(--border);
color: var(--text);
border-radius: 8px;
padding: 9px 16px;
cursor: pointer;
font-size: 0.95em;
font-family: inherit;
text-decoration: none;
display: inline-block;
min-width: 92px;
text-align: center;
}
.icon-btn.danger { border-color: var(--red); color: #ffb3af; }
@media (min-width: 700px) {
.header h1 { font-size: 3em; }
}