092 Thème administration

This commit is contained in:
Fred Tempez 2020-05-13 14:36:05 +02:00
parent de61445249
commit ef1cdbdfc7
5 changed files with 74 additions and 30 deletions

View File

@ -17,6 +17,17 @@
background-color: rgba(255, 255, 255, 1); 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), body:not(.editorWysiwyg),
.block h4, .block h4,
input[type=email], input[type=email],
@ -31,32 +42,23 @@ span .zwiico-help,
color: rgba(33, 34, 35, 1); color: rgba(33, 34, 35, 1);
} }
/* Elements courants et boutons courants*/
.button, .button,
button[type=submit],
input[type="checkbox"]:checked + label::before, input[type="checkbox"]:checked + label::before,
.speechBubble { .speechBubble {
background-color: rgba(32, 59, 82, 1); background-color: rgb(44, 79, 110,1);
color: white; color: white;
} }
.speechBubble::before {
border-color: rgb(44, 79, 110,1) transparent transparent transparent;
}
.button:hover, .button:hover,
button[type=submit]: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 { .button.buttonGrey {
background: #ECEFF1; background: #ECEFF1;
} }
@ -67,4 +69,25 @@ body h1, h2, h3, h4, h5, h6 {
background: #D8DFE3; 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);
}

View File

@ -992,16 +992,6 @@ label {
background: #F6F7F8 !important; background: #F6F7F8 !important;
color: #94A5B0 !important; color: #94A5B0 !important;
} }
.button.buttonRed {
background: #E74C3C;
color: #FFF;
}
.button.buttonRed:hover {
background: #E53E2D;
}
.button.buttonRed:active {
background: #E3301E;
}
/* Upload de fichiers */ /* Upload de fichiers */
.inputFile { .inputFile {

View File

@ -148,6 +148,7 @@
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::button('configUpdateForced', [ <?php echo template::button('configUpdateForced', [
'class' => 'buttonRed',
'href' => helper::baseUrl() . 'install/update', 'href' => helper::baseUrl() . 'install/update',
'value' => 'Mise à jour manuelle', 'value' => 'Mise à jour manuelle',
'disabled' => !$error 'disabled' => !$error
@ -265,16 +266,16 @@
'value' => $this->getData(['config', 'analyticsId']) 'value' => $this->getData(['config', 'analyticsId'])
]); ?> ]); ?>
</div> </div>
<div class="col3 offset3 verticalAlignBottom"> <div class="col3 offset1 verticalAlignBottom">
<?php echo template::button('configHead', [ <?php echo template::button('configHead', [
'href' => helper::baseUrl() . 'config/script/head', 'href' => helper::baseUrl() . 'config/script/head',
'value' => 'Editer script dans head' 'value' => 'Script inséré dans head'
]); ?> ]); ?>
</div> </div>
<div class="col3 verticalAlignBottom"> <div class="col3 offset1 verticalAlignBottom">
<?php echo template::button('scriptBody', [ <?php echo template::button('scriptBody', [
'href' => helper::baseUrl() . 'config/script/body', 'href' => helper::baseUrl() . 'config/script/body',
'value' => 'Editer script dans body' 'value' => 'Script inséré dans body'
]); ?> ]); ?>
</div> </div>
</div> </div>

View File

@ -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 <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @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");

View File

@ -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 <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @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");