protected static $resolutions = array(150, 36);
protected static $uaPrefixes = array('-moz-', '-webkit-', '-o-', '-ms-', '');
protected static $jsFiles = array(
+ 'js/libs/fix/ios-orientation.js',
+ 'js/libs/fix/detect-zoom.js',
'js/libs/cube/fb.js',
'js/libs/modernizr.js',
'js/libs/flashdetect.js',
'js/libs/fluidbook/fluidbook.loader.js',
'js/libs/fluidbook/fluidbook.search.js',
'js/libs/fluidbook/fluidbook.chapters.js',
+ 'js/libs/fluidbook/fluidbook.help.js',
+ 'js/libs/fluidbook/fluidbook.resize.js',
'js/libs/fluidbook/fluidbook.js',
'js/main.js');
protected static $debugJsFiles = array(
$res[] = $texts;
// Theme
+ $shade = '.page .shade{';
+ $shade.='opacity:' . ($this->theme->parametres->shadeAlpha / 100) . ';';
+ $shade.='}';
+ $res[] = $shade;
+
// Background
$body = '#main{';
$body.='background-color:#' . $this->theme->parametres->backgroundColor . ';';
$res[] = $body;
// Header
- $header = '#header{';
+ $header = 'header{';
$header.='height:' . $this->theme->parametres->menuHeight . 'px;';
$header.='background-color:' . self::colorToCSS($this->theme->parametres->menuColor) . ';';
if ($this->theme->parametres->menuImage != '') {
$res[] = $logo;
// Credits
- $res[] = '#credits,#credits a{color:' . self::colorToCSS($this->theme->parametres->creditsColor) . ';}';
+ $res[] = 'footer,footer a{color:' . self::colorToCSS($this->theme->parametres->creditsColor) . ';}';
// Arrows
$res[] = '#next,#previous{background-color:' . self::colorToCSS($this->theme->parametres->couleurA) . ';}';
# Index
$ratio = $this->width / $this->height;
$thumbh = round(100 / $ratio);
- $res[] = '#index .thumb img{width:100px;height:' . $thumbh . 'px;}';
- $res[] = '#index .doubleThumb{height:' . $thumbh . 'px;' . $this->writeCSSUA('box-shadow', '0 0 3px ' . $shadowColor) . '}';
- $res[] = '#index .doubleThumb .overlay{height:' . $thumbh . 'px;}';
- $res[] = '#index .doubleThumb .hits.yes{background-color:' . self::colorToCSS($this->theme->parametres->subSelectColor) . ';color:' . self::colorToCSS($this->theme->parametres->subTextSelectColor) . '}';
+ $res[] = '#indexView .thumb img{width:100px;height:' . $thumbh . 'px;}';
+ $res[] = '#indexView .doubleThumb{height:' . $thumbh . 'px;' . $this->writeCSSUA('box-shadow', '0 0 3px ' . $shadowColor) . '}';
+ $res[] = '#indexView .doubleThumb .overlay{height:' . $thumbh . 'px;}';
+ $res[] = '#indexView .doubleThumb .hits.yes{background-color:' . self::colorToCSS($this->theme->parametres->subSelectColor) . ';color:' . self::colorToCSS($this->theme->parametres->subTextSelectColor) . '}';
$res = array_chunk($res, 3500);
foreach ($res as $k => $css) {