-
Notifications
You must be signed in to change notification settings - Fork 55
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
Having different cards as homekit style cards #139
Comments
Ever make any progress on this? I have a custom card I want displayed just like this. |
@skewll Try this
|
Thanks. This partially works, but the methods for overwritting the default styles don't work so everything is stuck inside of the 100px boxes. The over flow doesn't hide, since the boxes ares tuck at 100x x 100px, or in the case since it's wider 200px x 200px. My custom card is about 120px x 200px. |
I figured it out. I woke up today to see some style changes. Apparently I
need to close the home assistant app out and reload to see any of these
default css changes for some reason. You have set me off in the right
direction and I appreciate it. Thank you.
…On Thu, Apr 18, 2024, 3:51 PM slipx06 ***@***.***> wrote:
@skewll <https://github.com/skewll> Try this
- card: custom:mini-media-player
entity: media_player.room_speaker
noPadding: true
wider: true
higher: true
cardStyle: |
ha-card {
height: 100%;
background: none !important;
box-shadow: none !important;
position: relative;
font-size: 0.5vw !important;
image
}
ha-card{
overflow: hidden !important;
}
:host #primaryProgress{
background: #474A52 !important;
display: flex !important;
height: 100%;
}
cardOptions:
artwork: full-cover
entity: media_player.room_speaker
power: true
progress: false
runtime: true
icon: true
source: true
volume: true
controls: false
—
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARQFDKE63LWC2CVT5E75KT3Y6BFAJAVCNFSM52QYI4XKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBWGU2DKMBVHE2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I wanted to use the custom mini media player as a tile but I cant get it to work. This is the code I used:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: