Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove box-shadow as well as outline #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
Remove box-shadow as well as outline
  • Loading branch information
Phil Wolstenholme committed Nov 8, 2018
commit d8be2eb50562e7cb62330d912a068036e753057c
2 changes: 1 addition & 1 deletion outline.js
Expand Up @@ -21,7 +21,7 @@

// Using mousedown instead of mouseover, so that previously focused elements don't lose focus ring on mouse move
add_event_listener('mousedown', function(){
set_css(':focus{outline:0}::-moz-focus-inner{border:0;}');
set_css(':focus{outline:0;box-shadow: none;}::-moz-focus-inner{border:0;}');
});

add_event_listener('keydown', function(){
Expand Down