make background transition default to exact same speed as normal transitions

This commit is contained in:
Hakim El Hattab 2013-11-09 11:41:15 -05:00
parent f31644cca8
commit c4d7b1b93f
3 changed files with 7 additions and 13 deletions

View file

@ -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] {

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