From: vincent@cubedesigners.com Date: Thu, 24 Sep 2020 16:06:56 +0000 (+0000) Subject: wait #3860 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f774d458c33ae1f07158e6c37f363ed37b0638f1;p=cubeextranet.git wait #3860 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 5ccc6c73e..335ef58cd 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2007,6 +2007,7 @@ class wsHTML5Compiler $this->lessVariables['book-page-height'] = $h; $this->lessVariables['book-page-ratio'] = floatval($w) / floatval($h); + $this->lessVariables['page-shade-opacity'] = min(1, $this->theme->parametres->shadeAlpha / 50); $this->lessVariables['shadow-opacity'] = wsHTML5::colorToArray($this->theme->parametres->bookShadeColor)['opacity'] * 1.2; $this->lessVariables['edges-display'] = $this->_lessBoolean($this->theme->parametres->usePageEdges); $this->lessVariables['edge-left-offset'] = $this->theme->parametres->pageEdgeLeftOffset;