diff --git a/external/jquery/addons/js/themes/default-dark/style.css b/external/jquery/addons/js/themes/default-dark/style.css index b7f796f7cc..b9e47a56c1 100644 --- a/external/jquery/addons/js/themes/default-dark/style.css +++ b/external/jquery/addons/js/themes/default-dark/style.css @@ -1094,3 +1094,8 @@ background-image: url(../../../../../../framework/modules/navigation/assets/images/page_go.png); background-repeat: no-repeat; } + +.jstree-default-dark i.jstree-icon.inactive { + background-color: grey; + opacity: 0.4; +} \ No newline at end of file diff --git a/external/jquery/addons/js/themes/default/style.css b/external/jquery/addons/js/themes/default/style.css index a6f3e3373d..c43d53c40f 100644 --- a/external/jquery/addons/js/themes/default/style.css +++ b/external/jquery/addons/js/themes/default/style.css @@ -1055,3 +1055,8 @@ background-image: url(../../../../../../framework/modules/navigation/assets/images/page_go.png); background-repeat: no-repeat; } + +.jstree-default i.jstree-icon.inactive { + background-color: grey; + opacity: 0.4; +} \ No newline at end of file diff --git a/external/jquery/addons/js/themes/proton/style.css b/external/jquery/addons/js/themes/proton/style.css index 63e6b3e13e..b0c60fe1ad 100644 --- a/external/jquery/addons/js/themes/proton/style.css +++ b/external/jquery/addons/js/themes/proton/style.css @@ -1152,3 +1152,8 @@ filter: gray; .jstree-proton-small .addsapage { background-size: 16px, 16px; } + +.jstree-proton i.jstree-icon.inactive { + background-color: grey; + opacity: 0.4; +} \ No newline at end of file diff --git a/framework/modules/navigation/controllers/navigationController.php b/framework/modules/navigation/controllers/navigationController.php index e5739f16c5..548f020827 100644 --- a/framework/modules/navigation/controllers/navigationController.php +++ b/framework/modules/navigation/controllers/navigationController.php @@ -767,6 +767,7 @@ public static function returnChildrenAsJSON2() { $navs[$i]->parent = $nav->parent?$nav->parent:'#'; $navs[$i]->text = $nav->name; $navs[$i]->icon = $icons[$nav->alias_type]; + if (!$nav->active) $navs[$i]->icon .= ' inactive'; if (expPermissions::check('manage', expCore::makeLocation('navigation', '', $navs[$i]->id))) { $navs[$i]->manage = 1; $view = true;