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 '/* JS CODE TO ENABLE to manage handler to switch left menu page (menuhider) */'."\n";
print 'jQuery(".menuhider").click(function() {'; print 'jQuery(".menuhider").click(function() {';
print ' console.log("We click on .menuhider");'."\n"; 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 " $('body').toggleClass('sidebar-collapse')\n";
print " $('.side-nav').toggle()\n";
print " $('.login_block').toggle()\n";
print '});'."\n"; print '});'."\n";
} }

View File

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

View File

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