mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 03:07:13 +00:00
f2fb827630
This reverts commit 8d0659b1e6
.
The logic for temporary users is now centralized inside
MediaWiki core, so Vector has no need to check whether a user
is temporary and instead work with the data it's given.
Depends-On: I36815aaef81ec7368e240a780e90bd574785df74
Bug: T328725
Change-Id: Ie30dd6a77ef391f74a435e0b9df74793ffdf73bb
47 lines
1,022 B
Plaintext
47 lines
1,022 B
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;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
}
|