.rgb-row { display: grid; grid-template-columns: 78px repeat(3, minmax(0, 1fr)); gap: 9px; align-items: start; } .color-field { display: flex; flex-direction: column; align-items: center; } .color-field label { display: block; width: 100%; color: var(--muted); font-size: 12px; text-align: center; } .swatch-wrap { position: relative; width: 42px; height: 42px; margin: 5px auto 0; } .swatch { display: block; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff5; box-shadow: 0 0 12px #0008; cursor: pointer; } .color-picker { position: absolute; inset: 0; width: 42px !important; height: 42px !important; padding: 0 !important; margin: 0 !important; opacity: 0; cursor: pointer; } @media (max-width: 800px) { .rgb-row { grid-template-columns: 68px 1fr; } .rgb-row .field { grid-column: 2; } .color-field { grid-row: 1 / span 3; } } /* Hardware display status belongs to the primary-alert metric. */ .pi-alert-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .pi-alert-heading .semantic-status { flex-shrink: 0; }