accordion.less 578 B

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