match background and transition slide transition easing equations

edit
Hakim El Hattab 2013-06-10 08:59:58 +02:00
parent abb4ca8f2d
commit c3b91560c7
4 changed files with 22 additions and 15 deletions

View File

@ -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;
}

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

2
js/reveal.min.js vendored
View File

@ -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
*

View File

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