Skip to content
This repository
Browse code

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
authored October 07, 2011
1  themes/default/jquery.mobile.button.css
@@ -4,7 +4,6 @@
4 4
 * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
5 5
 */
6 6
 .ui-btn { display: block; text-align: center; cursor:pointer;  position: relative; margin: .5em 5px; padding: 0; }
7  
-.ui-btn:focus, .ui-btn:active { outline: none; }
8 7
 .ui-header .ui-btn, .ui-footer .ui-btn, .ui-bar .ui-btn { display: inline-block; font-size: 13px; margin: 0; }
9 8
 .ui-btn-inline { display: inline-block; }
10 9
 .ui-btn-inner { padding: .6em 25px; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; position: relative; zoom: 1; }
1  themes/default/jquery.mobile.theme.css
@@ -739,7 +739,6 @@ a.ui-link-inherit {
739 739
 	background-image:     -ms-linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/); /* IE10 */
740 740
 	background-image:      -o-linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/); /* Opera 11.10+ */
741 741
 	background-image:         linear-gradient(top, #85bae4 /*{global-active-background-start}*/, #5393c5 /*{global-active-background-end}*/);
742  
-  	outline: none;
743 742
 	font-family: Helvetica, Arial, sans-serif /*{global-active-font}*/;
744 743
 }
745 744
 .ui-btn-active a.ui-link-inherit {
1  themes/valencia/jquery.mobile.theme.css
@@ -917,7 +917,6 @@ a.ui-link-inherit {
917 917
 
918 918
 /* set focus state last */
919 919
 .ui-focus {
920  
-  outline: none;
921 920
   -moz-box-shadow:    0px 0px 12px #FFBC19;
922 921
   -webkit-box-shadow: 0px 0px 12px #FFBC19;
923 922
   box-shadow:         0px 0px 12px #FFBC19;

0 notes on commit 513940b

Please sign in to comment.
Something went wrong with that request. Please try again.