-
Notifications
You must be signed in to change notification settings - Fork 686
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
Replace "Cloud" upload icon with more neutral one #4548
Conversation
@@ -267,7 +267,7 @@ | |||
/var/www/securedrop/static/i/font-awesome/trash-black.png r, | |||
/var/www/securedrop/static/i/font-awesome/black/guard.svg r, | |||
/var/www/securedrop/static/i/font-awesome/white/guard.svg r, | |||
/var/www/securedrop/static/i/font-awesome/white/exclamation-circle.svg r, | |||
/var/www/securedrop/static/i/font-awesome/white/exclamation-circle.svg r, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(My editor cleans up trailing wihtespace by default.)
6a49d6f
to
4cee096
Compare
Adds rendering rule for the icon to accomplish two things: - give the icon room to breathe - force crisp rendering, to render large source image cleanly at smaller size (the source PNG is a bit larger than the default size to accommodate zooming) The crisp rendering rule may make sense as a generic rule at a later point, but so far this seems to be the best candidate for using it. The new icon was designed by Nina Alter (@ninavizz) and is not derived from FontAwesome, hence not in the font-awesome directory. Resolves #4535
4cee096
to
e69f9fb
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4548 +/- ##
===========================================
+ Coverage 80.42% 82.53% +2.11%
===========================================
Files 45 45
Lines 3121 3121
Branches 339 339
===========================================
+ Hits 2510 2576 +66
+ Misses 520 458 -62
+ Partials 91 87 -4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in Qubes staging environment:
- confirmed icons match those in test plan, and zooming into page doesn't affect fidelity
- confirmed no errors triggered in
/var/log/apache2/source-error.log
,/var/log/kern.log
,/var/log/syslog
when icons are loaded.
LGTM once CI passes.
Adds rendering rule for the icon to accomplish two things:
The crisp rendering rule may make sense as a generic rule at a later point, but so far this seems to be the best candidate for using it.
The new icon was designed by Nina Alter (@ninavizz) and is not derived from FontAwesome, hence not in the
font-awesome
directory.Resolves #4535
Status
Ready for review
Test plan
The screens should look as follows:
Index page (default state):
Index page (hover state):
Upload screen: