3 // --------------------------------------------------
6 // -------------------------
9 padding: $alert-padding;
10 margin-bottom: $line-height-computed;
11 border: 1px solid transparent;
12 border-radius: $alert-border-radius;
14 // Headings for larger alerts
17 // Specified for the h4 to prevent conflicts of changing $headings-color
21 // Provide class for links that match alerts
23 font-weight: $alert-link-font-weight;
26 // Improve alignment and spacing of inner content
39 // Expand the right padding and account for the close button's positioning.
41 .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43 padding-right: ($alert-padding + 20);
45 // Adjust close link position
56 // Generate contextual modifier classes for colorizing the alert.
59 @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
63 @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
67 @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
71 @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);