Add the ability to enable/disable UI animations. Fixes #1978

This commit is contained in:
Khushboo Vashi
2018-04-03 14:52:13 +01:00
committed by Dave Page
parent 94e1e46201
commit 7805170783
11 changed files with 234 additions and 8 deletions

View File

@@ -0,0 +1,41 @@
.alertify .ajs-dimmer,
.alertify .ajs-modal,
.alertify-notifier,
.alertify-notifier .ajs-message.ajs-visible,
.alertify-notifier .ajs-message,
.alertify-notifier.ajs-center .ajs-message.ajs-visible,
.alertify-notifier.ajs-center .ajs-message
{
-moz-transition: none;
-webkit-transition: none;
-o-transition: none;
transition: none;
-webkit-transform: none;
transform: none;
}
.alertify.ajs-zoom.ajs-in:not(.ajs-hidden) .ajs-dialog {
-webkit-animation-name: ajs-zoomIn;
animation-name: ajs-zoomIn;
}
.alertify.ajs-zoom.ajs-out.ajs-hidden .ajs-dialog {
-webkit-animation-name: ajs-zoomOut;
animation-name: ajs-zoomOut;
}
@-webkit-keyframes ajs-zoomIn {
-webkit-transform: none;
transform: none;
}
@keyframes ajs-zoomIn {
-webkit-transform: none;
transform: none;
}
@-webkit-keyframes ajs-zoomOut {
-webkit-transform: none;
transform: none;
}
@keyframes ajs-zoomeOut {
-webkit-transform: none;
transform: none;
}