re modif sous menu + video + modeles

This commit is contained in:
Deltacms 2022-11-16 16:40:01 +01:00
parent 7af79c0522
commit a3605edf67
3 changed files with 9 additions and 11 deletions

View File

@ -438,15 +438,6 @@ $(document).ready(function(){
$("#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
*/

View File

@ -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']) . '}';
// 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
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
if($this->getData(['theme', 'footer', 'margin'])) {
$css .= 'footer{padding:0 20px;}';

View File

@ -737,7 +737,8 @@ class galleriesHelper extends helper {
* @return array
*/
public static function scanDir($dir) {
$exclu = ["agenda", "backup", "fonts", "icones", "modules", "theme", "video"];
$exclu = ["agenda", "backup", "fonts", "icones", "theme"];
$dirContent = [];
$iterator = new DirectoryIterator($dir);
foreach($iterator as $fileInfos) {