6 padding: $alert-padding-y $alert-padding-x;
7 margin-bottom: $alert-margin-bottom;
8 border: $alert-border-width solid transparent;
9 @include border-radius($alert-border-radius);
12 // Headings for larger alerts
14 // Specified to prevent conflicts of changing $headings-color
18 // Provide class for links that match alerts
20 font-weight: $alert-link-font-weight;
26 // Expand the right padding and account for the close button's positioning.
29 // Adjust close link position
32 top: -$alert-padding-y;
33 right: -$alert-padding-x;
34 padding: $alert-padding-y $alert-padding-x;
42 // Generate contextual modifier classes for colorizing the alert.
45 @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
48 @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
51 @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
54 @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);