<commit_before>// Global alerts display important information
//
// .global-alert - Default alert
// .global-alert--error - Error alert
// .global-alert--warning - Warning alert
//
// Styleguide Global Alert

.global-alert {
  background: $color-global-alert-message-bg;
  @include clearfix();
}

.global-alert + .global-alert {
  margin-top: $baseline-unit*2;
}

.global-alert__content-container {
  min-height: $baseline-unit*8;
  padding: $baseline-unit*2 20px 0 70px;
  position: relative;

  &:before {
    background: $color-global-alert-default;
    bottom: 0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: $baseline-unit*8;
  }
}

.global-alert--error .global-alert__content-container:before {
  background: $color-global-alert-error;
}

.global-alert--warning .global-alert__content-container:before{
  background: $color-global-alert-warning;
}

.global-alert__message {
  @extend %type-small;
  display: table-cell;
  margin: 0;
  padding-bottom: $baseline-unit*2;
  width: 100%;
}

.global-alert__heading {
  display: table-cell;
  font-weight: 700;
  padding-right: 20px;
  width: 1%;
}

.global-alert__message:first-child {
  display: block;
  width: 100%;
}

<commit_msg>Add mobile view tweaks to global alert<commit_after>// Global alerts display important information
//
// .global-alert - Default alert
// .global-alert--error - Error alert
// .global-alert--warning - Warning alert
//
// Styleguide Global Alert

.global-alert {
  background: $color-global-alert-message-bg;
  @include clearfix();
}

.global-alert__content-container {
  min-height: $baseline-unit*4;
  padding: $baseline-unit*2 20px 0 35px;
  position: relative;

  @include respond-to($mq-m) {
    min-height: $baseline-unit*8;
    padding-left: 70px;
  };

  &:before {
    background: $color-global-alert-default;
    bottom: 0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: $baseline-unit*4;

    @include respond-to($mq-m) {
      width: $baseline-unit*8;
    };
  }
}

.global-alert--error .global-alert__content-container:before {
  background: $color-global-alert-error;
}

.global-alert--warning .global-alert__content-container:before{
  background: $color-global-alert-warning;
}

.global-alert__message {
  @extend %type-small;
  display: table-cell;
  margin: 0;
  padding-bottom: $baseline-unit*2;
  width: 100%;
}

.global-alert__heading {
  display: table-cell;
  font-weight: 700;
  padding-right: 20px;
  width: 1%;
}

.global-alert__message:first-child {
  display: block;
  width: 100%;
}


{'fraction_non_alphanumeric': 0.1506641366223909, 'fraction_numerical': 0.02314990512333966, 'mean_word_length': 3.286178861788618, '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': '1684693', 'n_tokens_mistral': 973, 'n_tokens_neox': 902, 'n_words': 188}