2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2019-08-01 20:35:10 +00:00
|
|
|
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
|
|
|
2019-08-05 16:08:27 +00:00
|
|
|
.notifications-overlay {
|
|
|
|
visibility: visible;
|
2019-08-01 20:35:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// needs to be more specific than .overlay rules
|
|
|
|
.notifications-overlay.navigation-drawer {
|
2019-08-05 20:41:12 +00:00
|
|
|
display: block;
|
2019-08-01 20:35:10 +00:00
|
|
|
width: auto;
|
2019-08-05 20:41:12 +00:00
|
|
|
right: 0;
|
2019-08-01 20:35:10 +00:00
|
|
|
box-shadow: -5px 0 0 0 rgba( 0, 0, 0, 0.3 );
|
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-05 16:08:27 +00:00
|
|
|
.animations { // FIXME: Make animations a conditional class on the drawer itself
|
2019-08-01 20:35:10 +00:00
|
|
|
.notifications-overlay.navigation-drawer {
|
2019-08-05 20:41:12 +00:00
|
|
|
.transform( translate( 100%, 0 ) );
|
|
|
|
.transition( transform @menu-animation-duration @menu-animation-easing; );
|
2019-08-01 20:35:10 +00:00
|
|
|
|
|
|
|
&.visible {
|
|
|
|
.transform( translate( 0, 0 ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-05 20:41:12 +00:00
|
|
|
.secondary-navigation-enabled {
|
|
|
|
.transparent-shield {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 0.5;
|
2019-08-01 20:35:10 +00:00
|
|
|
}
|
|
|
|
}
|