<commit_before>@import "utils/type_sizing";

$alert-color: #600a06;
$alert-background: #fcd0ce;
$alert-border-color: #d0160c;

$notice-color: #1d5b25;
$notice-background: #b1e7b9;
$notice-border-color: #39b54a;

$orange: #f47738;

.flash-alert {
  color: $alert-color;
  background: $alert-background;
  border-bottom: 1px solid $alert-border-color;
}

.flash-notice {
  color: $notice-color;
  background: $notice-background;
  border-bottom: 1px solid $notice-border-color;
}

.flash-box {
  @include type-16;
  margin-bottom: 0;
  line-height: 3em;
  text-align: center;
  color: #444444;
}

.notices {
  .flash {
    @extend .flash-box;
  }

  .alert {
    @extend .flash-box;
    @extend .flash-alert;
  }

  .notice {
    @extend .flash-box;
    @extend .flash-notice;
  }
}

.alert {
  li {
    font-weight: bold;
  }

  p:last-child,
  form:last-child {
    margin-bottom: 0;
  }
}

.inline-submit {
  .notice {
    padding: 5px;<commit_msg>Convert flash helper classes to placeholders<commit_after>@import "utils/type_sizing";

$alert-color: #600a06;
$alert-background: #fcd0ce;
$alert-border-color: #d0160c;

$notice-color: #1d5b25;
$notice-background: #b1e7b9;
$notice-border-color: #39b54a;

$orange: #f47738;

%flash-alert {
  color: $alert-color;
  background: $alert-background;
  border-bottom: 1px solid $alert-border-color;
}

%flash-notice {
  color: $notice-color;
  background: $notice-background;
  border-bottom: 1px solid $notice-border-color;
}

%flash-box {
  @include type-16;
  margin-bottom: 0;
  line-height: 3em;
  text-align: center;
  color: #444444;
}

.notices {
  .flash {
    @extend %flash-box;
  }

  .alert {
    @extend %flash-box;
    @extend %flash-alert;
  }

  .notice {
    @extend %flash-box;
    @extend %flash-notice;
  }
}

.alert {
  li {
    font-weight: bold;
  }

  p:last-child,
  form:last-child {
    margin-bottom: 0;
  }
}

.inline-submit {
  .notice {
    padding: 5px;
{'fraction_non_alphanumeric': 0.16174183514774496, 'fraction_numerical': 0.041472265422498704, 'mean_word_length': 3.1594827586206895, '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': '2752218', 'n_tokens_mistral': 835, 'n_tokens_neox': 785, 'n_words': 146}