mediawiki-extensions-Echo/modules/styles/mw.echo.ui.overlay.minerva.less
Ed Sanders bc5b569719 Fix styling of action popup menu
* Fix icon position
* Fix border widths and colour

Change-Id: I06f45baa4c90e43d7e50eed83888d57ede69a517
2020-07-27 16:11:03 +01:00

38 lines
878 B
Plaintext

@import 'mediawiki.ui/variables';
@media all and ( max-width: @width-breakpoint-tablet ) {
// On mobile screens position the anchor arrow correctly so it points to the
// notifications badge.
.mw-echo-ui-overlay .oo-ui-popupWidget-anchor {
// Override the inline style.
left: auto !important;
right: 68px;
}
}
.mw-echo-ui-overlay {
position: fixed;
bottom: 0;
right: 0;
left: 0;
top: auto;
.mw-echo-ui-actionMenuPopupWidget-menu {
padding: 0.5em;
font-size: 16 / 14em;
box-shadow: none;
border: 1px solid @colorGray12;
border-width: 1px 0 0 0;
// Override the positioning of the menu
// so it is "stuck" on the bottom of the
// notification overlay panel
position: fixed !important;
bottom: 0 !important;
left: 0 !important;
width: 100% !important;
max-width: none !important;
height: auto !important;
top: auto !important;
}
}