Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Revert "Revert "[controlgroup css] Turn off shadow for children, but …
Browse files Browse the repository at this point in the history
…not if ui-focus is present""

This reverts commit 1c40b0b.

St00pid IE < 9 doesn't have box-shadow either, so we can do this after all
  • Loading branch information
Gabriel Schulhof committed Nov 6, 2012
1 parent 1c40b0b commit 1103537
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/structure/jquery.mobile.controlgroup.css
Expand Up @@ -38,6 +38,7 @@
border-radius: inherit;
}

/* Override things we don't want children to have */
.ui-controlgroup .ui-radio,
.ui-controlgroup .ui-checkbox,
.ui-controlgroup .ui-select,
Expand All @@ -50,6 +51,11 @@
-webkit-border-radius: 0px;
border-radius: 0px;
}
.ui-controlgroup .ui-shadow:not(.ui-focus) {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}

.ui-controlgroup-vertical .ui-radio:first-child,
.ui-controlgroup-vertical .ui-checkbox:first-child,
Expand Down

0 comments on commit 1103537

Please sign in to comment.