From be738ab835856138a030761ee5791cbcea4efecf Mon Sep 17 00:00:00 2001 From: Tony Heap Date: Tue, 27 Nov 2018 15:47:41 +0000 Subject: [PATCH 1/2] APIS-3807 Improved colour contrast on left nav hover --- app/assets/css/ad-hoc.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/css/ad-hoc.scss b/app/assets/css/ad-hoc.scss index 9aba1a5c..8a25a0ef 100644 --- a/app/assets/css/ad-hoc.scss +++ b/app/assets/css/ad-hoc.scss @@ -139,6 +139,12 @@ pre, code { content: ""; } +// APIS-3807 - override hover style on left nav so it passes accessibility colour contrast tests +.side-nav__link:hover { + background-color: #FFFFFF; + text-decoration: underline; +} + // Remove sub navigation right border on a mobile phone .side-nav { border-right: none; From 30887f77aa825e47d23836b38a2df1bda28726df Mon Sep 17 00:00:00 2001 From: Tony Heap Date: Wed, 28 Nov 2018 09:42:15 +0000 Subject: [PATCH 2/2] APIS-3807 Changed colour from #FFFFFF to #fff --- app/assets/css/ad-hoc.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/css/ad-hoc.scss b/app/assets/css/ad-hoc.scss index 8a25a0ef..d7270076 100644 --- a/app/assets/css/ad-hoc.scss +++ b/app/assets/css/ad-hoc.scss @@ -141,7 +141,7 @@ pre, code { // APIS-3807 - override hover style on left nav so it passes accessibility colour contrast tests .side-nav__link:hover { - background-color: #FFFFFF; + background-color: #fff; text-decoration: underline; }