| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
|
| 3 |
@media all and ( max-width: @max-width-breakpoint-mobile ) { |
| 4 |
// On mobile screens position the anchor arrow correctly so it points to the |
| 5 |
// notifications badge. |
| 6 |
.mw-echo-ui-overlay .oo-ui-popupWidget-anchor { |
| 7 |
// Override the inline style. |
| 8 |
left: auto !important; |
| 9 |
right: 68px; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.mw-echo-ui-overlay { |
| 14 |
position: fixed; |
| 15 |
bottom: 0; |
| 16 |
right: 0; |
| 17 |
left: 0; |
| 18 |
top: auto; |
| 19 |
|
| 20 |
.mw-echo-ui-actionMenuPopupWidget-menu { |
| 21 |
padding: 0.5em; |
| 22 |
font-size: (16 / 14em); |
| 23 |
box-shadow: none; |
| 24 |
border: @border-width-base @border-style-base @border-color-subtle; |
| 25 |
border-width: @border-width-base 0 0 0; |
| 26 |
// Override the positioning of the menu |
| 27 |
// so it is "stuck" on the bottom of the |
| 28 |
// notification overlay panel |
| 29 |
position: fixed !important; |
| 30 |
bottom: 0 !important; |
| 31 |
left: 0 !important; |
| 32 |
width: 100% !important; |
| 33 |
max-width: none !important; |
| 34 |
height: auto !important; |
| 35 |
top: auto !important; |
| 36 |
} |
| 37 |
} |