diff options
| author | Jacob Thornton <[email protected]> | 2013-08-11 15:17:30 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2013-08-11 15:17:30 -0700 |
| commit | b8ed111a18deaa766862f9bb0a5dd340a3d02675 (patch) | |
| tree | 9d1b594daadd11893f3df0ce638b87fce5693d4d /less | |
| parent | 89b3cb0dacd71fc7b20e125851f05f9ed266b50d (diff) | |
| parent | 9b07b999d2d133487347f3b7a24dc72c47b52506 (diff) | |
| download | bootstrap-b8ed111a18deaa766862f9bb0a5dd340a3d02675.tar.xz bootstrap-b8ed111a18deaa766862f9bb0a5dd340a3d02675.zip | |
Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
Diffstat (limited to 'less')
| -rw-r--r-- | less/carousel.less | 1 | ||||
| -rw-r--r-- | less/panels.less | 15 | ||||
| -rw-r--r-- | less/scaffolding.less | 2 |
3 files changed, 15 insertions, 3 deletions
diff --git a/less/carousel.less b/less/carousel.less index fbb479904..8d31d7e49 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -97,7 +97,6 @@ } // Toggles - .glyphicon, .icon-prev, .icon-next { position: absolute; diff --git a/less/panels.less b/less/panels.less index c1158d14f..c6d96b39f 100644 --- a/less/panels.less +++ b/less/panels.less @@ -11,8 +11,14 @@ border: 1px solid @panel-border; border-radius: @panel-border-radius; .box-shadow(0 1px 1px rgba(0,0,0,.05)); +} + +// List groups in panels +// +// By default, space out list group content from panel headings to account for +// any kind of custom content between the two. - // List groups in panels +.panel { .list-group { margin: 15px -15px -15px; @@ -30,6 +36,13 @@ } } } +// Collapse space between when there's no additional content. +.panel-heading + .list-group { + margin-top: -15px; + .list-group-item:first-child { + border-top-width: 0; + } +} // Optional heading .panel-heading { diff --git a/less/scaffolding.less b/less/scaffolding.less index 3909704bf..5c7b5bb84 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -79,7 +79,7 @@ img { // Perfect circle .img-circle { - border-radius: 500px; // crank the border-radius so it works with most reasonably sized images + border-radius: 50%; // set radius in percents } |
