From ca68331b8b1ed803acb4636ef2d5b3bf1f1dae85 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 15 Nov 2015 12:46:35 -0800 Subject: [PATCH] Add $list-group-border-width; refs #18150 [skip sauce] --- scss/_list-group.scss | 6 +++--- scss/_variables.scss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index e7fefa1fd7..8b940adefc 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: -$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; } } diff --git a/scss/_variables.scss b/scss/_variables.scss index 4a64b59216..c8121f9d74 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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;