右键删除节点列表,好像实现了,还需要实现右键删除地图节点
This commit is contained in:
@@ -220,6 +220,35 @@ h3 {
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
min-width: 120px;
|
||||
border: 1px solid #dbe4ef;
|
||||
border-radius: 10px;
|
||||
padding: 6px;
|
||||
background: #fff;
|
||||
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
|
||||
}
|
||||
|
||||
.context-menu button {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.context-menu button:hover {
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.context-menu button.danger {
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.map-panel {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user