Skip to content
Permalink
Browse files

Accordion: Simplify CSS so content panels never have a top border ins…

…tead of toggling the bottom border of the headers.
  • Loading branch information
scottgonzalez committed Feb 9, 2012
1 parent c964894 commit 518975391ac5d35b9e1b3e4e4a9661c477a5a863
Showing with 1 addition and 3 deletions.
  1. +1 −3 themes/base/jquery.ui.accordion.css
@@ -10,12 +10,10 @@
/* IE/Win - Fix animation bug - #4615 */
.ui-accordion { width: 100%; }
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 2px; zoom: 1; }
.ui-accordion .ui-accordion-header-active,
.ui-accordion .ui-accordion .ui-accordion-header-active { border-bottom: 0; }
.ui-accordion .ui-accordion-heading { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
.ui-accordion-icons a.ui-accordion-heading { padding-left: 2.2em; }
.ui-accordion-noicons a.ui-accordion-heading { padding-left: .7em; }
.ui-accordion-icons .ui-accordion-icons a.ui-accordion-heading { padding-left: 2.2em; }
.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; overflow: auto; display: none; zoom: 1; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
.ui-accordion .ui-accordion-content-active { display: block; }

0 comments on commit 5189753

Please sign in to comment.
You can’t perform that action at this time.