From ef1cdbdfc7672159155de455e03f08ed9a8086e7 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 13 May 2020 14:36:05 +0200 Subject: [PATCH] =?UTF-8?q?092=20Th=C3=A8me=20administration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/admin.css | 55 +++++++++++++++------ core/layout/common.css | 10 ---- core/module/config/view/index/index.php | 9 ++-- core/module/config/view/restore/restore.css | 15 ++++++ core/module/config/view/script/script.css | 15 ++++++ 5 files changed, 74 insertions(+), 30 deletions(-) create mode 100755 core/module/config/view/restore/restore.css create mode 100755 core/module/config/view/script/script.css diff --git a/core/layout/admin.css b/core/layout/admin.css index 58f47a34..932755c0 100755 --- a/core/layout/admin.css +++ b/core/layout/admin.css @@ -17,6 +17,17 @@ background-color: rgba(255, 255, 255, 1); } +/* Mise en forme des textes */ +body, .row > div { + font: "Open+Sans", sans-serif; + font-size: 13px; +} +body h1, h2, h3, h4, h5, h6 { + font-family: "Oswald"; + color: rgba(74, 105, 189, 1); +} + +/* Couleur du texte */ body:not(.editorWysiwyg), .block h4, input[type=email], @@ -31,32 +42,23 @@ span .zwiico-help, color: rgba(33, 34, 35, 1); } +/* Elements courants et boutons courants*/ .button, -button[type=submit], input[type="checkbox"]:checked + label::before, .speechBubble { - background-color: rgba(32, 59, 82, 1); + background-color: rgb(44, 79, 110,1); color: white; } - +.speechBubble::before { + border-color: rgb(44, 79, 110,1) transparent transparent transparent; +} .button:hover, button[type=submit]:hover { - background-color: rgba(17,44,67,1); + background-color: rgb(22, 57, 87,1); } -.speechBubble::before { - border-color: rgba(32, 59, 82, 1) transparent transparent transparent; -} - -body, .row > div { - font: "Open+Sans", sans-serif; - font-size: 13px; -} -body h1, h2, h3, h4, h5, h6 { - font-family: "Oswald"; - color: rgba(74, 105, 189, 1); -} +/* Bouton de retour */ .button.buttonGrey { background: #ECEFF1; } @@ -67,4 +69,25 @@ body h1, h2, h3, h4, h5, h6 { background: #D8DFE3; } +/* Bouton effacement */ +.button.buttonRed { + background: #E74C3C; + color: #FFF; +} +.button.buttonRed:hover { + background: #E53E2D; +} +.button.buttonRed:active { + background: #E3301E; +} + +/* Bouton de soumission */ +button[type=submit] { + background-color: rgb(57, 112, 12,1); + color: white; +} +button[type=submit]:hover { + background-color: rgb(40, 78, 8, 1); + +} diff --git a/core/layout/common.css b/core/layout/common.css index 2db9c585..a14be0cc 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -992,16 +992,6 @@ label { background: #F6F7F8 !important; color: #94A5B0 !important; } -.button.buttonRed { - background: #E74C3C; - color: #FFF; -} -.button.buttonRed:hover { - background: #E53E2D; -} -.button.buttonRed:active { - background: #E3301E; -} /* Upload de fichiers */ .inputFile { diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index f8004598..085dab13 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -148,6 +148,7 @@
'buttonRed', 'href' => helper::baseUrl() . 'install/update', 'value' => 'Mise à jour manuelle', 'disabled' => !$error @@ -265,16 +266,16 @@ 'value' => $this->getData(['config', 'analyticsId']) ]); ?>
-
+
helper::baseUrl() . 'config/script/head', - 'value' => 'Editer script dans head' + 'value' => 'Script inséré dans head' ]); ?>
-
+
helper::baseUrl() . 'config/script/body', - 'value' => 'Editer script dans body' + 'value' => 'Script inséré dans body' ]); ?>
diff --git a/core/module/config/view/restore/restore.css b/core/module/config/view/restore/restore.css new file mode 100755 index 00000000..9774521b --- /dev/null +++ b/core/module/config/view/restore/restore.css @@ -0,0 +1,15 @@ +/** + * This file is part of Zwii. + * + * For full copyright and license information, please see the LICENSE + * file that was distributed with this source code. + * + * @author Rémi Jean + * @copyright Copyright (C) 2008-2018, Rémi Jean + * @author Frédéric Tempez + * @copyright Copyright (C) 2018-2020, Frédéric Tempez + * @license GNU General Public License, version 3 + * @link http://zwiicms.com/ + */ + +@import url("core/layout/admin.css"); \ No newline at end of file diff --git a/core/module/config/view/script/script.css b/core/module/config/view/script/script.css new file mode 100755 index 00000000..9774521b --- /dev/null +++ b/core/module/config/view/script/script.css @@ -0,0 +1,15 @@ +/** + * This file is part of Zwii. + * + * For full copyright and license information, please see the LICENSE + * file that was distributed with this source code. + * + * @author Rémi Jean + * @copyright Copyright (C) 2008-2018, Rémi Jean + * @author Frédéric Tempez + * @copyright Copyright (C) 2018-2020, Frédéric Tempez + * @license GNU General Public License, version 3 + * @link http://zwiicms.com/ + */ + +@import url("core/layout/admin.css"); \ No newline at end of file