forked from ZwiiCMS-Team/ZwiiCMS
10.2.dev17 blog ombre shadow et date couleur du texte
This commit is contained in:
parent
53a0289b9b
commit
36360e19a3
@ -39,7 +39,7 @@ class common {
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.2.00.dev16';
|
const ZWII_VERSION = '10.2.00.dev17';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
@ -1313,6 +1313,8 @@ class common {
|
|||||||
$this->setData(['config', 'connect', 'attempt',3]);
|
$this->setData(['config', 'connect', 'attempt',3]);
|
||||||
$this->setData(['config', 'connect', 'timeout',600]);
|
$this->setData(['config', 'connect', 'timeout',600]);
|
||||||
$this->setData(['config', 'connect', 'log',false]);
|
$this->setData(['config', 'connect', 'log',false]);
|
||||||
|
// Remettre à zéro le thème pour la génération du CSS du blog
|
||||||
|
unlink(self::DATA_DIR . 'theme.css');
|
||||||
$this->setData(['core', 'dataVersion', 10200]);
|
$this->setData(['core', 'dataVersion', 10200]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1411,6 +1413,8 @@ class core extends common {
|
|||||||
$css .= 'a:hover{color:' . $colors['darken'] . '}';
|
$css .= 'a:hover{color:' . $colors['darken'] . '}';
|
||||||
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
||||||
$css .= 'body,.block h4{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
$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', 'backgroundColor']) . '}';
|
$css .= 'select,input[type=\'email\'],input[type=\'text\'],textarea{color:' . $this->getData(['theme', 'text', 'backgroundColor']) . '}';
|
||||||
// Couleur fixée dans admin.css
|
// Couleur fixée dans admin.css
|
||||||
//$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
//$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
.rowArticle {
|
.rowArticle {
|
||||||
margin-bottom: 10px !important;
|
margin-bottom: 10px !important;
|
||||||
}
|
}
|
||||||
.blogArticle {
|
|
||||||
margin: 15px !important;
|
|
||||||
background-color: lightgrey;
|
|
||||||
}
|
|
||||||
.blogPicture {
|
.blogPicture {
|
||||||
float: none;
|
float: none;
|
||||||
border: 1px;
|
border: 1px;
|
||||||
@ -12,8 +8,10 @@
|
|||||||
.blogPicture img {
|
.blogPicture img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
/*
|
||||||
border:1px solid lightgray;
|
border:1px solid lightgray;
|
||||||
box-shadow: 1px 1px 5px darkgray;
|
box-shadow: 1px 1px 5px darkgray;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.blogPicture:hover {
|
.blogPicture:hover {
|
||||||
@ -40,8 +38,9 @@
|
|||||||
.blogDate {
|
.blogDate {
|
||||||
font-size:0.8em;
|
font-size:0.8em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
/*
|
||||||
color: grey;
|
color: grey;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.blogContent {
|
.blogContent {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user