mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
6300923601
Merge UserMenu into UserLinks for legacy and modern Add a story for the UserLinks menu Fixes: rendering of Skin (legacy) personal tools (the user icon no longer overlaps) Change-Id: I491ebb3962780bf2cf7f1dfb4dd09d576c294366
25 lines
593 B
Plaintext
25 lines
593 B
Plaintext
// Common styles for the UserLinks component.
|
|
|
|
@import '../variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
/* Personal Menu */
|
|
#p-personal .vector-menu-content-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-grow: 1;
|
|
justify-content: flex-end;
|
|
align-items: baseline;
|
|
}
|
|
|
|
/* Icon for registered user names & anonymous message */
|
|
#pt-anonuserpage,
|
|
#pt-userpage a,
|
|
#p-user-page a {
|
|
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;
|
|
padding-left: 1.5em;
|
|
}
|