forked from ZwiiCMS-Team/ZwiiCMS
[9.2.01] Méthode de positionnement des marges
This commit is contained in:
parent
4538c3dec5
commit
5c94a30683
@ -1107,9 +1107,13 @@ class core extends common {
|
|||||||
$css .= 'footer span{color:' . $this->getData(['theme', 'footer', 'textColor']) . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'footer', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'footer', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'footer', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'footer', 'textTransform']) . '}';
|
$css .= 'footer span{color:' . $this->getData(['theme', 'footer', 'textColor']) . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'footer', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'footer', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'footer', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'footer', 'textTransform']) . '}';
|
||||||
$css .= 'footer{background-color:' . $colors['normal'] . ';color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
$css .= 'footer{background-color:' . $colors['normal'] . ';color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
||||||
$css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
$css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
||||||
//$css .= 'footer .container > div {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
$css .= 'footer #footersite > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||||
|
$css .= 'footer #footerbody > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||||
|
$css .= "footer #footersite > div {padding:0}";
|
||||||
|
$css .= "footer #footerbody > div {padding:0}";
|
||||||
$css .= '#footerFontText > p {margin-top: 0; margin-bottom: 0;}';
|
$css .= '#footerFontText > p {margin-top: 0; margin-bottom: 0;}';
|
||||||
$css .= '#footersiteLeft, #footersiteCenter, #footersiteRight {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
//$css .= '#footersiteLeft, #footersiteCenter, #footersiteRight {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||||
|
//$css .= '#footerbodyLeft, #footerbodyCenter, #footerbodyRight {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||||
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
||||||
$css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
$css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
||||||
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
||||||
|
@ -92,9 +92,9 @@ class theme extends common {
|
|||||||
'bold' => 'Gras'
|
'bold' => 'Gras'
|
||||||
];
|
];
|
||||||
public static $footerHeights = [
|
public static $footerHeights = [
|
||||||
'0px' => 'Nulles',
|
'5px' => 'Très petites',
|
||||||
'5px' => 'Petites',
|
'10px' => 'Petites',
|
||||||
'10px' => 'Moyennes',
|
'15px' => 'Moyennes',
|
||||||
'20px' => 'Grandes'
|
'20px' => 'Grandes'
|
||||||
];
|
];
|
||||||
public static $footerPositions = [
|
public static $footerPositions = [
|
||||||
|
@ -25,10 +25,11 @@ $("input, select").on("change", function() {
|
|||||||
var css = "footer{background-color:" + colors.normal + ";color:" + textColor + "}";
|
var css = "footer{background-color:" + colors.normal + ";color:" + textColor + "}";
|
||||||
css += "footer a{color:" + textColor + "}";
|
css += "footer a{color:" + textColor + "}";
|
||||||
// Hauteur du pied de page
|
// Hauteur du pied de page
|
||||||
css += "#footersiteLeft, #footersiteCenter, #footersiteRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
//css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
//css += "footer .container > div{padding:0}";
|
css += "footer #footersite > div{padding:0}";
|
||||||
//css += "footer .container-large > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
//css += "footer .container-large > div{padding:0}";
|
css += "footer #footerbody > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
|
css += "footer #footerbody > div{padding:0}";
|
||||||
// Alignement du contenu
|
// Alignement du contenu
|
||||||
css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}";
|
css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}";
|
||||||
css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}";
|
css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}";
|
||||||
|
Loading…
Reference in New Issue
Block a user