Hide the button properly

This commit is contained in:
Samuel Elliott 2018-08-10 13:57:27 +01:00
parent 4970214324
commit a12a3c74f4
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 6 additions and 3 deletions

View File

@ -44,11 +44,14 @@
}
&.bd-hide-button {
transition: opacity 0.4s ease-out;
opacity: 0;
animation: bd-fade-out 0.4s ease-out;
&.bd-active {
transition-timing-function: ease-in;
animation: bd-fade-in 0.4s ease-in;
}
&:not(.bd-active):not(.bd-animating) {
display: none;
}
}