This commit is contained in:
@@ -520,3 +520,126 @@ table.data-table td.col-actions { white-space: nowrap; }
|
||||
font-size: 1.15em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Anzeige-Dashboard (/m<N>_show) - reine Anzeige, skaliert mit der
|
||||
Bildschirmbreite (Monitor in der Halle)
|
||||
------------------------------------------------------------------ */
|
||||
.dash-body { overflow: hidden; }
|
||||
|
||||
.dash {
|
||||
height: 100vh;
|
||||
padding: clamp(10px, 1.2vw, 24px);
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
gap: clamp(10px, 1.4vw, 28px);
|
||||
}
|
||||
|
||||
.dash-top {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: clamp(10px, 1.2vw, 24px);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dash-kpis {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: clamp(8px, 1vw, 20px);
|
||||
}
|
||||
|
||||
.dash-tile { min-width: 0; padding: 4px 6px; }
|
||||
|
||||
.dash-title {
|
||||
color: var(--text-dim);
|
||||
font-size: clamp(0.8rem, 1.05vw, 1.3rem);
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dash-order {
|
||||
min-height: 1.2em;
|
||||
margin-top: 0.4vw;
|
||||
text-align: center;
|
||||
font-size: clamp(1.6rem, 3.2vw, 4.2rem);
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.dash-article {
|
||||
min-height: 1.3em;
|
||||
text-align: center;
|
||||
color: var(--text-dim);
|
||||
font-size: clamp(0.9rem, 1.3vw, 1.7rem);
|
||||
}
|
||||
|
||||
.dash-clock { text-align: center; }
|
||||
.dash-clock-date { font-size: clamp(1rem, 1.5vw, 2rem); }
|
||||
.dash-clock-time {
|
||||
font-size: clamp(2.4rem, 5.2vw, 7rem);
|
||||
font-weight: 500;
|
||||
line-height: 1.05;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.dash-logo img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: clamp(60px, 9vw, 150px);
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.dash-value {
|
||||
min-height: 1.1em;
|
||||
margin-top: 0.6vw;
|
||||
text-align: center;
|
||||
font-size: clamp(2.2rem, 4.6vw, 6.4rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.1;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-value.green { color: #73bf69; }
|
||||
.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-log {
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: clamp(8px, 0.9vw, 16px);
|
||||
}
|
||||
.dash-log-scroll { flex: 1; min-height: 0; overflow: auto; margin-top: 8px; }
|
||||
|
||||
.dash-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: clamp(0.95rem, 1.35vw, 1.8rem);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.dash-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--bg);
|
||||
color: var(--text-dim);
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
padding: 0.5em 0.7em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.dash-table td { padding: 0.5em 0.7em; 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); }
|
||||
|
||||
Reference in New Issue
Block a user