maj 4503
This commit is contained in:
parent
cc0ac43b5b
commit
0212c7b3dc
|
@ -4,18 +4,19 @@
|
|||
* This file is part of DeltaCMS.
|
||||
* For full copyright and license information, please see the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
* @author Sylvain Lelièvre <https://deltacms.fr/contact>
|
||||
* @author Sylvain Lelièvre
|
||||
* @copyright 2021 © Sylvain Lelièvre
|
||||
* @author Lionel Croquefer <https://deltacms.fr/contact>
|
||||
* @author Lionel Croquefer
|
||||
* @copyright 2022 © Lionel Croquefer
|
||||
* @license GNU General Public License, version 3
|
||||
* @link https://deltacms.fr/
|
||||
* @contact https://deltacms.fr/contact
|
||||
*
|
||||
* Delta was created from version 11.2.00.24 of ZwiiCMS
|
||||
* @author Rémi Jean <remi.jean@outlook.com>
|
||||
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||
* @copyright 2008-2018 © Rémi Jean
|
||||
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
|
||||
* @copyright 2018-2021 © Frédéric Tempez
|
||||
*/
|
||||
|
||||
class common {
|
||||
|
@ -1192,7 +1193,7 @@ class common {
|
|||
$item .= $this->getInput('DELTA_COOKIE_CONSENT') !== 'true' ? '>' : ' class="displayNone">';
|
||||
// Image titre et bouton de fermeture
|
||||
$item .= '<div class="cookieTop">';
|
||||
$item .= '<div class="cookieImage"><img src="site/file/source/icones/cookie.gif" alt=""></div>';
|
||||
$item .= '<div class="cookieImage"><img src="site/file/source/icones/cookie.gif" alt="cookie"></div>';
|
||||
$item .= '<div class="cookieTitle">'.$this->getData(['locale', 'cookies', 'cookiesTitleText']) . '</div>';
|
||||
$item .= '<div class="cookieClose">'. template::ico('cancel') .'</div>';
|
||||
$item .= '</div>';
|
||||
|
@ -2585,7 +2586,6 @@ class core extends common {
|
|||
$colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor']));
|
||||
$css .= '.speechBubble,.button,.button:hover,button[type=\'submit\'],.pagination a,.pagination a:hover,input[type=\'checkbox\']:checked + label:before,input[type=\'radio\']:checked + label:before,.helpContent{background-color:' . $colors['normal'] . ';color:' . $colors['text'] . '}';
|
||||
$css .= '.helpButton span{color:' . $colors['normal'] . '}';
|
||||
//$css .= 'input[type=\'text\']:hover,input[type=\'password\']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:' . $colors['normal'] . '}';
|
||||
$css .= '.speechBubble:before{border-color:' . $colors['normal'] . ' transparent transparent transparent}';
|
||||
$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,input[type=\'radio\']:checked:hover + label:before,input[type=\'radio\']:not(:checked):active + label:before{background-color:' . $colors['darken'] . '}';
|
||||
$css .= '.helpButton span:hover{color:' . $colors['darken'] . '}';
|
||||
|
@ -2597,8 +2597,6 @@ class core extends common {
|
|||
$colors = helper::colorVariants($this->getData(['theme', 'block', 'backgroundTitleColor']));
|
||||
$css .= '.block {border: 1px solid ' . $this->getdata(['theme','block','borderColor']) . ';background-color: ' . $this->getdata(['theme','block','backgroundColor']) .';border-radius: ' . $this->getdata(['theme','block','blockBorderRadius']) . ';box-shadow :' . $this->getdata(['theme','block','blockBorderShadow']) . ' ' . $this->getdata(['theme','block','borderColor']) . ';}';
|
||||
$css .= '.block > h4, .blockTitle {background-color:'. $colors['normal'] . ';color:' . $colors['text'] .';border-radius: ' . $this->getdata(['theme','block','blockBorderRadius']) . ' ' . $this->getdata(['theme','block','blockBorderRadius']) . ' 0px 0px;}';
|
||||
//$css .= '.mce-tinymce {border: 1px solid ' . $this->getdata(['theme','block','borderColor']) .' !important;}';
|
||||
|
||||
//Tinymce option titre sous une image valeurs par défaut modifiables dans custom.css
|
||||
$css .= 'figure.image { border-color: ' . $this->getdata(['theme','block','borderColor']) . '; background-color: ' . $this->getdata(['theme','block','backgroundColor']).'}';
|
||||
|
||||
|
|
Loading…
Reference in New Issue