-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
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
Custom colored toolbar button icons ignore the disabled setting #1035
Comments
@LHinson any idea who's a good person to ping about this? |
@skateman @terezanovotna To confirm, the icons do not look disabled because of this customization? If you used the standard color, would the icon look disabled? From a user experience perspective, I don't see any reason why edit, policy or download (as seen in the screenshot above) require a color. What value does that provide? The goal of PatternFly is to provide consistency across the various UIs, therefore I'd recommend removing this customization and opt for the PF recommended colors to align with the broader set of products. |
@LHinson the problem here is inconsistency, if the button has no custom color (i.e. has the default one) and it becomes disabled, its color will be adjusted: |
@terezanovotna @LHinson this was a requested feature by @Loicavenel |
@skateman I cannot remember this, I know this was requested for Custom Button |
@Loicavenel yes, this is the custom buttons feature with custom colors. As far as I understand @terezanovotna is suggesting to drop the coloring and have all icons gray, so we don't have to deal with the opacity when disabled. |
@skateman is right. Would it be a reasonable solution? @Loicavenel |
@terezanovotna we introduced this feature in CF 4.6 and people really like the capability to set color on the 811 icons option, not sure we should removed a feature already supported |
So the thing I am proposing here is to adjust the definition of the |
Seems ok for me.. |
Hi @skateman you are right, it should be an opacity. I have 2 concerns:
@skateman will you be able to send a PR to fix this? |
@andresgalante I was looking into this, but couldn't come up with a fix, that's why I created the issue and not a PR 😞 |
We need to support custom colored button icons in ManageiQ, but it seems like if I have to set the opacity on the color manually if I want to have it look consistently disabled with the button text.
It looks like:
But it should look like:
Is there any way to adjust the
disabled
class in patternfly to apply on the custom colored fonticons?Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1501114
Workaround: ManageIQ/ui-components#284
The text was updated successfully, but these errors were encountered: