mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
53fab7c03d
Change-Id: I3c677fb6e3ff9666e8e50f3a2ad9cd9ac57c29b8
41 lines
921 B
Plaintext
41 lines
921 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.notifications-overlay {
|
|
visibility: visible;
|
|
}
|
|
|
|
// needs to be more specific than .overlay rules
|
|
.notifications-overlay.navigation-drawer {
|
|
display: block;
|
|
width: auto;
|
|
right: 0;
|
|
box-shadow: -5px 0 0 0 @grayDrawerShadow;
|
|
.transform( translate( 100%, 0 ) );
|
|
.transition( transform @transition-duration-medium @transition-timing-function-menu; );
|
|
|
|
&.visible {
|
|
.transform( translate( 0, 0 ) );
|
|
}
|
|
}
|
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
|
@rightDrawerLeftOffset: 100% - @rightDrawerWidth;
|
|
|
|
.notifications-overlay.navigation-drawer {
|
|
left: @rightDrawerLeftOffset;
|
|
|
|
.overlay-header {
|
|
margin: 0; // T210191
|
|
width: 100%; // T218731
|
|
// T170903
|
|
max-width: none;
|
|
|
|
.cancel {
|
|
// 0 because we want to have some tappable area to the left of the icon
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|