From 58f20b59d7ca0e22ec57c2026f81d0272108e631 Mon Sep 17 00:00:00 2001 From: Fred <23246457+fredtempez@users.noreply.github.com> Date: Fri, 27 Mar 2020 15:07:05 +0100 Subject: [PATCH 1/6] Delete .gitignore --- .gitignore | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 90c0b8a5..00000000 --- a/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -# Fichiers temporaires -site/tmp/*.zip -site/tmp/*.gz - -# Sauvegardes -site/backup/* - -# Fichiers de données -site/data/*.json -site/data/*.css -site/data/fr/*.json - - -# Fichiers uploadés -site/file/source/* -site/file/thumb/* - -# Dossiers vides dans GitHub -!.gitkeep -/.git - -# PHPStorm -.idea/ - -# Trucs -.gitignore -core/vendor/tinymce/link_list.json -site/tmp/.htaccess -.vscode/* - - From 5b122b167b281b1625eb33bd447dcb643a826d37 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 27 Mar 2020 19:01:39 +0100 Subject: [PATCH 2/6] [9.3.0] Couleur des boutons gris admin --- core/layout/admin.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/layout/admin.css b/core/layout/admin.css index 0dd1b3aa..1d1d14a8 100644 --- a/core/layout/admin.css +++ b/core/layout/admin.css @@ -26,7 +26,8 @@ input[type=password], select, textarea, .inputFile, -span .zwiico-help { +span .zwiico-help, +.button.buttonGrey { color: rgba(33, 34, 35, 1); } From 45b200aa4a36fca5ad112eeac636c1eaf4c7a6a1 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 27 Mar 2020 19:04:39 +0100 Subject: [PATCH 3/6] =?UTF-8?q?[9.3.00]=20correction=20CSS=20+=20pr=C3=A9p?= =?UTF-8?q?aration=20galerie=202.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 6 ++++++ core/core.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index f5bb2ae9..66474ee3 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Changelog +## version 9.3.00 +- Modification : + - Tri des galeries module version 2.0 +- Correction : + - Couleur du texte des boutons gris. + ## version 9.2.26 - Corrections : - Amélioration de la gestion du thème administration. diff --git a/core/core.php b/core/core.php index e8093bd8..72d9b35b 100644 --- a/core/core.php +++ b/core/core.php @@ -33,7 +33,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '9.2.26'; + const ZWII_VERSION = '9.3.00'; const ZWII_UPDATE_CHANNEL = "v9"; public static $actions = []; From a81ac29e00eddbf90485dcbf0773b71f5781175e Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 09:45:26 +0100 Subject: [PATCH 4/6] [9.3.00] CSS inutile (buttongrey) --- core/core.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 72d9b35b..eacbbbcd 100644 --- a/core/core.php +++ b/core/core.php @@ -1180,7 +1180,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,input[type=\'email\'],input[type=\'text\'],input[type=\'password\'],.inputFile,select,textarea,.inputFile{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; - $css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; + // 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']) . '}'; $css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site{margin:0 auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}': ''; $css .= $this->getData(['theme', 'site', 'width']) === '750px' ? '.button, button{font-size:0.8em;}' : ''; From 9f86fe4c9ae8bfb111be60fd54ca8b7cb4ee5277 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 16:24:42 +0100 Subject: [PATCH 5/6] =?UTF-8?q?[9.3.00]=20th=C3=A8me=20pages=20admin=20en?= =?UTF-8?q?=20mode=20r=C3=A9=C3=A9criture,=20corrections=20dans=20tinymce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 9 +++++++-- core/core.php | 1 + core/layout/admin.css | 2 +- core/vendor/tinymce/content.css | 6 +++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 66474ee3..54e1be39 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,8 +3,13 @@ ## version 9.3.00 - Modification : - Tri des galeries module version 2.0 -- Correction : - - Couleur du texte des boutons gris. +- Corrections : + - Pages d'administration, thème spécifique + - Thème inactif lorsque la réécriture est activée. + - Couleur du texte des boutons gris. + - TinyMCE : + - La taille de la police et la couleur sont celles définies dans le thème du site. + - Zone d'édition, padding de 5 px à gauche et à droite. ## version 9.2.26 - Corrections : diff --git a/core/core.php b/core/core.php index eacbbbcd..84a496a7 100644 --- a/core/core.php +++ b/core/core.php @@ -2654,6 +2654,7 @@ class layout extends common { */ public function showStyle() { if($this->core->output['style']) { + echo ''; echo ''; } } diff --git a/core/layout/admin.css b/core/layout/admin.css index 1d1d14a8..1cdcac46 100644 --- a/core/layout/admin.css +++ b/core/layout/admin.css @@ -24,7 +24,7 @@ input[type=text], input[type=password], .inputFile, select, -textarea, +textarea:not(.editorWysiwyg), .inputFile, span .zwiico-help, .button.buttonGrey { diff --git a/core/vendor/tinymce/content.css b/core/vendor/tinymce/content.css index 05a338fa..8394db64 100755 --- a/core/vendor/tinymce/content.css +++ b/core/vendor/tinymce/content.css @@ -4,7 +4,7 @@ /* Fix les problèmes de couleurs et de taille de police */ .editorWysiwyg { - font-size: 14px !important; + /*font-size: 14px !important;*/ background-image: none; } @@ -85,3 +85,7 @@ width: auto !important; height: auto !important; } +.mce-content-body { + padding-left: 5px !important; + padding-right: 5px !important; +} From 29851a51f15ab113634f1131353137c971941347 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 17:34:59 +0100 Subject: [PATCH 6/6] =?UTF-8?q?[9.3.00]=20S=C3=A9lecteur=20de=20pages=20ba?= =?UTF-8?q?rre=20admin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 1 + core/layout/common.css | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 54e1be39..c8374f47 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ - TinyMCE : - La taille de la police et la couleur sont celles définies dans le thème du site. - Zone d'édition, padding de 5 px à gauche et à droite. + - Barre, sélecteur de page : couleur et taille fixe de la police. ## version 9.2.26 - Corrections : diff --git a/core/layout/common.css b/core/layout/common.css index 18229044..3aa4a00f 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -363,6 +363,8 @@ td > .col12 { #bar select { width: 250px; border: 0; + color: #111112; + font-size: 12px; } @media (min-width: 768px) { @@ -371,7 +373,7 @@ td > .col12 { } #bar #barRight { float: right; - font-size: .8em; + font-size: 12px; } } @@ -386,7 +388,7 @@ td > .col12 { } #bar #barSelectPage { width: 50% ; - font-size: 0.6em; + font-size: 0.6em; } #bar #barLeft { font-size: 1.6em;