summaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_alert.scss
blob: db5a7eb4549ec1406985347113efa74287a2f219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@mixin alert-variant($background, $border, $color) {
  color: $color;
  @include gradient-bg($background);
  border-color: $border;

  hr {
    border-top-color: darken($border, 5%);
  }

  .alert-link {
    color: darken($color, 10%);
  }
}