Permalink
Browse files

Corner styling: allow controlgroup buttons to be wrapped in a LI

  • Loading branch information...
1 parent 28d77b9 commit 8ade80ac47d14f15ca254629d18c519845abb867 @jaspermdegroot jaspermdegroot committed Nov 6, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 css/structure/jquery.mobile.controlgroup.css
@@ -44,6 +44,7 @@
.ui-controlgroup-vertical .ui-checkbox:first-child .ui-btn,
.ui-controlgroup-vertical .ui-select:first-child .ui-btn,
.ui-controlgroup-vertical label:first-child + .ui-select,
+.ui-controlgroup-vertical > li:first-child,
.ui-controlgroup-vertical .ui-btn:first-child {
-webkit-border-top-left-radius: inherit;
border-top-left-radius: inherit;
@@ -53,6 +54,7 @@
.ui-controlgroup-vertical .ui-radio:last-child,
.ui-controlgroup-vertical .ui-checkbox:last-child,
.ui-controlgroup-vertical .ui-select:last-child,
+.ui-controlgroup-vertical > li:last-child,
.ui-controlgroup-vertical .ui-btn:last-child {
-webkit-border-bottom-left-radius: inherit;
border-bottom-left-radius: inherit;
@@ -66,6 +68,7 @@
.ui-controlgroup-horizontal .ui-checkbox:first-child .ui-btn,
.ui-controlgroup-horizontal .ui-select:first-child .ui-btn,
.ui-controlgroup-horizontal label:first-child + .ui-select,
+.ui-controlgroup-horizontal li:first-child,
.ui-controlgroup-horizontal .ui-btn:first-child {
-webkit-border-top-left-radius: inherit;
border-top-left-radius: inherit;
@@ -75,6 +78,7 @@
.ui-controlgroup-horizontal .ui-radio:last-child,
.ui-controlgroup-horizontal .ui-checkbox:last-child,
.ui-controlgroup-horizontal .ui-select:last-child,
+.ui-controlgroup-horizontal li:last-child,
.ui-controlgroup-horizontal .ui-btn:last-child {
-webkit-border-top-right-radius: inherit;
border-top-right-radius: inherit;

0 comments on commit 8ade80a

Please sign in to comment.