Skip to content

Commit

Permalink
Remove :focus and :hover rules from .navbar-toggle (daattali#297)
Browse files Browse the repository at this point in the history
fixes daattali#268
:focus - #ddd color linger on desktop
:hover - #ddd color linger on touchscreen
aria-expanded="true" - set #ddd color when expanded
  • Loading branch information
jennydaman authored and daattali committed Jan 6, 2018
1 parent f79eb8a commit 8ca6252
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,3 +741,14 @@ td.gutter {
.gist, .gist-file table tr td {
border: unset;
}

/* fix .navbar-toggle */

.navbar-default button.navbar-toggle:focus,
.navbar-default button.navbar-toggle:hover {
background-color: initial;
}

.navbar-default button.navbar-toggle[aria-expanded="true"] {
background-color: #ddd;
}

0 comments on commit 8ca6252

Please sign in to comment.