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 footer donate visited color #15722

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

janbrasna
Copy link
Contributor

@janbrasna janbrasna commented Dec 12, 2024

One-line summary

Avoids using "visited" purple color for Donate CTA in footer of fx base pages.

Significant changes and points to review

The color was only set on anchor, not :link — and in m24 base styles the :link generally defines white color — something not present in fx styles, where the visited purple treatment is then applied to this CTA.

Moving the CTA color from anchor to :link/:visited is the easiest fix. I don't see anything that can be negatively impacted by missing the white color on the anchor proper, and just defining it for the pseudos, but felt it's worth noting nonetheless.

Issue / Bugzilla link

Fixes #15701

Testing

http://localhost:8000/en-US/firefox/133.0/whatsnew/#colophon
http://localhost:8000/en-US/firefox/welcome/10/#colophon

(Click the Donate button in the footer so it's marked as visited.)

@maureenlholland maureenlholland self-assigned this Dec 12, 2024
Copy link
Collaborator

@maureenlholland maureenlholland left a comment

Choose a reason for hiding this comment

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

r+ :shipit:

@maureenlholland maureenlholland merged commit a623a2c into mozilla:main Dec 12, 2024
5 checks passed
@janbrasna janbrasna deleted the fix/donate-visited branch December 12, 2024 16:14
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.

Refresh: footer donate button visited color on Firefox pages
2 participants