Update SUSE banner and support left-justified text overlay #15716
+92
−22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #15744
Occurred changes and/or fixed issues
This PR adds the new banner (to be updated).
It also adds to brand metadata to allow the overlaid text to be left-aligned rather than centred - this is now used for the SUSE banner.
We also add the ability to specify a class name that will be added to the banner, so that a brand's stylesheet can customise the style, without defining styles that rely on the particular styles that are used in the dashboard code.
This PT also removes the
smallstyle from the banner component - we only show it in 2 places and these will now both use a single default height of 200px. This PR tweaks the styles slightly to ensure that a custom theme style does not get ignored due to CSS specificity rules.Areas or cases that should be tested
Check homepage banner when the
ui-brandis set tosuse.Screenshot/Video
Light Mode:

Dark Mode:

Note on medium screens, the welcome text overlaps the border of the circle in the image (see the
Rof Rancher):Light Mode:

Dark Mode:

On smaller screen widths, we change the banner centring to left, so the text does not overlay onto the ship part of the image:
Light Mode:

Dark Mode:

Checklist
Admin,Standard UserandUser Base