mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-27 13:03:10 +00:00
9b48993728
Delete the following deprecated modules: skins.minerva.base.styles, skins.minerva.mainMenu.styles, skins.minerva.icons.wikimedia and skins.minerva.mainMenu.icons And reorganize files for skins.minerva.styles Bug: T266361 Change-Id: I35b1d9461edd63a1a5d488a2fdc6939547fd29ad
44 lines
1 KiB
Plaintext
44 lines
1 KiB
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
// stylelint-disable selector-max-id
|
|
|
|
// The top level user account button in the upper right near the notifications button.
|
|
.minerva-user-navigation {
|
|
display: flex;
|
|
min-width: auto;
|
|
// Support Firefox: Needs `min-height` to vertically align icons in menu. See T233517.
|
|
min-height: @height-site-header;
|
|
height: 100%;
|
|
width: auto;
|
|
// Center vertically.
|
|
align-items: center;
|
|
// Layout from right / end.
|
|
justify-content: flex-end;
|
|
// Show the list relative the button.
|
|
position: relative;
|
|
// align the last icon (i.e. notification or use menu) with the container edge.
|
|
& > *:last-child {
|
|
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
|
|
}
|
|
|
|
.minerva-notifications {
|
|
ul {
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Will be leveraged by future Echo version. */
|
|
li {
|
|
position: relative;
|
|
}
|
|
|
|
// Hide notices for Minerva mobile mode.
|
|
#pt-notifications-notice {
|
|
.mw-mf & {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|