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

Commit

Permalink
Adjust ui-focus to improve the focus style for grouped buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Jun 21, 2012
1 parent 4f44fe3 commit b8e05fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions css/themes/default/jquery.mobile.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1161,11 +1161,15 @@ a.ui-link-inherit {
outline: 0;
}

.ui-btn.ui-focus {
z-index: 1;
}

.ui-focus,
.ui-btn: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}*/;
-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}*/;
}

/* unset box shadow in browsers that don't do it right
Expand Down

0 comments on commit b8e05fe

Please sign in to comment.