2019-10-01 20:15:25 +00:00
|
|
|
// FIXME: some of this could be removed if we reused .page-list styling
|
2023-04-03 19:44:38 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2019-10-01 20:15:25 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
2020-07-27 20:13:41 +00:00
|
|
|
@overlayHeaderHeight: 3em;
|
|
|
|
|
2022-05-09 13:05:59 +00:00
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
2019-10-01 20:15:25 +00:00
|
|
|
.notifications-overlay {
|
|
|
|
// position: fixed + sliding drawer causes weird rendering bugs in Android
|
|
|
|
// Browser (tested on 4.0.4 and 4.2.1)
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
&-header-markAllRead {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-overlay {
|
|
|
|
position: absolute;
|
2020-07-27 20:13:41 +00:00
|
|
|
bottom: @overlayHeaderHeight;
|
2019-10-01 20:15:25 +00:00
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
.mw-echo-ui-actionMenuPopupWidget-menu {
|
|
|
|
padding: 0.5em;
|
|
|
|
box-shadow: none;
|
2023-04-03 19:44:38 +00:00
|
|
|
border-color: @border-color-subtle;
|
|
|
|
border-style: @border-style-base;
|
|
|
|
border-width: @border-width-base 0 0 0;
|
2019-10-01 20:15:25 +00:00
|
|
|
// Override the positioning of the menu
|
|
|
|
// so it is "stuck" on the bottom of the
|
|
|
|
// notification overlay panel
|
|
|
|
position: static !important;
|
|
|
|
bottom: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
top: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-09 13:05:59 +00:00
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
2019-10-01 20:15:25 +00:00
|
|
|
.overlay-content {
|
|
|
|
// this is needed not only on iOS, that's why we repeat it here even though
|
|
|
|
// it's in Overlay.less too
|
|
|
|
overflow-y: scroll; // has to be scroll, not auto
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
max-width: none; // T219320
|
2020-07-27 20:13:41 +00:00
|
|
|
top: @overlayHeaderHeight;
|
|
|
|
bottom: @overlayHeaderHeight;
|
2019-10-01 20:15:25 +00:00
|
|
|
}
|
|
|
|
}
|