From 5d371c62b2a05617ec3fafe3356a7cff8bd1d589 Mon Sep 17 00:00:00 2001 From: George Drummond Date: Fri, 15 Feb 2019 15:46:18 -0500 Subject: [PATCH 1/2] Don't show outline on an anchor tag that doesn't have a href --- styles/atat.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styles/atat.scss b/styles/atat.scss index 2d18992e..421e50b5 100644 --- a/styles/atat.scss +++ b/styles/atat.scss @@ -50,3 +50,7 @@ @import 'sections/member_edit'; @import 'sections/reports'; @import 'sections/task_order'; + +a:focus:not([href]) { + outline: none; +} From 703900b906a2e5894ed9461d482fc79f5da6e82d Mon Sep 17 00:00:00 2001 From: George Drummond Date: Mon, 18 Feb 2019 13:31:59 -0500 Subject: [PATCH 2/2] Fix IE outline on focus --- styles/atat.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/styles/atat.scss b/styles/atat.scss index 421e50b5..fc13952f 100644 --- a/styles/atat.scss +++ b/styles/atat.scss @@ -51,6 +51,10 @@ @import 'sections/reports'; @import 'sections/task_order'; -a:focus:not([href]) { - outline: none; +// +// IE likes to display an outline when focusing on an element. This +// fix removes that unwanted outline on focus. +// +*:focus { + outline: 0; }