accidentally discovered a nifty transition effect

This commit is contained in:
Dave Cranwell 2015-02-05 17:44:50 +00:00
parent 0938e8c281
commit c0f74d5a5f

View file

@ -268,11 +268,16 @@
/* Menu of other blocks to be added at each position */
.stream-menu{
@include transition(all 0.2s ease);
position:relative;
overflow:hidden;
ul{
@include transition(all 0.2s ease);
@include clearfix;
margin-bottom:0px;
opacity:1;
padding:1em;
background-color:$color-grey-5;
}
@ -321,9 +326,14 @@
&.stream-menu-closed{
height:3em;
max-height:10em;
ul{
height:0px;
padding:0;
margin-bottom:-200px;
max-height:10em;
opacity:0;
padding:10em;
overflow:hidden;
}
}