1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Add $list-group-border-width; refs #18150

[skip sauce]
This commit is contained in:
Chris Rebert 2015-11-15 12:46:35 -08:00
parent e54a9d7e8d
commit ca68331b8b
2 changed files with 4 additions and 3 deletions

View 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;
}
}

View 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;