re modif sous menu + video + modeles
This commit is contained in:
parent
7af79c0522
commit
a3605edf67
|
@ -438,15 +438,6 @@ $(document).ready(function(){
|
||||||
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'none' });
|
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'none' });
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Position du sous-menu */
|
|
||||||
$("a.B, a.A").mouseenter(function(event){
|
|
||||||
if( event.pageX > ( $(window).width()-250 ) ){
|
|
||||||
$("nav li ul").css("right","0px");
|
|
||||||
} else {
|
|
||||||
$("nav li ul").css("right","");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chargement paresseux des images et des iframes
|
* Chargement paresseux des images et des iframes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2454,8 +2454,14 @@ class core extends common {
|
||||||
}
|
}
|
||||||
|
|
||||||
$css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . $this->getData(['fonts', $this->getData(['theme', 'menu', 'font']), 'name']) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
$css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . $this->getData(['fonts', $this->getData(['theme', 'menu', 'font']), 'name']) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
||||||
|
// Orientation des sous-menus
|
||||||
|
if( $this->getData(['theme', 'menu', 'textAlign']) === 'right'){
|
||||||
|
$css .= 'nav ul .navSub{right: 0px}';
|
||||||
|
} else {
|
||||||
|
$css .= 'nav ul .navSub{left: 0px}';
|
||||||
|
}
|
||||||
|
|
||||||
// Pied de page
|
// Pied de page
|
||||||
|
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
|
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
|
||||||
if($this->getData(['theme', 'footer', 'margin'])) {
|
if($this->getData(['theme', 'footer', 'margin'])) {
|
||||||
$css .= 'footer{padding:0 20px;}';
|
$css .= 'footer{padding:0 20px;}';
|
||||||
|
|
|
@ -737,7 +737,8 @@ class galleriesHelper extends helper {
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function scanDir($dir) {
|
public static function scanDir($dir) {
|
||||||
$exclu = ["agenda", "backup", "fonts", "icones", "modules", "theme", "video"];
|
|
||||||
|
$exclu = ["agenda", "backup", "fonts", "icones", "theme"];
|
||||||
$dirContent = [];
|
$dirContent = [];
|
||||||
$iterator = new DirectoryIterator($dir);
|
$iterator = new DirectoryIterator($dir);
|
||||||
foreach($iterator as $fileInfos) {
|
foreach($iterator as $fileInfos) {
|
||||||
|
|
Loading…
Reference in New Issue