From: vincent@cubedesigners.com Date: Sun, 17 Jul 2011 15:58:23 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=923ac90ca4f1e4964b696be782ea860e85ad0429;p=cubeextranet.git --- diff --git a/inc/ws/Util/packager/html5/class.ws.packager.html5.php b/inc/ws/Util/packager/html5/class.ws.packager.html5.php index 7ed6f2ef1..2d85465fc 100644 --- a/inc/ws/Util/packager/html5/class.ws.packager.html5.php +++ b/inc/ws/Util/packager/html5/class.ws.packager.html5.php @@ -177,7 +177,6 @@ class wsPackagerHTML5 extends wsPackager { foreach ($icons as $icon => $color) { wsTools::colorizeAndRasterizeIcon($this->theme->parametres->iconSet, $icon, $color, $this->vdir . '/data/images/', 4, $w, $h); - $res[] = '#icon-' . $icon . '{width:' . $w . 'px;height:' . $h . 'px;background-image:url(data/images/' . $icon . '.svg), url(data/images/' . $icon . '.png);background-repeat:no-repeat;background-size:' . $w . 'px ' . $h . 'px}'; } return $res; } @@ -304,7 +303,7 @@ class wsPackagerHTML5 extends wsPackager { // Theme // Background - $body = '#main{'; + $body = '#deviceView{'; $body.='background-color:#' . $this->theme->parametres->backgroundColor . ';'; switch ($this->theme->parametres->repeat) { case wsTheme::REPEAT: @@ -456,7 +455,7 @@ class wsPackagerHTML5 extends wsPackager { $res[] = '.f' . $index . '{font-family:F' . $index . ',Arial,Helvetica}'; } - $res = array_chunk($res, 4000); + $res = array_chunk($res, 3500); foreach ($res as $k => $css) { file_put_contents(sprintf($file, $k), implode("\n", $css)); }