forked from ZwiiCMS-Team/ZwiiCMS
[9.2.25] Preview footer ok
This commit is contained in:
parent
d25d319802
commit
2615198d7a
@ -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'] . '}';
|
||||
|
@ -24,6 +24,8 @@ $("input, select").on("change", function() {
|
||||
var textColor = $("#themeFooterTextColor").val();
|
||||
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}";
|
||||
|
1
core/vendor/tinymce/content.css
vendored
1
core/vendor/tinymce/content.css
vendored
@ -5,7 +5,6 @@
|
||||
/* Fix les problèmes de couleurs et de taille de police */
|
||||
.editorWysiwyg {
|
||||
font-size: 14px !important;
|
||||
/*background: #FFF !important;*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user