summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/alerts.less
blob: b27cc5d27be58df28c32dcc819d17a86bbae428c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Alerts

.alert-variant(@background; @border; @text-color) {
  color: @text-color;
  background-color: @background;
  border-color: @border;

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

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