From: Guilherme Duarte Date: Thu, 10 Sep 2015 12:16:23 +0000 (+0200) Subject: Border width variable in list group items X-Git-Tag: v4.0.0-alpha.2~313^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df040671bb3a74eaf8bb6e0ba55823fff795080b;p=thirdparty%2Fbootstrap.git Border width variable in list group items Added usage of $border-width variable in all _list-group.scss references --- diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 4e3d73cc5a..cff9d17b79 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -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; } }