diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-30 02:35:37 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-30 02:35:37 +0000 |
commit | 2c1d4675a8e5424861db3d797e5fa38760c0a872 (patch) | |
tree | 40a1845d00059c29434c1af3dff0ef2499a0b51b /themes | |
parent | 1631cf4ba3615ac6b61a3bf298c7132081dc28ea (diff) | |
download | jquery-ui-2c1d4675a8e5424861db3d797e5fa38760c0a872.tar.gz jquery-ui-2c1d4675a8e5424861db3d797e5fa38760c0a872.zip |
Accordion: Fixed #3788: Removed wrapper divs and smoothed animations, allowing accordions to work with dl's and ul's again.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/ui.accordion.css | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/base/ui.accordion.css b/themes/base/ui.accordion.css index 0d4bca4df..c84ad4e91 100644 --- a/themes/base/ui.accordion.css +++ b/themes/base/ui.accordion.css @@ -1,9 +1,9 @@ /* Accordion ----------------------------------*/ -.ui-accordion .ui-accordion-group {margin-bottom: 1px;} -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; zoom: 1; } -.ui-accordion .ui-accordion-selected .ui-accordion-header { border-bottom: 0; } -.ui-accordion .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion li {display: inline;} +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } -.ui-accordion .ui-accordion-content-wrap { border-top: 0; margin-top: -1px; position: relative; top: 1px; margin-bottom: 2px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } +.ui-accordion .ui-accordion-content-active { display: block; }
\ No newline at end of file |