From: Vincent Vanwaelscappel Date: Wed, 7 Jun 2017 11:01:14 +0000 (+0200) Subject: fix #1456 @0:20 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=473e7c092bf7e487ab1063d7af2d58d22b22aeee;p=fluidbook-html5.git fix #1456 @0:20 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 2932b6d6..735d6c8c 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -412,21 +412,16 @@ FluidbookMenu.prototype = { } - var to = { - translateY: $(window).height() + 'px' - }; - if ($(mview).hasClass('hori')) { - to = {translateX: $(window).width() + 'px'} + if(mview.length>0) { + TweenMax.to(mview, 0.25, { + autoAlpha: 0, onComplete: function () { + $this.fluidbook.video.killVideosIn(mview); + mview.remove(); + callback(); + } + }); } - TweenMax.to(mview, 0.25, { - autoAlpha: 0, onComplete: function () { - $this.fluidbook.video.killVideosIn(mview); - mview.remove(); - callback(); - } - }); - if (all) { $("#main").show(); @@ -436,7 +431,6 @@ FluidbookMenu.prototype = { }, resize: function (ww, hh) { - if (ww == undefined) { ww = this.fluidbook.resize.ww; } diff --git a/style/fluidbook.less b/style/fluidbook.less index b15c403d..ebfab845 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -858,7 +858,7 @@ footer.hidden, header.hidden, #interface.hidden { } - &[data-menu="webvideo"],&[data-menu="webvideo"] { + &[data-menu="webvideo"], &[data-menu="webvideo"] { iframe { width: 100%; height: 100%; @@ -1444,7 +1444,7 @@ ul.chapters { .puce { width: 25px; height: 25px; - line-height:17px; + line-height: 17px; padding: 6px; color: #fff; svg { @@ -2041,6 +2041,13 @@ a.button { } } +/* Blur input */ +body > input { + position: absolute; + bottom: 0; + left: 0; +} + /* SVG Sprite */ [class^="interface-"], [class*=" interface-"] { display: inline-block;