mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-20 21:43:06 +00:00
Add hover class for highlight the current menu item in dropdown menu on mouse over
This commit is contained in:
parent
15f8fff179
commit
1d13862880
@ -103,7 +103,7 @@ export class NodeWidget implements Widget {
|
||||
})
|
||||
.on('mouseover', function (this, n: MapNode) {
|
||||
select(this).attr('class', 'over');
|
||||
self.onContextMenu.emit(new NodeContextMenu(event, n));
|
||||
// self.onContextMenu.emit(new NodeContextMenu(event, n));
|
||||
|
||||
})
|
||||
.on('mouseout', function (this, n: MapNode) {
|
||||
|
@ -382,6 +382,9 @@ 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;
|
||||
}
|
||||
|
||||
.visible {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user