Merge "Add SVG version of user icon in Vector personal portlet"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 9 Apr 2013 22:22:09 +0000 (22:22 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 9 Apr 2013 22:22:09 +0000 (22:22 +0000)
1  2 
skins/vector/screen.css

diff --combined skins/vector/screen.css
@@@ -709,6 -709,7 +709,6 @@@ pre, .mw-code 
  #firstHeading {
        padding-top: 0;
        margin-top: 0;
 -      padding-top: 0;
        font-size: 1.6em;
  }
  div#content a.external,
@@@ -782,6 -783,12 +782,12 @@@ div#content a.external[href *=".pdf?"]
  #pt-login {
        /* @embed */
        background: url(images/user-icon.png) left top no-repeat;
+       /* SVG support using a transparent gradient to guarantee cross-browser
+        * compatibility (browsers able to understand gradient syntax support also SVG) */
+       /* @embed */
+       background-image: -webkit-linear-gradient(transparent, transparent), url(images/user-icon.svg);
+       /* @embed */
+       background-image: linear-gradient(transparent, transparent), url(images/user-icon.svg);
        padding-left: 15px !important;
        text-transform: none;
  }