diff options
| author | Chris Rebert <[email protected]> | 2015-11-15 12:46:35 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-11-15 12:46:46 -0800 |
| commit | ca68331b8b1ed803acb4636ef2d5b3bf1f1dae85 (patch) | |
| tree | 6d393d7d5ec18323363e8d7de2b60b334e0b70d3 | |
| parent | e54a9d7e8d89599e4141db880a2a6310fe49d6ad (diff) | |
| download | bootstrap-ca68331b8b1ed803acb4636ef2d5b3bf1f1dae85.tar.xz bootstrap-ca68331b8b1ed803acb4636ef2d5b3bf1f1dae85.zip | |
Add $list-group-border-width; refs #18150
[skip sauce]
| -rw-r--r-- | scss/_list-group.scss | 6 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index e7fefa1fd..8b940adef 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 4a64b5921..c8121f9d7 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; |
