Fix sidebar
This commit is contained in:
parent
63f42c130c
commit
ed2c9abba5
|
@ -304,6 +304,7 @@ span.form-control {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulsanti {
|
#pulsanti {
|
||||||
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -1601,13 +1602,13 @@ kbd{
|
||||||
|
|
||||||
@media screen and (min-width: 1140px) {
|
@media screen and (min-width: 1140px) {
|
||||||
.with-control-sidebar {
|
.with-control-sidebar {
|
||||||
margin-right: 150px;
|
margin-right: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-sidebar-open {
|
.control-sidebar-open {
|
||||||
right: 0;
|
right: 0;
|
||||||
display: block !important;
|
display: block !important;
|
||||||
width: 150px !important;
|
width: 200px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-sidebar.control-sidebar-open,
|
.control-sidebar.control-sidebar-open,
|
||||||
|
|
|
@ -58,7 +58,7 @@ $(document).ready(function () {
|
||||||
|
|
||||||
// Gestione click sul pulsante per il toggle
|
// Gestione click sul pulsante per il toggle
|
||||||
pluginToggle.on("click", function () {
|
pluginToggle.on("click", function () {
|
||||||
$("aside.content-wrapper, .main-footer").toggleClass("with-control-sidebar");
|
$("aside.content-sidebar, section.content, .main-footer").toggleClass("with-control-sidebar");
|
||||||
|
|
||||||
toggleControlSidebar();
|
toggleControlSidebar();
|
||||||
});
|
});
|
||||||
|
|
15
editor.php
15
editor.php
|
@ -108,9 +108,9 @@ if (empty($record) || !$has_access) {
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
<div class="nav-tabs-custom">
|
<nav class="navbar navbar-expand navbar-light">
|
||||||
<ul class="nav nav-tabs" id="tabs" role="tablist">
|
<ul class="navbar-nav" id="tabs">
|
||||||
<li class="pull-left active header nav-item">
|
<li class="nav-item">
|
||||||
<a data-widget="tab" href="#tab_0" class="nav-link">
|
<a data-widget="tab" href="#tab_0" class="nav-link">
|
||||||
<i class="'.$structure['icon'].'"></i> '.$structure->getTranslation('title');
|
<i class="'.$structure['icon'].'"></i> '.$structure->getTranslation('title');
|
||||||
|
|
||||||
|
@ -122,14 +122,15 @@ if (empty($record) || !$has_access) {
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
</a>
|
</a>
|
||||||
</li>';
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
echo '
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<li class="nav-item control-sidebar-toggle">
|
||||||
<li class="control-sidebar-toggle nav-item">
|
|
||||||
<a class="nav-link" style="cursor: pointer">'.tr('Plugin').'</a>
|
<a class="nav-link" style="cursor: pointer">'.tr('Plugin').'</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div id="tab_0" class="tab-pane active nav-item">';
|
<div id="tab_0" class="tab-pane active nav-item">';
|
||||||
|
|
Loading…
Reference in New Issue