mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
0887552619
minerva.variables.less: added gray color variable MainMenu.less: added shadow to navigation NotificationOverlay.less: changed alpha color of shadow drawers.less: replaced rgba color with the same color variable Bug: T231205 Change-Id: Ib1e16804b941a8f3b0cc639673baf73dc749a60a
41 lines
874 B
Plaintext
41 lines
874 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.drawer {
|
|
background-color: @colorGray15;
|
|
// needed for Android 4.x
|
|
position: absolute;
|
|
// needed for MSIE 9 (Windows Phone 7)
|
|
width: 100%;
|
|
}
|
|
|
|
// Basic toast notification
|
|
//
|
|
// Toast must have visible class to be shown
|
|
//
|
|
// Markup:
|
|
// <div class="toast visible">
|
|
// Notification for user.
|
|
// </div>
|
|
//
|
|
// Styleguide 3.1.
|
|
.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;
|
|
}
|
|
}
|