From d5acd6a78ddee66e9719410ba2ec79e243088d55 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Tue, 14 Feb 2023 07:04:39 +1100 Subject: [PATCH] =?UTF-8?q?Fix=20for=20grey=20background=20flashing=20behi?= =?UTF-8?q?nd=20=E2=80=9CDownload=20All=E2=80=9D=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/challenge-detail/Submissions/style.scss | 7 ++++++- src/shared/components/challenge-detail/Winners/style.scss | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/shared/components/challenge-detail/Submissions/style.scss b/src/shared/components/challenge-detail/Submissions/style.scss index 3fb513c1fc..3615dd564d 100644 --- a/src/shared/components/challenge-detail/Submissions/style.scss +++ b/src/shared/components/challenge-detail/Submissions/style.scss @@ -471,6 +471,7 @@ justify-content: flex-end; margin-bottom: 10px; + button.download, .download { @include roboto-bold; @@ -483,12 +484,16 @@ color: #0ab88a; } + &:focus, &:disabled { - pointer-events: none; background-color: transparent; color: #137d60; } + &:disabled { + pointer-events: none; + } + &.MM { cursor: pointer; } diff --git a/src/shared/components/challenge-detail/Winners/style.scss b/src/shared/components/challenge-detail/Winners/style.scss index b99774a831..e9a2d36410 100644 --- a/src/shared/components/challenge-detail/Winners/style.scss +++ b/src/shared/components/challenge-detail/Winners/style.scss @@ -28,6 +28,7 @@ margin-bottom: 20px; } +button.download, .download { @include roboto-bold; @@ -40,12 +41,16 @@ color: #0ab88a; } + &:focus, &:disabled { - pointer-events: none; background-color: transparent; color: #137d60; } + &:disabled { + pointer-events: none; + } + &.MM { cursor: pointer; }