.code-config-item {
  position: relative;
  width: calc(25% - 7.5px);
  padding: 15px;
  background-color: .addAlpha(@primary-color, 0.04) [];
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;

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

  &__tag {
    flex: none;
    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 {
    height: 40px;
    margin-bottom: 10px !important;
    color: @text-color-secondary;
    font-size: 13px;
  }

  &__branch {
    color: @text-color-tertiary;
    font-size: 12px;
  }

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

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