7 padding: $alert-padding-y $alert-padding-x;
8 margin-bottom: $alert-margin-bottom;
9 border: $alert-border-width solid transparent;
10 @include border-radius($alert-border-radius);
13 // Headings for larger alerts
15 // Specified to prevent conflicts of changing $headings-color
19 // Provide class for links that match alerts
21 font-weight: $alert-link-font-weight;
27 // Expand the right padding and account for the close button's positioning.
30 padding-right: $close-font-size + $alert-padding-x * 2;
32 // Adjust close link position
38 padding: $alert-padding-y $alert-padding-x;
46 // Generate contextual modifier classes for colorizing the alert.
48 @each $color, $value in $theme-colors {
50 @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));