mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
avoid highlighting/tabbing to top bar
This commit is contained in:
parent
111727240b
commit
7120607dfe
2 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Toolbar:
|
||||||
buf = ""
|
buf = ""
|
||||||
for ln, name, title in links:
|
for ln, name, title in links:
|
||||||
buf += '''
|
buf += '''
|
||||||
<a class=hitem aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
|
<a class=hitem tabindex="-1" aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
|
||||||
name, title, ln, name)
|
name, title, ln, name)
|
||||||
return buf
|
return buf
|
||||||
|
|
||||||
|
|
|
@ -32,3 +32,5 @@ body {
|
||||||
.hitem:hover {
|
.hitem:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hitem:focus { outline: 0; }
|
||||||
|
|
Loading…
Reference in a new issue