Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Fix area card CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Jul 14, 2024
1 parent 5c75425 commit 5a11578
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions dashboards/cards/alarm.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
type: entities
title: Intrusions

style:
.: |
.header {
position: absolute;
right: 0;
top: 0;
margin: 12px 12px 0 0;
--mdc-icon-size: 24px;
}
"hui-buttons-header-footer$": |
.divider {
display: none;
}
hui-buttons-base.header.header {
--padding-top: 0;
}
"hui-buttons-header-footer$hui-buttons-base$ha-chip$": |
.mdc-chip__icon {
margin-inline: 0 !important;
}
"hui-buttons-header-footer$hui-buttons-base$state-badge$": |
ha-icon[data-domain="lock"][data-state="unlocked"] {
color: var(--paper-item-icon-color) !important;
}
ha-icon[data-domain="lock"][data-state="locked"] {
color: var(--paper-item-icon-active-color) !important;
}
card_mod:
style:
.: |
.header {
position: absolute;
right: 0;
top: 0;
margin: 12px 12px 0 0;
--mdc-icon-size: 24px;
}
"hui-buttons-header-footer$": |
.divider {
display: none;
}
hui-buttons-base.header.header {
--padding-top: 0;
}
"hui-buttons-header-footer$hui-buttons-base$ha-chip$": |
.mdc-chip__icon {
margin-inline: 0 !important;
}
"hui-buttons-header-footer$hui-buttons-base$state-badge$": |
ha-icon[data-domain="lock"][data-state="unlocked"] {
color: var(--paper-item-icon-color) !important;
}
ha-icon[data-domain="lock"][data-state="locked"] {
color: var(--paper-item-icon-active-color) !important;
}
header:
type: buttons
Expand Down

0 comments on commit 5a11578

Please sign in to comment.