Merge branch 'master' into dev10

This commit is contained in:
fredtempez 2019-11-12 19:02:25 +01:00
commit 36d847c5c6
3 changed files with 3 additions and 3 deletions

View File

@ -1315,7 +1315,7 @@ class core extends common {
// Pied de page
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
if($this->getData(['theme', 'footer', 'margin'])) {
$css .= 'footer{padding:0 10px;}';
$css .= 'footer{padding:0 20px;}';
} else {
$css .= 'footer{padding:0}';
}

View File

@ -36,7 +36,7 @@ $("input, select").on("change", function() {
css += "footer span{color:" + $("#themeFooterTextColor").val() + ";font-family:'" + footerFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeFooterFontWeight").val() + ";font-size:" + $("#themeFooterFontSize").val() + ";text-transform:" + $("#themeFooterTextTransform").val() + "}";
// Marge
if($("#themeFooterMargin").is(":checked")) {
css += 'footer{padding: 0 10px;}';
css += 'footer{padding: 0 20px;}';
}
else {
css += 'footer{padding:0}';

View File

@ -190,7 +190,7 @@
</div>
<div class="col6">
<div id="themeFooterPositionOptions">
<?php echo template::checkbox('themeFooterMargin', true, 'Alignement sur une marge horizontale', [
<?php echo template::checkbox('themeFooterMargin', true, 'Alignement avec le contenu', [
'checked' => $this->getData(['theme', 'footer', 'margin'])
]); ?>
</div>