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;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.2.00.dev16';
|
||||
const ZWII_VERSION = '10.2.00.dev17';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
@ -1313,6 +1313,8 @@ class common {
|
||||
$this->setData(['config', 'connect', 'attempt',3]);
|
||||
$this->setData(['config', 'connect', 'timeout',600]);
|
||||
$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]);
|
||||
}
|
||||
}
|
||||
@ -1411,6 +1413,8 @@ 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']) . '}';
|
||||
// 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']) . '}';
|
||||
// Couleur fixée dans admin.css
|
||||
//$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||
|
@ -1,10 +1,6 @@
|
||||
.rowArticle {
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
.blogArticle {
|
||||
margin: 15px !important;
|
||||
background-color: lightgrey;
|
||||
}
|
||||
.blogPicture {
|
||||
float: none;
|
||||
border: 1px;
|
||||
@ -12,8 +8,10 @@
|
||||
.blogPicture img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
/*
|
||||
border:1px solid lightgray;
|
||||
box-shadow: 1px 1px 5px darkgray;
|
||||
*/
|
||||
}
|
||||
|
||||
.blogPicture:hover {
|
||||
@ -40,8 +38,9 @@
|
||||
.blogDate {
|
||||
font-size:0.8em;
|
||||
font-style: italic;
|
||||
/*
|
||||
color: grey;
|
||||
|
||||
*/
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.blogContent {
|
||||
|
Loading…
Reference in New Issue
Block a user