10.2.dev35 selecteur de pages en mode sombre

This commit is contained in:
Fred Tempez 2020-06-16 18:44:26 +02:00
parent 7df3330bb5
commit 7c6befaa20
2 changed files with 28 additions and 26 deletions

View File

@ -39,7 +39,7 @@ class common {
const ACCESS_TIMER = 1800;
// Numéro de version
const ZWII_VERSION = '10.2.00.dev34';
const ZWII_VERSION = '10.2.00.dev35';
const ZWII_UPDATE_CHANNEL = "v10";
public static $actions = [];
@ -1427,7 +1427,7 @@ class core extends common {
$css .= 'body,.block h4{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
// 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']) . '}';
$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']) . '}';
@ -1449,6 +1449,7 @@ class core extends common {
// Les blocs
$colors = helper::colorVariants($this->getData(['theme', 'block', 'backgroundColor']));
$css .= '.block {border: 1px solid ' . $this->getdata(['theme','block','borderColor']) . ';}.block h4 {background-color:'. $colors['normal'] . ';color:' . $colors['text'] .';}';
$css .= '.mce-tinymce {border: 1px solid ' . $this->getdata(['theme','block','borderColor']) .' !important;}';
// Bannière
$colors = helper::colorVariants($this->getData(['theme', 'header', 'backgroundColor']));
if($this->getData(['theme', 'header', 'margin'])) {

View File

@ -372,6 +372,7 @@ td > .col12 {
border: 0;
color: #111112;
font-size: 12px;
background-color: rgba(255, 255, 255, 1);
}
@media (min-width: 768px) {
@ -916,7 +917,7 @@ input[type='password'].notice,
select.notice,
textarea.notice {
border: 1px solid #E74C3C;
background: #FAD7D3;
/*background: #FAD7D3;*/
}
input[type='email'].notice:hover,
input[type='text'].notice:hover,