| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /* Get 变量节点样式 */
- .Blueprint-get-node {
- /* 公共逻辑已在 node-renderer.css 中定义 */
- /* position, width, overflow, pointer-events, user-select, cursor, z-index */
-
- /* 节点特有样式 */
- min-width: 120px;
- height: 40px;
- background: #2d2d30;
- border: 2px solid #2196f3;
- border-radius: 20px;
- box-shadow: 0 0 8px rgba(33, 150, 243, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
- padding: 0;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- }
- /* 隐藏暗色区域(背景、边框、阴影) */
- .Blueprint-get-node.hide-dark-area {
- background: transparent;
- border-color: transparent;
- box-shadow: none;
- }
- .Blueprint-get-node.selected {
- border-color: #ffa500;
- box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.3), 0 0 8px rgba(33, 150, 243, 0.4);
- }
- .Blueprint-get-node-label {
- /* pointer-events 和 user-select 已在公共样式中定义 */
- color: #fff;
- font-size: 13px;
- font-weight: 500;
- text-align: center;
- padding: 0 16px;
- white-space: nowrap;
- visibility: hidden; /* 占位但不可见 */
- }
- .Blueprint-get-node .Blueprint-variable-node-body {
- /* pointer-events 已在公共样式中定义 */
- width: 100%;
- height: 100%;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* 端口的 pointer-events 已在公共样式中定义 */
|