Resolve lighlight the current menu item in dropdown menu on mouse over only light theme

This commit is contained in:
Rajnikant Lodhi 2022-08-22 16:21:10 +05:30
parent 1d13862880
commit 6fe15bac9c
2 changed files with 2 additions and 4 deletions

View File

@ -103,8 +103,6 @@ export class NodeWidget implements Widget {
})
.on('mouseover', function (this, n: MapNode) {
select(this).attr('class', 'over');
// self.onContextMenu.emit(new NodeContextMenu(event, n));
})
.on('mouseout', function (this, n: MapNode) {
select(this).attr('class', '');

View File

@ -382,8 +382,8 @@ g.node text,
.context-menu-items .mat-menu-item:focus {
background: none;
}
.context-menu-items .mat-menu-item:hover {
background-color: rgba(160, 156, 156, 0.795) !important;
.light-theme .context-menu-items .mat-menu-item:hover {
background-color: rgba(153, 152, 152, 0.795) !important;
}
.visible {