From: Vincent Vanwaelscappel Date: Wed, 20 Sep 2017 15:54:11 +0000 (+0200) Subject: done #1634 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5d0141f0c5d1f9b05d458c0f14d27f368d26eb0c;p=fluidbook-html5.git done #1634 @2 --- diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index f05a43cc..c513b6aa 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -529,7 +529,7 @@ Fluidbook.prototype = { var left = true, right = true; if (this.displayOnePage) { - right = false; + right = true; } else { if ((page <= 1 && this.l10n.dir == 'ltr') || (page >= this.datas.pages && this.l10n.dir == 'rtl')) { left = false; diff --git a/style/fluidbook.less b/style/fluidbook.less index ed855d83..574fbf4d 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -356,6 +356,10 @@ body, html { background-size: 100% @shadow-height; height: @shadow-height; + .portrait &{ + opacity: @shadow-opacity/2; + } + &.left { left: -12px; width: @shadow-width-left; @@ -363,7 +367,6 @@ body, html { } &.right { - display: none; background-image: url("../images/shadows/back/bottom-right.png"); width: @shadow-width-right; @@ -374,7 +377,6 @@ body, html { } &.side { - top: 0; width: 35px; height: unit(@book-page-height, px); @@ -410,8 +412,8 @@ body, html { height: unit(@book-page-height, px); pointer-events: none; - .portrait & { - display: none; + .portrait &{ + width: unit(@book-page-width, px); } @edge-scale: 1;