2021-05-06 22:42:00 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
|
2021-04-30 02:54:54 +00:00
|
|
|
// Overrides personal menu styles for consolidated user links.
|
2021-05-14 15:25:48 +00:00
|
|
|
.vector-user-menu.vector-menu-dropdown h3:after {
|
2021-05-06 22:42:00 +00:00
|
|
|
padding: 0.4em 0 0.4em 0;
|
2021-04-30 02:54:54 +00:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
2021-05-14 15:25:48 +00:00
|
|
|
.vector-user-menu.vector-menu-dropdown {
|
2021-05-06 22:42:00 +00:00
|
|
|
.vector-menu-checkbox {
|
|
|
|
&:hover + h3 {
|
|
|
|
background-color: @colorGray14;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
}
|
|
|
|
}
|
2021-04-30 02:54:54 +00:00
|
|
|
|
2021-05-06 22:42:00 +00:00
|
|
|
.vector-menu-content {
|
|
|
|
top: 100%;
|
|
|
|
left: unset;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vector-menu-content-list {
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
li {
|
2021-05-14 15:25:48 +00:00
|
|
|
// FIXME: the following font-size rule is for cached HTML. It can be removed when
|
|
|
|
// I068c5233bb25a7b141e66a6726b5761841f83eb2 is in production.
|
|
|
|
// stylelint-disable-next-line declaration-no-important
|
|
|
|
font-size: 100% !important;
|
2021-05-06 22:42:00 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @colorGray14;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li#pt-logout {
|
|
|
|
border-top: 1px solid @border-color-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
&:hover,
|
|
|
|
&:visited {
|
|
|
|
color: #000;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-04-30 02:54:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-06 22:42:00 +00:00
|
|
|
// Since user-page is pulled out of the personal menu for modern vector,
|
|
|
|
// apply styles for the top-level user-page menu.
|
2021-05-14 15:25:48 +00:00
|
|
|
// FIXME: This is currently not isolated to the UserMenu component
|
|
|
|
// as it is rendered separately outside the `.vector-user-menu` class.
|
2021-05-06 22:42:00 +00:00
|
|
|
#p-user-page {
|
|
|
|
li {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
|
|
|
|
a {
|
|
|
|
background-position: left center;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
}
|
|
|
|
}
|
2021-04-30 02:54:54 +00:00
|
|
|
}
|