From 30385789c8e98d117ff1df76d4ffc6eff135ac3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 24 Apr 2019 14:15:24 +0200 Subject: [PATCH] only show focus-outline on sections if tabbing is active --- src/Umbraco.Web.UI.Client/src/less/sections.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/sections.less b/src/Umbraco.Web.UI.Client/src/less/sections.less index f7e6e5ec79..5a1de02617 100644 --- a/src/Umbraco.Web.UI.Client/src/less/sections.less +++ b/src/Umbraco.Web.UI.Client/src/less/sections.less @@ -65,11 +65,9 @@ ul.sections>li>a:focus .section__name { } ul.sections>li>a:focus .section__name { - box-shadow: 0 0 2px @pinkLight, inset 0 0 2px 1px @pinkLight; -} -ul.sections>li>a:hover .section__name, -ul.sections>li.current>a:focus .section__name { - box-shadow: none; + .tabbing-active & { + box-shadow: 0 0 2px @pinkLight, inset 0 0 2px 1px @pinkLight; + } }