mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
8d0659b1e6
* Use pt-tmpuserpage for the temp user name. * Use the userAnonymous icon for the temp user personal tools menu. * Suppress the logout menu item for temp users. Depends-On: Ib14a352490fc42039106523118e8d021844e3dfb Bug: T300263 Change-Id: I8ac5de82f76a9ec58b0fbef85546bc7fd5b793d2
43 lines
859 B
Plaintext
43 lines
859 B
Plaintext
@import '../../common/variables.less';
|
|
|
|
/* Personal Menu */
|
|
.vector-user-menu-legacy {
|
|
li {
|
|
font-size: @font-size-nav-personal;
|
|
}
|
|
|
|
/* Icon for registered user names & anonymous message */
|
|
#pt-anonuserpage,
|
|
#pt-tmpuserpage,
|
|
#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;
|
|
}
|
|
|
|
#pt-userpage {
|
|
padding-top: 0;
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
/* Show anonymous "Not logged in" text in gray */
|
|
#pt-anonuserpage,
|
|
#pt-tmpuserpage {
|
|
color: #54595d;
|
|
}
|
|
|
|
.vector-menu-content-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-grow: 1;
|
|
justify-content: flex-end;
|
|
align-items: baseline;
|
|
}
|
|
}
|