2012-01-28 23:42:07 +00:00
|
|
|
// ACCORDION
|
|
|
|
// ---------
|
2012-01-16 02:40:17 +00:00
|
|
|
|
2012-01-18 07:24:59 +00:00
|
|
|
|
|
|
|
// Parent container
|
2012-01-16 02:40:17 +00:00
|
|
|
.accordion {
|
2012-01-18 07:19:21 +00:00
|
|
|
margin-bottom: @baseLineHeight;
|
2012-01-16 02:40:17 +00:00
|
|
|
}
|
2012-01-16 05:48:58 +00:00
|
|
|
|
2012-01-18 07:24:59 +00:00
|
|
|
// Group == heading + body
|
2012-01-17 01:27:30 +00:00
|
|
|
.accordion-group {
|
2012-01-18 07:19:21 +00:00
|
|
|
background-color: #f5f5f5;
|
2012-01-17 01:27:30 +00:00
|
|
|
.border-radius(4px);
|
|
|
|
}
|
2012-01-16 02:40:17 +00:00
|
|
|
.accordion-heading {
|
2012-01-16 05:54:58 +00:00
|
|
|
border-bottom: 0;
|
2012-01-16 02:40:17 +00:00
|
|
|
}
|
2012-01-26 22:40:19 +00:00
|
|
|
.accordion-heading .accordion-toggle {
|
|
|
|
display: block;
|
|
|
|
padding: 8px 15px;
|
|
|
|
}
|
2012-01-16 02:40:17 +00:00
|
|
|
.accordion-body {
|
2012-01-18 07:24:59 +00:00
|
|
|
margin-bottom: 2px;
|
2012-01-16 02:40:17 +00:00
|
|
|
}
|
2012-01-16 05:48:58 +00:00
|
|
|
|
2012-01-18 07:24:59 +00:00
|
|
|
// Inner needs the styles because you can't animate properly with any styles on the element
|
2012-01-16 05:48:58 +00:00
|
|
|
.accordion-inner {
|
2012-01-18 07:19:21 +00:00
|
|
|
padding: 9px 15px;
|
|
|
|
border-top: 1px solid #e5e5e5;
|
2012-01-16 02:40:17 +00:00
|
|
|
}
|