@import '../../../../../topology/src/components/topology-utils';

.odc-sink-uri {
  outline: none;
  cursor: pointer;

  .odc-m-drag-active & {
    pointer-events: none;
  }

  &__bg {
    fill: var(--pf-global--BackgroundColor--light-100);
  }

  &.is-filtered &__bg {
    stroke-width: 2px;
    stroke: $filtered-stroke-color;
  }
  &.is-selected &__bg {
    stroke-width: 2px;
    stroke: $selected-stroke-color;
  }
  &.is-highlight &__bg {
    stroke: $interactive-stroke-color;
  }
  &.is-dropTarget &__bg {
    fill: $interactive-fill-color;
    stroke: $interactive-stroke-color;
  }
}

.odc-m-drag-active,
.odc-m-filter-active {
  .odc-sink-uri {
    opacity: $de-emphasize-opacity;
    &.is-dragging,
    &.is-highlight {
      opacity: 1;
    }
  }
}


.odc-m-filter-active:not(.odc-m-drag-active) {
  .odc-sink-uri {
    &.is-filtered {
      opacity: 1;
    }
  }
}
