summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/assets/scss/_alerts.scss
blob: 5ce5cc22a2ca246f67960d0484f08eaddc0e3ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Style alert boxes.

.alert {
    font-weight: $font-weight-medium;
    background: $white;
    color: inherit;
    border-radius: 0;

    @each $color, $value in $theme-colors {
        &-#{$color} {
            & .alert-heading {
                color: $value;
            }

            border-style: solid;
            border-color: $value;
            border-width: 0 0 0 4px;
        }
    }
}