forked from ZwiiCMS-Team/ZwiiCMS
[9.1.08] 100% fluide bar également
This commit is contained in:
parent
6b13d53b8e
commit
81c99763ca
@ -970,7 +970,7 @@ class core extends common {
|
|||||||
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
||||||
$css .= 'body,.block h4,input[type=\'email\'],input[type=\'text\'],input[type=\'password\'],.inputFile,select,textarea,.inputFile,.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
$css .= 'body,.block h4,input[type=\'email\'],input[type=\'text\'],input[type=\'password\'],.inputFile,select,textarea,.inputFile,.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']) . '}';
|
||||||
$css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site{margin:0 auto;} body{margin:0 auto;}': '';
|
$css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site{margin:0 auto;} body{margin:0 auto;} #bar{margin:0 auto;}': '';
|
||||||
$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}';
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor']));
|
$colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor']));
|
||||||
|
@ -47,7 +47,7 @@ $("input, select").on("change", function() {
|
|||||||
// Largeur du site
|
// Largeur du site
|
||||||
css += ".container{max-width:" + $("#themeSiteWidth").val() + "}";
|
css += ".container{max-width:" + $("#themeSiteWidth").val() + "}";
|
||||||
if ($("#themeSiteWidth").val() === "100%") {
|
if ($("#themeSiteWidth").val() === "100%") {
|
||||||
css += "#site{margin:0 auto;} body{margin:0 auto;}";
|
css += "#site{margin:0 auto;} body{margin:0 auto;} #bar{margin:0 auto;}";
|
||||||
}
|
}
|
||||||
// Couleur du site, arrondi sur les coins du site et ombre sur les bords du site
|
// Couleur du site, arrondi sur les coins du site et ombre sur les bords du site
|
||||||
css += "#site{background-color:" + $("#themeSiteBackgroundColor").val() + ";border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}";
|
css += "#site{background-color:" + $("#themeSiteBackgroundColor").val() + ";border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}";
|
||||||
|
Loading…
Reference in New Issue
Block a user