From 452f60dc9bf3c4adae3b0d7ef1bd690f64ce4e85 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 15 Jul 2020 22:56:03 +0200 Subject: [PATCH 1/4] 10.2.04 bend icons at the right of blocks --- CHANGES.md | 4 ++ README.md | 2 +- core/core.php | 2 +- core/layout/common.css | 11 ++- core/module/config/view/index/index.php | 96 ++++++++++++++++--------- core/module/page/view/edit/edit.php | 48 ++++++++----- 6 files changed, 111 insertions(+), 52 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6e324e41..be9a72f4 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## version 10.2.04 +- Modifications : + - Position de l'icône d'ouverture et de fermeture des blocs. + ## version 10.2.03 - Corrections : - Les entrées de menu disposent d'une classe par groupe de parent en lieu et place des ids. diff --git a/README.md b/README.md index 623060a0..ed2e7b4d 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![](https://img.shields.io/github/last-commit/fredtempez/ZwiiCMS/master) ![](https://img.shields.io/github/release-date/fredtempez/ZwiiCMS) -# ZwiiCMS 10.2.03 +# ZwiiCMS 10.2.04 Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. diff --git a/core/core.php b/core/core.php index 6e9eac3a..4546f81d 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.03'; + const ZWII_VERSION = '10.2.04'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/layout/common.css b/core/layout/common.css index 88d1e097..9cff5bb0 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -455,10 +455,11 @@ header .container { font-size: 0.9em; } -/* Menu */ +/* Menu body > nav { - /*margin: 0 -10px;*/ + margin: 0 -10px; } +*/ /* Items du menu */ nav a > img { @@ -848,6 +849,11 @@ footer #footerSocials .zwiico-github:hover { /* background: #ECEFF1;*/ } +.block h4 .openClose { + display: inline-flex ; + float: right; +} + /* Aides */ .helpButton { cursor: help; @@ -1296,6 +1302,7 @@ th.col12 { width: 100%; } + /** * Classes rapides */ diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index f23d144e..f7939075 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -168,10 +168,14 @@
-

Réseaux sociaux

+

Réseaux sociaux +
+ +
+

@@ -240,10 +244,14 @@
-

Référencement

+

Référencement +
+ +
+

@@ -283,10 +291,14 @@
-

Réseau

+

Réseau +
+ +
+

@@ -317,10 +329,14 @@
-

Messagerie SMTP

+

Messagerie SMTP +
+ +
+

@@ -384,10 +400,14 @@
-

Sécurité de la connexion

+

Sécurité de la connexion +
+ +
+

@@ -431,10 +451,14 @@
-

Journalisation

+

Journalisation +
+ +
+

@@ -465,10 +489,14 @@
-

Scripts

+

Scripts +
+ +
+

@@ -501,10 +529,14 @@
-

Système

+

Système +
+ +
+

diff --git a/core/module/page/view/edit/edit.php b/core/module/page/view/edit/edit.php index 32d2727b..27c277ea 100755 --- a/core/module/page/view/edit/edit.php +++ b/core/module/page/view/edit/edit.php @@ -96,10 +96,14 @@ echo template::formOpen('pageEditForm');
-

Mise en page

+

Mise en page +
+ +
+

@@ -149,10 +153,14 @@ echo template::formOpen('pageEditForm');
-

Emplacement dans le menu

+

Emplacement dans le menu +
+ +
+

@@ -208,10 +216,14 @@ echo template::formOpen('pageEditForm');
-

Options avancées d'emplacement

+

Options avancées d'emplacement +
+ +
+

@@ -233,10 +245,14 @@ echo template::formOpen('pageEditForm');
-

Permission et référencement

+

Permission et référencement +
+ +
+

From 6d05cc6f4855612e10064fafdb30085b67a26ec5 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 15 Jul 2020 22:56:51 +0200 Subject: [PATCH 2/4] 102.04 theme admin font not body --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 4546f81d..63c2a6f7 100755 --- a/core/core.php +++ b/core/core.php @@ -1578,7 +1578,7 @@ class core extends common { $css = '/*' . md5(json_encode($this->getData(['admin']))) . '*/'; $colors = helper::colorVariants($this->getData(['admin','backgroundColor'])); $css .= '#site{background-color:' . $colors['normal']. ';}'; - $css .= 'body, .row > div {font:' . $this->getData(['admin','fontSize']) . ' "' . $this->getData(['admin','fontText']) . '", sans-serif;}'; + $css .= '.row > div {font:' . $this->getData(['admin','fontSize']) . ' "' . $this->getData(['admin','fontText']) . '", sans-serif;}'; $css .= 'body h1, h2, h3, h4, h5, h6 {font-family:' . $this->getData(['admin','fontTitle' ]) . ', sans-serif;color:' . $this->getData(['admin','colorTitle' ]) . ';}'; $css .= 'body:not(.editorWysiwyg),span .zwiico-help {color:' . $this->getData(['admin','colorText']) . ';}'; $colors = helper::colorVariants($this->getData(['admin','backgroundColorButton'])); From cc45d3d009e2f20e53e311578c648db61e137938 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 16 Jul 2020 11:01:57 +0200 Subject: [PATCH 3/4] 10.2.04 standard button hover color --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 63c2a6f7..fa5d751c 100755 --- a/core/core.php +++ b/core/core.php @@ -1449,7 +1449,7 @@ class core extends common { // Site $colors = helper::colorVariants($this->getData(['theme', 'text', 'linkColor'])); $css .= 'a{color:' . $colors['normal'] . '}'; - $css .= 'a:hover:not(.inputFile){color:' . $colors['darken'] . '}'; + $css .= 'a:hover:not(.inputFile, button){color:' . $colors['darken'] . '}'; $css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}'; $css .= 'body{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']).';}'; From 490e91e39132c309e126f543fab1bb5a2d11bad5 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 16 Jul 2020 11:02:26 +0200 Subject: [PATCH 4/4] change --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index be9a72f4..c175036f 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ ## version 10.2.04 - Modifications : - Position de l'icône d'ouverture et de fermeture des blocs. + - Thème administration, bouton standard couleur du texte au survol. ## version 10.2.03 - Corrections :