mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
chore(ui): tweak modal animations
This commit is contained in:
committed by
Łukasz Mierzwa
parent
90977778e3
commit
f56159efe3
@@ -10,25 +10,25 @@ $easing-exit: ease-in;
|
||||
|
||||
.components-animation-modal {
|
||||
will-change: opacity, transform;
|
||||
transform: translateZ(0);
|
||||
transform: translateZ(0) scale(1);
|
||||
}
|
||||
.components-animation-modal-enter > .modal > .modal-dialog {
|
||||
opacity: $opacity-modal;
|
||||
transform: translate(0, $move);
|
||||
transform: translate(0, $move) scale(0.95);
|
||||
}
|
||||
.components-animation-modal-enter-active > .modal > .modal-dialog {
|
||||
opacity: 1;
|
||||
transition: transform $duration-modal $easing-enter,
|
||||
opacity $duration-modal $easing-enter;
|
||||
transform: translate(0, 0);
|
||||
transform: translate(0, 0) scale(1);
|
||||
}
|
||||
.components-animation-modal-exit > .modal > .modal-dialog {
|
||||
opacity: 1;
|
||||
transform: translate(0, 0);
|
||||
transform: translate(0, 0) scale(1);
|
||||
}
|
||||
.components-animation-modal-exit-active > .modal > .modal-dialog {
|
||||
opacity: $opacity-modal;
|
||||
transform: translate(0, $move);
|
||||
transform: translate(0, $move) scale(0.95);
|
||||
transition: transform $duration-modal $easing-enter,
|
||||
opacity $duration-modal $easing-enter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user