Russ
Well-known member
- Affected version
- 2.2
"New posts" on the main forum index works fine on the default style, but it uses this CSS:
This approach doesn't do well grey's and potentially other colors, turns it reddish. I'm wondering if there's a better approach to this (I'm aware I can just overwrite it).
Code:
.m-buttonBlockColorVariationSimple(@color)
{
.m-buttonBorderColorVariation(@color);
&:not(.button--splitTrigger),
&.button--splitTrigger > .button-text,
&.button--splitTrigger > .button-menu
{
&:hover,
&:focus,
&:active
{
background-color: saturate(xf-intensify(@color, 4%), 12%);
}
}
}
This approach doesn't do well grey's and potentially other colors, turns it reddish. I'm wondering if there's a better approach to this (I'm aware I can just overwrite it).