Procházet zdrojové kódy

match background and transition slide transition easing equations

Hakim El Hattab před 11 roky
rodič
revize
c3b91560c7
4 změnil soubory, kde provedl 21 přidání a 14 odebrání
  1. 19 13
      css/reveal.css
  2. 0 0
      css/reveal.min.css
  3. 1 1
      js/reveal.min.js
  4. 1 0
      test/background.html

+ 19 - 13
css/reveal.css

@@ -1321,11 +1321,11 @@ body {
 		background-repeat: no-repeat;
 		background-size: cover;
 
-		-webkit-transition: all 650ms ease;
-		   -moz-transition: all 650ms ease;
-		    -ms-transition: all 650ms ease;
-		     -o-transition: all 650ms ease;
-		        transition: all 650ms ease;
+		-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);
 	}
 	.reveal .slide-background.present {
 		opacity: 1;
@@ -1345,6 +1345,12 @@ 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=linear]>.backgrounds .slide-background.past {
 		-webkit-transform: translate(-100%, 0);
@@ -1379,16 +1385,16 @@ body {
 
 /* Global transition speed settings */
 .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
-	-webkit-transition-duration: 300ms;
-	   -moz-transition-duration: 300ms;
-	    -ms-transition-duration: 300ms;
-	        transition-duration: 300ms;
+	-webkit-transition-duration: 400ms;
+	   -moz-transition-duration: 400ms;
+	    -ms-transition-duration: 400ms;
+	        transition-duration: 400ms;
 }
 .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
-	-webkit-transition-duration: 900ms;
-	   -moz-transition-duration: 900ms;
-	    -ms-transition-duration: 900ms;
-	        transition-duration: 900ms;
+	-webkit-transition-duration: 1200ms;
+	   -moz-transition-duration: 1200ms;
+	    -ms-transition-duration: 1200ms;
+	        transition-duration: 1200ms;
 }
 
 

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
css/reveal.min.css


+ 1 - 1
js/reveal.min.js

@@ -1,5 +1,5 @@
 /*!
- * reveal.js 2.5.0 (2013-06-10, 08:55)
+ * reveal.js 2.5.0 (2013-06-10, 08:58)
  * http://lab.hakim.se/reveal-js
  * MIT licensed
  *

+ 1 - 0
test/background.html

@@ -75,6 +75,7 @@
 				progress: true,
 				history: true,
 				center: true,
+				// rtl: true,
 
 				transition: 'linear',
 				// transitionSpeed: 'slow',

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů