diff --git a/js/navigation.js b/js/navigation.js index 43b9eb129c..71a3ef9130 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -185,14 +185,14 @@ $(function() { 'mouseover', function () { if ($('li:visible', this).length == 0) { - $(this).css('background', '#ddd'); + $(this).addClass('activePointer'); } } ); $('#pma_navigation_tree.highlight li:not(.fast_filter)').live( 'mouseout', function () { - $(this).css('background', ''); + $(this).removeClass('activePointer'); } ); diff --git a/themes/original/css/navigation.css.php b/themes/original/css/navigation.css.php index 2fb4a64dee..4da09c1ce9 100644 --- a/themes/original/css/navigation.css.php +++ b/themes/original/css/navigation.css.php @@ -99,9 +99,12 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) { color: ; } #pma_navigation_tree a:hover { - color: ; text-decoration: underline; } +#pma_navigation_tree li.activePointer { + color: ; + background-color: ; +} #pma_navigation_tree ul { clear: both; padding: 0; diff --git a/themes/pmahomme/css/navigation.css.php b/themes/pmahomme/css/navigation.css.php index a0422201eb..1186a6219c 100644 --- a/themes/pmahomme/css/navigation.css.php +++ b/themes/pmahomme/css/navigation.css.php @@ -89,9 +89,12 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) { color: ; } #pma_navigation_tree a:hover { - color: ; text-decoration: underline; } +#pma_navigation_tree li.activePointer { + color: ; + background-color: ; +} #pma_navigation_tree ul { clear: both; padding: 0; diff --git a/themes/pmahomme/layout.inc.php b/themes/pmahomme/layout.inc.php index a0247285fe..7454cade49 100644 --- a/themes/pmahomme/layout.inc.php +++ b/themes/pmahomme/layout.inc.php @@ -24,7 +24,7 @@ $GLOBALS['cfg']['NaviBackground'] = '#f3f3f3'; $GLOBALS['cfg']['NaviPointerColor'] = '#000'; // background of the pointer in navi frame -$GLOBALS['cfg']['NaviPointerBackground'] = '#99c'; +$GLOBALS['cfg']['NaviPointerBackground'] = '#ddd'; /** * main frame