]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#17895 Added $alert-border-width that defaults to $border-width 17939/head
authorChris Bell <chris@mangohill.net>
Thu, 15 Oct 2015 14:57:15 +0000 (15:57 +0100)
committerChris Bell <chris@mangohill.net>
Thu, 15 Oct 2015 14:57:15 +0000 (15:57 +0100)
scss/_alert.scss
scss/_variables.scss

index 8e550d8f73f770c117631dc348d21b8b43b82684..b9f6c60dad2e069bccd60d0dcd5849c345c693b3 100644 (file)
@@ -5,7 +5,7 @@
 .alert {
   padding: $alert-padding;
   margin-bottom: $spacer-y;
-  border: 1px solid transparent;
+  border: $alert-border-width solid transparent;
   @include border-radius($alert-border-radius);
 
   // Improve alignment and spacing of inner content
index dd331d9bc9977636a1612b4da2bfeea9af58807e..26db184604c57add458ac87be7876e014c40c970 100644 (file)
@@ -525,6 +525,7 @@ $modal-sm:                    300px !default;
 $alert-padding:               15px !default;
 $alert-border-radius:         $border-radius !default;
 $alert-link-font-weight:      bold !default;
+$alert-border-width:          $border-width !default;
 
 $alert-success-bg:            $state-success-bg !default;
 $alert-success-text:          $state-success-text !default;