<commit_before>.btn {
  color: RGB(var(--body-text));
}

.btn-link:hover {
  color: RGB(var(--body-text));
}

@each $color in $color-names {
  .btn-#{$color} {

    color: RGB(var(--#{$color}-text));
    background-color: var(--#{$color});
    border-color: var(--#{$color});
    border-width: 0;

    &:hover {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.10),
        rgba(0, 0, 0, 0.10)
      ) var(--#{$color});
    }

    &:not(:disabled):not(.disabled):active,
    &:not(:disabled):not(.disabled).active {
      border: none;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25)
      ) var(--#{$color});

      &:focus {
        background: linear-gradient(
          to top,
          rgba(0, 0, 0, 0.30),
          rgba(0, 0, 0, 0.30)
        ) var(--#{$color});
        box-shadow: none;
      }
    }

    &:focus,
    &:focus:hover {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0.30)
      ) var(--#{$color});
      box-shadow: none;
    }
  }

  .btn-outline-#{$color} {
    color: var(--#{$color});
  }
}<commit_msg>Make icons on buttons clickthrough to properly catch events<commit_after>.btn {
  color: RGB(var(--body-text));
}

.btn-link:hover {
  color: RGB(var(--body-text));
}

@each $color in $color-names {
  .btn-#{$color} {

    color: RGB(var(--#{$color}-text));
    background-color: var(--#{$color});
    border-color: var(--#{$color});
    border-width: 0;

    &:hover {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.10),
        rgba(0, 0, 0, 0.10)
      ) var(--#{$color});
    }

    &:not(:disabled):not(.disabled):active,
    &:not(:disabled):not(.disabled).active {
      border: none;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25)
      ) var(--#{$color});

      &:focus {
        background: linear-gradient(
          to top,
          rgba(0, 0, 0, 0.30),
          rgba(0, 0, 0, 0.30)
        ) var(--#{$color});
        box-shadow: none;
      }
    }

    &:focus,
    &:focus:hover {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0.30)
      ) var(--#{$color});
      box-shadow: none;
    }
  }

  .btn-outline-#{$color} {
    color: var(--#{$color});
  }
}

.btn {
  .fa {
    pointer-events: none;
  }
}
{'fraction_non_alphanumeric': 0.21270491803278688, 'fraction_numerical': 0.04016393442622951, 'mean_word_length': 1.8285052143684821, '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': '1361255', 'n_tokens_mistral': 1050, 'n_tokens_neox': 915, 'n_words': 184}