Buttons in the logs page should get grayed out when they are disabled
Summary
Buttons in the logs page should get grayed out when they are disabled.
Steps to reproduce
- Go to a Pipeline https://gitlab.com/gitlab-org/gitlab/pipelines
- Click on a pipeline job e.g. https://gitlab.com/gitlab-org/gitlab/-/jobs/335680805
- Scroll up and down in the page
- Pay attention to the buttons
Example Project
https://gitlab.com/gitlab-org/gitlab has this behavior
What is the current bug behavior?
Buttons are disabled but appear to have a black color.
What is the expected correct behavior?
When buttons are disabled they should be grayed out.
At the top of the page:
At the bottom of the page:
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
SVGs in the buttons should inherit the color of the text. This is currently not possible.
- Fill of SVGs is hardcoded in the build-controllers mixin to
fill: $gl-text-color, so the state of the button will not affect this color. -
btn-transparentclass prevents the buttons from having the same color as the rest of the text (#2e2e2e). Perhaps the buttons text color should be set to$gl-text-color - This hack can force the correct behavior to be visible.
.btn:disabled svg {
color: inherit;
fill: currentColor;
}



