0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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;
}
.accordion-group {
background-color: #f5f5f5;
margin-bottom: 2px;
border: 1px solid #e5e5e5;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
@ -3177,9 +3178,6 @@ a.thumbnail:hover {
display: block;
padding: 8px 15px;
}
.accordion-body {
margin-bottom: 2px;
}
.accordion-inner {
padding: 9px 15px;
border-top: 1px solid #e5e5e5;

View File

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