]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Border width variable in list group items 17558/head
authorGuilherme Duarte <gjsduarte@gmail.com>
Thu, 10 Sep 2015 12:16:23 +0000 (14:16 +0200)
committerGuilherme Duarte <gjsduarte@gmail.com>
Thu, 10 Sep 2015 12:16:23 +0000 (14:16 +0200)
Added usage of $border-width variable in all _list-group.scss references

scss/_list-group.scss

index 4e3d73cc5ab2dfe94741bc0ae24cee1e40edb882..cff9d17b79085483c5956b1eda31522472d03319 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: -.0625rem;
+  margin-bottom: -$border-width;
   background-color: $list-group-bg;
-  border: .0625rem solid $list-group-border;
+  border: $border-width solid $list-group-border;
 
   // Round the first and last items
   &:first-child {
@@ -34,7 +34,7 @@
 
 .list-group-flush {
   .list-group-item {
-    border-width: .0625rem 0;
+    border-width: $border-width 0;
     border-radius: 0;
   }
 }