Browse Source

make background transition default to exact same speed as normal transitions

Hakim El Hattab 11 years ago
parent
commit
c4d7b1b93f
3 changed files with 6 additions and 12 deletions
  1. 5 11
      css/reveal.css
  2. 0 0
      css/reveal.min.css
  3. 1 1
      js/reveal.min.js

+ 5 - 11
css/reveal.css

@@ -1295,11 +1295,11 @@ body {
 		background-repeat: no-repeat;
 		background-size: cover;
 
-		-webkit-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
-		   -moz-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
-		    -ms-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
-		     -o-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
-		        transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+		-webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+		   -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+		    -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+		     -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+		        transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
 	}
 	.reveal .slide-background.present {
 		opacity: 1;
@@ -1330,12 +1330,6 @@ body {
 	   -moz-backface-visibility: hidden;
 	    -ms-backface-visibility: hidden;
 	        backface-visibility: hidden;
-
-	-webkit-transition-duration: 800ms;
-	   -moz-transition-duration: 800ms;
-	    -ms-transition-duration: 800ms;
-	     -o-transition-duration: 800ms;
-	        transition-duration: 800ms;
 }
 	.reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
 	.reveal>.backgrounds .slide-background.past[data-background-transition=slide] {

File diff suppressed because it is too large
+ 0 - 0
css/reveal.min.css


+ 1 - 1
js/reveal.min.js

@@ -1,5 +1,5 @@
 /*!
- * reveal.js 2.6.0-dev (2013-11-08, 09:29)
+ * reveal.js 2.6.0-dev (2013-11-09, 11:40)
  * http://lab.hakim.se/reveal-js
  * MIT licensed
  *

Some files were not shown because too many files changed in this diff