From: vincent@cubedesigners.com Date: Thu, 14 Sep 2017 16:09:52 +0000 (+0000) Subject: #1466 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=71423e0f8077c5bcd6cf1b468bf8d2f67f6fcc65;p=cubeextranet.git #1466 --- diff --git a/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php b/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php index 9e5b2bcfc..99417ff2c 100644 --- a/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php @@ -1160,7 +1160,7 @@ class wsHTML5Compiler { $this->log('Copied image ' . $page); } - $this->makeThumbSprites($thumbs); + $this->makeThumbSprites($thumbs); $this->log('Made thumbnails'); } @@ -1275,6 +1275,8 @@ class wsHTML5Compiler { $lessVariables['book-page-width'] = $w; $lessVariables['book-page-height'] = $h; + $lessVariables['shadow-opacity'] = wsHTML5::colorToArray($this->theme->parametres->bookShadeColor)['opacity'] * 1.2; + $res[] = '.portrait #pages,.portrait .doublePage.page,.page,.doublePage._3d{width:' . $w . ';max-width:' . $w . ';height:' . $h . ';max-height:' . $h . '}'; $res[] = '.doublePage,#pages,#links,#searchHighlights{width:' . $w2 . ';max-width:' . $w2 . ';height:' . $h . ';max-height:' . $h . '}'; $res[] = '.landscape .doublePage._2d.axis_x.next{' . wsHTML5::writeCSSUA('transform', 'translate3d(' . $w2 . ',0,0)') . '}';