0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-15 15:29:22 +01:00

Merge pull request #17558 from gjsduarte/v4-dev

Border width variable in list group items
This commit is contained in:
Mark Otto 2015-09-10 08:48:45 -07:00
commit c9dc0b9228

View File

@ -18,9 +18,9 @@
display: block; display: block;
padding: .75rem 1.25rem; padding: .75rem 1.25rem;
// Place the border on the list items and negative margin up for better styling // 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; background-color: $list-group-bg;
border: .0625rem solid $list-group-border; border: $border-width solid $list-group-border;
// Round the first and last items // Round the first and last items
&:first-child { &:first-child {
@ -34,7 +34,7 @@
.list-group-flush { .list-group-flush {
.list-group-item { .list-group-item {
border-width: .0625rem 0; border-width: $border-width 0;
border-radius: 0; border-radius: 0;
} }
} }