mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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;
|
-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 {
|
.ui-dialog-buttonset {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
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>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user