mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 04:51:55 +00:00
accidentally discovered a nifty transition effect
This commit is contained in:
parent
0938e8c281
commit
c0f74d5a5f
1 changed files with 12 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue