Skip to content
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

Fix Exit this Page indicator colours not being suitable for hover/focus #3247

Merged

Conversation

querkmachine
Copy link
Member

Removes the background-color from the indicator dot container, as we want it to use whatever the button background colour is, including when hovering or focused.

Changes the indicator dots to use inherit/currentcolor so that the dots remain visible on the button's focus state. Still maintains the explicit colour definitions for IE8 as it doesn't support the currentcolor keyword.

Fixes #3246.

Removes the background-color from the indicator dots, as we want it to use whatever the button background colour is (including when hovering or focused).

Changes the indicator dots to use `currentcolor` so that the dots remain visible on the button's focus state.

Maintains the explicit colour definitions for IE8 as it doesn't support the `currentcolor` keyword.
@querkmachine querkmachine self-assigned this Feb 3, 2023
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3247 February 3, 2023 13:50 Inactive
Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff 💪🏻

@querkmachine querkmachine merged commit 83b7ba0 into hide-this-page-component Feb 3, 2023
@querkmachine querkmachine deleted the fix-exit-this-page-background branch February 3, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants