Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…individual collapsibles
commit d55eddafbe7f23bf275fcd6b879b51f8b58df24f 1 parent 6780f94
@jaspermdegroot jaspermdegroot authored
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; }
Please sign in to comment.
Something went wrong with that request. Please try again.