// .ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left
.dropdown-button {
}

:global {
  .unity-dropdown-button-popover {
    .ant-popover-inner-content {
      // 与 select 部分样式对齐
      padding: 8px + 4px 8px;
    }

    .ant-menu-vertical {
      border-right: none;
      // 与 select item 部分样式对齐
      .ant-menu-item {
        user-select: none;

        &:not(:last-child) {
          margin-bottom: 0;
        }
        &:hover,
        &.ant-menu-item-selected:hover {
          background-color: #f4f6f9;
        }

        &.ant-menu-item-selected {
          background-color: transparent;
        }

        &:active {
          color: #3e8dff;
          background-color: transparent !important;
        }

        &.ant-menu-item-disabled {
          background: none;
        }

        margin-top: 0px;
        margin-bottom: 0px;

        height: auto;
        text-align: center;
        color: #20272c;
        min-height: 32px;
        padding: 5px 12px;
        font-weight: normal;
        font-size: 12px;
        line-height: 22px;
      }
    }
  }
}
