User tests: Successful: Unsuccessful:
Pull Request for Issue #42679
In the current Cassiopeiatemplate the link hover colors don't work anymore. Also in the Bootstrap overrides of the custom properties in the theme color CSS of Cassiopeia files are ignored due to the loading order of the CSS files. See screenshot below:
Also added the --link-hover-color property in line with the --link-color
Checkout this PR and run in console: npm run build:css to build the CSS
Links hover colors don't work and Bootstrap custom properties overrides in the colors_standard.css and colors_alternative.css are rejected
Links hover colors work and Bootstrap custom properties overrides in the colors_standard.css and colors_alternative.css are accepted.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Repository NPM Change Front End Templates (site) |
Labels |
Added:
NPM Resource Changed
PR-4.4-dev
|
Title |
|
Question... at global.scss you can clearly see that a prefix can be set
When a prefix is set both link-color and link-hover-color will not work
The prefix is missing in de declaration of both link-color and link-hover-color.
They should be written as:
--#{prefix}link-color: #{$alternative-color-link};
--#{prefix}link-color-rgb: #{to-rgb($alternative-color-link)};
--cassiopeia-color-hover: #{$alternative-color-hover};
--#{prefix}link-hover-color: #{$alternative-color-hover};
--#{prefix}link-hover-color-rgb: #{to-rgb($alternative-color-hover)};
@hans2103 I do get it that to be fully Bootstrap compliant its better to use the prefixes. At the moment most of the custom properties in the Cassiopeia don't have prefixes. Adding prefixes to only the theme CSS files will break the template. Better address this in a separate PR.
I have tested this item ✅ successfully on e0344a0
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
bug
|
Thank you!
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-06 15:45:12 |
Closed_By | ⇒ | MacJoom |
I have tested this item ✅ successfully
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42794.