Fix hovered Zigbee topology endpoint layer

Issue: #464
User-Visible: yes
This commit is contained in:
Matysh
2026-09-06 01:23:51 +03:00
parent b7f82d54dd
commit 0f7b0dff14
33 changed files with 267 additions and 212 deletions
+11
View File
@@ -6063,6 +6063,17 @@ const MUTANT_DEFINITIONS = [
replace: '.dev[data-hp-zigbee-topology-endpoint] { z-index: 1; }',
}],
},
{
id: 'zigbee-topology-hovered-endpoint-elevation-removed',
guard: 'node demo/smoke_zigbee_topology_hover.mjs',
because: 'a real CSS :hover has higher specificity than the base endpoint rule; the source '
+ 'must still remain above its active topology line (#464 AC1, code-review r1)',
patches: [{
file: 'src/styles/devices.styles.ts',
find: ':host([data-pointer-hover]) .dev[data-hp-zigbee-topology-endpoint]:hover { z-index: 8; }',
replace: ':host([data-pointer-hover]) .dev[data-hp-zigbee-topology-endpoint]:hover { z-index: 1; }',
}],
},
{
id: 'zigbee-topology-unrelated-markers-raised',
guard: 'node demo/smoke_zigbee_topology_hover.mjs',