Skip to content

Commit

Permalink
Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Aug 11, 2013
2 parents 89b3cb0 + 9b07b99 commit b8ed111
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
8 changes: 8 additions & 0 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2426,6 +2426,14 @@ a.list-group-item.active .list-group-item-text {
border-bottom: 0;
}

.panel-heading + .list-group {
margin-top: -15px;
}

.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
}

.panel-heading {
padding: 10px 15px;
margin: -15px -15px 15px;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
}

// Toggles
.glyphicon,
.icon-prev,
.icon-next {
position: absolute;
Expand Down
15 changes: 14 additions & 1 deletion less/panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion less/scaffolding.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit b8ed111

Please sign in to comment.