0
Fork 0
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:
Jamie Knight 2014-09-10 01:51:25 +01:00
parent 9f6884e876
commit 040ee823ba

View file

@ -54,7 +54,9 @@
transition: color 0.5s, background 0.5s;
}
.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;
background: darken($darkgrey, 9%);
transition: color 0.1s, background 0.1s;