From 9f86fe4c9ae8bfb111be60fd54ca8b7cb4ee5277 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 16:24:42 +0100 Subject: [PATCH 1/2] =?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 2/2] =?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;