diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-28 17:41:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 17:41:59 -0500 |
commit | b6038c87b66630b341e431a4722856c9a3a282ed (patch) | |
tree | 721c26ef99b1e953904c10060c2a1bace281335e /ext/bg/css | |
parent | c03340c4aa77c0a84b28bf18407aa79972697213 (diff) |
Improve document focus control (#1167)
* Improve styles for #content-scroll-focus
* Create new class to manage and control document focus
* Use new focus class
* Add a check to prevent redundant .blur calls
Diffstat (limited to 'ext/bg/css')
-rw-r--r-- | ext/bg/css/settings2.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 80217d9b..0933019f 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -361,8 +361,16 @@ h3 { opacity: 0; margin: 0; padding: 0; + outline: none; background-color: transparent; display: inline; + width: 0; + height: 0; + line-height: 0; + user-select: none; +} +#content-scroll-focus::-moz-focus-inner { + border: 0; } .content-dimmer { display: block; |