From 1855ea66fed93d25585d43f6cc6a83e9f565df94 Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Tue, 26 May 2015 22:50:47 -0400 Subject: [PATCH] Fix reveal transition duration --- src/definitions/elements/reveal.less | 4 +--- src/themes/default/elements/reveal.variables | 7 ++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/definitions/elements/reveal.less b/src/definitions/elements/reveal.less index e10c83bd6..ba75c6080 100755 --- a/src/definitions/elements/reveal.less +++ b/src/definitions/elements/reveal.less @@ -158,9 +158,7 @@ float: left; margin: 0em; - transition: - transform @defaultDuration @defaultEasing @transitionDelay, - ; + transition: @moveTransition; } .ui.move.reveal > .visible.content { diff --git a/src/themes/default/elements/reveal.variables b/src/themes/default/elements/reveal.variables index 5af2923f5..a3de9e473 100644 --- a/src/themes/default/elements/reveal.variables +++ b/src/themes/default/elements/reveal.variables @@ -2,8 +2,8 @@ Reveal *******************************/ -@transitionDelay: 0.15s; -@transitionDuration: 0.8s; +@transitionDelay: 0.1s; +@transitionDuration: 0.5s; @transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1); @transition: all @transitionDuration @defaultEasing @transitionDelay; @@ -11,5 +11,6 @@ @topZIndex: 3; @activeZIndex: 4; +/* Types */ @rotateDegrees: 110deg; - +@moveTransition: transform @transitionDuration @transitionEasing @transitionDelay; \ No newline at end of file