diff options
Diffstat (limited to 'webapp/sass/responsive/_mobile.scss')
-rw-r--r-- | webapp/sass/responsive/_mobile.scss | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/webapp/sass/responsive/_mobile.scss b/webapp/sass/responsive/_mobile.scss index 21c3135c2..3d30f6d96 100644 --- a/webapp/sass/responsive/_mobile.scss +++ b/webapp/sass/responsive/_mobile.scss @@ -739,17 +739,19 @@ .inner-wrap { @include single-transition(all, .5s, ease); - &:before { - //Some trickery in order for the z-index transition to happen immediately on move-in and delayed on move-out. - background-color: transparent; - content: ''; - height: 100%; - left: -15px; - position: absolute; - top: 0; - transition: background-color 0.5s ease, z-index 0s ease 0.5s; - width: calc(100% + 30px); - z-index: 0; + .app__body & { + &:before { + //Some trickery in order for the z-index transition to happen immediately on move-in and delayed on move-out. + background-color: transparent; + content: ''; + height: 100%; + left: -15px; + position: absolute; + top: 0; + transition: background-color 0.5s ease, z-index 0s ease 0.5s; + width: calc(100% + 30px); + z-index: 0; + } } &.move--right { |