Skip to content
This repository
Browse code

Adjust ui-focus to improve the focus style for grouped buttons

  • Loading branch information...
commit b8e05fe4e6c8bfd7a5546c5525231917baad8cd1 1 parent 4f44fe3
Jasper de Groot authored June 21, 2012
10  css/themes/default/jquery.mobile.theme.css
@@ -1161,11 +1161,15 @@ a.ui-link-inherit {
1161 1161
 	outline: 0;
1162 1162
 }
1163 1163
 
  1164
+.ui-btn.ui-focus {
  1165
+	z-index: 1;
  1166
+}
  1167
+
1164 1168
 .ui-focus,
1165 1169
 .ui-btn:focus {
1166  
-	-moz-box-shadow: 0px 0px 12px 		#387bbe /*{global-active-background-color}*/;
1167  
-	-webkit-box-shadow: 0px 0px 12px 	#387bbe /*{global-active-background-color}*/;
1168  
-	box-shadow: 0px 0px 12px 			#387bbe /*{global-active-background-color}*/;
  1170
+	-moz-box-shadow: inset 0px 0px 3px 		#387bbe /*{global-active-background-color}*/, 0px 0px 9px 		#387bbe /*{global-active-background-color}*/;
  1171
+	-webkit-box-shadow: inset 0px 0px 3px 	#387bbe /*{global-active-background-color}*/, 0px 0px 9px 		#387bbe /*{global-active-background-color}*/;
  1172
+	box-shadow: inset 0px 0px 3px 			#387bbe /*{global-active-background-color}*/, 0px 0px 9px 		#387bbe /*{global-active-background-color}*/;
1169 1173
 }
1170 1174
 
1171 1175
 /* unset box shadow in browsers that don't do it right

0 notes on commit b8e05fe

Please sign in to comment.
Something went wrong with that request. Please try again.