style(sidenav): hide drawer shadow in 'side' mode (#2809)

This commit is contained in:
mmalerba
2017-01-26 15:28:29 -08:00
committed by Andrew Seguin
parent 23ab15256f
commit 2bd607c931
+8 -3
View File
@@ -19,9 +19,6 @@
}
&.md-sidenav-opening, &.md-sidenav-opened {
// The elevation of z-16 is noted in the design specifications.
// See https://material.io/guidelines/patterns/navigation-drawer.html#
@include md-elevation(16);
transform: translate3d($open, 0, 0);
}
}
@@ -126,6 +123,14 @@ md-sidenav {
@include md-sidenav-transition(0, -100%);
}
}
&.md-sidenav-opening, &.md-sidenav-opened {
&:not(.md-sidenav-side) {
// The elevation of z-16 is noted in the design specifications.
// See https://material.io/guidelines/patterns/navigation-drawer.html#
@include md-elevation(16);
}
}
}
.md-sidenav-focus-trap {