Skip to content

Commit

Permalink
Remove :focus and :hover rules from .navbar-toggle (#297)
Browse files Browse the repository at this point in the history
fixes #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 92d6504 commit a77474a
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 a77474a

Please sign in to comment.