\r
foreach ($icons as $icon => $color) {\r
wsTools::colorizeAndRasterizeIcon($this->theme->parametres->iconSet, $icon, $color, $this->vdir . '/data/images/', 4, $w, $h);\r
- $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}';\r
}\r
return $res;\r
}\r
\r
// Theme\r
// Background\r
- $body = '#main{';\r
+ $body = '#deviceView{';\r
$body.='background-color:#' . $this->theme->parametres->backgroundColor . ';';\r
switch ($this->theme->parametres->repeat) {\r
case wsTheme::REPEAT:\r
$res[] = '.f' . $index . '{font-family:F' . $index . ',Arial,Helvetica}';\r
}\r
\r
- $res = array_chunk($res, 4000);\r
+ $res = array_chunk($res, 3500);\r
foreach ($res as $k => $css) {\r
file_put_contents(sprintf($file, $k), implode("\n", $css));\r
}\r