浏览代码

make background transition default to exact same speed as normal transitions

Hakim El Hattab 11 年之前
父节点
当前提交
c4d7b1b93f
共有 3 个文件被更改,包括 6 次插入12 次删除
  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] {

文件差异内容过多而无法显示
+ 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
  *

部分文件因为文件数量过多而无法显示