Code improvement and ergonomy for menu display

This commit is contained in:
sparkyx 2025-11-17 10:33:23 +01:00
parent aaf9a16851
commit 5bfffcce97
7 changed files with 77 additions and 14 deletions

View file

@ -3519,7 +3519,18 @@ margin:1px;
.nav-level2 .active {
border-radius:0px !important;
}
/******************************************/
/* MENU LEVEL > 3 */
/******************************************/
.nav-level4{
--border-size:2px;
}
.nav-level4 .nav-item:hover{
background-color: aliceblue;
}
.nav-level4 .active {
background-color: aliceblue;
}
/****************************************/
/* Module for smartphone menu */
/***************************************/

View file

@ -281,7 +281,8 @@ if (isset($_REQUEST['ac']))
// Show module and highligt selected one
show_module($module_id);
global $level;
$level = 0;
show_menu( $amenu_id[0]['pm_id_v3']);
show_menu( $amenu_id[0]['pm_id_v2']);