From 9af7fe0f3e457bb7ed22ee19958d9a402e8266c8 Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Mon, 19 Mar 2012 21:28:16 +0000 Subject: [PATCH] no need to delay transitions with `present` class --- css/impress-demo.css | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/css/impress-demo.css b/css/impress-demo.css index 777c220..1f137cf 100644 --- a/css/impress-demo.css +++ b/css/impress-demo.css @@ -119,8 +119,6 @@ body { pointer-events: none; } line-height: 1.5; } -/* fade out inactive slides */ - .step { -webkit-transition: opacity 1s; -moz-transition: opacity 1s; @@ -129,6 +127,7 @@ body { pointer-events: none; } transition: opacity 1s; } +/* fade out inactive slides */ .step:not(.active) { opacity: 0.3; } @@ -394,19 +393,13 @@ body { pointer-events: none; } transform: translateZ(-10px); } -#its-in-3d.active span, -#its-in-3d.active b { +#its-in-3d.present span, +#its-in-3d.present b { -webkit-transform: translateZ(0px); -moz-transform: translateZ(0px); -ms-transform: translateZ(0px); -o-transform: translateZ(0px); transform: translateZ(0px); - - -webkit-transition-delay: 1s; - -moz-transition-delay: 1s; - -ms-transition-delay: 1s; - -o-transition-delay: 1s; - transition-delay: 1s; } /* overview step */