From c3ef95daaa65077f0fdd4a4c4cf594e7d30787f4 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 31 Oct 2018 20:53:23 -0400 Subject: [PATCH] fix: disabled primary button in dark mode --- src/renderer/scss/component/_button.scss | 3 +-- src/renderer/scss/themes/_dark.scss | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/renderer/scss/component/_button.scss b/src/renderer/scss/component/_button.scss index 182ec462a..a12d1a77e 100644 --- a/src/renderer/scss/component/_button.scss +++ b/src/renderer/scss/component/_button.scss @@ -74,8 +74,7 @@ } } - &.btn--disabled:disabled { - // wtf? + &:disabled { cursor: default; &.btn--primary { diff --git a/src/renderer/scss/themes/_dark.scss b/src/renderer/scss/themes/_dark.scss index 7460769d0..6248f3e9f 100644 --- a/src/renderer/scss/themes/_dark.scss +++ b/src/renderer/scss/themes/_dark.scss @@ -82,9 +82,18 @@ html[data-theme='dark'] { background-color: rgba($lbry-red-1, 0.1); } - .btn.btn--alt:not(:disabled) { - background-color: rgba($lbry-white, 0.1); - color: $lbry-gray-1; + // + // BUTTON + // + .btn { + &.btn--alt:not(:disabled) { + background-color: rgba($lbry-white, 0.1); + color: $lbry-gray-1; + } + + &.btn--primary:disabled { + background-color: rgba($lbry-teal-5, 0.15); + } } .search__top {