Add more info alarm control panel (#15893)

* Add more info alarm control panel

* Improve buttons sizes

* Add triggered, arming and pending state

* Add keypad

* Improve alarm code dialog

* Fix code condition

* Clean code

* Fix mode selection with code

* Use nothing
This commit is contained in:
Paul Bottein
2023-03-28 16:31:25 +02:00
committed by GitHub
parent 3a700aebcc
commit 48c74c8660
10 changed files with 671 additions and 184 deletions

View File

@@ -85,6 +85,7 @@ export class HaControlButton extends LitElement {
--control-button-background-opacity: 0.2;
--control-button-border-radius: 10px;
--mdc-icon-size: 20px;
color: var(--primary-text-color);
width: 40px;
height: 40px;
-webkit-tap-highlight-color: transparent;
@@ -110,6 +111,8 @@ export class HaControlButton extends LitElement {
--mdc-ripple-color: var(--control-button-background-color);
/* For safari border-radius overflow */
z-index: 0;
font-size: inherit;
color: inherit;
}
.button::before {
content: "";