diff --git a/.gitignore b/.gitignore index a72a9d4b..2c63e389 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ site/* #Visual Code .vscode +site/data/custom.css diff --git a/CHANGES.MD b/CHANGES.MD index d1bfd722..9ba25fa8 100644 --- a/CHANGES.MD +++ b/CHANGES.MD @@ -5,6 +5,10 @@ - Stockage distinct du thème et des autres données (core, config, page, module et users ) avec import des données d'une version 8 ## Verison 8.5.3 +======= + +## Version 8.5.3 +>>>>>>> master * Modification : - Config bouton de génération de la capture de l'écran OpenGraph * Correction : @@ -19,6 +23,11 @@ ## Verison 8.5.2 +======= + - #footersiteRight, #footerbodyRight + +## Version 8.5.2 +>>>>>>> master * Correction : - Thème menu : aperçu quand le menu est au-dessus et en-dehors du site diff --git a/core/core.php b/core/core.php index 12ff46a6..1c3ff886 100644 --- a/core/core.php +++ b/core/core.php @@ -25,6 +25,8 @@ class common { const GROUP_MODERATOR = 2; const GROUP_ADMIN = 3; const ZWII_VERSION = '9.0.0'; + const ZWII_VERSION = '8.5.3'; +>>>>>>> master public static $actions = []; public static $coreModuleIds = [ diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php index 21d6dc61..00843a1f 100755 --- a/core/module/theme/view/footer/footer.js.php +++ b/core/module/theme/view/footer/footer.js.php @@ -65,16 +65,10 @@ $("#themeFooterForm").on("change",function() { $("#footerText").hide(); break; case 'left': - $("#footerText").show().appendTo("#bodyLeft"); - $("#footerText").show().appendTo("#siteLeft"); break; case 'center': - $("#footerText").show().appendTo("#bodyCenter"); - $("#footerText").show().appendTo("#siteCenter"); break; case 'right': - $("#footerText").show().appendTo("#bodyRight"); - $("#footerText").show().appendTo("#siteRight"); break; } switch($("#themeFooterSocialsPosition").val()) { @@ -82,16 +76,10 @@ $("#themeFooterForm").on("change",function() { $("#footerSocials").hide(); break; case 'left': - $("#footerSocials").show().appendTo("#bodyLeft"); - $("#footerSocials").show().appendTo("#siteLeft"); break; case 'center': - $("#footerSocials").show().appendTo("#bodyCenter"); - $("#footerSocials").show().appendTo("#siteCenter"); break; case 'right': - $("#footerSocials").show().appendTo("#bodyRight"); - $("#footerSocials").show().appendTo("#siteRight"); break; } switch($("#themeFooterCopyrightPosition").val()) { @@ -99,16 +87,10 @@ $("#themeFooterForm").on("change",function() { $("#footerCopyright").hide(); break; case 'left': - $("#footerCopyright").show().appendTo("#bodyLeft"); - $("#footerCopyright").show().appendTo("#siteLeft"); break; case 'center': - $("#footerCopyright").show().appendTo("#bodyCenter"); - $("#footerCopyright").show().appendTo("#siteCenter"); break; case 'right': - $("#footerCopyright").show().appendTo("#bodyRight"); - $("#footerCopyright").show().appendTo("#siteRight"); break; } }).trigger("change"); diff --git a/site/data/custom.css b/site/data/custom.css new file mode 100644 index 00000000..f0730319 --- /dev/null +++ b/site/data/custom.css @@ -0,0 +1,126 @@ +/** + * Voici une feuille de style type, bien entendu vous pouvez ajouter + * ou supprimer des propriétés CSS en fonction de vos besoins. + */ + +/** + * Éléments principaux + */ + +/* Fond du site */ +body { +} + +/* Site */ +#site { +} + +/* Bannière */ +header { +} + +/* Titre de la bannière */ +header span { +} + +/* Menu */ +nav { +} + +/* Items du menu */ +nav a { +} + +/* Items au survol du menu */ +nav a:hover { +} + +/* Item courant du menu */ +nav a.active { +} + +/* Bas de page */ +footer { +} + +/* Liens du bas de page */ +footer a { +} + +/* footer bloc gauche */ +#footersiteLeft, #footerbodyLeft { +} + +/* footer bloc central */ +#footersiteCenter, #footerbodyCenter { +} + +/* footer bloc droite */ +#footersiteRight, #footerbodyRight { +} + +/** + * Éléments de contenu + */ + +/* Titres */ +h1, +h2, +h3, +h4 { +} + +/* Liens */ +a { +} + +/* Liens au survol */ +a:hover { +} + +/* Liens au clic */ +a:active { +} + +/* Boutons */ +.button, +button[type='submit'], +.pagination a { +} + +/* Boutons au survol */ +.button:hover, +button[type='submit']:hover, +.pagination a:hover { +} + +/* Boutons au clic */ +.button:active, +button[type='submit']:active, +.pagination a:active { +} + +/* Cases à cocher */ +input[type='checkbox']:checked + label:before { +} + +/* Cases à cocher au survol */ +input[type='checkbox']:not(:active):checked:hover + label:before, +input[type='checkbox']:active + label:before { +} + +/* Champs de formulaire */ +input[type='text'], +input[type='password'], +.inputFile, +select, +textarea { +} + +/* Champs de formulaire au survol */ +input[type='text']:hover, +input[type='password']:hover, +.inputFile:hover, +select:hover, +textarea:hover { +} \ No newline at end of file