<commit_before>/* Buttons */

[type="button"],
[role="button"] {
  cursor: pointer;
}

button,
input[type="button"],
.button {
  padding: $spacing-02 $spacing-03;
  margin: 0 0 $spacing-04 0;
  transition: all 0.15s ease;
  width: auto;
  border: 1px solid $warm-black;
  background: $fair-pink;
  cursor: pointer;
  vertical-align: middle;
  white-space: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: smaller;
  color: $warm-black;

  &:hover,
  &:active,
  &:focus {
    border-color: $warm-black;
    background-color: $warm-black;
    color: $warm-white;
  }

  .feather {
    position: relative;
    top: 0.1em;
    height: 0.75em;
  }

  + .button {
    margin-left: $spacing-03;
  }
}

input[type="submit"],
button[type="submit"] {
  background-color: $warm-black;
  color: $warm-white;
}

button:disabled,
button[disabled],
input[disabled],
.button[disabled] {
  background-color: rgba($dark-grey, 0.15);
  border: 0;
  color: $warm-black;
  box-shadow: none;
  font-style: italic;
  cursor: not-allowed;
}

input[disabled] + label {
  color: rgba($dark-grey, 0.5)
}

// "Flat 3D"-style buttons for primary buttons only
.button--primary {
  position: relative;
  left: 0;
  top: 0;
  transition: all 0.15s ease;
  border-color: $sanguine;
  box-shadow: $spacing-01 $spacing-01 0 0 $sanguine;
  background-color: $warm-white;
  color: $sanguine;

  &:hover,
  &:active,
  &:focus {
    left: $spacing-01;
    top: $spacing-01;
    box-shadow: 0 0 0 0 $sanguine;
    background-color: $sanguine;
    border-color: $sanguine;
  }
}

.button--cta,
input[type="submit"],
button[type="submit"] {
  background-color: $grapefruit;
  border-color: $grapefruit;
  color: $warm-black;

  &:hover,
  &:active,
  &:focus {
    background-color: $grapefruit;
    border-color: $grapefruit;
    color: $warm-black;
  }
}

.button--secondary,
input[type="submit"].button--secondary,
button[type="submit"].button--secondary {
  position: relative;
  left: 0;
  top: 0;
  transition: all 0.15s ease;
  border-color: $warm-black;
  background-color: $fair-pink;
  box-shadow: $spacing-01 $spacing-01 0 0 $warm-black;
  color: $warm-black;

  &:hover,
  &:active,
  &:focus {
    left: $spacing-01;
    top: $spacing-01;
    box-shadow: 0 0 0 0 $warm-black;
  }
}
<commit_msg>Makee buttons more adaptive<commit_after>/* Buttons */

[type="button"],
[role="button"] {
  cursor: pointer;
}

button,
input[type="button"],
.button {
  padding: $spacing-02 $spacing-03;
  margin: 0 0 $spacing-04 0;
  transition: all 0.15s ease;
  width: auto;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  white-space: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: smaller;
  color: currentColor;

  &:hover,
  &:active,
  &:focus {
    border-color: $warm-black;
    background-color: $warm-black;
    color: $warm-white;
  }

  .feather {
    position: relative;
    top: 0.1em;
    height: 0.75em;
  }

  + .button {
    margin-left: $spacing-03;
  }
}

input[type="submit"],
button[type="submit"] {
  background-color: $warm-black;
  color: $warm-white;
}

button:disabled,
button[disabled],
input[disabled],
.button[disabled] {
  background-color: rgba($dark-grey, 0.15);
  border: 0;
  color: currentColor;
  box-shadow: none;
  font-style: italic;
  cursor: not-allowed;
}

input[disabled] + label {
  color: rgba($dark-grey, 0.5)
}

// "Flat 3D"-style buttons for primary buttons only
.button--primary {
  position: relative;
  left: 0;
  top: 0;
  transition: all 0.15s ease;
  border-color: $sanguine;
  box-shadow: $spacing-01 $spacing-01 0 0 $sanguine;
  background-color: $warm-white;
  color: $sanguine;

  &:hover,
  &:active,
  &:focus {
    left: $spacing-01;
    top: $spacing-01;
    box-shadow: 0 0 0 0 $sanguine;
    background-color: $sanguine;
    border-color: $sanguine;
  }
}

.button--cta,
input[type="submit"],
button[type="submit"] {
  background-color: $grapefruit;
  border-color: $grapefruit;
  color: $warm-black;

  &:hover,
  &:active,
  &:focus {
    background-color: $grapefruit;
    border-color: $grapefruit;
    color: $warm-black;
  }
}

.button--secondary,
input[type="submit"].button--secondary,
button[type="submit"].button--secondary {
  position: relative;
  left: 0;
  top: 0;
  transition: all 0.15s ease;
  border-color: currentColor;
  box-shadow: $spacing-01 $spacing-01 0 0 currentColor;

  &:hover,
  &:active,
  &:focus {
    left: $spacing-01;
    top: $spacing-01;
    border-color: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    color: currentColor;
  }
}

{'fraction_non_alphanumeric': 0.1644708882277943, 'fraction_numerical': 0.02889927751806205, 'mean_word_length': 3.403180542563143, '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': '798611', 'n_tokens_mistral': 1958, 'n_tokens_neox': 1771, 'n_words': 397}