mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-09 12:02:53 +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) {
|
.on('mouseover', function (this, n: MapNode) {
|
||||||
select(this).attr('class', 'over');
|
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) {
|
.on('mouseout', function (this, n: MapNode) {
|
||||||
|
@ -382,6 +382,9 @@ g.node text,
|
|||||||
.context-menu-items .mat-menu-item:focus {
|
.context-menu-items .mat-menu-item:focus {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
.context-menu-items .mat-menu-item:hover {
|
||||||
|
background-color: rgba(160, 156, 156, 0.795) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.visible {
|
.visible {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user