<commit_before>$gradient-start: #7166d9;
$gradient-end: #c86dd7;
$inverse-hover: #fafbff;
$base-class: 'button';

@mixin button-variant($color, $hover: null, $shadow: null) {
  @if not $shadow {
    $shadow: adjust-color($color, $lightness: -20%, $saturation: 20%);
  }

  @if not $hover {
    $hover: darken($color, 5%);
  }

  background-color: $color;
  box-shadow: 0 2px 0 $shadow, 0 3px 5px 0 rgba($black, 0.15);

  &.#{$base-class}--disabled {
    &:hover {
      background-color: $color;
    }
  }

  &:hover {
    background-color: $hover;
  }
}

.#{$base-class} {
  @include user-select(none);
  @include transition(background 150ms ease-in-out, top 50ms ease-in-out, box-shadow 50ms ease-in-out, border 50ms ease-in-out);
  @include button-variant($link);
  position: relative;
  height: 38px;
  text-align: center;
  color: $white;
  line-height: 36px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  font-size: $medium;
  font-family: 'Oxygen', $helvetica;
  font-weight: $bold;
  display: inline-block;
  padding: 0 $pad-large;
  top: 0;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;

  &:active {
    box-shadow: 0 0 0 $black, 0 1px 2px rgba($black, .15), 0 -1px 0 rgba($white, .1) inset;
    top: 2px;
  }

  &:focus {
    outline: none;
  }

  &--brand {
    @include button-variant($brand);
  }

  &--success {
    @include button-variant($success);
  }

  &--alert {
    @include button-variant($alert);
  }

  &--warning {
    @include button-variant($warning);
  }

  &--inverse {
    @include button-variant($white, $inverse-hover, $brand);
    color: $brand;
    border: 1px solid $brand;
    border-bottom-color: $white;

    &:active {
      border-bottom-color: $brand;
    }
  }

  &--disabled {
    opacity: 0.4;
    cursor: default;
  }

  &--small {
    height: 28px;
    line-height: 26px;
    padding: 0 $pad-medium;
  }

  &--large {
    height: 48px;
    line-height: 46px;
  }

  &--gradient {
    background-color: transparent;
    background-image: linear-gradient(134deg, $gradient-start 0%, $gradient-end 100%);
    color: $white;
    font-size: $large;
    font-weight: $light;
    letter-spacing: 4px;
    padding: $medium;
    width: 100%;
    height: auto;
    box-shadow: none;
  }<commit_msg>Updating Gradient Button styles (#606)<commit_after>$gradient-start: #7166d9;
$gradient-end: #c86dd7;
$inverse-hover: #fafbff;
$base-class: 'button';

@mixin button-variant($color, $hover: null, $shadow: null) {
  @if not $shadow {
    $shadow: adjust-color($color, $lightness: -20%, $saturation: 20%);
  }

  @if not $hover {
    $hover: darken($color, 5%);
  }

  background-color: $color;
  box-shadow: 0 2px 0 $shadow, 0 3px 5px 0 rgba($black, 0.15);

  &.#{$base-class}--disabled {
    &:hover {
      background-color: $color;
    }
  }

  &:hover {
    background-color: $hover;
  }
}

.#{$base-class} {
  @include user-select(none);
  @include transition(background 150ms ease-in-out, top 50ms ease-in-out, box-shadow 50ms ease-in-out, border 50ms ease-in-out);
  @include button-variant($link);
  position: relative;
  height: 38px;
  text-align: center;
  color: $white;
  line-height: 36px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  font-size: $medium;
  font-family: 'Oxygen', $helvetica;
  font-weight: $bold;
  display: inline-block;
  padding: 0 $pad-large;
  top: 0;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;

  &:active {
    box-shadow: 0 0 0 $black, 0 1px 2px rgba($black, .15), 0 -1px 0 rgba($white, .1) inset;
    top: 2px;
  }

  &:focus {
    outline: none;
  }

  &--brand {
    @include button-variant($brand);
  }

  &--success {
    @include button-variant($success);
  }

  &--alert {
    @include button-variant($alert);
  }

  &--warning {
    @include button-variant($warning);
  }

  &--inverse {
    @include button-variant($white, $inverse-hover, $brand);
    color: $brand;
    border: 1px solid $brand;
    border-bottom-color: $white;

    &:active {
      border-bottom-color: $brand;
    }
  }

  &--disabled {
    opacity: 0.4;
    cursor: default;
  }

  &--small {
    height: 28px;
    line-height: 26px;
    padding: 0 $pad-medium;
  }

  &--large {
    height: 48px;
    line-height: 46px;
  }

  &--gradient {
    background-color: transparent;
    background-image: linear-gradient(134deg, $gradient-start 0%, $gradient-end 100%);
    color: $white;
    font-size: $large;
    font-weight: $light;
    letter-spacing: 4px;
    padding: $medium;
    width: 100%;
    height: auto;
    box-shadow: inset 0 -3px 0px 0 rgba(0, 0, 0, 0.25), 0 -2px 3px 0 rgba(0, 0, 0, 0.15);

    &:active {
      box-shadow: 0 1px 0 #734893, 0 -2px 0 #D1D9E9;
    }
  }
{'fraction_non_alphanumeric': 0.17047861075815332, 'fraction_numerical': 0.04066073697585769, 'mean_word_length': 2.8150242326332795, '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': '6337572', 'n_tokens_mistral': 2010, 'n_tokens_neox': 1768, 'n_words': 422}