@import '../MonacoDiffEditorRelation/RelationSvg.scss';

.UpdateRelation {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  &__FormContainer {
    display: flex;
    gap: 1em;
  }
  &__Form {
    display: flex;
    width: 50%;
    flex: 0 0 50%;
    flex-direction: column;

    &__Item {
      margin-bottom: 0.25em;
    }
  }
  &__Options {
    display: inline-flex;
    padding: 0;
    margin: 0;
    gap: 0.5em;
    list-style: none;
  }
  &__RelationContainer {
    position: relative;
    flex: 1 1 auto;
  }
  &__EditorContainer {
    height: 100%;
    display: flex;
    gap: 1em;
  }
  &__Editor {
    width: 50%;
    height: 100%;
    flex: 0 0 50%;
  }
  &__RelationSvg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;

    @include relationSvg;
  }
}
