<commit_before>/* ---------------------------------------------------------------------- *\
  BUTTONS
  - modifiers can be size modifiers (--s) or type (--t)
\* ---------------------------------------------------------------------- */

.btn {
  @include borderRadius(0.3);
  border: 0;
  display: inline-block;
  margin-bottom: rem(1);
  white-space: nowrap;

  &:hover {
    text-decoration: none;
  }

  // sizes
  &--large {
    @extend .btn;
    @include font(1, 3.25);
    padding: rem(0 1);
  }

  &--normal,
  &--medium {
    @extend .btn;
    @include font(0, 3);
    padding: rem(0 1);
  }

  &--small {
    @extend .btn;
    @include font(-1, 2.25);
    padding: rem(0 1);

  }

  &--full {
    display: block;
    text-align: center;
    width: 100%;
  }

  // types
  &--primary {
    @extend .btn;
    color: $colorFontLight;
    background: $colorCtaPrimary;

    &:hover {
      background: $colorCtaPrimaryHover;
    }

    &:active,
    &:focus {
      background: $colorCtaPrimaryActive;
    }

    &.btn--disabled,
    &[disabled] {
      background: $colorCtaPrimaryDisabled;
    }
  }

  &--secondary {
    @extend .btn;
    color: $colorCtaPrimary;
    border: 1px solid $colorCtaSecondaryBorder;
    background: transparent;

    &:hover {
      border-color: $colorCtaPrimary;
      background: rgba($colorCtaDisabledText, .6);
    }

    &:active,
    &:focus {
      border-color: $colorCtaPrimary;
      background: rgba($colorCtaPrimaryHover, .1);
    }

    &.btn--disabled,
    &[disabled] {
      background: rgba($colorCtaDisabledText, .6);
      border-color: $colorCtaSecondaryDisabled;
      color: $colorCtaSecondaryDisabled;
    }
  }


  &--secondary-alt {
    @extend .btn;
    color: $colorCtaAlternative;
    border: 1px solid $colorCtaAlternative;

    &:hover {
      background: rgba($colorCtaAlternativeBack, .3);
    }

    &:active,
    &:focus {
      border-color: rgba($colorCtaAlternative, .5);
      background: rgba($colorCtaAlternativeBack, .2);
    }

    &.btn--disabled,
    &[disabled] {
      border: 0;
      background: rgba($colorCtaAlternativeBack, .2);
      color: rgba($colorCtaAlternative, .2);
    }
  }

  &--link {
    padding: 0;
    border: none;
    border-bottom: 1px solid transparent;
    color: $colorCtaPrimary;
    background: none;
    font: inherit;
    line-height: 1em;
    height: 1em;

    &:hover {
      border-bottom-color: $colorCtaPrimary;
    }
  }
<commit_msg>Change border:none to border:0 to silence the linter.<commit_after>/* ---------------------------------------------------------------------- *\
  BUTTONS
  - modifiers can be size modifiers (--s) or type (--t)
\* ---------------------------------------------------------------------- */

.btn {
  @include borderRadius(0.3);
  border: 0;
  display: inline-block;
  margin-bottom: rem(1);
  white-space: nowrap;

  &:hover {
    text-decoration: none;
  }

  // sizes
  &--large {
    @extend .btn;
    @include font(1, 3.25);
    padding: rem(0 1);
  }

  &--normal,
  &--medium {
    @extend .btn;
    @include font(0, 3);
    padding: rem(0 1);
  }

  &--small {
    @extend .btn;
    @include font(-1, 2.25);
    padding: rem(0 1);

  }

  &--full {
    display: block;
    text-align: center;
    width: 100%;
  }

  // types
  &--primary {
    @extend .btn;
    color: $colorFontLight;
    background: $colorCtaPrimary;

    &:hover {
      background: $colorCtaPrimaryHover;
    }

    &:active,
    &:focus {
      background: $colorCtaPrimaryActive;
    }

    &.btn--disabled,
    &[disabled] {
      background: $colorCtaPrimaryDisabled;
    }
  }

  &--secondary {
    @extend .btn;
    color: $colorCtaPrimary;
    border: 1px solid $colorCtaSecondaryBorder;
    background: transparent;

    &:hover {
      border-color: $colorCtaPrimary;
      background: rgba($colorCtaDisabledText, .6);
    }

    &:active,
    &:focus {
      border-color: $colorCtaPrimary;
      background: rgba($colorCtaPrimaryHover, .1);
    }

    &.btn--disabled,
    &[disabled] {
      background: rgba($colorCtaDisabledText, .6);
      border-color: $colorCtaSecondaryDisabled;
      color: $colorCtaSecondaryDisabled;
    }
  }


  &--secondary-alt {
    @extend .btn;
    color: $colorCtaAlternative;
    border: 1px solid $colorCtaAlternative;

    &:hover {
      background: rgba($colorCtaAlternativeBack, .3);
    }

    &:active,
    &:focus {
      border-color: rgba($colorCtaAlternative, .5);
      background: rgba($colorCtaAlternativeBack, .2);
    }

    &.btn--disabled,
    &[disabled] {
      border: 0;
      background: rgba($colorCtaAlternativeBack, .2);
      color: rgba($colorCtaAlternative, .2);
    }
  }

  &--link {
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    color: $colorCtaPrimary;
    background: none;
    font: inherit;
    line-height: 1em;
    height: 1em;

    &:hover {
      border-bottom-color: $colorCtaPrimary;
    }
  }

{'fraction_non_alphanumeric': 0.1973284760170006, 'fraction_numerical': 0.015786278081360048, 'mean_word_length': 1.9469290399522958, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5874680', 'n_tokens_mistral': 1784, 'n_tokens_neox': 1646, 'n_words': 339}