Pginer has uploaded a new change for review. https://gerrit.wikimedia.org/r/50355
Change subject: (bug 35341): 'user' icon in SVG with cross-browser fallback ...................................................................... (bug 35341): 'user' icon in SVG with cross-browser fallback A 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 stict subset of those supporting SVG guarantees that any non-SVG capable browser would attempt to render the SVG version. Change-Id: I914da0649459744ccca9e1a78e9f48fe66e1a77f --- M skins/vector/screen.css 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/55/50355/1 diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 2e09ee1..b7f0de0 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -783,6 +783,8 @@ #pt-login { /* @embed */ background: url(images/user-icon.png) left top no-repeat; + background-image: -webkit-linear-gradient(transparent, transparent), url(images/user-icon.svg); + background-image: linear-gradient(transparent, transparent), url(images/user-icon.svg); padding-left: 15px !important; text-transform: none; } -- To view, visit https://gerrit.wikimedia.org/r/50355 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I914da0649459744ccca9e1a78e9f48fe66e1a77f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Pginer <pgi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits