Add SVG version of user icon in Vector personal portlet
authorPau Giner <pau.giner@gmail.com>
Fri, 22 Feb 2013 09:36:55 +0000 (10:36 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 9 Apr 2013 21:49:27 +0000 (23:49 +0200)
commitb2f97d807beccb91017c69258fe3cdbe2622f0cf
treef71741f5cd7577f0259906c371d086fde3123dd6
parent1f50cedc981ad408b3f2cc01e4265dbb9b564230
Add SVG version of user icon in Vector personal portlet

An SVG version of the user icon is provided only for browsers supporting
SVG. To ensure browser compatibility, the SVG version is provided in a
two-layer background where the first layer is a transparent gradient.

The fact that browsers supporting CSS gradients are a strict subset of
those supporting SVG guarantees an appropriate fallback.
Embedding is used to avoid extra http requests.

Bug: 35341
Change-Id: I914da0649459744ccca9e1a78e9f48fe66e1a77f
skins/vector/images/user-icon.svg [new file with mode: 0644]
skins/vector/screen.css