Skip to content

Commit

Permalink
Merge pull request #132 from iantrich/feat-background-hides-slowly
Browse files Browse the repository at this point in the history
feat: Background hides slowly
  • Loading branch information
ildar170975 authored Jan 17, 2025
2 parents baeb0f1 + 53fe69a commit fdfa684
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CARD_VERSION = '1.2.12';
export const CARD_VERSION = '1.2.13';
4 changes: 2 additions & 2 deletions src/restriction-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ class RestrictionCard extends LitElement implements LovelaceCard {
--mdc-icon-size: var(--lock-icon-size);
}
#overlay {
align-items: flex-start;
padding: 8px 7px;
position: absolute;
left: 0;
Expand All @@ -297,7 +296,8 @@ class RestrictionCard extends LitElement implements LovelaceCard {
background: var(--restriction-overlay-background, unset);
}
#overlay:has(.hidden) {
background: unset;
opacity: 0 !important;
transition: opacity 2s linear;
}
#overlay:not(:has(.hidden)):has(+ #card.card-row) {
outline: var(--restriction-overlay-row-outline, none);
Expand Down

0 comments on commit fdfa684

Please sign in to comment.