]> _ Git - cubeextranet.git/commitdiff
wait #3860 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 24 Sep 2020 16:06:56 +0000 (16:06 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 24 Sep 2020 16:06:56 +0000 (16:06 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 5ccc6c73e7457fe168a4054dc89081c38dc4e156..335ef58cd6889b01874d47af024bab32b4eece89 100644 (file)
@@ -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;