Permalink
Browse files

Collapsibles: added rule that prevents double borders in a series of …

…individual collapsibles
  • Loading branch information...
1 parent 6780f94 commit d55eddafbe7f23bf275fcd6b879b51f8b58df24f @jaspermdegroot jaspermdegroot committed Jul 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 css/structure/jquery.mobile.collapsible.css
View
2 css/structure/jquery.mobile.collapsible.css
@@ -3,6 +3,8 @@
.ui-collapsible-inset .ui-collapsible-heading { margin: 0; }
.ui-collapsible-heading .ui-btn { text-align: left; margin: 0; border-left-width: 0; border-right-width: 0; }
.ui-collapsible-inset .ui-collapsible-heading .ui-btn { border-right-width: 1px; border-left-width: 1px; }
+.ui-collapsible-collapsed + .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn { border-top-width: 0; }
+.ui-collapsible-set .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn { border-top-width: 1px; }
.ui-collapsible-heading .ui-btn-inner,
.ui-collapsible-heading .ui-btn-icon-left .ui-btn-inner { padding-left: 40px; }
.ui-collapsible-heading .ui-btn-icon-right .ui-btn-inner { padding-left: 12px; padding-right: 40px; }

0 comments on commit d55edda

Please sign in to comment.