From 9b2221bed2955fdbc16e2fefad3b243bbf6c101d Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 21 Jan 2022 13:50:21 +0100 Subject: [PATCH] =?UTF-8?q?supprime=20le=20syst=C3=A8me=20d'aide=20interne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 20 -------------------- core/core.php | 2 +- core/layout/common.css | 16 ---------------- core/module/addon/view/index/index.php | 4 ---- 4 files changed, 1 insertion(+), 41 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 0f3343f2..c400b0e8 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -491,26 +491,6 @@ $(document).ready(function(){ }; }); - /** - * Active le système d'aide interne - * - */ - - $(".buttonHelp").click(function() { - $(".helpDisplayContent").slideToggle(); - /** - if( $(".buttonHelp").css('opacity') > '0.75'){ - $(".buttonHelp").css('opacity','0.5'); - } - else{ - $(".buttonHelp").css('opacity','1'); - } - */ - }); - - $(".helpDisplayContent").click(function() { - $(".helpDisplayContent").slideToggle(); - }); /** * Remove ID Facebook from URL diff --git a/core/core.php b/core/core.php index 02b1a01f..95349f5b 100644 --- a/core/core.php +++ b/core/core.php @@ -2287,7 +2287,7 @@ class core extends common { $css .= '.blogDate {color:' . $this->getData(['theme', 'text', 'textColor']) . ';}.blogPicture img{border:1px solid ' . $this->getData(['theme', 'text', 'textColor']) . '; box-shadow: 1px 1px 5px ' . $this->getData(['theme', 'text', 'textColor']) . ';}'; // Couleur fixée dans admin.css //$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; - $css .= '.container, .helpDisplayContent{max-width:' . $this->getData(['theme', 'site', 'width']) . '}'; + $css .= '.container {max-width:' . $this->getData(['theme', 'site', 'width']) . '}'; $margin = $this->getData(['theme', 'site', 'margin']) ? '0' : '20px'; // Marge supplémentaire lorsque le pied de page est fixe if ( $this->getData(['theme', 'footer', 'fixed']) === true && diff --git a/core/layout/common.css b/core/layout/common.css index 1cbc0049..f844a69c 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -1744,22 +1744,6 @@ th.col12 { width: 60%; } -/* Système d'aide */ - -.helpDisplayContent { - display: none; - width: 100%; - padding: 10px 10px; - -webkit-box-shadow: 5px 5px 11px 0px #222222; - box-shadow: 5px 5px 11px 0px #222222; - border-radius: 5px; - z-index: 30; -} - -.helpDisplayContent, .helpDisplayButton { - cursor: pointer; -} - /* Bannière masquable en petit écran*/ @media screen and (max-width: 768px) { .bannerDisplay{ diff --git a/core/module/addon/view/index/index.php b/core/module/addon/view/index/index.php index 2b3a1767..254d9834 100644 --- a/core/module/addon/view/index/index.php +++ b/core/module/addon/view/index/index.php @@ -30,10 +30,6 @@ ]); ?> - -
- -