Page MenuHomePhabricator

We should give transparent attachments in Phabricator a checkered background
Open, LowestPublic

Description

MediaWiki (discussed in T28470) gives transparent files a checkered background so that one can actually see it; we should consider doing this in Phabricator too, as currently you cannot see white images easily (such as the white Wikimedia logo attached to T69).

Event Timeline

MC8 created this task.Dec 16 2014, 11:20 AM
MC8 raised the priority of this task from to Low.
MC8 updated the task description. (Show Details)
MC8 added a project: Phabricator.
MC8 changed Security from none to None.
MC8 added a subscriber: MC8.
Qgil added a subscriber: Qgil.Jan 16 2015, 10:27 AM

@MC8, would it be too much to ask for a link to the code providing this checkered background in MediaWiki? I'm happy to file this request upstream, and a link to our solutions will be useful.

MC8 added a comment.EditedJan 16 2015, 10:41 AM

The MediaWiki equivalent of this task is T28470, which resulted in this code being added to skins/common/shared.css:

.filehistory a img,
#file img:hover {
    /* @embed */
    background: white url(images/Checker-16x16.png) repeat;
}

Here's an example blank image.

Qgil lowered the priority of this task from Low to Lowest.Mar 13 2015, 11:59 AM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMay 23 2016, 6:03 PM