re-created unprefixed version of reveal.css automatically using autoprefixer, to facilitate merging of changes to it

This commit is contained in:
Yves Delley 2014-09-12 22:37:57 +02:00
parent 7fe762c2f3
commit 2bc36f2dfe
5 changed files with 445 additions and 633 deletions

View file

@ -81,6 +81,14 @@ module.exports = function(grunt) {
files: { files: {
'css/reveal.css': 'css/reveal.bare.css' 'css/reveal.css': 'css/reveal.bare.css'
} }
},
unprefix: {
files: {
'css/reveal.clean.css': 'css/reveal.css'
},
options: {
browsers: []
}
} }
}, },
@ -139,7 +147,7 @@ module.exports = function(grunt) {
grunt.registerTask( 'themes', [ 'sass' ] ); grunt.registerTask( 'themes', [ 'sass' ] );
// CSS task // CSS task
grunt.registerTask( 'css', [ 'autoprefixer', 'cssmin' ] ); grunt.registerTask( 'css', [ 'autoprefixer:dist', 'cssmin' ] );
// Package presentation to archive // Package presentation to archive

View file

@ -73,7 +73,7 @@ body {
.reveal h4, .reveal h4,
.reveal h5, .reveal h5,
.reveal h6 { .reveal h6 {
hyphens: auto; hyphens: auto;
word-wrap: break-word; word-wrap: break-word;
line-height: 1; line-height: 1;
@ -91,8 +91,7 @@ body {
.reveal .slides section .fragment { .reveal .slides section .fragment {
opacity: 0; opacity: 0;
transition: all .2s ease;
transition: all .2s ease;
} }
.reveal .slides section .fragment.visible { .reveal .slides section .fragment.visible {
opacity: 1; opacity: 1;
@ -102,37 +101,33 @@ body {
opacity: 1; opacity: 1;
} }
.reveal .slides section .fragment.grow.visible { .reveal .slides section .fragment.grow.visible {
transform: scale( 1.3 ); transform: scale( 1.3 );
} }
.reveal .slides section .fragment.shrink { .reveal .slides section .fragment.shrink {
opacity: 1; opacity: 1;
} }
.reveal .slides section .fragment.shrink.visible { .reveal .slides section .fragment.shrink.visible {
transform: scale( 0.7 ); transform: scale( 0.7 );
} }
.reveal .slides section .fragment.zoom-in { .reveal .slides section .fragment.zoom-in {
opacity: 0; opacity: 0;
transform: scale( 0.1 );
transform: scale( 0.1 );
} }
.reveal .slides section .fragment.zoom-in.visible { .reveal .slides section .fragment.zoom-in.visible {
opacity: 1; opacity: 1;
transform: scale( 1 );
transform: scale( 1 );
} }
.reveal .slides section .fragment.roll-in { .reveal .slides section .fragment.roll-in {
opacity: 0; opacity: 0;
transform: rotateX( 90deg );
transform: rotateX( 90deg );
} }
.reveal .slides section .fragment.roll-in.visible { .reveal .slides section .fragment.roll-in.visible {
opacity: 1; opacity: 1;
transform: rotateX( 0 );
transform: rotateX( 0 );
} }
.reveal .slides section .fragment.fade-out { .reveal .slides section .fragment.fade-out {
@ -312,8 +307,7 @@ body {
.reveal pre.stretch code { .reveal pre.stretch code {
height: 100%; height: 100%;
max-height: 100%; max-height: 100%;
box-sizing: border-box;
box-sizing: border-box;
} }
.reveal table th, .reveal table th,
@ -372,8 +366,7 @@ body {
border: 12px solid transparent; border: 12px solid transparent;
-moz-transform: scale(.9999); -moz-transform: scale(.9999);
transition: all 0.2s ease;
transition: all 0.2s ease;
} }
.reveal .controls div.enabled { .reveal .controls div.enabled {
@ -453,8 +446,7 @@ body {
display: block; display: block;
height: 100%; height: 100%;
width: 0px; width: 0px;
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
} }
/********************************************* /*********************************************
@ -493,12 +485,11 @@ body {
overflow: visible; overflow: visible;
z-index: 1; z-index: 1;
text-align: center; text-align: center;
transition: perspective .4s ease;
transition: perspective .4s ease; -ms-perspective: 600px;
perspective: 600px;
perspective: 600px; -ms-perspective-origin: 0px -100px;
perspective-origin: 0px -100px;
perspective-origin: 0px -100px;
} }
.reveal .slides>section { .reveal .slides>section {
@ -515,29 +506,28 @@ body {
z-index: 10; z-index: 10;
line-height: 1.2em; line-height: 1.2em;
font-weight: inherit; font-weight: inherit;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d; transform-style: preserve-3d;
transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
} }
/* Global transition speed settings */ /* Global transition speed settings */
.reveal[data-transition-speed="fast"] .slides section { .reveal[data-transition-speed="fast"] .slides section {
transition-duration: 400ms; transition-duration: 400ms;
} }
.reveal[data-transition-speed="slow"] .slides section { .reveal[data-transition-speed="slow"] .slides section {
transition-duration: 1200ms; transition-duration: 1200ms;
} }
/* Slide-specific transition speed overrides */ /* Slide-specific transition speed overrides */
.reveal .slides section[data-transition-speed="fast"] { .reveal .slides section[data-transition-speed="fast"] {
transition-duration: 400ms; transition-duration: 400ms;
} }
.reveal .slides section[data-transition-speed="slow"] { .reveal .slides section[data-transition-speed="slow"] {
transition-duration: 1200ms; transition-duration: 1200ms;
} }
.reveal .slides>section { .reveal .slides>section {
@ -586,30 +576,26 @@ body {
.reveal .slides>section.past { .reveal .slides>section.past {
display: block; display: block;
opacity: 0; opacity: 0;
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
} }
.reveal .slides>section[data-transition=default].future, .reveal .slides>section[data-transition=default].future,
.reveal .slides>section.future { .reveal .slides>section.future {
display: block; display: block;
opacity: 0; opacity: 0;
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
} }
.reveal .slides>section>section[data-transition=default].past, .reveal .slides>section>section[data-transition=default].past,
.reveal .slides>section>section.past { .reveal .slides>section>section.past {
display: block; display: block;
opacity: 0; opacity: 0;
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
} }
.reveal .slides>section>section[data-transition=default].future, .reveal .slides>section>section[data-transition=default].future,
.reveal .slides>section>section.future { .reveal .slides>section>section.future {
display: block; display: block;
opacity: 0; opacity: 0;
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
} }
@ -619,20 +605,20 @@ body {
.reveal .slides>section[data-transition=concave].past, .reveal .slides>section[data-transition=concave].past,
.reveal.concave .slides>section.past { .reveal.concave .slides>section.past {
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
} }
.reveal .slides>section[data-transition=concave].future, .reveal .slides>section[data-transition=concave].future,
.reveal.concave .slides>section.future { .reveal.concave .slides>section.future {
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
} }
.reveal .slides>section>section[data-transition=concave].past, .reveal .slides>section>section[data-transition=concave].past,
.reveal.concave .slides>section>section.past { .reveal.concave .slides>section>section.past {
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0); transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
} }
.reveal .slides>section>section[data-transition=concave].future, .reveal .slides>section>section[data-transition=concave].future,
.reveal.concave .slides>section>section.future { .reveal.concave .slides>section>section.future {
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0); transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
} }
@ -642,31 +628,29 @@ body {
.reveal .slides>section[data-transition=zoom], .reveal .slides>section[data-transition=zoom],
.reveal.zoom .slides>section { .reveal.zoom .slides>section {
transition-timing-function: ease; transition-timing-function: ease;
} }
.reveal .slides>section[data-transition=zoom].past, .reveal .slides>section[data-transition=zoom].past,
.reveal.zoom .slides>section.past { .reveal.zoom .slides>section.past {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(16);
transform: scale(16);
} }
.reveal .slides>section[data-transition=zoom].future, .reveal .slides>section[data-transition=zoom].future,
.reveal.zoom .slides>section.future { .reveal.zoom .slides>section.future {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(0.2);
transform: scale(0.2);
} }
.reveal .slides>section>section[data-transition=zoom].past, .reveal .slides>section>section[data-transition=zoom].past,
.reveal.zoom .slides>section>section.past { .reveal.zoom .slides>section>section.past {
transform: translate(0, -150%); transform: translate(0, -150%);
} }
.reveal .slides>section>section[data-transition=zoom].future, .reveal .slides>section>section[data-transition=zoom].future,
.reveal.zoom .slides>section>section.future { .reveal.zoom .slides>section>section.future {
transform: translate(0, 150%); transform: translate(0, 150%);
} }
@ -675,25 +659,26 @@ body {
*********************************************/ *********************************************/
.reveal.linear section { .reveal.linear section {
backface-visibility: hidden; -ms-backface-visibility: hidden;
backface-visibility: hidden;
} }
.reveal .slides>section[data-transition=linear].past, .reveal .slides>section[data-transition=linear].past,
.reveal.linear .slides>section.past { .reveal.linear .slides>section.past {
transform: translate(-150%, 0); transform: translate(-150%, 0);
} }
.reveal .slides>section[data-transition=linear].future, .reveal .slides>section[data-transition=linear].future,
.reveal.linear .slides>section.future { .reveal.linear .slides>section.future {
transform: translate(150%, 0); transform: translate(150%, 0);
} }
.reveal .slides>section>section[data-transition=linear].past, .reveal .slides>section>section[data-transition=linear].past,
.reveal.linear .slides>section>section.past { .reveal.linear .slides>section>section.past {
transform: translate(0, -150%); transform: translate(0, -150%);
} }
.reveal .slides>section>section[data-transition=linear].future, .reveal .slides>section>section[data-transition=linear].future,
.reveal.linear .slides>section>section.future { .reveal.linear .slides>section>section.future {
transform: translate(0, 150%); transform: translate(0, 150%);
} }
@ -702,16 +687,16 @@ body {
*********************************************/ *********************************************/
.reveal.cube .slides { .reveal.cube .slides {
perspective: 1300px; -ms-perspective: 1300px;
perspective: 1300px;
} }
.reveal.cube .slides section { .reveal.cube .slides section {
padding: 30px; padding: 30px;
min-height: 700px; min-height: 700px;
-ms-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
box-sizing: border-box;
box-sizing: border-box;
} }
.reveal.center.cube .slides section { .reveal.center.cube .slides section {
min-height: auto; min-height: auto;
@ -726,8 +711,7 @@ body {
top: 0; top: 0;
background: rgba(0,0,0,0.1); background: rgba(0,0,0,0.1);
border-radius: 4px; border-radius: 4px;
transform: translateZ( -20px );
transform: translateZ( -20px );
} }
.reveal.cube .slides section:not(.stack):after { .reveal.cube .slides section:not(.stack):after {
content: ''; content: '';
@ -742,8 +726,7 @@ body {
border-radius: 4px; border-radius: 4px;
box-shadow: 0px 95px 25px rgba(0,0,0,0.2); box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
transform: translateZ(-90px) rotateX( 65deg );
transform: translateZ(-90px) rotateX( 65deg );
} }
.reveal.cube .slides>section.stack { .reveal.cube .slides>section.stack {
@ -752,27 +735,23 @@ body {
} }
.reveal.cube .slides>section.past { .reveal.cube .slides>section.past {
transform-origin: 100% 0%; transform-origin: 100% 0%;
transform: translate3d(-100%, 0, 0) rotateY(-90deg);
transform: translate3d(-100%, 0, 0) rotateY(-90deg);
} }
.reveal.cube .slides>section.future { .reveal.cube .slides>section.future {
transform-origin: 0% 0%; transform-origin: 0% 0%;
transform: translate3d(100%, 0, 0) rotateY(90deg);
transform: translate3d(100%, 0, 0) rotateY(90deg);
} }
.reveal.cube .slides>section>section.past { .reveal.cube .slides>section>section.past {
transform-origin: 0% 100%; transform-origin: 0% 100%;
transform: translate3d(0, -100%, 0) rotateX(90deg);
transform: translate3d(0, -100%, 0) rotateX(90deg);
} }
.reveal.cube .slides>section>section.future { .reveal.cube .slides>section>section.future {
transform-origin: 0% 0%; transform-origin: 0% 0%;
transform: translate3d(0, 100%, 0) rotateX(-90deg);
transform: translate3d(0, 100%, 0) rotateX(-90deg);
} }
@ -781,16 +760,16 @@ body {
*********************************************/ *********************************************/
.reveal.page .slides { .reveal.page .slides {
perspective-origin: 0% 50%; -ms-perspective-origin: 0% 50%;
perspective-origin: 0% 50%;
perspective: 3000px; -ms-perspective: 3000px;
perspective: 3000px;
} }
.reveal.page .slides section { .reveal.page .slides section {
padding: 30px; padding: 30px;
min-height: 700px; min-height: 700px;
box-sizing: border-box;
box-sizing: border-box;
} }
.reveal.page .slides section.past { .reveal.page .slides section.past {
z-index: 12; z-index: 12;
@ -804,8 +783,7 @@ body {
left: 0; left: 0;
top: 0; top: 0;
background: rgba(0,0,0,0.1); background: rgba(0,0,0,0.1);
transform: translateZ( -20px );
transform: translateZ( -20px );
} }
.reveal.page .slides section:not(.stack):after { .reveal.page .slides section:not(.stack):after {
content: ''; content: '';
@ -821,7 +799,7 @@ body {
border-radius: 4px; border-radius: 4px;
box-shadow: 0px 95px 25px rgba(0,0,0,0.2); box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
transform: translateZ(-90px) rotateX( 65deg ); -webkit-transform: translateZ(-90px) rotateX( 65deg );
} }
.reveal.page .slides>section.stack { .reveal.page .slides>section.stack {
@ -830,27 +808,23 @@ body {
} }
.reveal.page .slides>section.past { .reveal.page .slides>section.past {
transform-origin: 0% 0%; transform-origin: 0% 0%;
transform: translate3d(-40%, 0, 0) rotateY(-80deg);
transform: translate3d(-40%, 0, 0) rotateY(-80deg);
} }
.reveal.page .slides>section.future { .reveal.page .slides>section.future {
transform-origin: 100% 0%; transform-origin: 100% 0%;
transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
} }
.reveal.page .slides>section>section.past { .reveal.page .slides>section>section.past {
transform-origin: 0% 0%; transform-origin: 0% 0%;
transform: translate3d(0, -40%, 0) rotateX(80deg);
transform: translate3d(0, -40%, 0) rotateX(80deg);
} }
.reveal.page .slides>section>section.future { .reveal.page .slides>section>section.future {
transform-origin: 0% 100%; transform-origin: 0% 100%;
transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
} }
@ -861,9 +835,8 @@ body {
.reveal .slides section[data-transition=fade], .reveal .slides section[data-transition=fade],
.reveal.fade .slides section, .reveal.fade .slides section,
.reveal.fade .slides>section>section { .reveal.fade .slides>section>section {
transform: none; transform: none;
transition: opacity 0.5s;
transition: opacity 0.5s;
} }
@ -871,7 +844,7 @@ body {
.reveal.fade.overview .slides>section>section, .reveal.fade.overview .slides>section>section,
.reveal.fade.overview-deactivating .slides section, .reveal.fade.overview-deactivating .slides section,
.reveal.fade.overview-deactivating .slides>section>section { .reveal.fade.overview-deactivating .slides>section>section {
transition: none; transition: none;
} }
@ -881,9 +854,8 @@ body {
.reveal .slides section[data-transition=none], .reveal .slides section[data-transition=none],
.reveal.none .slides section { .reveal.none .slides section {
transform: none; transform: none;
transition: none;
transition: none;
} }
@ -892,9 +864,10 @@ body {
*********************************************/ *********************************************/
.reveal.overview .slides { .reveal.overview .slides {
perspective-origin: 0% 0%; -ms-perspective-origin: 0% 0%;
perspective-origin: 0% 0%;
perspective: 700px; -ms-perspective: 700px;
perspective: 700px;
} }
.reveal.overview .slides section { .reveal.overview .slides section {
@ -945,8 +918,7 @@ body {
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
z-index: 100; z-index: 100;
transition: all 1s ease;
transition: all 1s ease;
} }
.reveal.paused .pause-overlay { .reveal.paused .pause-overlay {
visibility: visible; visibility: visible;
@ -986,8 +958,7 @@ body {
top: 0; top: 0;
left: -50%; left: -50%;
margin: 70px 0; margin: 70px 0;
transform: none;
transform: none;
} }
.no-transforms .reveal .slides section section { .no-transforms .reveal .slides section section {
@ -996,7 +967,7 @@ body {
.reveal .no-transition, .reveal .no-transition,
.reveal .no-transition * { .reveal .no-transition * {
transition: none !important; transition: none !important;
} }
@ -1009,8 +980,7 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba( 0, 0, 0, 0 ); background: rgba( 0, 0, 0, 0 );
transition: background 800ms ease;
transition: background 800ms ease;
} }
.alert .reveal .state-background { .alert .reveal .state-background {
background: rgba( 200, 50, 30, 0.6 ); background: rgba( 200, 50, 30, 0.6 );
@ -1049,8 +1019,8 @@ body {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
-ms-perspective: 600px;
perspective: 600px; perspective: 600px;
} }
.reveal .slide-background { .reveal .slide-background {
position: absolute; position: absolute;
@ -1063,8 +1033,7 @@ body {
background-position: 50% 50%; background-position: 50% 50%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
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 { .reveal .slide-background.present {
opacity: 1; opacity: 1;
@ -1079,32 +1048,32 @@ body {
/* Immediate transition style */ /* Immediate transition style */
.reveal[data-background-transition=none]>.backgrounds .slide-background, .reveal[data-background-transition=none]>.backgrounds .slide-background,
.reveal>.backgrounds .slide-background[data-background-transition=none] { .reveal>.backgrounds .slide-background[data-background-transition=none] {
transition: none; transition: none;
} }
/* 2D slide */ /* 2D slide */
.reveal[data-background-transition=slide]>.backgrounds .slide-background, .reveal[data-background-transition=slide]>.backgrounds .slide-background,
.reveal>.backgrounds .slide-background[data-background-transition=slide] { .reveal>.backgrounds .slide-background[data-background-transition=slide] {
opacity: 1; opacity: 1;
-ms-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
} }
.reveal[data-background-transition=slide]>.backgrounds .slide-background.past, .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
.reveal>.backgrounds .slide-background.past[data-background-transition=slide] { .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
transform: translate(-100%, 0); transform: translate(-100%, 0);
} }
.reveal[data-background-transition=slide]>.backgrounds .slide-background.future, .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
.reveal>.backgrounds .slide-background.future[data-background-transition=slide] { .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
transform: translate(100%, 0); transform: translate(100%, 0);
} }
.reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past, .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
.reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] { .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
transform: translate(0, -100%); transform: translate(0, -100%);
} }
.reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future, .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
.reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] { .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
transform: translate(0, 100%); transform: translate(0, 100%);
} }
@ -1112,27 +1081,23 @@ body {
.reveal[data-background-transition=convex]>.backgrounds .slide-background.past, .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
.reveal>.backgrounds .slide-background.past[data-background-transition=convex] { .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
opacity: 0; opacity: 0;
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
} }
.reveal[data-background-transition=convex]>.backgrounds .slide-background.future, .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
.reveal>.backgrounds .slide-background.future[data-background-transition=convex] { .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
opacity: 0; opacity: 0;
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
} }
.reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past, .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
.reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] { .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
opacity: 0; opacity: 0;
transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
} }
.reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future, .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
.reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] { .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
opacity: 0; opacity: 0;
transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
} }
@ -1140,72 +1105,64 @@ body {
.reveal[data-background-transition=concave]>.backgrounds .slide-background.past, .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
.reveal>.backgrounds .slide-background.past[data-background-transition=concave] { .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
opacity: 0; opacity: 0;
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
} }
.reveal[data-background-transition=concave]>.backgrounds .slide-background.future, .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
.reveal>.backgrounds .slide-background.future[data-background-transition=concave] { .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
opacity: 0; opacity: 0;
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
} }
.reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past, .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
.reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] { .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
opacity: 0; opacity: 0;
transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
} }
.reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future, .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
.reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] { .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
opacity: 0; opacity: 0;
transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
} }
/* Zoom */ /* Zoom */
.reveal[data-background-transition=zoom]>.backgrounds .slide-background, .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
.reveal>.backgrounds .slide-background[data-background-transition=zoom] { .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
transition-timing-function: ease; transition-timing-function: ease;
} }
.reveal[data-background-transition=zoom]>.backgrounds .slide-background.past, .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
.reveal>.backgrounds .slide-background.past[data-background-transition=zoom] { .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(16);
transform: scale(16);
} }
.reveal[data-background-transition=zoom]>.backgrounds .slide-background.future, .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
.reveal>.backgrounds .slide-background.future[data-background-transition=zoom] { .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(0.2);
transform: scale(0.2);
} }
.reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past, .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
.reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] { .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(16);
transform: scale(16);
} }
.reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future, .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
.reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] { .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(0.2);
transform: scale(0.2);
} }
/* Global transition speed settings */ /* Global transition speed settings */
.reveal[data-transition-speed="fast"]>.backgrounds .slide-background { .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
transition-duration: 400ms; transition-duration: 400ms;
} }
.reveal[data-transition-speed="slow"]>.backgrounds .slide-background { .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
transition-duration: 1200ms; transition-duration: 1200ms;
} }
@ -1243,15 +1200,15 @@ body {
*********************************************/ *********************************************/
.reveal.has-parallax-background .backgrounds { .reveal.has-parallax-background .backgrounds {
transition: all 0.8s ease; transition: all 0.8s ease;
} }
/* Global transition speed settings */ /* Global transition speed settings */
.reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds { .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
transition-duration: 400ms; transition-duration: 400ms;
} }
.reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds { .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
transition-duration: 1200ms; transition-duration: 1200ms;
} }
@ -1269,8 +1226,7 @@ body {
background: rgba( 0, 0, 0, 0.9 ); background: rgba( 0, 0, 0, 0.9 );
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transition: all 0.3s ease;
transition: all 0.3s ease;
} }
.reveal .preview-link-overlay.visible { .reveal .preview-link-overlay.visible {
opacity: 1; opacity: 1;
@ -1290,8 +1246,7 @@ body {
visibility: visible; visibility: visible;
opacity: 0.6; opacity: 0.6;
transition: all 0.3s ease;
transition: all 0.3s ease;
} }
.reveal .preview-link-overlay header { .reveal .preview-link-overlay header {
@ -1349,8 +1304,7 @@ body {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transition: all 0.3s ease;
transition: all 0.3s ease;
} }
.reveal .preview-link-overlay.loaded .viewport iframe { .reveal .preview-link-overlay.loaded .viewport iframe {
@ -1361,8 +1315,7 @@ body {
.reveal .preview-link-overlay.loaded .spinner { .reveal .preview-link-overlay.loaded .spinner {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: scale(0.2);
transform: scale(0.2);
} }
@ -1377,8 +1330,7 @@ body {
bottom: 15px; bottom: 15px;
z-index: 30; z-index: 30;
cursor: pointer; cursor: pointer;
transition: all 400ms ease;
transition: all 400ms ease;
} }
.reveal.overview .playback { .reveal.overview .playback {
@ -1397,10 +1349,10 @@ body {
overflow: hidden; overflow: hidden;
vertical-align: top; vertical-align: top;
-ms-perspective: 400px;
perspective: 400px; perspective: 400px;
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%; perspective-origin: 50% 50%;
} }
.reveal .roll:hover { .reveal .roll:hover {
background: none; background: none;
@ -1412,19 +1364,15 @@ body {
padding: 0 2px; padding: 0 2px;
pointer-events: none; pointer-events: none;
transition: all 400ms ease;
transition: all 400ms ease; transform-origin: 50% 0%;
-ms-transform-style: preserve-3d;
transform-origin: 50% 0%; transform-style: preserve-3d;
backface-visibility: hidden;
transform-style: preserve-3d;
backface-visibility: hidden;
} }
.reveal .roll:hover span { .reveal .roll:hover span {
background: rgba(0,0,0,0.5); background: rgba(0,0,0,0.5);
transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
} }
.reveal .roll span:after { .reveal .roll span:after {
content: attr(data-title); content: attr(data-title);
@ -1434,12 +1382,9 @@ body {
left: 0; left: 0;
top: 0; top: 0;
padding: 0 2px; padding: 0 2px;
backface-visibility: hidden;
backface-visibility: hidden; transform-origin: 50% 0%;
transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
transform-origin: 50% 0%;
transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
} }
@ -1459,9 +1404,9 @@ body {
.zoomed .reveal *, .zoomed .reveal *,
.zoomed .reveal *:before, .zoomed .reveal *:before,
.zoomed .reveal *:after { .zoomed .reveal *:after {
transform: none !important; transform: none !important;
-ms-backface-visibility: visible !important;
backface-visibility: visible !important; backface-visibility: visible !important;
} }
.zoomed .reveal .progress, .zoomed .reveal .progress,

File diff suppressed because it is too large Load diff

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -34,7 +34,7 @@
"grunt-contrib-watch": "~0.5.3", "grunt-contrib-watch": "~0.5.3",
"grunt-contrib-sass": "~0.5.0", "grunt-contrib-sass": "~0.5.0",
"grunt-contrib-connect": "~0.4.1", "grunt-contrib-connect": "~0.4.1",
"grunt-autoprefixer": "", "grunt-autoprefixer": "~1.0.1",
"grunt-zip": "~0.7.0", "grunt-zip": "~0.7.0",
"grunt": "~0.4.0" "grunt": "~0.4.0"
}, },