From 5d0141f0c5d1f9b05d458c0f14d27f368d26eb0c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 20 Sep 2017 17:54:11 +0200 Subject: [PATCH] done #1634 @2 --- js/libs/fluidbook/fluidbook.js | 2 +- style/fluidbook.less | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) 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; -- 2.39.5