Permalink
Browse files

The adjusted ui-focus style should only apply to buttons. Set them ba…

…ck to original style for text and search input.
  • Loading branch information...
1 parent 44d8637 commit cc197dfbfad644f4ac302ab161b6c45b8ff421df @jaspermdegroot jaspermdegroot committed Jun 26, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 css/themes/default/jquery.mobile.theme.css
@@ -1160,17 +1160,21 @@ a.ui-link-inherit {
.ui-btn:focus, .ui-link-inherit:focus {
outline: 0;
}
-
.ui-btn.ui-focus {
z-index: 1;
}
-
.ui-focus,
.ui-btn:focus {
-moz-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
-webkit-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
}
+.ui-input-text.ui-focus,
+.ui-input-search.ui-focus {
+ -moz-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
+ -webkit-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
+ box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
+}
/* unset box shadow in browsers that don't do it right
-----------------------------------------------------------------------------------------------------------*/

0 comments on commit cc197df

Please sign in to comment.