|
|
@@ -27,15 +27,24 @@ aside
|
|
|
bottom: 0
|
|
|
height: inherit
|
|
|
width: ASIDE_WIDTH
|
|
|
- display: none
|
|
|
+ visibility: hidden
|
|
|
z-index: -1
|
|
|
|
|
|
- &.right
|
|
|
- right: 0px
|
|
|
+ transition-property( opacity, z-index, transform )
|
|
|
+ transition-duration( TRANSITION_TIME )
|
|
|
+ transition-timing-function( DEFAULT_TRANSITION )
|
|
|
+ backface-visibility( hidden )
|
|
|
|
|
|
&.show
|
|
|
z-index: 0
|
|
|
- display: block
|
|
|
+ visibility: visible
|
|
|
+
|
|
|
+ &:not(.right)
|
|
|
+ transform translateX(-(ASIDE_WIDTH))
|
|
|
+ &.show
|
|
|
+ transform translateX(0px)
|
|
|
+ &.right
|
|
|
+ right: 0px
|
|
|
|
|
|
& header, footer
|
|
|
position: relative
|