Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vanilla fix for daattali#268
Browse files Browse the repository at this point in the history
correct navebar-toggle :hover and aria-expanded colors on touchscreen devices
jennydaman authored and Jennings Zhang committed Oct 27, 2017
1 parent 0cc0adb commit a6b2252
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -784,12 +784,17 @@ color: #f1c40f;
border: unset;
}

/* Fix navbar-toggle focus color */
/* navbar-toggle button custom colors, overrides bootstrap.css */

button.navbar-toggle.collapsed:focus {
background-color: transparent;
.navbar-default button.navbar-toggle:focus {
background-color: initial;
}

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

.navbar-default button.navbar-toggle:hover[aria-expanded="false"] {
background-color: initial;
}

0 comments on commit a6b2252

Please sign in to comment.