git.fiddlerwoaroof.com
Raw Blame History
// ACCORDION
// ---------


// Parent container
.accordion {
  margin-bottom: @baseLineHeight;
}

// Group == heading + body
.accordion-group {
  margin-bottom: 2pt;
  border: 1pt solid #e5e5e5;
  .border-radius(4pt);
}
.accordion-heading {
  border-bottom: 0;
}
.accordion-heading .accordion-toggle {
  display: block;
  padding: 8pt 15pt;
}

// General toggle styles
.accordion-toggle {
  cursor: pointer;
}

// Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner {
  padding: 9pt 15pt;
  border-top: 1pt solid #e5e5e5;
}