Permalink
Browse files

Fixed the behavoir of NaviPointerBackground configuration directive

  • Loading branch information...
1 parent 4a55472 commit 36690ba729c378be1003f56128dade2186ed9ea4 @roccivic roccivic committed Jul 17, 2012
View
@@ -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 @@
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 @@
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']['NaviPointerColor'] = '#000';
// background of the pointer in navi frame
-$GLOBALS['cfg']['NaviPointerBackground'] = '#99c';
+$GLOBALS['cfg']['NaviPointerBackground'] = '#ddd';
/**
* main frame

0 comments on commit 36690ba

Please sign in to comment.