feat: 修复网络拓扑匹配逻辑,使用双向LLDP对称匹配策略
Этот коммит содержится в:
@@ -100,6 +100,8 @@ header h1 {
|
||||
|
||||
.sidebar {
|
||||
width: 300px;
|
||||
min-width: 200px;
|
||||
max-width: 600px;
|
||||
background: white;
|
||||
padding: 20px;
|
||||
overflow-y: auto;
|
||||
@@ -190,6 +192,7 @@ header h1 {
|
||||
.content {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
min-width: 400px;
|
||||
}
|
||||
|
||||
#cy {
|
||||
@@ -200,17 +203,47 @@ header h1 {
|
||||
|
||||
.detail-panel {
|
||||
width: 600px;
|
||||
min-width: 300px;
|
||||
max-width: 1000px;
|
||||
background: white;
|
||||
padding: 20px;
|
||||
overflow-y: auto;
|
||||
box-shadow: -2px 0 5px rgba(0,0,0,0.1);
|
||||
display: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.detail-panel.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 拖拽手柄样式 */
|
||||
.resizer {
|
||||
width: 5px;
|
||||
cursor: col-resize;
|
||||
background: #e0e0e0;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.resizer:hover,
|
||||
.resizer.resizing {
|
||||
background: #667eea;
|
||||
}
|
||||
|
||||
.resizer::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 3px;
|
||||
height: 30px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.detail-panel h3 {
|
||||
margin-bottom: 15px;
|
||||
color: #667eea;
|
||||
|
||||
Ссылка в новой задаче
Block a user