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
22 // Provide class for links that match alerts
24 font-weight: @alert-link-font-weight;
27 // Improve alignment and spacing of inner content
40 // Expand the right padding and account for the close button's positioning.
42 .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
44 padding-right: (@alert-padding + 20);
46 // Adjust close link position
57 // Generate contextual modifier classes for colorizing the alert.
60 .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
64 .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
68 .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
72 .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);