3 // --------------------------------------------------
7 // -------------------------
10 padding: @alert-padding;
11 margin-bottom: @line-height-computed;
12 border: 1px solid transparent;
13 border-radius: @alert-border-radius;
15 // Headings for larger alerts
18 // 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
38 // Expand the right padding and account for the close button's positioning.
40 .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
42 padding-right: (@alert-padding + 20);
44 // Adjust close link position
55 // Generate contextual modifier classes for colorizing the alert.
58 .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
61 .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
64 .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
67 .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);