%inline-alert {
  font-style: normal;
  font-weight: normal;
}
%inline-alert-success,
%inline-alert-info,
%inline-alert-error,
%inline-alert-warning {
  @extend %inline-alert;
}
%inline-alert {
  color: inherit;
}
%inline-alert-error {
  color: $color-failure;
}
%inline-alert::before {
  font-size: 14px;
}
%inline-alert::before {
  @extend %as-pseudo;
}
%inline-alert-success::before {
  @extend %with-check-circle-fill-mask;
  color: $green-500;
}
%inline-alert-error::before {
  @extend %with-cancel-square-fill-mask;
  color: $red-500;
}
%inline-alert-warning::before {
  @extend %with-alert-triangle-mask;
  color: $orange-500;
  /* the warning triangle always looks */
  /* too low just because its a triangle */
  /* this tweak make it look better */
  margin-top: -9px;
}
%inline-alert-info::before {
  @extend %with-info-circle-fill-mask;
  color: $blue-500;
}
