2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
|
|
|
|
.drawer {
|
2023-04-09 13:49:29 +00:00
|
|
|
background-color: @background-color-lightest;
|
2019-08-08 20:01:03 +00:00
|
|
|
// needed for Android 4.x
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Basic toast notification
|
|
|
|
//
|
|
|
|
// Toast must have visible class to be shown
|
|
|
|
//
|
|
|
|
// Markup:
|
|
|
|
// <div class="toast visible">
|
|
|
|
// Notification for user.
|
|
|
|
// </div>
|
|
|
|
.mw-notification,
|
|
|
|
.toast,
|
|
|
|
.drawer {
|
2022-05-16 16:55:54 +00:00
|
|
|
box-sizing: border-box;
|
2019-08-08 20:01:03 +00:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2023-04-09 13:49:29 +00:00
|
|
|
box-shadow: 0 -1px 8px 0 @box-shadow-color-drawer;
|
2019-08-08 20:01:03 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
// needs to be higher than for overlays to show on top of overlays
|
|
|
|
z-index: @z-indexOverOverlay;
|
|
|
|
// don't use visibility: hidden in old browsers that don't support animations
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.visible, &.mw-notification-visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|