1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

remove background from accordion, and use border instead

This commit is contained in:
Mark Otto 2012-01-28 16:48:03 -08:00
parent 475b985a0e
commit 06df91ac55
2 changed files with 4 additions and 8 deletions

View file

@ -3165,7 +3165,8 @@ a.thumbnail:hover {
margin-bottom: 18px; margin-bottom: 18px;
} }
.accordion-group { .accordion-group {
background-color: #f5f5f5; margin-bottom: 2px;
border: 1px solid #e5e5e5;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
@ -3177,9 +3178,6 @@ a.thumbnail:hover {
display: block; display: block;
padding: 8px 15px; padding: 8px 15px;
} }
.accordion-body {
margin-bottom: 2px;
}
.accordion-inner { .accordion-inner {
padding: 9px 15px; padding: 9px 15px;
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;

View file

@ -9,7 +9,8 @@
// Group == heading + body // Group == heading + body
.accordion-group { .accordion-group {
background-color: #f5f5f5; margin-bottom: 2px;
border: 1px solid #e5e5e5;
.border-radius(4px); .border-radius(4px);
} }
.accordion-heading { .accordion-heading {
@ -19,9 +20,6 @@
display: block; display: block;
padding: 8px 15px; padding: 8px 15px;
} }
.accordion-body {
margin-bottom: 2px;
}
// Inner needs the styles because you can't animate properly with any styles on the element // Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner { .accordion-inner {