diff options
| author | Mark Otto <[email protected]> | 2013-08-02 17:57:19 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-02 17:57:19 -0700 |
| commit | 6b850132d056a136dc4734c4d68c9e1c23b7843e (patch) | |
| tree | 6bcf58a34128f4fc34369d78825600c44a598c77 /less | |
| parent | 0fefbbe65964cf4dae2f60b7651e77df9324d796 (diff) | |
| download | bootstrap-6b850132d056a136dc4734c4d68c9e1c23b7843e.tar.xz bootstrap-6b850132d056a136dc4734c4d68c9e1c23b7843e.zip | |
Remove requirement of `.list-group-flush` when list groups are in panels
Fixes #8900
Diffstat (limited to 'less')
| -rw-r--r-- | less/panels.less | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/less/panels.less b/less/panels.less index 691a15545..715ae1873 100644 --- a/less/panels.less +++ b/less/panels.less @@ -11,6 +11,24 @@ border: 1px solid @panel-border; border-radius: @panel-border-radius; .box-shadow(0 1px 1px rgba(0,0,0,.05)); + + // List groups in panels + .list-group { + margin: 15px -15px -15px; + + .list-group-item { + border-width: 1px 0; + + // Remove border radius for top one + &:first-child { + .border-top-radius(0); + } + // But keep it for the last one + &:last-child { + border-bottom: 0; + } + } + } } // Optional heading @@ -82,21 +100,3 @@ border-color: @panel-info-border; } } - -// List groups in panels -.list-group-flush { - margin: 15px -15px -15px; - - .list-group-item { - border-width: 1px 0; - - // Remove border radius for top one - &:first-child { - .border-top-radius(0); - } - // But keep it for the last one - &:last-child { - border-bottom: 0; - } - } -} |
