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/* - - diff --git a/CHANGES.md b/CHANGES.md index 68701f92..31452688 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,18 @@ - Modification : - Chargement paresseux des images. +## version 9.3.00 +- Modification : + - Tri des galeries module version 2.0 +- 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. + - Barre, sélecteur de page : couleur et taille fixe de la police. + ## 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 4b49e991..31291609 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 = '10.0.045'; + const ZWII_VERSION = '10.0.046'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; @@ -1198,7 +1198,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;}' : ''; @@ -2309,6 +2310,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 0dd1b3aa..1cdcac46 100644 --- a/core/layout/admin.css +++ b/core/layout/admin.css @@ -24,9 +24,10 @@ input[type=text], input[type=password], .inputFile, select, -textarea, +textarea:not(.editorWysiwyg), .inputFile, -span .zwiico-help { +span .zwiico-help, +.button.buttonGrey { color: rgba(33, 34, 35, 1); } diff --git a/core/layout/common.css b/core/layout/common.css index 3a87ebd6..a9f5b266 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -367,6 +367,8 @@ td > .col12 { #bar select { width: 250px; border: 0; + color: #111112; + font-size: 12px; } @media (min-width: 768px) { @@ -375,7 +377,7 @@ td > .col12 { } #bar #barRight { float: right; - font-size: .8em; + font-size: 12px; } } @@ -390,7 +392,7 @@ td > .col12 { } #bar #barSelectPage { width: 50% ; - font-size: 0.6em; + font-size: 0.6em; } #bar #barLeft { font-size: 1.6em; 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; +}