refactor(behavior-tree)!: 迁移到 Runtime 执行器架构 (#196)
* refactor(behavior-tree)!: 迁移到 Runtime 执行器架构 * fix(behavior-tree): 修复LogAction中的ReDoS安全漏洞 * feat(behavior-tree): 完善行为树核心功能并修复类型错误
This commit is contained in:
@@ -307,3 +307,35 @@
|
||||
.bt-node-uncommitted-warning:hover .bt-node-uncommitted-tooltip {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 缺失执行器警告tooltip */
|
||||
.bt-node-missing-executor-tooltip {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-bottom: 8px;
|
||||
padding: 6px 10px;
|
||||
background: rgba(244, 67, 54, 0.95);
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
border-radius: 4px;
|
||||
pointer-events: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.bt-node-missing-executor-tooltip::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border: 4px solid transparent;
|
||||
border-top-color: rgba(244, 67, 54, 0.95);
|
||||
}
|
||||
|
||||
.bt-node-missing-executor-warning:hover .bt-node-missing-executor-tooltip {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user