diff options
author | Scott Jehl <scott@scottjehl.com> | 2008-12-12 20:29:48 +0000 |
---|---|---|
committer | Scott Jehl <scott@scottjehl.com> | 2008-12-12 20:29:48 +0000 |
commit | dd3e7ee88b1583e76956de336296a4f0b37731f2 (patch) | |
tree | 37bac6d2febcd8139e33b0f7e312db5d8fb25d2f | |
parent | f861e1db910cca6cbed8a16f2d9676edc716a0d2 (diff) | |
download | jquery-ui-dd3e7ee88b1583e76956de336296a4f0b37731f2.tar.gz jquery-ui-dd3e7ee88b1583e76956de336296a4f0b37731f2.zip |
added div for animation height workaround.
-rw-r--r-- | tests/static/accordion.html | 19 | ||||
-rw-r--r-- | themes/base/ui.accordion.css | 1 |
2 files changed, 13 insertions, 7 deletions
diff --git a/tests/static/accordion.html b/tests/static/accordion.html index bbba4e399..1d501fce4 100644 --- a/tests/static/accordion.html +++ b/tests/static/accordion.html @@ -12,19 +12,26 @@ <div class="ui-accordion ui-widget ui-helper-reset"> <div class="ui-accordion-group selected"> <h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" tabindex="0"><span class="ui-icon ui-icon-triangle-1-s"></span><a href="#">Test 1</a></h3> - <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px;"> - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p> + <div> + <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"> + <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p> + </div> </div> </div> <div class="ui-accordion-group"> <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Test 2</a></h3> - <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;"> - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> + <div> + <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;"> + <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> + </div> + </div> </div> <div class="ui-accordion-group"> <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Test 3</a></h3> - <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;"> - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> + <div> + <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;"> + <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> + </div> </div> </div> </div> diff --git a/themes/base/ui.accordion.css b/themes/base/ui.accordion.css index ce5341475..59642fccc 100644 --- a/themes/base/ui.accordion.css +++ b/themes/base/ui.accordion.css @@ -5,5 +5,4 @@ .selected .ui-accordion-header { border-bottom: 0; } .ui-accordion .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } .ui-accordion-header a { display: block; font-size: 1em; padding: .4em .5em .5em 2.2em; } -.ui-accordion-header .ui { border-bottom: 0; } .ui-accordion-content { padding: 1.5em 2.2em; border-top: 0; }
\ No newline at end of file |