This commit is contained in:
@@ -332,6 +332,8 @@ table.data-table td.col-actions { white-space: 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 input[type="search"] { padding: 10px; font-size: 1em; border-radius: 8px; border: 2px solid var(--border); background: var(--bg); color: var(--text); min-width: 240px; font-family: inherit; user-select: text; }
|
||||
.filter-row .filter-reset { color: var(--text-dim); text-decoration: underline; font-size: 0.95em; }
|
||||
.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 {
|
||||
@@ -520,3 +522,191 @@ table.data-table td.col-actions { white-space: nowrap; }
|
||||
font-size: 1.15em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Import: Maschinen-Abweichungen entscheiden */
|
||||
.import-choice { display: flex; flex-direction: column; gap: 8px; }
|
||||
.import-choice label {
|
||||
display: flex; gap: 10px; align-items: flex-start;
|
||||
padding: 8px 12px; border: 2px solid var(--border); border-radius: 8px;
|
||||
cursor: pointer; background: var(--bg);
|
||||
}
|
||||
.import-choice label:has(input:checked) { border-color: var(--primary); background: rgba(47, 125, 255, 0.12); }
|
||||
.import-choice input { margin-top: 4px; transform: scale(1.3); }
|
||||
.import-choice small { display: block; color: var(--text-dim); }
|
||||
.import-bulk { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
|
||||
.import-bulk .big-btn { flex: 1; width: auto; min-width: 260px; }
|
||||
.warn-box ul { margin: 8px 0 0; padding-left: 20px; font-weight: 400; }
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Anzeige-Dashboard (/m<N>_show) - reine Anzeige für einen großen TV.
|
||||
Alle Größen sind in em und hängen an EINER Basisschrift, die mit der
|
||||
Bildschirmbreite mitwächst (Full HD ~16px, 4K ~32px). So bleibt das
|
||||
Layout auf jeder Auflösung gleich luftig.
|
||||
Farben: hoher Kontrast bei allen Texten (mindestens 6,5:1 zum Hintergrund,
|
||||
die meisten über 12:1), dafür bewusst dezente Rahmen und Trennlinien,
|
||||
damit sie nicht vom Inhalt ablenken.
|
||||
------------------------------------------------------------------ */
|
||||
.dash-body {
|
||||
--d-bg: #000000;
|
||||
--d-panel: #171e29;
|
||||
--d-border: #262f3d;
|
||||
--d-text: #ffffff;
|
||||
--d-dim: #d3dbe6;
|
||||
--d-green: #6df08f;
|
||||
--d-red: #ff7a85;
|
||||
--d-blue: #1d4fd8;
|
||||
overflow: hidden;
|
||||
background: var(--d-bg);
|
||||
color: var(--d-text);
|
||||
}
|
||||
|
||||
.dash {
|
||||
font-size: max(9px, 0.85vw);
|
||||
height: 100vh;
|
||||
padding: 1.8em 2em;
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
gap: 1.8em;
|
||||
}
|
||||
|
||||
.dash-top {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 1.6em;
|
||||
}
|
||||
|
||||
.dash-kpis {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 1.6em;
|
||||
}
|
||||
|
||||
.dash-tile {
|
||||
min-width: 0;
|
||||
background: var(--d-panel);
|
||||
border: 1px solid var(--d-border);
|
||||
border-radius: 0.7em;
|
||||
padding: 1.1em 1.3em 1.2em;
|
||||
}
|
||||
|
||||
.dash-title {
|
||||
color: var(--d-dim);
|
||||
font-size: 1.15em;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dash-order {
|
||||
min-height: 1.15em;
|
||||
margin-top: 0.5em;
|
||||
text-align: center;
|
||||
color: var(--d-text);
|
||||
font-size: 3.2em;
|
||||
font-weight: 800;
|
||||
line-height: 1.15;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.dash-article {
|
||||
min-height: 1.3em;
|
||||
margin-top: 0.3em;
|
||||
text-align: center;
|
||||
color: var(--d-dim);
|
||||
font-size: 1.5em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.dash-clock {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.dash-clock-date { font-size: 1.7em; font-weight: 500; color: var(--d-dim); }
|
||||
.dash-clock-time {
|
||||
margin-top: 0.1em;
|
||||
font-size: 5em;
|
||||
font-weight: 600;
|
||||
line-height: 1.05;
|
||||
color: var(--d-text);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.dash-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.dash-logo img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 7.5em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.dash-value {
|
||||
min-height: 1.1em;
|
||||
margin-top: 0.45em;
|
||||
text-align: center;
|
||||
font-size: 3.6em;
|
||||
font-weight: 800;
|
||||
line-height: 1.1;
|
||||
color: var(--d-text);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-value.green, .dash-value .green { color: var(--d-green); }
|
||||
.dash-value.red, .dash-value .red { color: var(--d-red); }
|
||||
|
||||
.dash-key {
|
||||
background: var(--d-blue);
|
||||
border-color: var(--d-blue);
|
||||
color: #ffffff;
|
||||
}
|
||||
.dash-key .dash-title { color: #ffffff; }
|
||||
.dash-key .dash-value { color: #ffffff; }
|
||||
/* Ohne aktiven Auftrag (leerer Wert) keine blaue Fläche */
|
||||
.dash-key:has(.dash-value:empty) { background: var(--d-panel); border-color: var(--d-border); }
|
||||
.dash-key:has(.dash-value:empty) .dash-title { color: var(--d-dim); }
|
||||
|
||||
.dash-log {
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--d-panel);
|
||||
border: 1px solid var(--d-border);
|
||||
border-radius: 0.7em;
|
||||
padding: 1.2em 1.4em;
|
||||
}
|
||||
.dash-log .dash-title { font-size: 1.3em; color: var(--d-text); }
|
||||
.dash-log-scroll { flex: 1; min-height: 0; overflow: auto; margin-top: 0.7em; }
|
||||
|
||||
.dash-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 1.45em;
|
||||
color: var(--d-text);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--d-panel);
|
||||
color: var(--d-text);
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
padding: 0.6em 1em;
|
||||
border-bottom: 2px solid #3a4659;
|
||||
}
|
||||
.dash-table td { padding: 0.75em 1em; border-bottom: 1px solid var(--d-border); }
|
||||
.dash-table .num { text-align: right; }
|
||||
/* neueste Buchung hervorgehoben */
|
||||
.dash-table tbody tr:first-child td { font-weight: 800; background: rgba(255, 255, 255, 0.10); }
|
||||
|
||||
.dash-body .machine-id-badge {
|
||||
color: #ffffff;
|
||||
background: var(--d-panel);
|
||||
border-color: var(--d-border);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user