Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed focus outline disabling on buttons and active state, which ad…

…dresses issue #2639, and helps with keyboard navigation.
  • Loading branch information...
commit 513940b88c3ef83e7081c89009c8564d916e3656 1 parent f0403f9
scottjehl authored
View
1  themes/default/jquery.mobile.button.css
@@ -4,7 +4,6 @@
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
*/
.ui-btn { display: block; text-align: center; cursor:pointer; position: relative; margin: .5em 5px; padding: 0; }
-.ui-btn:focus, .ui-btn:active { outline: none; }
.ui-header .ui-btn, .ui-footer .ui-btn, .ui-bar .ui-btn { display: inline-block; font-size: 13px; margin: 0; }
.ui-btn-inline { display: inline-block; }
.ui-btn-inner { padding: .6em 25px; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; position: relative; zoom: 1; }
View
1  themes/default/jquery.mobile.theme.css
@@ -739,7 +739,6 @@ a.ui-link-inherit {
background-image: -ms-linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/); /* IE10 */
background-image: -o-linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/); /* Opera 11.10+ */
background-image: linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/);
- outline: none;
font-family: Helvetica, Arial, sans-serif /*{global-active-font}*/;
}
.ui-btn-active a.ui-link-inherit {
View
1  themes/valencia/jquery.mobile.theme.css
@@ -917,7 +917,6 @@ a.ui-link-inherit {
/* set focus state last */
.ui-focus {
- outline: none;
-moz-box-shadow: 0px 0px 12px #FFBC19;
-webkit-box-shadow: 0px 0px 12px #FFBC19;
box-shadow: 0px 0px 12px #FFBC19;
Please sign in to comment.
Something went wrong with that request. Please try again.