mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/userMenu.less
Jan Drewniak be76f05ebb Prepare for new mw-ui-icon spec for Minerva
Includes icon fixes and removal of some CSS overrides.

This causes the following temporary defects to the skin:
* Last modified bar will temporarily be squashed
* clear search  icon will be misaligned vertically

Depends-On:  Ie811d25595d041c35e6c214190101821f3a5d466
Bug: T229440
Change-Id: I0a3a73421791ad353bbcebaeb8241ad062f67ae4
2019-09-12 18:44:44 +00:00

23 lines
601 B
Plaintext

@import '../../minerva.less/minerva.variables.less';
// The top level user account button in the upper right near the notifications button.
.minerva-user-navigation {
display: flex;
height: 100%;
// Fill empty space left / start so the buttons can stay right / end.
width: 100%;
// Keep space for at least two buttons.
min-width: 2 * @menuButtonIconSize;
// Center vertically.
align-items: center;
// Layout from right / end.
justify-content: flex-end;
// Show the list relative the button.
position: relative;
.toggle-list {
width: @menuButtonIconSize;
display: inline-block;
}
}