Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] If locked - set a specified background color to the row/card [may be achieved by card-mod] #68

Closed
ildar170975 opened this issue Feb 9, 2022 · 2 comments

Comments

@ildar170975
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When the row/card is locked, the whole row/card has a specified background-color:
изображение

Describe the solution you'd like
A clear and concise description of what you want to happen.

The background may be set as a CSS style to the div#overlay element:

    background: rgba(66, 66, 66, 0.1);

The color must be specified by an option:
background_locked: rgba(...) or not specified (default)

Also, a special CSS variable may be defined to set the background color for cards in HA.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ildar170975
Copy link
Collaborator Author

ildar170975 commented Jul 10, 2023

@ildar170975 ildar170975 changed the title If locked - set a specified background color to the row/card [FR] If locked - set a specified background color to the row/card [may be acieved by card-mod] Jul 10, 2023
@ildar170975 ildar170975 changed the title [FR] If locked - set a specified background color to the row/card [may be acieved by card-mod] [FR] If locked - set a specified background color to the row/card [may be achieved by card-mod] Jul 10, 2023
@ildar170975
Copy link
Collaborator Author

Added in 1.2.11 (#126)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant