From 048e59e4975db12704f344c0a91028389bcf4dc7 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 17 Jun 2020 18:45:02 +0200 Subject: [PATCH] =?UTF-8?q?10.2.dev36=20css=20pour=20le=20th=C3=A8me=20som?= =?UTF-8?q?bre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 6 +++--- core/layout/common.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core.php b/core/core.php index 5faaf46e..fbda6371 100755 --- a/core/core.php +++ b/core/core.php @@ -39,7 +39,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.2.00.dev35'; + const ZWII_VERSION = '10.2.00.dev36'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; @@ -1425,9 +1425,9 @@ class core extends common { $css .= 'a:hover{color:' . $colors['darken'] . '}'; $css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}'; $css .= 'body,.block h4{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']).';}'; // spécifiques au module de blog $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']) . ';}'; - $css .= 'select,input[type=\'email\'],input[type=\'text\'],textarea{color:' . $this->getData(['theme', 'text', 'textColor']) .';background-color:'.$this->getData(['theme', 'site', 'backgroundColor']).';}'; // Couleur fixée dans admin.css //$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; $css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}'; @@ -2593,7 +2593,7 @@ class layout extends common { } } $rightItems .= '
  • ' . template::ico('user', 'right') . '' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; - $rightItems .= '
  • ' . template::ico('logout') . '
  • '; + $rightItems .= '
  • ' . template::ico('logout') . '
  • '; // Barre de membre echo '
      ' . $leftItems . '
      ' . $rightItems . '
    '; } diff --git a/core/layout/common.css b/core/layout/common.css index d496c998..88d1e097 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -891,7 +891,7 @@ input[type='password'], select, textarea { padding: 10px; /* -1px à cause des bordures */ - background: #FFF; + /*background: #FFF;*/ border: 1px solid #D8DFE3; width: 100%; border-radius: 2px;