From b6db9b16e1d0111c2904b16dda728b74229f74b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Date: Wed, 5 Apr 2023 12:05:36 -0400 Subject: [PATCH] fix(topology): Keep node outline on hover --- packages/module/src/css/topology-components.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/module/src/css/topology-components.css b/packages/module/src/css/topology-components.css index 10a773c6..4b446025 100644 --- a/packages/module/src/css/topology-components.css +++ b/packages/module/src/css/topology-components.css @@ -15,8 +15,7 @@ --pf-topology__node__background--StrokeWidth: var(--pf-global--BorderWidth--sm); --pf-topology__node--m-dragging--background--StrokeWidth: var(--pf-global--BorderWidth--sm); - --pf-topology__node--m-hover--background--Stroke: unset; - --pf-topology__node--m-hover--label__background--Stroke: unset; + --pf-topology__node--m-hover--background--Stroke: var(--pf-topology__node__background--Stroke); --pf-topology__node--m-disabled--Background--Fill: var(--pf-global--BackgroundColor--200); --pf-topology__node--m-disabled--Background--Stroke: var(--pf-global--BorderColor--100); @@ -57,6 +56,8 @@ --pf-topology__node__label__background--Fill: var(--pf-global--BackgroundColor--100); --pf-topology__node__label__background--Stroke: var(--pf-global--BorderColor--100); + --pf-topology__node--m-hover--label__background--Stroke: var(--pf-topology__node__label__background--Stroke); + --pf-topology__node--m-selected--node__label__background--Stroke: var(--pf-global--active-color--100); --pf-topology__node--m-info--node__label__background--Stroke: var(--pf-global--primary-color--light-100); --pf-topology__node--m-success--node__label__background--Stroke: var(--pf-global--success-color--100);