This commit is contained in:
+55
-37
@@ -522,124 +522,142 @@ table.data-table td.col-actions { white-space: nowrap; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Anzeige-Dashboard (/m<N>_show) - reine Anzeige, skaliert mit der
|
||||
Bildschirmbreite (Monitor in der Halle)
|
||||
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.
|
||||
------------------------------------------------------------------ */
|
||||
.dash-body { overflow: hidden; }
|
||||
|
||||
.dash {
|
||||
font-size: max(9px, 0.85vw);
|
||||
height: 100vh;
|
||||
padding: clamp(10px, 1.2vw, 24px);
|
||||
padding: 1.8em 2em;
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
gap: clamp(10px, 1.4vw, 28px);
|
||||
gap: 1.8em;
|
||||
}
|
||||
|
||||
.dash-top {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: clamp(10px, 1.2vw, 24px);
|
||||
align-items: center;
|
||||
gap: 1.6em;
|
||||
}
|
||||
|
||||
.dash-kpis {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: clamp(8px, 1vw, 20px);
|
||||
gap: 1.6em;
|
||||
}
|
||||
|
||||
.dash-tile { min-width: 0; padding: 4px 6px; }
|
||||
.dash-tile {
|
||||
min-width: 0;
|
||||
background: var(--panel);
|
||||
border-radius: 0.7em;
|
||||
padding: 1.1em 1.3em 1.2em;
|
||||
}
|
||||
|
||||
.dash-title {
|
||||
color: var(--text-dim);
|
||||
font-size: clamp(0.8rem, 1.05vw, 1.3rem);
|
||||
font-size: 1.1em;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dash-order {
|
||||
min-height: 1.2em;
|
||||
margin-top: 0.4vw;
|
||||
min-height: 1.15em;
|
||||
margin-top: 0.5em;
|
||||
text-align: center;
|
||||
font-size: clamp(1.6rem, 3.2vw, 4.2rem);
|
||||
font-size: 3.2em;
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.dash-article {
|
||||
min-height: 1.3em;
|
||||
margin-top: 0.3em;
|
||||
text-align: center;
|
||||
color: var(--text-dim);
|
||||
font-size: clamp(0.9rem, 1.3vw, 1.7rem);
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.dash-clock { text-align: center; }
|
||||
.dash-clock-date { font-size: clamp(1rem, 1.5vw, 2rem); }
|
||||
.dash-clock {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.dash-clock-date { font-size: 1.7em; }
|
||||
.dash-clock-time {
|
||||
font-size: clamp(2.4rem, 5.2vw, 7rem);
|
||||
margin-top: 0.1em;
|
||||
font-size: 5em;
|
||||
font-weight: 500;
|
||||
line-height: 1.05;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.dash-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.dash-logo img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: clamp(60px, 9vw, 150px);
|
||||
height: 7.5em;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.dash-value {
|
||||
min-height: 1.1em;
|
||||
margin-top: 0.6vw;
|
||||
margin-top: 0.45em;
|
||||
text-align: center;
|
||||
font-size: clamp(2.2rem, 4.6vw, 6.4rem);
|
||||
font-size: 4.6em;
|
||||
font-weight: 600;
|
||||
line-height: 1.1;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-value.green { color: #73bf69; }
|
||||
.dash-value.red { color: #f2495c; }
|
||||
.dash-value.green, .dash-value .green { color: #73bf69; }
|
||||
.dash-value.red, .dash-value .red { color: #f2495c; }
|
||||
|
||||
.dash-key {
|
||||
background: #5794f2;
|
||||
border-radius: 6px;
|
||||
color: #fff;
|
||||
}
|
||||
.dash-key .dash-title { color: rgba(255, 255, 255, 0.85); }
|
||||
.dash-key .dash-title { color: rgba(255, 255, 255, 0.88); }
|
||||
/* Ohne aktiven Auftrag (leerer Wert) keine blaue Fläche */
|
||||
.dash-key:has(.dash-value:empty) { background: var(--panel); }
|
||||
.dash-key:has(.dash-value:empty) .dash-title { color: var(--text-dim); }
|
||||
|
||||
.dash-log {
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: clamp(8px, 0.9vw, 16px);
|
||||
background: var(--panel);
|
||||
border-radius: 0.7em;
|
||||
padding: 1.2em 1.4em;
|
||||
}
|
||||
.dash-log-scroll { flex: 1; min-height: 0; overflow: auto; margin-top: 8px; }
|
||||
.dash-log-scroll { flex: 1; min-height: 0; overflow: auto; margin-top: 0.7em; }
|
||||
|
||||
.dash-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: clamp(0.95rem, 1.35vw, 1.8rem);
|
||||
font-size: 1.45em;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--bg);
|
||||
background: var(--panel);
|
||||
color: var(--text-dim);
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
padding: 0.5em 0.7em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 0.6em 1em;
|
||||
border-bottom: 2px solid var(--border);
|
||||
}
|
||||
.dash-table td { padding: 0.5em 0.7em; border-bottom: 1px solid var(--border); }
|
||||
.dash-table td { padding: 0.75em 1em; border-bottom: 1px solid var(--border); }
|
||||
.dash-table .num { text-align: right; }
|
||||
.dash-table tbody tr:first-child td { font-weight: 600; }
|
||||
/* Ohne aktiven Auftrag (leerer Wert) keine blaue Fläche */
|
||||
.dash-key:has(.dash-value:empty) { background: transparent; }
|
||||
.dash-key:has(.dash-value:empty) .dash-title { color: var(--text-dim); }
|
||||
.dash-table tbody tr:first-child td { font-weight: 700; }
|
||||
|
||||
Reference in New Issue
Block a user