diff --git a/core/core.php b/core/core.php index 75a04f6b..d4d3f967 100644 --- a/core/core.php +++ b/core/core.php @@ -1184,7 +1184,7 @@ class core extends common { $css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#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;}': ''; $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 .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ' !important;}'; + $css .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}'; $colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor'])); $css .= '.speechBubble,.button,.button:hover,button[type=\'submit\'],.pagination a,.pagination a:hover,input[type=\'checkbox\']:checked + label:before,input[type=\'radio\']:checked + label:before,.helpContent{background-color:' . $colors['normal'] . ';color:' . $colors['text'] . '}'; $css .= '.helpButton span{color:' . $colors['normal'] . '}'; diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php index 22d07823..16a68700 100755 --- a/core/module/theme/view/footer/footer.js.php +++ b/core/module/theme/view/footer/footer.js.php @@ -22,8 +22,10 @@ $("input, select").on("change", function() { // Couleurs du pied de page var colors = core.colorVariants($("#themeFooterBackgroundColor").val()); var textColor = $("#themeFooterTextColor").val(); - var css = "footer{background-color:" + colors.normal + ";color:" + textColor + "}"; + var css = "footer {background-color:" + colors.normal + ";color:" + textColor + "}"; css += "footer a{color:" + textColor + "}"; + // Couleur de l'éditeur + css += ".editorWysiwyg{background-color:" + colors.normal + " !important; color:" + textColor + " !important;}"; // Hauteur du pied de page //css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}"; css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}"; diff --git a/core/vendor/tinymce/content.css b/core/vendor/tinymce/content.css index 310267c2..57c6cbb3 100755 --- a/core/vendor/tinymce/content.css +++ b/core/vendor/tinymce/content.css @@ -5,7 +5,6 @@ /* Fix les problèmes de couleurs et de taille de police */ .editorWysiwyg { font-size: 14px !important; - /*background: #FFF !important;*/ }