LT-251: Fixing quick switch z-index when overlay is animating

This commit is contained in:
Bruno Alves de Faria 2016-06-22 10:03:43 -03:00 committed by Erik Ziegler
parent dc20359c1c
commit 257f5cd38b

View File

@ -19,7 +19,8 @@ $seriesSpacing = 2px
left: 50% left: 50%
&.overlay .quickSwitch &.overlay .quickSwitch
z-index: 1 transition(z-index 0s linear 0s)
z-index: 3
&:before &:before
background-color: $primaryBackgroundColor background-color: $primaryBackgroundColor
@ -32,7 +33,7 @@ $seriesSpacing = 2px
top: 0 top: 0
transition(opacity 0.3s ease\, visibility 0s linear 0.3s) transition(opacity 0.3s ease\, visibility 0s linear 0.3s)
visibility: hidden visibility: hidden
z-index: 1 z-index: 2
&.overlay:before &.overlay:before
opacity: 0.8 opacity: 0.8
@ -41,6 +42,8 @@ $seriesSpacing = 2px
.quickSwitch .quickSwitch
position: relative position: relative
transition(z-index 0s linear 0.3s)
z-index: 1
.switchSection .switchSection
display: inline-block display: inline-block