Hover on Card #2930
-
Hello, <Card style={{ Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @giladvidal I'm not quite sure what you want to achieve. If you want to add a Edit: |
Beta Was this translation helpful? Give feedback.
-
Thanks @Lukas742 , you are a real value to the company :) |
Beta Was this translation helpful? Give feedback.
-
Thanks @giladvidal :) I overlooked that you are using the "horizon" theme. With horizon the
Keep in mind though, that these are internal variables and that they can be changed without an entry in the change log of UI5 Web Components. If you feel like altering the styles of the card root should be possible without overwriting CSS variables then you could also open a feature request in the UI5 Web Components repo and ask our colleagues if they could add the ::part pseudo-element to the element in the shadow root. |
Beta Was this translation helpful? Give feedback.
Thanks @giladvidal :)
I overlooked that you are using the "horizon" theme. With horizon the
box-shadow
on hover is integrated by design and should preferably not be changed. If you still want to change it you could overwrite the hover CSS variable to the default one:Keep in mind though, that these are internal variables and that they can be changed without an entry in the change log of UI5 Web Components.
If you feel like altering the styles of the card root should be possible without overwriting CSS variables then you could also open a feature request in the UI5 Web Components repo and ask our colleagues if they could add the …