Add disabled support to trace timeline and step details (#12555)

This commit is contained in:
Bram Kragten
2022-05-03 16:50:33 +02:00
committed by GitHub
parent de34a5a597
commit b53645ce92
5 changed files with 66 additions and 15 deletions

View File

@@ -116,9 +116,14 @@ export class HatGraphNode extends LitElement {
--stroke-clr: var(--hover-clr);
--icon-clr: var(--default-icon-clr);
}
:host([notEnabled]) circle,
:host([notEnabled]) path.connector {
stroke: var(--disabled-clr);
:host([notEnabled]) circle {
--stroke-clr: var(--disabled-clr);
}
:host([notEnabled][active]) circle {
--stroke-clr: var(--disabled-active-clr);
}
:host([notEnabled]:hover) circle {
--stroke-clr: var(--disabled-hover-clr);
}
svg {
width: 100%;