mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
d926771bd8
Additional change: * The animation stylesheet pulled down for the storybook instance in dev-scripts/setup-storybook.sh is no longer referenced anywhere in assets so can be removed. Bug: T306486 Bug: T308351 Bug: T308360 Change-Id: Ia9f2a05cde2724486f7e449261c5d4875388f5ab
36 lines
745 B
Plaintext
36 lines
745 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
.drawer {
|
|
background-color: @colorGray15;
|
|
// 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 {
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
box-shadow: 0 -1px 8px 0 @grayDrawerShadow;
|
|
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;
|
|
}
|
|
}
|