diff options
| author | Mark Otto <[email protected]> | 2012-01-17 23:24:59 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-17 23:24:59 -0800 |
| commit | 51f5b7b8af6e0f6ef0dbe86528209cd664af240a (patch) | |
| tree | 9fe4f9c2abe69ee757fcbdf9c245eaef6898793b /lib | |
| parent | 9372fdbf9787b35535cf0c475edc00cc46e3906f (diff) | |
| download | bootstrap-51f5b7b8af6e0f6ef0dbe86528209cd664af240a.tar.xz bootstrap-51f5b7b8af6e0f6ef0dbe86528209cd664af240a.zip | |
cleanup accordion css and add comments
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/accordion.less | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/accordion.less b/lib/accordion.less index b7542b18f..a57683e7b 100644 --- a/lib/accordion.less +++ b/lib/accordion.less @@ -1,10 +1,13 @@ // ACCORDION // --------- + +// Parent container .accordion { margin-bottom: @baseLineHeight; } +// Group == heading + body .accordion-group { background-color: #f5f5f5; .border-radius(4px); @@ -13,16 +16,12 @@ padding: 8px 15px; border-bottom: 0; } - .accordion-body { - margin: 0 0 2px; + margin-bottom: 2px; } +// Inner needs the styles because you can't animate properly with any styles on the element .accordion-inner { padding: 9px 15px; border-top: 1px solid #e5e5e5; } - -.accordion .in { - margin-bottom: @baseLineHeight / 2; -} |
