From d32b2eba169fdc3b61bff5b962d2f07d1adea1e5 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 19 Feb 2018 20:59:37 -0800 Subject: [PATCH] Add zoom transition --- .../default/modules/transition.overrides | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/themes/default/modules/transition.overrides b/src/themes/default/modules/transition.overrides index 34d1a2a64..f691c3b38 100644 --- a/src/themes/default/modules/transition.overrides +++ b/src/themes/default/modules/transition.overrides @@ -776,6 +776,38 @@ } +/*-------------- + Zoom +---------------*/ + +.transition.zoom.in { + animation-name: zoomIn; +} +.transition.zoom.out { + animation-name: zoomOut; +} +@keyframes zoomIn { + 0% { + opacity: 1; + transform: scale(0); + } + 100% { + opacity: 1; + transform: scale(1); + } +} +@keyframes zoomOut { + 0% { + opacity: 1; + transform: scale(1); + } + 100% { + opacity: 1; + transform: scale(0); + } +} + + /******************************* Static Animations *******************************/