accordion.less 636 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // Accordion
  3. // --------------------------------------------------
  4. // Parent container
  5. .accordion {
  6. margin-bottom: @baseLineHeight;
  7. }
  8. // Group == heading + body
  9. .accordion-group {
  10. margin-bottom: 2px;
  11. border: 1px solid #e5e5e5;
  12. .border-radius(@baseBorderRadius);
  13. }
  14. .accordion-heading {
  15. border-bottom: 0;
  16. }
  17. .accordion-heading .accordion-toggle {
  18. display: block;
  19. padding: 8px 15px;
  20. }
  21. // General toggle styles
  22. .accordion-toggle {
  23. cursor: pointer;
  24. }
  25. // Inner needs the styles because you can't animate properly with any styles on the element
  26. .accordion-inner {
  27. padding: 9px 15px;
  28. border-top: 1px solid #e5e5e5;
  29. }