2012-06-28 21:46:45 -07:00
|
|
|
//
|
|
|
|
// Accordion
|
|
|
|
// --------------------------------------------------
|
2012-01-15 18:40:17 -08:00
|
|
|
|
2012-01-17 23:24:59 -08:00
|
|
|
|
|
|
|
// Parent container
|
2012-01-15 18:40:17 -08:00
|
|
|
.accordion {
|
2013-05-10 09:21:27 -06:00
|
|
|
margin-bottom: @line-height-computed;
|
2012-01-15 18:40:17 -08:00
|
|
|
}
|
2012-01-15 21:48:58 -08:00
|
|
|
|
2012-01-17 23:24:59 -08:00
|
|
|
// Group == heading + body
|
2012-01-16 17:27:30 -08:00
|
|
|
.accordion-group {
|
2012-01-28 16:48:03 -08:00
|
|
|
margin-bottom: 2px;
|
2013-07-19 23:14:13 +05:00
|
|
|
border: 1px solid @accordion-border-color;
|
2012-11-30 14:45:25 -08:00
|
|
|
border-radius: @border-radius-base;
|
2012-01-16 17:27:30 -08:00
|
|
|
}
|
2012-01-15 18:40:17 -08:00
|
|
|
.accordion-heading {
|
2012-01-15 21:54:58 -08:00
|
|
|
border-bottom: 0;
|
2012-01-15 21:48:58 -08:00
|
|
|
|
2013-07-01 17:32:07 -07:00
|
|
|
.accordion-toggle {
|
|
|
|
display: block;
|
|
|
|
padding: 8px 15px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2012-04-24 01:23:24 -07:00
|
|
|
}
|
|
|
|
|
2012-01-17 23:24:59 -08:00
|
|
|
// Inner needs the styles because you can't animate properly with any styles on the element
|
2012-01-15 21:48:58 -08:00
|
|
|
.accordion-inner {
|
2012-01-17 23:19:21 -08:00
|
|
|
padding: 9px 15px;
|
2013-07-19 23:14:13 +05:00
|
|
|
border-top: 1px solid @accordion-border-color;
|
2012-01-15 18:40:17 -08:00
|
|
|
}
|