Fixed the behavoir of NaviPointerBackground configuration directive
This commit is contained in:
parent
4a554723ea
commit
36690ba729
@ -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');
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -99,9 +99,12 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
#pma_navigation_tree a:hover {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
text-decoration: underline;
|
||||
}
|
||||
#pma_navigation_tree li.activePointer {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
||||
}
|
||||
#pma_navigation_tree ul {
|
||||
clear: both;
|
||||
padding: 0;
|
||||
|
||||
@ -89,9 +89,12 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
#pma_navigation_tree a:hover {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
text-decoration: underline;
|
||||
}
|
||||
#pma_navigation_tree li.activePointer {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
||||
}
|
||||
#pma_navigation_tree ul {
|
||||
clear: both;
|
||||
padding: 0;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user