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

Commit

Permalink
removed focus outline disabling on buttons and active state, which ad…
Browse files Browse the repository at this point in the history
…dresses issue #2639, and helps with keyboard navigation.
  • Loading branch information
scottjehl committed Oct 7, 2011
1 parent f0403f9 commit 513940b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion themes/default/jquery.mobile.button.css
Expand Up @@ -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; }
Expand Down
1 change: 0 additions & 1 deletion themes/default/jquery.mobile.theme.css
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion themes/valencia/jquery.mobile.theme.css
Expand Up @@ -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;
Expand Down

0 comments on commit 513940b

Please sign in to comment.