Permalink
Browse files

[controlgroup css] Remove border radii for all controlgroup members b…

…efore specifying that the first and last children should have rounded corners
  • Loading branch information...
1 parent b26cbf2 commit 0ce7583f84c25338f8bbb0b64c6343a701b1d552 @gabrielschulhof gabrielschulhof committed Nov 6, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 css/structure/jquery.mobile.controlgroup.css
@@ -37,6 +37,20 @@
-webkit-border-radius: inherit;
border-radius: inherit;
}
+
+.ui-controlgroup .ui-radio,
+.ui-controlgroup .ui-checkbox,
+.ui-controlgroup .ui-select,
+.ui-controlgroup .ui-radio .ui-btn,
+.ui-controlgroup .ui-checkbox .ui-btn,
+.ui-controlgroup .ui-select .ui-btn,
+.ui-controlgroup label + .ui-select,
+.ui-controlgroup > li,
+.ui-controlgroup .ui-btn {
+ -webkit-border-radius: 0px;
+ border-radius: 0px;
+}
+
.ui-controlgroup-vertical .ui-radio:first-child,
.ui-controlgroup-vertical .ui-checkbox:first-child,
.ui-controlgroup-vertical .ui-select:first-child,
@@ -92,4 +106,4 @@
.ui-field-contain .ui-controlgroup .ui-select { width: 100%; display: block; }
.ui-field-contain .ui-controlgroup-horizontal .ui-select { width: auto; }
.ui-hide-label .ui-controlgroup-controls { width: 100%; }
-}
+}

0 comments on commit 0ce7583

Please sign in to comment.