mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-17 12:43:02 +00:00
711a41812a
Kept as simple as possible for now. The new class is added but no classes are removed. This will be done in a follow up. Bug: T256897 Bug: T253938 Change-Id: Ib31a9d8f2ac14e63b63e82abd4a9aa1fcb956f45
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
@import '../../variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
/* Personal */
|
|
.vector-menu {
|
|
// Hidden by default, but displayed by certain menus
|
|
// e.g. MenuPortal
|
|
h3 {
|
|
display: none;
|
|
}
|
|
|
|
ul {
|
|
list-style: none none;
|
|
margin: 0;
|
|
}
|
|
|
|
li {
|
|
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-image: url( images/user-avatar.svg );
|
|
background-position: @background-position-nav-personal-icon;
|
|
background-repeat: no-repeat;
|
|
background-size: @background-size-nav-personal-icon @background-size-nav-personal-icon;
|
|
// Same as `#p-personal li` above
|
|
padding-top: 0.5em !important; // stylelint-disable-line declaration-no-important
|
|
padding-left: 16px !important; // stylelint-disable-line declaration-no-important
|
|
}
|
|
|
|
#pt-userpage {
|
|
padding-top: 0 !important; // stylelint-disable-line declaration-no-important
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
/* Show anonymous "Not logged in" text in gray */
|
|
#pt-anonuserpage {
|
|
color: #54595d;
|
|
}
|