mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:01:52 +08:00
clean up CSS3 animations a bit
This commit is contained in:
parent
2a46418284
commit
92d61755b3
|
@ -38,6 +38,12 @@
|
|||
from {opacity: 0}
|
||||
to {opacity: .8}
|
||||
}
|
||||
|
||||
@-webkit-keyframes fade {
|
||||
from {opacity: 0}
|
||||
to {opacity: 1}
|
||||
}
|
||||
|
||||
.modal-outer-container {
|
||||
display:table;
|
||||
width:100%;
|
||||
|
|
|
@ -25,20 +25,8 @@
|
|||
}
|
||||
|
||||
.modal.in {
|
||||
-webkit-animation: modal .25s;
|
||||
animation: modal .25s;
|
||||
}
|
||||
|
||||
//fade in and animate up
|
||||
|
||||
@-webkit-keyframes modal {
|
||||
from {opacity: 0}
|
||||
to {opacity: 1}
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
from {opacity: 0}
|
||||
to {opacity: 1}
|
||||
-webkit-animation: fade .25s;
|
||||
animation: fade .25s;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
|
|
|
@ -525,8 +525,7 @@ video {
|
|||
|
||||
.star, .badge-wrapper, i, .topic-link:not(.loading) {
|
||||
-webkit-animation: fadein .7s;
|
||||
animation-duration: .7s;
|
||||
animation-name: fadein;
|
||||
animation: fadein .7s;
|
||||
}
|
||||
|
||||
.topic-statuses {
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); }
|
||||
100% { transform: rotate(359deg); -webkit-transform: rotate(359deg); }
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(359deg); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes spin {
|
||||
|
|
Loading…
Reference in New Issue
Block a user