aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-12-29 16:03:22 -0800
committerChris Rebert <[email protected]>2014-12-29 16:03:22 -0800
commit10f703f3b0ed5890d2a7114e49f2b816548e7d4c (patch)
tree7d94a1a4e51c9bc68e3c89c7a83338876f3855e5
parentd0c2a82ea863ad2b0612ebff99763e6558693553 (diff)
downloadbootstrap-10f703f3b0ed5890d2a7114e49f2b816548e7d4c.tar.xz
bootstrap-10f703f3b0ed5890d2a7114e49f2b816548e7d4c.zip
un-nest .alert-heading & .alert-link
-rw-r--r--scss/_alert.scss23
1 files changed, 12 insertions, 11 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index f45114e85..8ec7d0662 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -12,17 +12,6 @@
border: 1px solid transparent;
@include border-radius($alert-border-radius);
- // Headings for larger alerts
- .alert-heading {
- margin-top: 0;
- // Specified to prevent conflicts of changing $headings-color
- color: inherit;
- }
- // Provide class for links that match alerts
- .alert-link {
- font-weight: $alert-link-font-weight;
- }
-
// Improve alignment and spacing of inner content
> p,
> ul {
@@ -33,6 +22,18 @@
}
}
+// Headings for larger alerts
+.alert-heading {
+ margin-top: 0;
+ // Specified to prevent conflicts of changing $headings-color
+ color: inherit;
+}
+
+// Provide class for links that match alerts
+.alert-link {
+ font-weight: $alert-link-font-weight;
+}
+
// Dismissible alerts
//
// Expand the right padding and account for the close button's positioning.