From 6c2074ca7036fb60336a38225e157c66821d9af7 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 31 Dec 2020 17:56:02 +0100 Subject: [PATCH] =?UTF-8?q?Th=C3=A8me=20couleur=20texte=20bouton=20standar?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 1 + core/core.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index b099fc56..139c7bba 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ Modifications : - Procédure de connexion : les erreurs de captcha sont comptabilisées comme des échecs, allégement des messages d'information. Correction : - Notification de commentaire, nom de la page incorrect. + - Thème : désactivation du changement de couleur du texte au survol d'un bouton standard. ## Version 10.3.12 Correction : diff --git a/core/core.php b/core/core.php index 1d7c0f43..e165ae0a 100755 --- a/core/core.php +++ b/core/core.php @@ -1582,7 +1582,7 @@ class core extends common { // Site $colors = helper::colorVariants($this->getData(['theme', 'text', 'linkColor'])); $css .= 'a{color:' . $colors['normal'] . '}'; - $css .= 'a:hover:not(.inputFile, button){color:' . $colors['darken'] . '}'; + //$css .= 'a:hover:not(.inputFile, button){color:' . $colors['darken'] . '}'; $css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}'; $css .= 'body{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; $css .= 'select,input[type=\'password\'],input[type=\'email\'],input[type=\'text\'],.inputFile,select,textarea{color:' . $this->getData(['theme', 'text', 'textColor']) .';background-color:'.$this->getData(['theme', 'site', 'backgroundColor']).';}';