2021-05-26 23:23:53 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
|
|
|
|
/* Personal Menu */
|
|
|
|
.vector-user-menu-legacy {
|
|
|
|
li {
|
|
|
|
font-size: @font-size-nav-personal;
|
2022-07-08 18:38:12 +00:00
|
|
|
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;
|
2021-05-26 23:23:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Icon for registered user names & anonymous message */
|
|
|
|
#pt-anonuserpage,
|
|
|
|
#pt-userpage a {
|
|
|
|
background-position: @background-position-nav-personal-icon;
|
2021-09-02 22:05:57 +00:00
|
|
|
background-image: url( images/user-avatar.svg );
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: @background-size-nav-personal-icon @background-size-nav-personal-icon;
|
2021-05-26 23:23:53 +00:00
|
|
|
padding-top: 0.5em;
|
2021-09-02 22:05:57 +00:00
|
|
|
padding-left: 1.5em;
|
2023-02-24 16:52:33 +00:00
|
|
|
|
|
|
|
&.mw-userpage-tmp {
|
|
|
|
font-weight: normal;
|
|
|
|
opacity: 0.67;
|
|
|
|
background-image: url( images/userAnonymous.svg );
|
|
|
|
}
|
2021-05-26 23:23:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#pt-userpage {
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Show anonymous "Not logged in" text in gray */
|
2023-02-03 00:35:07 +00:00
|
|
|
#pt-anonuserpage {
|
2021-05-26 23:23:53 +00:00
|
|
|
color: #54595d;
|
|
|
|
}
|
2021-09-02 22:05:57 +00:00
|
|
|
|
|
|
|
.vector-menu-content-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2021-05-26 23:23:53 +00:00
|
|
|
}
|