Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit cc197dfbfad644f4ac302ab161b6c45b8ff421df 1 parent 44d8637
@jaspermdegroot jaspermdegroot authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 css/themes/default/jquery.mobile.theme.css
View
8 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
-----------------------------------------------------------------------------------------------------------*/
Please sign in to comment.
Something went wrong with that request. Please try again.