Skip to content

Commit

Permalink
New: Navigation arrows now remain visible when focused (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press authored Apr 19, 2018
1 parent 10d7cba commit 6f4af87
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/lib/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,22 @@ $navigationBtnWidth: 50px;
white-space: nowrap;
width: $navigationBtnWidth;

&:hover {
&:hover,
&:focus {
opacity: 1;
}

// Custom focus
&:focus {
box-shadow: inset 0 0 0 1px fade-out($white, .5), 0 1px 2px fade-out($black, .9);
height: 64px;
outline: 1px solid $downtown-grey;
}

&:active {
box-shadow: none;
outline: none;
}
}

.bp-is-navigation-visible .bp-navigate {
Expand Down

0 comments on commit 6f4af87

Please sign in to comment.