0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/less/accordion.less

34 lines
578 B
Plaintext
Raw Normal View History

// ACCORDION
// ---------
2012-01-18 08:24:59 +01:00
// Parent container
.accordion {
margin-bottom: @baseLineHeight;
}
2012-01-16 06:48:58 +01:00
2012-01-18 08:24:59 +01:00
// Group == heading + body
.accordion-group {
margin-bottom: 2px;
border: 1px solid #e5e5e5;
.border-radius(4px);
}
.accordion-heading {
border-bottom: 0;
}
2012-01-26 23:40:19 +01:00
.accordion-heading .accordion-toggle {
display: block;
padding: 8px 15px;
}
2012-01-16 06:48:58 +01:00
// General toggle styles
.accordion-toggle {
cursor: pointer;
}
2012-01-18 08:24:59 +01:00
// Inner needs the styles because you can't animate properly with any styles on the element
2012-01-16 06:48:58 +01:00
.accordion-inner {
padding: 9px 15px;
border-top: 1px solid #e5e5e5;
}