Robmoen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/146979
Change subject: Make profile icon gender neutral. Remove from Login link
......................................................................
Make profile icon gender neutral. Remove from Login link
Bug: 41484
Change-Id: I082099d67a314d47a49124e947351cbc4e64ce6e
---
M skins/Vector/components/personalMenu.less
M skins/Vector/images/user-icon.png
M skins/Vector/images/user-icon.svg
3 files changed, 29 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/79/146979/1
diff --git a/skins/Vector/components/personalMenu.less
b/skins/Vector/components/personalMenu.less
index 7256929..0368aae 100644
--- a/skins/Vector/components/personalMenu.less
+++ b/skins/Vector/components/personalMenu.less
@@ -30,12 +30,12 @@
/* Icon for Usernames */
#pt-userpage,
-#pt-anonuserpage,
-#pt-login {
- background-position: left top;
+#pt-anonuserpage {
+ background-position: left center;
background-repeat: no-repeat;
/* SVG support using a transparent gradient to guarantee cross-browser
* compatibility (browsers able to understand gradient syntax support
also SVG) */
.background-image-svg('images/user-icon.svg', 'images/user-icon.png');
+ background-size: 13px;
padding-left: 15px !important;
}
diff --git a/skins/Vector/images/user-icon.png
b/skins/Vector/images/user-icon.png
index 57f9f8d..df6faf1 100644
--- a/skins/Vector/images/user-icon.png
+++ b/skins/Vector/images/user-icon.png
Binary files differ
diff --git a/skins/Vector/images/user-icon.svg
b/skins/Vector/images/user-icon.svg
index 4335bcf..9340b04 100644
--- a/skins/Vector/images/user-icon.svg
+++ b/skins/Vector/images/user-icon.svg
@@ -1 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="12"
height="13.837"><defs><linearGradient id="e"><stop offset="0"/><stop offset="1"
stop-opacity="0"/></linearGradient><linearGradient id="b"><stop offset="0"
stop-color="#3b74bc"/><stop offset="1"
stop-color="#2d5990"/></linearGradient><linearGradient id="c"><stop offset="0"
stop-color="#fff"/><stop offset="1"
stop-color="#c9c9c9"/></linearGradient><linearGradient id="a"><stop
offset="0"/><stop offset="1" stop-opacity="0"/></linearGradient><linearGradient
id="d"><stop offset="0" stop-color="#f4d9b1"/><stop offset="1"
stop-color="#df9725"/></linearGradient><radialGradient cx="31.113" cy="19.009"
r="8.662" fx="31.113" fy="19.009" id="f" xlink:href="#a"
gradientUnits="userSpaceOnUse"/><radialGradient cx="28.09" cy="27.203"
r="13.565" fx="28.09" fy="27.203" id="g" xlink:href="#b"
gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.298 0 0 .885 -8.359
4.94)"/><linearGradient x1="30.936" y1="29.553" x2="30.936" y2="35.803" id="h"
xlink:href="#c" gradientUnits="userSpaceOnUse"/><radialGradient cx="31.113"
cy="19.009" r="8.662" fx="31.113" fy="19.009" id="i" xlink:href="#a"
gradientUnits="userSpaceOnUse"/><radialGradient cx="29.345" cy="17.064"
r="9.162" fx="29.345" fy="17.064" id="j" xlink:href="#d"
gradientUnits="userSpaceOnUse" gradientTransform="matrix(.788 0 0 .788 6.221
3.618)"/><linearGradient x1="20.662" y1="35.818" x2="22.627" y2="36.218" id="k"
xlink:href="#e" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.983
.182 -.182 .983 6.232 -2.651)"/><linearGradient x1="22.687" y1="36.39"
x2="21.408" y2="35.74" id="l" xlink:href="#e" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-.978 .21 .21 .978 55.11 -3.945)"/></defs><g
color="#000"><path d="M39.775 19.009a8.662 8.662 0 1 1-17.324 0 8.662 8.662 0 1
1 17.324 0z" transform="matrix(.693 0 0 .374 -15.548 3.481)" fill="url(#f)"
fill-rule="evenodd" overflow="visible"/><path d="M4.046 12.398h4.137c1.172 0
2.332-.43 2.758-1.655.404-1.163.069-3.378-2.551-5.171h-4.895c-2.62 1.655-2.947
3.917-2.344 5.24.614 1.347 1.655 1.586 2.896 1.586z" fill="url(#g)"
fill-rule="evenodd" stroke="#204a87" stroke-linecap="round"
stroke-linejoin="round" overflow="visible" stroke-width="0.39"/><path d="M4.321
6.193c1.241 1.103 1.793 5.102 1.793 5.102s.552-3.999 1.517-5.171l-3.309.069z"
fill="url(#h)" fill-rule="evenodd" overflow="visible"/><path d="M5.21
6.607s-.839.648-.767 1.428c-.796-.702-.819-2.048-.819-2.048l1.586.62z"
fill="#729fcf" fill-rule="evenodd" overflow="visible"/><path d="M4.018
11.992l4.092-.009c1.029 0 2.049-.377
2.422-1.453.355-1.022-.037-2.967-2.338-4.542l-4.495-.095c-2.301 1.453-2.747
3.441-2.208 4.697.538 1.256 1.324 1.393 2.526 1.401z" opacity=".215"
stroke="#fff" stroke-linecap="round" stroke-linejoin="round" overflow="visible"
fill="none" stroke-width="0.39"/><path d="M6.941 6.607s.839.648.767
1.428c.796-.702.819-2.048.819-2.048l-1.586.62z" fill="#729fcf"
fill-rule="evenodd" overflow="visible"/><path d="M39.775 19.009a8.662 8.662 0 1
1-17.324 0 8.662 8.662 0 1 1 17.324 0z" transform="matrix(.39 0 0 .39 -6.138
-2.475)" fill="url(#i)" fill-rule="evenodd" overflow="visible"/><path
d="M39.775 19.009a8.662 8.662 0 1 1-17.324 0 8.662 8.662 0 1 1 17.324 0z"
fill="url(#j)" fill-rule="evenodd" stroke="#c17d11" stroke-linecap="round"
stroke-linejoin="round" overflow="visible" transform="matrix(.39 0 0 .39 -6.089
-3.84)"/><path d="M39.775 19.009a8.662 8.662 0 1 1-17.324 0 8.662 8.662 0 1 1
17.324 0z" transform="matrix(.342 0 0 .342 -4.598 -2.929)" opacity=".196"
stroke="#fff" stroke-width="1.14" stroke-linecap="round"
stroke-linejoin="round" overflow="visible" fill="none"/><path d="M2.433
12.062c-.487-.213-.704-.725-.704-.725.328-1.587 1.451-2.748 1.451-2.748s-.889
2.5-.746 3.473z" opacity=".228" fill="url(#k)" fill-rule="evenodd"
overflow="visible"/><path d="M9.806
11.728c.48-.227.704-.781.704-.781-.374-1.577-1.551-2.669-1.551-2.669s.961
2.474.847 3.45z" opacity=".228" fill="url(#l)" fill-rule="evenodd"
overflow="visible"/></g></svg>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="155.186px" height="155.186px" viewBox="222.943 298.736 155.186
155.186"
+ enable-background="new 222.943 298.736 155.186 155.186"
xml:space="preserve">
+<rect x="222.943" y="300.921" fill="none" width="177.042" height="186.878"/>
+<g>
+ <g>
+ <path fill="#444444" stroke="#444444" stroke-width="0.7"
stroke-miterlimit="10" d="M300.536,379.607
+
c-21.857,0-40.436-18.579-40.436-40.436s18.579-40.436,40.436-40.436s40.436,18.579,40.436,40.436
+ S323.485,379.607,300.536,379.607z
M300.536,304.2c-18.579,0-33.878,15.3-33.878,33.878s15.3,33.878,33.878,33.878
+
s33.878-15.3,33.878-33.878S319.114,304.2,300.536,304.2z"/>
+ </g>
+</g>
+<g>
+ <g>
+ <path fill="#444444" stroke="#444444" stroke-width="0.7"
stroke-miterlimit="10" d="M378.129,453.922H222.943v-3.279
+
c0-5.464,0-18.578,5.464-30.6c6.557-15.3,20.764-26.229,39.343-30.6h1.093l1.093,1.093c8.743,5.464,19.671,8.743,30.6,8.743
+
c10.928,0,20.764-3.278,30.6-8.743l1.093-1.093h1.093c19.672,5.464,32.786,15.3,39.343,30.6c5.465,12.021,5.465,25.136,5.465,30.6
+ V453.922z
M228.407,448.457h143.164c0-6.557-1.093-15.3-5.464-25.136c-5.465-13.114-16.394-22.95-32.786-27.321
+
c-9.836,5.464-20.764,8.743-32.786,8.743c-10.929,0-22.95-3.279-32.786-8.743c-16.393,4.371-28.414,14.207-33.878,27.321
+ C229.5,432.064,229.5,441.9,228.407,448.457z"/>
+ </g>
+</g>
+</svg>
--
To view, visit https://gerrit.wikimedia.org/r/146979
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I082099d67a314d47a49124e947351cbc4e64ce6e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Robmoen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits