]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add $list-group-border-width; refs #18150 18257/head
authorChris Rebert <code@chrisrebert.com>
Sun, 15 Nov 2015 20:46:35 +0000 (12:46 -0800)
committerChris Rebert <code@chrisrebert.com>
Sun, 15 Nov 2015 20:46:46 +0000 (12:46 -0800)
[skip sauce]

scss/_list-group.scss
scss/_variables.scss

index e7fefa1fd738df9d93cf03c988f1bfef447e82aa..8b940adefc4d0320e9f4b707949ceda415c4f7fb 100644 (file)
@@ -18,9 +18,9 @@
   display: block;
   padding: .75rem 1.25rem;
   // Place the border on the list items and negative margin up for better styling
-  margin-bottom: -$border-width;
+  margin-bottom: -$list-group-border-width;
   background-color: $list-group-bg;
-  border: $border-width solid $list-group-border-color;
+  border: $list-group-border-width solid $list-group-border-color;
 
   // Round the first and last items
   &:first-child {
@@ -34,7 +34,7 @@
 
 .list-group-flush {
   .list-group-item {
-    border-width: $border-width 0;
+    border-width: $list-group-border-width 0;
     border-radius: 0;
   }
 }
index 4a64b59216b7869e461450d80822375e45fc904d..c8121f9d746d78d8b81cb09881962f3a6edd19fd 100644 (file)
@@ -569,6 +569,7 @@ $progress-bar-info-bg:        $brand-info !default;
 
 $list-group-bg:                 #fff !default;
 $list-group-border-color:       #ddd !default;
+$list-group-border-width:       $border-width !default;
 $list-group-border-radius:      $border-radius !default;
 
 $list-group-hover-bg:           #f5f5f5 !default;