From cdaf9cdfff7660a995f48cfa10e80e8a77d70563 Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 14 Sep 2013 17:48:19 -0700 Subject: [PATCH] Removing unneeded classes. --- dist/ratchet.css | 6 +++--- lib/js/push.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index 8dfc4a1..e2e9a06 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -956,12 +956,12 @@ button.button-block { .content.slide { z-index: 2; -webkit-transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1); - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -webkit-transition: -webkit-transform .4s; transition: transform .4s; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); } -.content.slide.sliding-in.top, .content.slide.right:not([class*="sliding-in"]) { +.content.slide.sliding-in, .content.slide.right:not([class*="sliding-in"]) { -webkit-animation-name: fadeOverlay; animation-name: fadeOverlay; -webkit-animation-duration: .4s; diff --git a/lib/js/push.js b/lib/js/push.js index 7e693e9..e32dd3d 100644 --- a/lib/js/push.js +++ b/lib/js/push.js @@ -287,7 +287,7 @@ if (/slide/.test(transition)) { swap.classList.add('sliding-in', enter ? 'right' : 'left'); - swap.classList.add('slide', enter ? 'top' : 'bottom'); + swap.classList.add('slide'); container.classList.add('slide'); } @@ -325,7 +325,7 @@ function slideEnd() { swap.removeEventListener('webkitTransitionEnd', slideEnd); - swap.classList.remove('slide', 'bottom', 'top', 'sliding-in'); + swap.classList.remove('slide', 'sliding-in'); swap.classList.remove(swapDirection); container.parentNode.removeChild(container); complete && complete();