提交 603833b9 编写于 作者: G Gabriele Cirulli

improve donate button animation

上级 9d50e7d7
...@@ -667,10 +667,11 @@ hr { ...@@ -667,10 +667,11 @@ hr {
right: 50%; right: 50%;
margin-right: -170px; margin-right: -170px;
padding-bottom: 7px; padding-bottom: 7px;
top: 40px; top: -30px;
opacity: 0; opacity: 0;
-webkit-transition: 200ms ease; pointer-events: none;
-moz-transition: 200ms ease; -webkit-transition: 400ms ease;
-moz-transition: 400ms ease;
-webkit-transition-property: top, opacity; -webkit-transition-property: top, opacity;
-moz-transition-property: top, opacity; } -moz-transition-property: top, opacity; }
.btc-donate .address:after { .btc-donate .address:after {
...@@ -694,4 +695,5 @@ hr { ...@@ -694,4 +695,5 @@ hr {
text-align: center; } text-align: center; }
.btc-donate:hover .address, .btc-donate .address:hover .address { .btc-donate:hover .address, .btc-donate .address:hover .address {
opacity: 1; opacity: 1;
top: -45px; } top: -45px;
pointer-events: auto; }
...@@ -521,9 +521,10 @@ hr { ...@@ -521,9 +521,10 @@ hr {
padding-bottom: 7px; padding-bottom: 7px;
top: 40px; top: -30px;
opacity: 0; opacity: 0;
@include transition(200ms ease); pointer-events: none;
@include transition(400ms ease);
@include transition-property(top, opacity); @include transition-property(top, opacity);
&:after { &:after {
...@@ -555,6 +556,7 @@ hr { ...@@ -555,6 +556,7 @@ hr {
.address { .address {
opacity: 1; opacity: 1;
top: -45px; top: -45px;
pointer-events: auto;
} }
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册