.code-config-item {
  position: relative;
  width: calc(25% - 15px);
  padding: 20px;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  cursor: pointer;

  @media screen and (max-width: 1860px) {
    & {
      width: calc(33.33% - 13.33px);
    }
  }

  &__name {
    margin-right: 10px;
    margin-bottom: 0 !important;
    color: @text-color;
    font-size: 16px;
  }

  &__tag {
    padding: 2px 11px;
    font-size: 12px;
    border-radius: 1000px;

    &--public {
      color: @primary-color;
      background-color: .addAlpha(@primary-color, 0.08) [];
      border-color: .addAlpha(@primary-color, 0.5) [];
    }

    &--private {
      color: @warning-color;
      background-color: .addAlpha(@warning-color, 0.08) [];
      border-color: .addAlpha(@warning-color, 0.5) [];
    }
  }

  &__url {
    margin-bottom: 10px !important;
    color: @text-color-secondary;
    font-size: 14px;
  }

  &__branch {
    margin-bottom: 20px;
    color: @text-color-tertiary;
    font-size: 14px;
  }

  &__user,
  &__time {
    display: flex;
    flex: 0 1 content;
    align-items: center;
    width: 100%;
    color: #808080;
    font-size: 13px;
  }

  &:hover {
    border-color: @primary-color;
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.1);
  }

  &:hover &__name {
    color: @primary-color;
  }
}
