frio mobile aside: add overlay transition

This commit is contained in:
fabrixxm 2017-04-26 10:16:39 +02:00
parent bd4ce2daee
commit 0afc732059

View file

@ -120,6 +120,11 @@ code {
display: block; display: block;
top: 0; left: 300px; right: 0; bottom: 0; top: 0; left: 300px; right: 0; bottom: 0;
background-color: rgba(0,0,0,0.4); background-color: rgba(0,0,0,0.4);
opacity: 0;
transition: opacity 0.5s;
}
aside.canvas-slid::before {
opacity: 1;
} }
aside + div { aside + div {
display:none!important; display:none!important;