summaryrefslogtreecommitdiffstats
path: root/doc/backends/deckjs/deck.js/themes/transition/fade.css
diff options
context:
space:
mode:
Diffstat (limited to 'doc/backends/deckjs/deck.js/themes/transition/fade.css')
-rw-r--r--doc/backends/deckjs/deck.js/themes/transition/fade.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/backends/deckjs/deck.js/themes/transition/fade.css b/doc/backends/deckjs/deck.js/themes/transition/fade.css
new file mode 100644
index 00000000..ad5338cf
--- /dev/null
+++ b/doc/backends/deckjs/deck.js/themes/transition/fade.css
@@ -0,0 +1,35 @@
+.csstransitions.csstransforms .deck-container .slide {
+ -webkit-transition: opacity 500ms ease-in-out 0ms;
+ transition: opacity 500ms ease-in-out 0ms;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
+ position: relative;
+ left: 0;
+ top: 0;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
+ opacity: 0;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-current {
+ opacity: 1;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
+ opacity: 0;
+ pointer-events: none;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
+ visibility: visible;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
+ opacity: 1;
+ visibility: visible;
+ pointer-events: auto;
+}
+.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-after {
+ visibility: hidden;
+}