Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b8e05fe4e6c8bfd7a5546c5525231917baad8cd1 1 parent 4f44fe3
Jasper de Groot jaspermdegroot authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 css/themes/default/jquery.mobile.theme.css
10 css/themes/default/jquery.mobile.theme.css
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.