onglets de la config

This commit is contained in:
Fred Tempez 2022-03-03 16:53:46 +01:00
parent 283b98c6e7
commit bf0cc8c4b6
3 changed files with 25 additions and 24 deletions

View File

@ -2564,7 +2564,7 @@ class core extends common {
$colors = helper::colorVariants($this->getData(['admin','backgroundColorButtonGreen']));
$css .= '.button.buttonGreen, button[type=submit] {background-color: ' . $colors['normal'] . ';color: ' . $colors['text'] . ';}.button.buttonGreen:hover, button[type=submit]:hover {background-color: ' . $colors['darken'] . ';color: ' . $colors['text'] .';}.button.buttonGreen:active, button[type=submit]:active {background-color: ' . $colors['darken'] . ';color: ' .$colors['text'] .';}';
$colors = helper::colorVariants($this->getData(['admin','backgroundBlockColor']));
$css .= '.block {border: 1px solid ' . $this->getData(['admin','borderBlockColor']) . ';}.block h4 {background-color: ' . $colors['normal'] . ';color:' . $colors['text'] . ';}';
$css .= '.buttonTab, .block {border: 1px solid ' . $this->getData(['admin','borderBlockColor']) . ';}.buttonTab, .block h4 {background-color: ' . $colors['normal'] . ';color:' . $colors['text'] . ';}';
$css .= 'table tr,input[type=email],input[type=text],input[type=password],select:not(#barSelectPage),textarea:not(.editorWysiwyg),.inputFile{background-color: ' . $colors['normal'] . ';color:' . $colors['text'] . ';border: 1px solid ' . $this->getData(['admin','borderBlockColor']) . ';}';
// Bordure du contour TinyMCE
$css .= '.mce-tinymce{border: 1px solid '. $this->getData(['admin','borderBlockColor']) . '!important;}';

View File

@ -21,13 +21,6 @@
display: block;
}
.activeButton {
filter : brightness(180%);
}
.buttonTab:hover {
filter : brightness(140%);
}
.buttonNotice {
border: 2px solid red !important;
@ -36,16 +29,28 @@
/* Style the tab */
.tab {
margin-top: 1.8em;
overflow: hidden;
display: inline-block;
text-align: center;
}
.tab ~ .tabContent {
margin-top: -10px;
}
.buttonTab {
float: left;
display: inline-block;
transition: 0.3s;
border-radius: 10px 10px 0px 0px;
width: 160px;
/*background-color: #ccc;*/
margin: 0 1px;
}
.buttonTab:hover {
filter : brightness(140%);
}
.activeButton {
filter : brightness(70%);
}

View File

@ -26,26 +26,22 @@
'value' => 'Configuration',
'class' => 'buttonTab'
]); ?>
</div>
<div class="tab">
<?php echo template::button('configLocaleButton', [
'value' => 'Localisation',
'class' => 'buttonTab'
]); ?>
</div>
<div class="tab">
<?php echo template::button('configSocialButton', [
'value' => 'Référencement',
'class' => 'buttonTab'
]); ?>
</div>
<div class="tab">
<?php echo template::button('configConnectButton', [
'value' => 'Connexion',
'class' => 'buttonTab'
]); ?>
</div>
<div class="tab">
<?php echo template::button('configNetworkButton', [
'value' => 'Réseau',
'class' => 'buttonTab'