@prefix: flow-editor-right-click-menu;
:export {
  prefix: @prefix;
}
.@{prefix}- {
  &container {
    .@{prefix}-menu-container {
      background: #ffffff;
      border: 1px solid #e5e5e5;
      box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      width: 122px;
      color: #262626;
      position: relative;
      padding: 8px 0;
      .@{prefix}-menu-container-arrow {
        border-right: 6px solid #ccc;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 0;
        position: absolute;
        left: -6px;
        top: 16px;
        &::before {
          content: '';
          border-right: 6px solid #fff;
          border-top: 6px solid transparent;
          border-bottom: 6px solid transparent;
          border-left: 0;
          position: absolute;
          left: 1px;
          top: -6px;
        }
      }
      .@{prefix}-menu-item {
        height: 32px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 0 10px;
        font-size: 12px;
        > div {
          padding-left: 5px;
          span {
            margin-left: 8px;
          }
        }
        &:hover {
          background: #f2f2f2;
          cursor: pointer;
        }
      }
      .@{prefix}-line {
        border-bottom: 1px solid #ccc;
        margin: 0 5px;
      }
      .@{prefix}-menu-item-disabled {
        color: rgba(0, 0, 0, 0.25);
        background-color: #f5f5f5;
        &:hover {
          cursor: not-allowed;
        }
      }
    }
  }
}
