mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-12 06:16:01 +00:00
1cf4a9866d
Updates shadow colours to respect user's night mode preference by using standardized design token. Bug: T364425 Change-Id: Iebf756c7c9adfdf79d7fee203ee6f02168a636f7
40 lines
858 B
Plaintext
40 lines
858 B
Plaintext
@import '../../minerva.less/minerva.variables.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: @box-shadow-drop-medium;
|
|
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% - @drawer-width-right;
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|