feat: Add UI support for PTZ presets (#1920)
- Closes #1889 Whilst a simple change theoretically, the card has such a collection of surfaces that can overlap other surfaces, it's challenging to get this to work right! There's a real chance this will have broken something z-index related (e.g. X overlaps Y when it should not), or (for related reasons) broken curver corners on the card.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@use './button.scss';
|
||||
|
||||
ha-icon-button {
|
||||
// Icons in the menu are expected to follow Advanced Camera Card theming
|
||||
// unless they are active (in which case we want to take advantage of the
|
||||
// whatever styling is appropriate, e.g. light icon partially lit).
|
||||
--state-unavailable-color: var(--advanced-camera-card-button-color);
|
||||
--state-inactive-color: var(--advanced-camera-card-button-color);
|
||||
|
||||
color: var(--advanced-camera-card-menu-button-inactive-color);
|
||||
background-color: var(--advanced-camera-card-menu-button-background);
|
||||
}
|
||||
Reference in New Issue
Block a user