<commit_before>/*------------------------------------*\
    $MESSAGING
\*------------------------------------*/

.a-message {
  position: relative;
  display: inline-block;
  min-width: 200px;
  padding: $spacer + 2px $spacer * 2 $spacer $spacer * 2;
  margin-top: 12px;
  clear: both;
  background-color: $grey-medium;
  box-shadow: $shadow;

  &::after {
    position: absolute;
    top: 1px;
    bottom: 100%;
    left: 2 * $spacer;
    box-sizing: border-box;
    width: 0;
    height: 0;
    margin-left: $spacer;
    content: ' ';
    border: 6px solid $black;
    border-color: transparent transparent $yellow-light $yellow-light;
    border-width: 6px;
    box-shadow: -2px 2px 2px -2px $black-opacity-01;
    transform: rotate( 135deg );
    transform-origin: 0 0;
  }

  &.a-message--arrow-off {
    margin-top: 0;

    &::after {
      content: none;
    }
  }

  &.a-message--fullwidth {
    float: none;
    width: 100%;
  }

  &.a-message--extendLeft {
    width: calc(100% + 24px);
    padding-right: $spacer;
    padding-left: $spacer;
    margin-right: -$spacer;
    margin-left: -$spacer;

    @include media-breakpoint-up( md ) {
      width: calc(100% + 60px);
      padding-left: $spacer * 5;
      margin-right: 0;
      margin-left: -$spacer * 5;
    }
  }

  &.a-message--extendX {
    width: calc(100% + 24px);
    padding-right: $spacer;
    padding-left: $spacer;
    margin-right: -$spacer;
    margin-left: -$spacer;

    @include media-breakpoint-up( md ) {
      width: calc(100% + 120px);
      padding-right: $spacer * 5;
      padding-left: $spacer * 5;
      margin-right: -$spacer * 5;
      margin-left: -$spacer * 5;
    }
  }

  &.a-message--no-dropshadow {
    box-shadow: none;
  }

  &.a-py-minus-1 {
    @extend .a-py-minus-1;
  }
}

.a-message-error {
  background-color: $red-light;

  &::after {
    border-color: transparent transparent $red-light $red-light;
  }
}

.a-message-default {
  background-color: $grey-light;

  &::after {
    border-color: transparent transparent $grey-light $grey-light;
  }
}

.a-message-success {
  background-color: $green-light;

  &::after {
    border-color: transparent transparent $green-light $green-light;
  }
}

.a-message-info {
  background-color: $yellow-light;

  &::after {
    border-bottom-color: $yellow-light;
  }
}

.a-message-edit {
  background-color: $blue-light;
}

.a-link-chat {
  position: relative;
  z-index: 1;
  display: inline;
  padding-bottom: 2px;
  color: $black;
  cursor: pointer;
  border-bottom: 2px solid $blue;
}
<commit_msg>Moved message variations into a-message so they get the correct importance<commit_after>/*------------------------------------*\
    $MESSAGING
\*------------------------------------*/

.a-message {
  position: relative;
  display: inline-block;
  min-width: 200px;
  padding: $spacer + 2px $spacer * 2 $spacer $spacer * 2;
  margin-top: 12px;
  clear: both;
  background-color: $grey-medium;
  box-shadow: $shadow;

  &::after {
    position: absolute;
    top: 1px;
    bottom: 100%;
    left: 2 * $spacer;
    box-sizing: border-box;
    width: 0;
    height: 0;
    margin-left: $spacer;
    content: ' ';
    border: 6px solid $black;
    border-color: transparent transparent $yellow-light $yellow-light;
    border-width: 6px;
    box-shadow: -2px 2px 2px -2px $black-opacity-01;
    transform: rotate( 135deg );
    transform-origin: 0 0;
  }

  &.a-message--arrow-off {
    margin-top: 0;

    &::after {
      content: none;
    }
  }

  &.a-message--fullwidth {
    float: none;
    width: 100%;
  }

  &.a-message--extendLeft {
    width: calc(100% + 24px);
    padding-right: $spacer;
    padding-left: $spacer;
    margin-right: -$spacer;
    margin-left: -$spacer;

    @include media-breakpoint-up( md ) {
      width: calc(100% + 60px);
      padding-left: $spacer * 5;
      margin-right: 0;
      margin-left: -$spacer * 5;
    }
  }

  &.a-message--extendX {
    width: calc(100% + 24px);
    padding-right: $spacer;
    padding-left: $spacer;
    margin-right: -$spacer;
    margin-left: -$spacer;

    @include media-breakpoint-up( md ) {
      width: calc(100% + 120px);
      padding-right: $spacer * 5;
      padding-left: $spacer * 5;
      margin-right: -$spacer * 5;
      margin-left: -$spacer * 5;
    }
  }

  &.a-message--no-dropshadow {
    box-shadow: none;
  }

  &.a-py-minus-1 {
    @extend .a-py-minus-1;
  }

  &.a-message-error {
    background-color: $red-light;

    &::after {
      border-color: transparent transparent $red-light $red-light;
    }
  }

  &.a-message-default {
    background-color: $grey-light;

    &::after {
      border-color: transparent transparent $grey-light $grey-light;
    }
  }

  &.a-message-success {
    background-color: $green-light;

    &::after {
      border-color: transparent transparent $green-light $green-light;
    }
  }

  &.a-message-info {
    background-color: $yellow-light;

    &::after {
      border-bottom-color: $yellow-light;
    }
  }

  &.a-message-edit {
    background-color: $blue-light;
  }
}

.a-link-chat {
  position: relative;
  z-index: 1;
  display: inline;
  padding-bottom: 2px;
  color: $black;
  cursor: pointer;
  border-bottom: 2px solid $blue;
}

{'fraction_non_alphanumeric': 0.18457405986185726, 'fraction_numerical': 0.0249424405218726, 'mean_word_length': 2.198159509202454, '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': '1675353', 'n_tokens_mistral': 2063, 'n_tokens_neox': 1899, 'n_words': 396}