@import 'variables';
:host {
    display: block;
}
.node-wrapper {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
}
.node {
    display: inline-block;
    border: 2px solid var(--color-component-border-200);
    border-radius: 3px;
    padding: 3px 6px;
    z-index: 1;
    background-color: var(--color-component-bg-100);
    opacity: 0.7;
    transition: opacity 0.2s, background-color 0.2s, color 0.2s;
    cursor: default;
    &.active-target {
        border-color: var(--color-primary-500);
        opacity: 0.9;
    }
}
.cancelled-wrapper {
    display: flex;
    align-items: center;
    color: var(--color-grey-300);
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.7;
}
.cancelled-edge {
    width: 48px;
    height: 2px;
    background-color: var(--color-component-bg-300);
    transition: background-color 0.2s;
}
clr-icon {
    margin-left: -1px;
}
.cancelled-node {
    margin-left: 6px;
}
.active {
    .cancelled-wrapper {
        opacity: 1;
    }
    .node {
        opacity: 1;
        background-color: var(--color-primary-600);
        border-color: var(--color-primary-600);
        color: var(--color-primary-100);
    }
    .cancelled-wrapper {
        color: var(--color-error-500);
    }
    .cancelled-edge {
        background-color: var(--color-error-500);
    }
}
