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

Commit 710c251

Browse files
author
Gabriel Schulhof
committed
[controlgroup css] Turn off shadow for children, but not if ui-focus is present
1 parent 0ce7583 commit 710c251

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css/structure/jquery.mobile.controlgroup.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
border-radius: inherit;
3939
}
4040

41+
/* Override things we don't want children to have */
4142
.ui-controlgroup .ui-radio,
4243
.ui-controlgroup .ui-checkbox,
4344
.ui-controlgroup .ui-select,
@@ -50,6 +51,11 @@
5051
-webkit-border-radius: 0px;
5152
border-radius: 0px;
5253
}
54+
.ui-controlgroup .ui-shadow:not(.ui-focus) {
55+
-moz-box-shadow: none;
56+
-webkit-box-shadow: none;
57+
box-shadow: none;
58+
}
5359

5460
.ui-controlgroup-vertical .ui-radio:first-child,
5561
.ui-controlgroup-vertical .ui-checkbox:first-child,

0 commit comments

Comments
 (0)