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 {
.list-group-flush {
.list-group-item {
- border-width: $border-width 0;
+ border-width: $list-group-border-width 0;
border-radius: 0;
}
}
$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;