feat(canvas-v3): Phase 0 flag + ref node canvas 垂直切片(默认关闭)
This commit is contained in:
1 parent
d04dac64bc
commit
2ff86d0840
17 files changed
+490
-13
No files matched your search
@@ -33,6 +33,9 @@ button { font-family: inherit; }
|
||||
.iwb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
|
||||
.iwb-edges { position: absolute; left: 0; top: 0; pointer-events: none; }
|
||||
.iwb-edge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
.iwb-node-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
.iwb-node-hit-proxy { position: absolute; left: 0; top: 0; background: transparent; border: 0; pointer-events: auto; cursor: grab; }
|
||||
.iwb-node-hit-proxy:active { cursor: grabbing; }
|
||||
.iwb-edge-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }
|
||||
.iwb-edge-hit:hover { stroke: color-mix(in srgb, var(--iwb-brand) 16%, transparent); }
|
||||
.iwb-edge-hit:hover + .iwb-edge { stroke-width: calc(var(--iwb-edge-w) + 0.6px); stroke: var(--iwb-edge-hot); }
|
||||
|
||||
Reference in new issue
Block a user