diff --git a/core/core.php b/core/core.php index 27bcda4c..c8c8c267 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version - const ZWII_VERSION = '9.1.03'; + const ZWII_VERSION = '9.1.04'; public static $actions = []; public static $coreModuleIds = [ diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index 6eccf409..93a3c133 100755 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -27,6 +27,11 @@ $("input, select").on("change", function() { 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 += ".button:active,button[type='submit']:active,.pagination a:active{background-color:" + colors.veryDarken + "}"; + if ($("#themeSiteWidth").val() === "750px") { + css += ".button, button{font-size:0.8em;}"; + } else { + css += ".button, button{font-size:1em;}"; + } // Couleurs des liens colors = core.colorVariants($("#themeLinkTextColor").val()); css += "a{color:" + colors.normal + "}";