]> _ Git - cubeextranet.git/commitdiff
#1177
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 28 Feb 2017 16:31:05 +0000 (16:31 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 28 Feb 2017 16:31:05 +0000 (16:31 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index 0ec702bb8beb54f31181e56314f69d21a369e932..569bf09edd34bf99cabdceab290f72d0c51aed00 100644 (file)
@@ -937,6 +937,7 @@ class wsHTML5Compiler {
                $this->config->phonegap = $this->phonegap;
                $this->config->retinaResolution = $this->maxRes;
                $this->config->pageLabels = $this->pageLabels;
+               $this->config->pageZoomFactor = $this->z;
                if ($this->home) {
                        $this->config->home = 'http://home';
                }
@@ -1160,7 +1161,7 @@ class wsHTML5Compiler {
                $res[] = '.landscape #shadow>div.right{left: ' . $w . ';}';
                $res[] = '.landscape .page.right{left:' . $w . '}';
                if ($this->theme->parametres->displayPageNumber) {
-                       $res[] = '#pagesnumbers{top:' . $h . ';color:' . self::colorToCSS($this->theme->parametres->colorPageNumber) . '}';
+                       $res[] = '#pagesnumbers{font-size: ' . (12 * $this->z) . 'px;margin: ' . (5 * $this->z) . 'px 0 0 0;top:' . $h . ';color:' . self::colorToCSS($this->theme->parametres->colorPageNumber) . '}';
                        $res[] = '#pagesnumbers div{width:' . $w . '}';
                } else {
                        $res[] = '#pagesnumbers{display:none;}';