]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
un-nest .alert-heading & .alert-link
authorChris Rebert <code@rebertia.com>
Tue, 30 Dec 2014 00:03:22 +0000 (16:03 -0800)
committerChris Rebert <code@rebertia.com>
Tue, 30 Dec 2014 00:03:22 +0000 (16:03 -0800)
scss/_alert.scss

index f45114e856756ea8ae55bc45abc9ecca032de518..8ec7d066283b222c5aead2ee80b11a668ea48751 100644 (file)
   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 {
   }
 }
 
+// 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.