0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-11 03:52:27 +01:00
Bootstrap/less/accordion.less

32 lines
619 B
Plaintext
Raw Normal View History

2012-06-28 21:46:45 -07:00
//
// Accordion
// --------------------------------------------------
2012-01-17 23:24:59 -08:00
// Parent container
.accordion {
margin-bottom: @line-height-computed;
}
2012-01-15 21:48:58 -08:00
2012-01-17 23:24:59 -08:00
// Group == heading + body
.accordion-group {
margin-bottom: 2px;
border: 1px solid @accordion-border-color;
border-radius: @border-radius-base;
}
.accordion-heading {
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-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 {
padding: 9px 15px;
border-top: 1px solid @accordion-border-color;
}