[9.2.26] thème des modules + oprimisation js edition page

This commit is contained in:
Fred Tempez 2020-03-20 15:59:52 +01:00
parent 23aa89069e
commit 6de8c27ce0
30 changed files with 554 additions and 120 deletions

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -20,7 +20,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -62,7 +62,7 @@ nav li ul {
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -13,42 +13,19 @@
/* /*
* Chargement de l'aperçu * Chargement de l'aperçu
*/ */
$( document ).ready(function() { $( document).ready(function() {
updateDOM();
// 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());
// Texte
css += "p.preview {color:" + $("#themeTextTextColor").val() + ";font-family:'" + textFont.replace(/\+/g, " ") + "',sans-serif}";
// Titres
css += "h1.preview,h3.preview{color:" + $("#themeTitleTextColor").val() + ";font-family:'" + titleFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeTitleFontWeight").val() + ";text-transform:" + $("#themeTitleTextTransform").val() + "}";
// Fond
css += "div.preview{background-color:" + $("#themeSiteBackgroundColor").val() + ";}";
// Couleurs des liens
colors = core.colorVariants($("#themeLinkTextColor").val());
css += "a.preview,.buttonPreview{color:" + colors.normal + "}";
css += "a.preview:hover,.buttonPreview{color:" + colors.darken + "}";
css += "a.preview,.buttonPreview {font-family:'" + textFont.replace(/\+/g, " ") + "',sans-serif}";
// 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
*/ */
$("input, select").on("change", function() { $("input, select").on("change",function() {
updateDOM();
});
function updateDOM() {
// Import des polices de caractères // Import des polices de caractères
var titleFont = $("#themeTitleFont").val(); var titleFont = $("#themeTitleFont").val();
var textFont = $("#themeTextFont").val(); var textFont = $("#themeTextFont").val();
@ -69,8 +46,8 @@ $("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,.buttonPreview{color:" + colors.normal + "}"; css += "a.preview,.buttonPreview{color:" + colors.normal + "}";
css += "a.preview:hover,.buttonPreview{color:" + colors.darken + "}"; css += "a.preview:hover,.buttonPreview{color:" + colors.darken + "}";
// Couleur, polices, épaisseur et capitalisation de caractères des titres // Couleur, polices, épaisseur et capitalisation de caractères des titres
@ -105,4 +82,5 @@ $("input, select").on("change", function() {
.attr("id", "themePreview") .attr("id", "themePreview")
.text(css) .text(css)
.appendTo("head"); .appendTo("head");
});
}

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View File

@ -17,7 +17,7 @@
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }
body, body:not(.editorWysiwyg),
.block h4, .block h4,
input[type="email"], input[type="email"],
input[type="text"], input[type="text"],

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View File

@ -18,7 +18,7 @@
float: right; float: right;
} }
.blogTitle { .blogTitle {
background-color: #ECEFF1; /*background-color: #ECEFF1;*/
padding: 5px; padding: 5px;
} }
.blogContent { .blogContent {

View File

@ -1,3 +1,30 @@
#site {
background-color: rgba(255, 255, 255, 1);
}
body:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}
/*
.formConfigInput { .formConfigInput {
background: #FFF; background: #FFF;
} }
*/

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View File

@ -1,3 +1,43 @@
/**
* 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}
.galleryConfigError { .galleryConfigError {
color: #F3674A; color: #F3674A;
font-weight: bold; font-weight: bold;

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View File

@ -1 +0,0 @@
/* Volontairement vide */

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}

View 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:not(.editorWysiwyg),
.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);
}
body {
font-family: "Open+Sans";
}
body h1, h2, h3, h4, h5, h6 {
font-family: "Oswald";
color: rgba(74, 105, 189, 1);
}