mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
clean up CSS3 animations a bit
This commit is contained in:
parent
2a46418284
commit
92d61755b3
4 changed files with 11 additions and 18 deletions
|
@ -38,6 +38,12 @@
|
||||||
from {opacity: 0}
|
from {opacity: 0}
|
||||||
to {opacity: .8}
|
to {opacity: .8}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes fade {
|
||||||
|
from {opacity: 0}
|
||||||
|
to {opacity: 1}
|
||||||
|
}
|
||||||
|
|
||||||
.modal-outer-container {
|
.modal-outer-container {
|
||||||
display:table;
|
display:table;
|
||||||
width:100%;
|
width:100%;
|
||||||
|
|
|
@ -25,20 +25,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal.in {
|
.modal.in {
|
||||||
-webkit-animation: modal .25s;
|
-webkit-animation: fade .25s;
|
||||||
animation: modal .25s;
|
animation: fade .25s;
|
||||||
}
|
|
||||||
|
|
||||||
//fade in and animate up
|
|
||||||
|
|
||||||
@-webkit-keyframes modal {
|
|
||||||
from {opacity: 0}
|
|
||||||
to {opacity: 1}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fade {
|
|
||||||
from {opacity: 0}
|
|
||||||
to {opacity: 1}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
|
|
|
@ -525,8 +525,7 @@ video {
|
||||||
|
|
||||||
.star, .badge-wrapper, i, .topic-link:not(.loading) {
|
.star, .badge-wrapper, i, .topic-link:not(.loading) {
|
||||||
-webkit-animation: fadein .7s;
|
-webkit-animation: fadein .7s;
|
||||||
animation-duration: .7s;
|
animation: fadein .7s;
|
||||||
animation-name: fadein;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-statuses {
|
.topic-statuses {
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); }
|
0% { transform: rotate(0deg); }
|
||||||
100% { transform: rotate(359deg); -webkit-transform: rotate(359deg); }
|
100% { transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes spin {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue