Skip to content

Commit b2cad8d

Browse files
The adjusted ui-focus style should only apply to buttons. Set them back to original style for text and search input.
1 parent b135686 commit b2cad8d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css/themes/default/jquery.mobile.theme.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,17 +1162,21 @@ a.ui-link-inherit {
11621162
.ui-btn:focus, .ui-link-inherit:focus {
11631163
outline: 0;
11641164
}
1165-
11661165
.ui-btn.ui-focus {
11671166
z-index: 1;
11681167
}
1169-
11701168
.ui-focus,
11711169
.ui-btn:focus {
11721170
-moz-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
11731171
-webkit-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
11741172
box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/;
11751173
}
1174+
.ui-input-text.ui-focus,
1175+
.ui-input-search.ui-focus {
1176+
-moz-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
1177+
-webkit-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
1178+
box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
1179+
}
11761180

11771181
/* unset box shadow in browsers that don't do it right
11781182
-----------------------------------------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)