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

Use SVG for 'Empowered by' logo #21841

Merged
merged 1 commit into from
Oct 16, 2021
Merged

Conversation

braders
Copy link
Contributor

@braders braders commented Oct 15, 2021

Overview

https://lab.civicrm.org/dev/core/-/issues/2913

Out of the box, CiviCRM contains an "Empowered by CiviCRM" line at the bottom of certain pages, including public-facing screens. Currently this uses civi99.png which has been unchanged for at least 7 years

Screenshot_2021-10-13_at_13.50.00

On some screens, especially high-definition screens, this PNG can look rather blurry. I'd like to suggest that an SVG is used instead.

Before

A png was used, which looked blurry on high-definition screens. (or when zoomed in)

After

An SVG equivalent is used instead (on browsers which support it)

Technical Details

The png logo has been left as a fallback for older browsers which do not support SVG (older Internet Explorer), using the technique found here: https://css-tricks.com/using-svg/#browser-support

Some third-party admin themes (e.g. https://github.com/christianwach/civicrm-admin-utilities/) will need to update their CSS to make use of this improvement.

@civibot
Copy link

civibot bot commented Oct 15, 2021

(Standard links)

@civibot civibot bot added the master label Oct 15, 2021
@colemanw
Copy link
Member

Looks great, thanks!

@colemanw colemanw merged commit f159e8a into civicrm:master Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants