Page MenuHomePhabricator

UploadWizard: Transparent spinner background
Closed, ResolvedPublic

Description

Author: neilk

Description:
The white background is ugly...


Version: unspecified
Severity: enhancement

Details

Reference
bz28318

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:25 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz28318.

Doesn't out default one (/trunk/phase3/skins/common/images/ajax-loader.gif) have a transparent background that could be used?

Problem is, animated GIFs only have a 1-bit alpha channel for transparency, so each GIF can only be anti-aliased to a single color. PNGs have 8-bit alpha channels and thus no uglyness, but you can't easily animate PNGs. There are 2 different solutions available:

  1. Create several different animated GIF spinners - each anti-aliased to a different color.
  1. Create a non-animated PNG spinner, and spin it with some fancy javascript/css. Unfortunately this doesn't work in Opera and some older browsers.

neilk wrote:

  1. For multiple backgrounds -- I made these at http://www.ajaxload.info/ so that's easily done
  1. No, this is not worth it.

Another option:

  1. eliminate the grey tint block that goes on alternating rows.