We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Most of the CSS for ui5-toast is not set on the :host but instead inside the shadow root.
ui5-toast
:host
F.e. in Button.css we have:
Button.css
:host { min-width: var(--_ui5_button_base_min_width); height: var(--_ui5_button_base_height); line-height: normal; font-family: var(--_ui5_button_fontFamily); font-size: var(--sapFontSize); text-shadow: var(--_ui5_button_text_shadow); border-radius: var(--_ui5_button_border_radius); cursor: pointer; background-color: var(--sapButton_Background); border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor); color: var(--sapButton_TextColor); box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
so ui5-button can be overstyled easily.
ui5-button
In ui5-toast we have:
:host { font-family: "72override", var(--sapFontFamily); color: var(--sapList_TextColor); font-size: var(--sapFontSize); }
which is significantly less, and the rest is here:
.ui5-toast-root { position: fixed; display: none; box-sizing: border-box; max-width: 15rem; overflow: hidden; padding: 1rem; background: var(--_ui5_toast_background); box-shadow: var(--_ui5_toast_shadow); border-radius: var(--sapElement_BorderCornerRadius); transition-property: opacity; opacity: 1; font-family: inherit; color: inherit; font-weight: inherit; font-size: inherit; word-wrap: break-word; text-align: center; text-overflow: ellipsis; white-space: pre-line; }
Please move all relevant CSS from .ui5-toast-root to :host
.ui5-toast-root
No response
...
Medium
latest
Chrome, Edge, Firefox, Safari
The text was updated successfully, but these errors were encountered:
Internal BLI was created: FIORITECHP1-28885
Sorry, something went wrong.
feat(ui5-toast): enable overstyling
6fca244
FIXES: #7596
feat(ui5-toast): enable overstyling (#8170)
3bfdb85
97a3267
Successfully merging a pull request may close this issue.
Bug Description
Most of the CSS for
ui5-toast
is not set on the:host
but instead inside the shadow root.F.e. in
Button.css
we have:so
ui5-button
can be overstyled easily.In
ui5-toast
we have:which is significantly less, and the rest is here:
Please move all relevant CSS from
.ui5-toast-root
to:host
Affected Component
ui5-toast
Expected Behaviour
No response
Isolated Example
No response
Steps to Reproduce
...
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
latest
Browser
Chrome, Edge, Firefox, Safari
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: