forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master' into dev10
This commit is contained in:
commit
d8eb134eba
@ -1202,6 +1202,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']) === '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 .= $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;}';
|
||||||
|
$css .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}';
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'button', '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 .= '.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'] . '}';
|
$css .= '.helpButton span{color:' . $colors['normal'] . '}';
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
*
|
*
|
||||||
* @author Rémi Jean <remi.jean@outlook.com>
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
* @license GNU General Public License, version 3
|
* @license GNU General Public License, version 3
|
||||||
* @link http://zwiicms.com/
|
* @link http://zwiicms.com/
|
||||||
*/
|
*/
|
||||||
|
32
core/module/config/view/index/index.css
Normal file
32
core/module/config/view/index/index.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/install/view/update/update.css
Normal file
32
core/module/install/view/update/update.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/page/view/edit/edit.css
Normal file
32
core/module/page/view/edit/edit.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/theme/view/advanced/advanced.css
Normal file
32
core/module/theme/view/advanced/advanced.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
@ -13,4 +13,23 @@
|
|||||||
|
|
||||||
#backToTop {
|
#backToTop {
|
||||||
display: block;
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
}
|
}
|
32
core/module/theme/view/footer/footer.css
Normal file
32
core/module/theme/view/footer/footer.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
@ -22,8 +22,10 @@ $("input, select").on("change", function() {
|
|||||||
// Couleurs du pied de page
|
// Couleurs du pied de page
|
||||||
var colors = core.colorVariants($("#themeFooterBackgroundColor").val());
|
var colors = core.colorVariants($("#themeFooterBackgroundColor").val());
|
||||||
var textColor = $("#themeFooterTextColor").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 + "}";
|
css += "footer a{color:" + textColor + "}";
|
||||||
|
// Couleur de l'éditeur
|
||||||
|
css += ".editorWysiwyg{background-color:" + colors.normal + " !important; color:" + textColor + " !important;}";
|
||||||
// Hauteur du pied de page
|
// Hauteur du pied de page
|
||||||
//css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
//css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
|
32
core/module/theme/view/header/header.css
Normal file
32
core/module/theme/view/header/header.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
@ -53,4 +53,25 @@ nav li ul {
|
|||||||
}
|
}
|
||||||
#themeOverlayBody {
|
#themeOverlayBody {
|
||||||
position: fixed; /* Sinon l'overlay s'arrête à la hauteur de la fenêtre et non de la page*/
|
position: fixed; /* Sinon l'overlay s'arrête à la hauteur de la fenêtre et non de la page*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contrastes */
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
}
|
}
|
32
core/module/theme/view/manage/manage.css
Normal file
32
core/module/theme/view/manage/manage.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/theme/view/menu/menu.css
Normal file
32
core/module/theme/view/menu/menu.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
39
core/module/theme/view/site/site.css
Normal file
39
core/module/theme/view/site/site.css
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.preview {
|
||||||
|
border-radius: 2%;
|
||||||
|
-webkit-box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.75);
|
||||||
|
-moz-box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.75);
|
||||||
|
box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.75);
|
||||||
|
}
|
@ -10,6 +10,37 @@
|
|||||||
* @link http://zwiicms.com/
|
* @link http://zwiicms.com/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Chargement de l'aperçu
|
||||||
|
*/
|
||||||
|
$( document ).ready(function() {
|
||||||
|
|
||||||
|
|
||||||
|
// Import des polices de caractères
|
||||||
|
var titleFont = $("#themeTitleFont").val();
|
||||||
|
var textFont = $("#themeTextFont").val();
|
||||||
|
var css = "@import url('https://fonts.googleapis.com/css?family=" + titleFont + "|" + textFont + "');";
|
||||||
|
var colors = core.colorVariants($("#themeButtonBackgroundColor").val());
|
||||||
|
|
||||||
|
|
||||||
|
css += "h1.preview,h3.preview{color:" + $("#themeTitleTextColor").val() + ";font-family:'" + titleFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeTitleFontWeight").val() + ";text-transform:" + $("#themeTitleTextTransform").val() + "}";
|
||||||
|
css += "p.preview{color:" + $("#themeTextTextColor").val() + "}";
|
||||||
|
css += "div.preview{background-color:" + $("#themeSiteBackgroundColor").val() + ";}";
|
||||||
|
|
||||||
|
// Couleurs des liens
|
||||||
|
colors = core.colorVariants($("#themeLinkTextColor").val());
|
||||||
|
css += "a.preview{color:" + colors.normal + "}";
|
||||||
|
css += "a.preview:hover{color:" + colors.darken + "}";
|
||||||
|
|
||||||
|
// Paramètrage du DOM
|
||||||
|
$("#themePreview").remove();
|
||||||
|
$("<style>")
|
||||||
|
.attr("type", "text/css")
|
||||||
|
.attr("id", "themePreview")
|
||||||
|
.text(css)
|
||||||
|
.appendTo("head");
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Aperçu en direct
|
* Aperçu en direct
|
||||||
*/
|
*/
|
||||||
@ -22,7 +53,7 @@ $("input, select").on("change", function() {
|
|||||||
var colors = core.colorVariants($("#themeButtonBackgroundColor").val());
|
var colors = core.colorVariants($("#themeButtonBackgroundColor").val());
|
||||||
css += ".speechBubble,.button,.button:hover,button[type='submit'],.pagination a,.pagination a:hover,input[type='checkbox']:checked + label:before,.helpContent{background-color:" + colors.normal + ";color:" + colors.text + "}";
|
css += ".speechBubble,.button,.button:hover,button[type='submit'],.pagination a,.pagination a:hover,input[type='checkbox']:checked + label:before,.helpContent{background-color:" + colors.normal + ";color:" + colors.text + "}";
|
||||||
css += ".helpButton span{color:" + colors.normal + "}";
|
css += ".helpButton span{color:" + colors.normal + "}";
|
||||||
css += "input[type='text']:hover,input[type='password']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:" + colors.normal + "}";
|
//css += "input[type='text']:hover,input[type='password']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:" + colors.normal + "}";
|
||||||
css += ".speechBubble:before{border-color:" + colors.normal + " transparent transparent transparent}";
|
css += ".speechBubble:before{border-color:" + colors.normal + " transparent transparent transparent}";
|
||||||
css += ".button:hover,button[type='submit']:hover,.pagination a:hover,input[type='checkbox']:not(:active):checked:hover + label:before,input[type='checkbox']:active + label:before{background-color:" + colors.darken + "}";
|
css += ".button:hover,button[type='submit']:hover,.pagination a:hover,input[type='checkbox']:not(:active):checked:hover + label:before,input[type='checkbox']:active + label:before{background-color:" + colors.darken + "}";
|
||||||
css += ".helpButton span:hover{color:" + colors.darken + "}";
|
css += ".helpButton span:hover{color:" + colors.darken + "}";
|
||||||
@ -34,16 +65,20 @@ $("input, select").on("change", function() {
|
|||||||
}
|
}
|
||||||
// Couleurs des liens
|
// Couleurs des liens
|
||||||
colors = core.colorVariants($("#themeLinkTextColor").val());
|
colors = core.colorVariants($("#themeLinkTextColor").val());
|
||||||
css += "a{color:" + colors.normal + "}";
|
//css += "a{color:" + colors.normal + "}";
|
||||||
css += "a:hover{color:" + colors.darken + "}";
|
//css += "a:hover{color:" + colors.darken + "}";
|
||||||
|
css += "a.preview{color:" + colors.normal + "}";
|
||||||
|
css += "a.preview:hover{color:" + colors.darken + "}";
|
||||||
// Couleur, polices, épaisseur et capitalisation de caractères des titres
|
// Couleur, polices, épaisseur et capitalisation de caractères des titres
|
||||||
css += "h1,h2,h3,h4,h5,h6{color:" + $("#themeTitleTextColor").val() + ";font-family:'" + titleFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeTitleFontWeight").val() + ";text-transform:" + $("#themeTitleTextTransform").val() + "}";
|
//css += "h1,h2,h3,h4,h5,h6{color:" + $("#themeTitleTextColor").val() + ";font-family:'" + titleFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeTitleFontWeight").val() + ";text-transform:" + $("#themeTitleTextTransform").val() + "}";
|
||||||
|
css += "h1.preview,h3.preview{color:" + $("#themeTitleTextColor").val() + ";font-family:'" + titleFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeTitleFontWeight").val() + ";text-transform:" + $("#themeTitleTextTransform").val() + "}";
|
||||||
// Police de caractères
|
// Police de caractères
|
||||||
css += "body{font-family:'" + textFont.replace(/\+/g, " ") + "',sans-serif}";
|
css += "body{font-family:'" + textFont.replace(/\+/g, " ") + "',sans-serif}";
|
||||||
// Taille du texte
|
// Taille du texte
|
||||||
css += "body,.row > div{font-size:" + $("#themeTextFontSize").val() + "}";
|
css += "body,.row > div{font-size:" + $("#themeTextFontSize").val() + "}";
|
||||||
// Couleur du texte
|
// Couleur du texte
|
||||||
css += "body,.block h4,input[type='email'],input[type='text'],input[type='password'],.inputFile,select,textarea,.inputFile,.button.buttonGrey,.button.buttonGrey:hover{color:" + $("#themeTextTextColor").val() + "}";
|
//css += "body,.block h4,input[type='email'],input[type='text'],input[type='password'],.inputFile,select,textarea,.inputFile,.button.buttonGrey,.button.buttonGrey:hover{color:" + $("#themeTextTextColor").val() + "}";
|
||||||
|
css += "p.preview{color:" + $("#themeTextTextColor").val() + "}";
|
||||||
// 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%") {
|
||||||
@ -53,7 +88,9 @@ $("input, select").on("change", function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
// 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}";
|
||||||
|
css += "#site{border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}";
|
||||||
|
css += "div.preview{background-color:" + $("#themeSiteBackgroundColor").val() + ";}";
|
||||||
// Ajout du css au DOM
|
// Ajout du css au DOM
|
||||||
$("#themePreview").remove();
|
$("#themePreview").remove();
|
||||||
$("<style>")
|
$("<style>")
|
||||||
|
@ -17,47 +17,67 @@
|
|||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>Couleurs</h4>
|
<h4>Couleurs</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col8">
|
||||||
<?php echo template::text('themeSiteBackgroundColor', [
|
<div class="row">
|
||||||
'class' => 'colorPicker',
|
<div class="col6">
|
||||||
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
<?php echo template::text('themeSiteBackgroundColor', [
|
||||||
'label' => 'Fond',
|
'class' => 'colorPicker',
|
||||||
'value' => $this->getData(['theme', 'site', 'backgroundColor'])
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
||||||
]); ?>
|
'label' => 'Fond',
|
||||||
|
'value' => $this->getData(['theme', 'site', 'backgroundColor'])
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col6">
|
||||||
|
<?php echo template::text('themeTextTextColor', [
|
||||||
|
'class' => 'colorPicker',
|
||||||
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
||||||
|
'label' => 'Texte',
|
||||||
|
'value' => $this->getData(['theme', 'text', 'textColor'])
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col6">
|
||||||
|
<?php echo template::text('themeTitleTextColor', [
|
||||||
|
'class' => 'colorPicker',
|
||||||
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
||||||
|
'label' => 'Titres',
|
||||||
|
'value' => $this->getData(['theme', 'title', 'textColor'])
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col6">
|
||||||
|
<?php echo template::text('themeLinkTextColor', [
|
||||||
|
'class' => 'colorPicker',
|
||||||
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
||||||
|
'label' => 'Liens',
|
||||||
|
'value' => $this->getData(['theme', 'link', 'textColor'])
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col6 offset3">
|
||||||
|
<?php echo template::text('themeButtonBackgroundColor', [
|
||||||
|
'class' => 'colorPicker',
|
||||||
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
||||||
|
'label' => 'Boutons',
|
||||||
|
'value' => $this->getData(['theme', 'button', 'backgroundColor'])
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4 preview">
|
||||||
<?php echo template::text('themeTextTextColor', [
|
<h1 class="preview">Aperçu</h1>
|
||||||
'class' => 'colorPicker',
|
<div class="row">
|
||||||
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
<div class="col8">
|
||||||
'label' => 'Texte',
|
<h3 class="preview">Titre 3 </h3>
|
||||||
'value' => $this->getData(['theme', 'text', 'textColor'])
|
<p class="preview">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
||||||
]); ?>
|
</div>
|
||||||
</div>
|
<div class="col4">
|
||||||
<div class="col4">
|
<p><a href="#" class="preview">Hyperlien</a></p>
|
||||||
<?php echo template::text('themeLinkTextColor', [
|
<?php echo template::button('themeSiteTest', [
|
||||||
'class' => 'colorPicker',
|
'class' => 'buttonPreview',
|
||||||
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
'value' => 'Test'
|
||||||
'label' => 'Liens',
|
]); ?>
|
||||||
'value' => $this->getData(['theme', 'link', 'textColor'])
|
</div>
|
||||||
]); ?>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col4">
|
|
||||||
<?php echo template::text('themeTitleTextColor', [
|
|
||||||
'class' => 'colorPicker',
|
|
||||||
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
|
||||||
'label' => 'Titres',
|
|
||||||
'value' => $this->getData(['theme', 'title', 'textColor'])
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col4 offset4">
|
|
||||||
<?php echo template::text('themeButtonBackgroundColor', [
|
|
||||||
'class' => 'colorPicker',
|
|
||||||
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
|
||||||
'label' => 'Boutons',
|
|
||||||
'value' => $this->getData(['theme', 'button', 'backgroundColor'])
|
|
||||||
]); ?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
32
core/module/user/view/add/add.css
Normal file
32
core/module/user/view/add/add.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/user/view/edit/edit.css
Normal file
32
core/module/user/view/edit/edit.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/user/view/index/index.css
Normal file
32
core/module/user/view/index/index.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
32
core/module/user/view/reset/reset.css
Normal file
32
core/module/user/view/reset/reset.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
|
* @license GNU General Public License, version 3
|
||||||
|
* @link http://zwiicms.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#site {
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
.block h4,
|
||||||
|
input[type="email"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
.inputFile,
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
.inputFile,
|
||||||
|
.button.buttonGrey,
|
||||||
|
.button.buttonGrey:hover {
|
||||||
|
color: rgba(33, 34, 35, 1);
|
||||||
|
}
|
5
core/vendor/tinymce/content.css
vendored
5
core/vendor/tinymce/content.css
vendored
@ -3,10 +3,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Fix les problèmes de couleurs et de taille de police */
|
/* Fix les problèmes de couleurs et de taille de police */
|
||||||
.editorWysiwyg {
|
.editorWysiwyg {
|
||||||
font-size: 14px !important;
|
font-size: 14px !important;
|
||||||
background: #FFF !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Désactive le responsive des cols sinon les cols passent les uns en dessous des autres car la largeur de l'iframe est < au media query utilisé pour le responsive */
|
/* Désactive le responsive des cols sinon les cols passent les uns en dessous des autres car la largeur de l'iframe est < au media query utilisé pour le responsive */
|
||||||
.col1 {
|
.col1 {
|
||||||
width: 8.33333333%;
|
width: 8.33333333%;
|
||||||
|
Loading…
Reference in New Issue
Block a user