Page MenuHomePhabricator

Change filewarning to normal warning color and amend padding slightly
Closed, ResolvedPublic

Description

Currently, filewarning features a non-standard color not part of the WikimediaUI color palette.
It's already featuring the warning icon, so we can apply the standard treatment of inline warning messages with Base0 color.

image.png (304×1 px, 49 KB)

Example URL: https://commons.wikimedia.org/wiki/File:Sample_Syllabus_for_Wikipedia_assignment.pdf

Another quirks is the added padding, which looks unintended as long as user isn't interacting with the link.

Proposal

Proposal is to reduce the padding-right to 2px

image.png (254×1 px, 44 KB)

Event Timeline

Change 611958 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/core@master] Fix filewarning color and padding

https://gerrit.wikimedia.org/r/611958

Volker_E triaged this task as Medium priority.
Volker_E removed a project: Patch-For-Review.

Change 611958 merged by jenkins-bot:
[mediawiki/core@master] Fix filewarning color and padding

https://gerrit.wikimedia.org/r/611958