Cog animations
This commit is contained in:
parent
6808fb0655
commit
49fc725cdc
|
@ -10361,6 +10361,19 @@ button div.fail {
|
|||
-webkit-mask: url(../../images/fail@svg.svg) no-repeat center / contain;
|
||||
}
|
||||
|
||||
button div.cog.rotation {
|
||||
animation: rotation 4s infinite linear;
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
.ui-dialog-buttonset {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
|
|
@ -1670,4 +1670,11 @@ require 'include/php_to_js_values.php';
|
|||
}
|
||||
);
|
||||
});
|
||||
|
||||
// Cog animations.
|
||||
$(document).ready(function() {
|
||||
$(".submitButton").click(function(){
|
||||
$("#"+this.id+" > .subIcon.cog").addClass("rotation");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue