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
Prev Previous commit
Next Next commit
Make important
  • Loading branch information
Phil Wolstenholme committed Nov 12, 2018
commit 862c56e4c7ad8f2dd16ebb567bf7c4b224b21621
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;box-shadow: none;}::-moz-focus-inner{border:0;}');
set_css(':focus{outline:0 !important;box-shadow: none !important;}::-moz-focus-inner{border:0 !important;}');
});

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