-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add a box-shadow to the card #51
Comments
3d option (which I use) is have the cards all have their own style/box-shadow setting. in my swiper configs, they are all based on the same button-card template, so not much to configure btw, never checked myself, but did you try: https://swiperjs.com/swiper-api#param-cardsEffect-slideShadows ? |
must check that, because I hadnt noticed in my setup: ofc, I have a minimal box-shadow (must correct myself above, it is not defined in the button_card_templates, but in my theme settings):
as you can see, the radial background is shining through nicely |
All checks I usually do with a default theme to be sure that my themes do not affect the output. |
Here are my tests: As for "creative" - did not manage to specify a creativeEffect object. |
Finally:
|
If you have multiple card_mod:
style: |
ha-card {
margin: 3px;
} |
To avoid the shadow being hidden with
|
Hey all, how would i go about fixing the box shadow on my mushroom cards which make up 1 big card
|
same problems |
Using the "successor" custom:vertical-stack-in-card works perfectly. Thank you for the workaround
Only the bottom one (Entrada) is in a custom:vertical-stack-in-card |
can you share the code of your cards? :) |
Currently the card:
Workarounds: (only useful if inserted cards occupy the whole area of the swiper-card)
custom:stack-in-card
:which is not a perfect solution since the
stack-in-card
does not seem to be maintained.custom:mod-card
:which is not a perfect solution since you have to hardcode a currently default style for
box-shadow
.The text was updated successfully, but these errors were encountered: