Merge branch '10400' into data_engine

This commit is contained in:
Fred Tempez 2020-11-04 14:37:13 +01:00
commit 01bffadc87
2 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@
## version 10.3.04 ## version 10.3.04
- Corrections : - Corrections :
- Warning lors d'une primo installation.
- Position des entrées de menu sur les écrans de smartphone. - Position des entrées de menu sur les écrans de smartphone.
- Thème : import d'un thème, d'administration impossible. - Thème : import d'un thème, d'administration impossible.
- Thème : import d'un thème, nettoyage du dossier tmp. - Thème : import d'un thème, nettoyage du dossier tmp.
@ -23,13 +24,13 @@
- Thème du menu : alignement inopérant ; arrière-plan semi-transparent non uniforme. - Thème du menu : alignement inopérant ; arrière-plan semi-transparent non uniforme.
- Supprime les warning lors d'une primo installation. - Supprime les warning lors d'une primo installation.
- Inversion des icônes + et - dans la configuration - Inversion des icônes + et - dans la configuration
- Amélioration : - Améliorations :
- Thème menu : couleurs du sous-menu. - Thème menu : couleurs du sous-menu.
- Mise en page du corps des mails de notification. - Mise en page du corps des mails de notification.
- Paramètres de localisation. - Paramètres de localisation.
- Maintenance terminée, redirection vers l'accueil. - Maintenance terminée, redirection vers l'accueil.
- Marge haute dans les vues en mode light. - Marge haute dans les vues en mode light.
- Modification : - Modifications :
- Changement de noms de classe : - Changement de noms de classe :
- navLevel1 devient navMain - navLevel1 devient navMain
- navLevel2 devient navSub - navLevel2 devient navSub

View File

@ -1557,7 +1557,7 @@ class core extends common {
//$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; //$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
$css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}'; $css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}';
$margin = $this->getData(['theme', 'site', 'margin']) ? '0' : '20px'; $margin = $this->getData(['theme', 'site', 'margin']) ? '0' : '20px';
$css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site.light{margin:15px auto !important;}#site{margin:0 auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}': "#site.light{margin: 150px auto !important;}#site{margin: " . $margin . " auto !important;} body{margin:0px 10px;} #bar{margin: 0 -10px;} body > header{margin: 0 -10px;} body > nav {margin: 0 -10px;} body > footer {margin: 0 -10px;} "; $css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site.light{margin:150px auto !important;}#site{margin:0 auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}': "#site.light{margin: 100px auto !important;}#site{margin: " . $margin . " auto !important;} body{margin:0px 10px;} #bar{margin: 0 -10px;} body > header{margin: 0 -10px;} body > nav {margin: 0 -10px;} body > footer {margin: 0 -10px;} ";
$css .= $this->getData(['theme', 'site', 'width']) === '750px' ? '.button, button{font-size:0.8em;}' : ''; $css .= $this->getData(['theme', 'site', 'width']) === '750px' ? '.button, button{font-size:0.8em;}' : '';
$css .= '#site{background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';border-radius:' . $this->getData(['theme', 'site', 'radius']) . ';box-shadow:' . $this->getData(['theme', 'site', 'shadow']) . ' #212223;}'; $css .= '#site{background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';border-radius:' . $this->getData(['theme', 'site', 'radius']) . ';box-shadow:' . $this->getData(['theme', 'site', 'shadow']) . ' #212223;}';
$css .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}'; $css .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}';