2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

cleanup accordion css and add comments

This commit is contained in:
Mark Otto
2012-01-17 23:24:59 -08:00
parent 9372fdbf97
commit 51f5b7b8af
4 changed files with 11 additions and 16 deletions
+5 -6
View File
@@ -1,10 +1,13 @@
// ACCORDION
// ---------
// Parent container
.accordion {
margin-bottom: @baseLineHeight;
}
// Group == heading + body
.accordion-group {
background-color: #f5f5f5;
.border-radius(4px);
@@ -13,16 +16,12 @@
padding: 8px 15px;
border-bottom: 0;
}
.accordion-body {
margin: 0 0 2px;
margin-bottom: 2px;
}
// Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner {
padding: 9px 15px;
border-top: 1px solid #e5e5e5;
}
.accordion .in {
margin-bottom: @baseLineHeight / 2;
}