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

Commit

Permalink
Disable outline for buttons in lists as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Jun 21, 2012
1 parent c8d79d0 commit ebace70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions css/themes/default/jquery.mobile.theme.css
Expand Up @@ -1159,7 +1159,7 @@ a.ui-link-inherit {
/* Focus state - set here for specificity (note: these classes are added by JavaScript)
-----------------------------------------------------------------------------------------------------------*/

.ui-btn:focus {
.ui-btn:focus, .ui-link-inherit:focus {
outline: 0;
}

Expand All @@ -1181,7 +1181,8 @@ a.ui-link-inherit {

/* ...and bring back focus */
.ui-mobile-nosupport-boxshadow .ui-focus,
.ui-mobile-nosupport-boxshadow .ui-btn:focus {
.ui-mobile-nosupport-boxshadow .ui-btn:focus,
.ui-mobile-nosupport-boxshadow .ui-link-inherit:focus {
outline-width: 1px;
outline-style: dotted;
}

0 comments on commit ebace70

Please sign in to comment.