From 040ee823bacf5c4626b99100ff0e2a669f069d88 Mon Sep 17 00:00:00 2001 From: Jamie Knight Date: Wed, 10 Sep 2014 01:51:25 +0100 Subject: [PATCH] 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 --- core/client/assets/sass/components/navigation.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/client/assets/sass/components/navigation.scss b/core/client/assets/sass/components/navigation.scss index 22eb0e26b6..6a13efece8 100644 --- a/core/client/assets/sass/components/navigation.scss +++ b/core/client/assets/sass/components/navigation.scss @@ -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;