2012-06-29 04:46:45 +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-11-30 22:37:24 +00:00
|
|
|
margin-bottom: @base-line-height;
|
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-29 00:48:03 +00:00
|
|
|
margin-bottom: 2px;
|
|
|
|
border: 1px solid #e5e5e5;
|
2012-11-02 16:36:51 +00:00
|
|
|
border-radius: @baseBorderRadius;
|
2012-01-17 01:27:30 +00:00
|
|
|
}
|
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 05:48:58 +00:00
|
|
|
|
2012-04-24 08:23:24 +00:00
|
|
|
// General toggle styles
|
|
|
|
.accordion-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|