mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-05 20:48:45 +00:00
28e5d9acb1
Per figma mock [1] the icon should be different for IP masked users. Icon and text should also be gray. [1] https://www.figma.com/file/xECM2hD7vEemP91M9YAQBC/IP-Masking?node-id=11%3A4681&t=iaM6G4xvjrBvkjlh-0 Bug: T328725 Change-Id: Ia8a06c3fd0bffb70e0dd0c26bcabbf02ab176994
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
@import '../../common/variables.less';
|
|
|
|
/* Personal Menu */
|
|
.vector-user-menu-legacy {
|
|
li {
|
|
font-size: @font-size-nav-personal;
|
|
float: left;
|
|
margin-left: 0.75em;
|
|
// `padding-top` instead of `margin-top` necessary for
|
|
// anonymous user icon position below
|
|
padding-top: 0.5em;
|
|
line-height: @line-height-nav-personal;
|
|
}
|
|
|
|
/* Icon for registered user names & anonymous message */
|
|
#pt-anonuserpage,
|
|
#pt-userpage a {
|
|
background-position: @background-position-nav-personal-icon;
|
|
background-image: url( images/user-avatar.svg );
|
|
background-repeat: no-repeat;
|
|
background-size: @background-size-nav-personal-icon @background-size-nav-personal-icon;
|
|
padding-top: 0.5em;
|
|
padding-left: 1.5em;
|
|
|
|
&.mw-userpage-tmp {
|
|
font-weight: normal;
|
|
opacity: 0.67;
|
|
background-image: url( images/userAnonymous.svg );
|
|
}
|
|
}
|
|
|
|
#pt-userpage {
|
|
padding-top: 0;
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
/* Show anonymous "Not logged in" text in gray */
|
|
#pt-anonuserpage {
|
|
color: #54595d;
|
|
}
|
|
|
|
.vector-menu-content-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-grow: 1;
|
|
justify-content: flex-end;
|
|
align-items: baseline;
|
|
}
|
|
}
|