Hide the button properly
This commit is contained in:
parent
4970214324
commit
a12a3c74f4
|
@ -44,11 +44,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bd-hide-button {
|
&.bd-hide-button {
|
||||||
transition: opacity 0.4s ease-out;
|
animation: bd-fade-out 0.4s ease-out;
|
||||||
opacity: 0;
|
|
||||||
|
|
||||||
&.bd-active {
|
&.bd-active {
|
||||||
transition-timing-function: ease-in;
|
animation: bd-fade-in 0.4s ease-in;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(.bd-active):not(.bd-animating) {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue