.erda-base-list {
  .erda-base-list-item {
    &-container {
      border-bottom: 1px solid $color-border;
      margin: 0 16px;
      padding: 12px 0;
    }
    border-radius: 2px;
    background-color: $white;
    background-position: 100% 0;
    background-repeat: no-repeat;

    .list-item-more {
      display: none;
    }

    .erda-base-list-item-hover-icons {
      display: none;
    }

    &:hover {
      background-color: $color-table-bg-hover;
      .list-item-more {
        display: block;
      }
      .erda-base-list-item-hover-icons {
        display: block;
      }
    }

    &:last-child {
      border-bottom: none;
    }

    .item-prefix-img {
      margin-right: 8px;
      line-height: 1;

      img,
      > * {
        width: 28px;
        height: 28px;
      }
    }

    .body-title {
      display: flex;
      align-items: center;
      font-size: 14px;
      height: 22px;
      line-height: 22px;

      .title-text {
        width: auto;
        color: $color-text;
      }

      .title-icon {
        color: $color-text-desc;
        font-size: 18px;
      }

      .erda-badge {
        line-height: 22px;
      }
    }

    .body-description {
      font-size: 12px;
      height: 20px;
      line-height: 20px;
      color: $color-text-sub;
    }

    .body-meta-info {
      line-height: 20px;
      color: $color-text-sub;

      .info-item {
        display: inline-flex;
        align-items: center;
        max-width: 240px;
        margin-right: 24px;
        font-size: 12px;

        &.type-normal {
          color: $color-text-sub;
        }

        &.type-success {
          color: $color-success;
        }

        &.type-warning {
          color: $color-warning;
        }

        &.type-error {
          color: $color-danger;
        }
      }

      .info-value {
        border-radius: 20px;
        padding: 0 8px;
        &.info-value-success {
          color: $color-error;
          background-color: rgba($color-error, 0.06);
        }
        &.info-value-warning {
          color: $color-warning;
          background-color: rgba($color-warning, 0.06);
        }
        &.info-value-error {
          color: $color-error;
          background-color: rgba($color-error, 0.06);
        }
        &.info-value-processing {
          color: $color-info;
          background-color: rgba($color-info, 0.06);
        }
        &.info-value-default {
          color: $color-default;
          background-color: rgba($color-default, 0.06);
        }
      }
    }
  }

  .load-more {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    color: $color-text-desc;
    font-size: 14px;
  }
}

.erda-list-operations {
  .ant-dropdown-menu {
    width: 200px;
    background-color: $color-default;
  }

  .ant-dropdown-menu-item,
  .ant-dropdown-menu-submenu-title {
    color: rgba($white, 0.9);
  }

  .ant-dropdown-menu-item:hover,
  .ant-dropdown-menu-submenu-title:hover {
    background-color: rgba($white, 0.08);
    color: $white;
  }

  .ant-dropdown-menu-title-content {
    .disabled {
      color: rgba($white, 0.6) !important;
    }
  }
}
