mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Improve keyboard support
issue #3964 - added :focus selector to improve keyboard support in modern browsers - added :active selector to improve keyboard support in old IE
This commit is contained in:
parent
9f6884e876
commit
040ee823ba
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@
|
||||||
transition: color 0.5s, background 0.5s;
|
transition: color 0.5s, background 0.5s;
|
||||||
}
|
}
|
||||||
.nav-item.active .nav-label,
|
.nav-item.active .nav-label,
|
||||||
.nav-item:hover .nav-label {
|
.nav-item:focus .nav-label,
|
||||||
|
.nav-item:hover .nav-label,
|
||||||
|
.nav-item:active .nav-label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: darken($darkgrey, 9%);
|
background: darken($darkgrey, 9%);
|
||||||
transition: color 0.1s, background 0.1s;
|
transition: color 0.1s, background 0.1s;
|
||||||
|
|
Loading…
Reference in a new issue