128 lines
2.9 KiB
CSS
128 lines
2.9 KiB
CSS
/* Farben zentral — gleiche Werte für Zeilen und Legende */
|
|
.machines-overview {
|
|
--mrow-none: rgba(240, 243, 246, 0.12);
|
|
--mrow-pruefen: rgba(229, 57, 53, 0.45);
|
|
--mrow-verschrottet: rgba(206, 147, 216, 0.45);
|
|
--mrow-sn: rgba(102, 187, 106, 0.4);
|
|
--mrow-bearbeitung: rgba(255, 235, 59, 0.35);
|
|
--mrow-update: rgba(38, 198, 218, 0.4);
|
|
}
|
|
|
|
.machines-overview-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 1rem 1.5rem;
|
|
}
|
|
|
|
.machines-overview-title h2 {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
/* Legende oben rechts */
|
|
.machine-legend {
|
|
flex-shrink: 0;
|
|
max-width: min(100%, 16rem);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 0.55rem 0.75rem 0.6rem;
|
|
background: var(--bg-card);
|
|
font-size: 0.82rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.machine-legend-title {
|
|
font-weight: 600;
|
|
color: var(--text-sub);
|
|
margin-bottom: 0.4rem;
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.machine-legend-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.machine-legend-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
margin: 0.15rem 0;
|
|
color: var(--text);
|
|
}
|
|
|
|
.machine-legend-swatch {
|
|
flex-shrink: 0;
|
|
width: 1rem;
|
|
height: 0.75rem;
|
|
border-radius: 3px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--none {
|
|
background: var(--mrow-none);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--pruefen {
|
|
background: var(--mrow-pruefen);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--verschrottet {
|
|
background: var(--mrow-verschrottet);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--sn {
|
|
background: var(--mrow-sn);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--bearbeitung {
|
|
background: var(--mrow-bearbeitung);
|
|
}
|
|
|
|
.machine-legend-swatch.machine-row--update {
|
|
background: var(--mrow-update);
|
|
}
|
|
|
|
/* Maschinenliste: ganze Zeile gemäß Listen-Status */
|
|
#machine-table tbody tr.machine-row--none {
|
|
background: var(--mrow-none);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--pruefen {
|
|
background: var(--mrow-pruefen);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--verschrottet {
|
|
background: var(--mrow-verschrottet);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--sn {
|
|
background: var(--mrow-sn);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--bearbeitung {
|
|
background: var(--mrow-bearbeitung);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--update {
|
|
background: var(--mrow-update);
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--pruefen a,
|
|
#machine-table tbody tr.machine-row--verschrottet a,
|
|
#machine-table tbody tr.machine-row--sn a,
|
|
#machine-table tbody tr.machine-row--bearbeitung a,
|
|
#machine-table tbody tr.machine-row--update a {
|
|
color: inherit;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#machine-table tbody tr.machine-row--bearbeitung a {
|
|
color: var(--accent-hi);
|
|
}
|