@use '../abstracts' as *;

/* Molecule context menu */
.m-context-menu {
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: 250px;
  padding: toRem(6) toRem(15);
  border-radius: toRem(5);
  box-shadow: 2px 3px 10px 2px rgba(0, 0, 0, 0.2);

  .a-btn {
    font-weight: 400;
  }

  a {
    cursor: pointer;
    padding: toRem(5);

    &:hover {
      border-radius: toRem(6);
    }
  }

  yap-object-creation {
    a {
      padding: 0.3125rem;
      display: block;
    }
  }
}

/*.widget-choose-resultset,*/
.create-object-panel {
  gap: toRem(5);
  position: absolute;
  top: 10%;
  right: 0;
  bottom: 0;
  width: toRem(336);
  max-width: toRem(400);
  padding: 0 0 toRem(20) 0;
  border-radius: 0;
}

.widget-choose-resultset {
  .context-menu-panel-button {
    display: flex;
    justify-content: center;
    margin-top: toRem(12);
  }
}
