From 2f4f677fc6cfc596175fd9b2f6a5e391f711852a Mon Sep 17 00:00:00 2001 From: jrbarnes9 Date: Fri, 10 Jul 2020 14:38:29 +0100 Subject: [PATCH] added exit button focus state --- _prototypes/end-to-end/style.css | 6 +++++- img/icons/icons--exit-black.svg | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 img/icons/icons--exit-black.svg diff --git a/_prototypes/end-to-end/style.css b/_prototypes/end-to-end/style.css index d590eb2d8f..cb91271145 100644 --- a/_prototypes/end-to-end/style.css +++ b/_prototypes/end-to-end/style.css @@ -864,7 +864,11 @@ hr { } .btn--ghost.exit:after { - background-image: url(/img/icons/icons--exit.svg); + background-image: url(/img/icons/icons--exit-white.svg); +} + +.btn--ghost.exit:focus:after { + background-image: url(/img/icons/icons--exit-black.svg); } .btn--ghost.complete-later:after { diff --git a/img/icons/icons--exit-black.svg b/img/icons/icons--exit-black.svg new file mode 100644 index 0000000000..5e56cb8de2 --- /dev/null +++ b/img/icons/icons--exit-black.svg @@ -0,0 +1 @@ + \ No newline at end of file