add css behavior

This commit is contained in:
John BOTELLA 2019-03-07 17:05:27 +01:00
parent 34c179ab2b
commit 218690db00
3 changed files with 11 additions and 3 deletions

View File

@ -7197,9 +7197,7 @@ function printCommonFooter($zone = 'private')
print '/* JS CODE TO ENABLE to manage handler to switch left menu page (menuhider) */'."\n";
print 'jQuery(".menuhider").click(function() {';
print ' console.log("We click on .menuhider");'."\n";
//print " $('.side-nav').animate({width:'toggle'},200);\n"; // OK with eldy theme but not with md
print " $('.side-nav').toggle()\n";
print " $('.login_block').toggle()\n";
print " $('body').toggleClass('sidebar-collapse')\n";
print '});'."\n";
}

View File

@ -1221,6 +1221,11 @@ td.showDragHandle {
box-shadow: 3px 0 6px -2px #eee;
background: rgb(<?php echo $colorbackvmenu1; ?>);
}
body.sidebar-collapse .side-nav {
display: none;
}
div.blockvmenulogo
{
border-bottom: 0 !important;

View File

@ -1246,6 +1246,11 @@ div.login_block {
z-index: 90;
}
body.sidebar-collapse .side-nav {
display: none;
}
div.backgroundsemitransparent {
background:rgba(255,255,255,0.6);
padding-left: 10px;