mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 16:40:33 +00:00
63f9dd81e3
Remove redundant styles. Update personal menu dropdown to more closely reflect design of OOUI dropdown elements. Extract legcay-specific, modern-specific styles for UserMenu into separate partials. Create new shared UserMenu component. Bug: T276561 Change-Id: I1e56cd5b3b24ac1b5cae684301b8e3a84ea33a5c
25 lines
592 B
Plaintext
25 lines
592 B
Plaintext
// Common styles for the UserMenu 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;
|
|
}
|