From 3ce6d451a031c9d05af4921e85ba723109d885f1 Mon Sep 17 00:00:00 2001 From: Deimos Date: Thu, 19 Jul 2018 16:37:46 -0600 Subject: [PATCH] Move .btn-used changes into .topic-voting These were inadvertently also affecting the buttons on the /groups page, so this moves them to specifically apply only to the topic voting button. --- tildes/scss/modules/_btn.scss | 9 ++++----- tildes/scss/modules/_topic.scss | 8 ++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/tildes/scss/modules/_btn.scss b/tildes/scss/modules/_btn.scss index 9d5783d..0dc0641 100644 --- a/tildes/scss/modules/_btn.scss +++ b/tildes/scss/modules/_btn.scss @@ -33,13 +33,12 @@ } .btn-used { - background-color: darken($violet, 3%); - border-color: darken($violet, 8%); - color: #fff; + border-color: darken($violet, 3%); + color: $violet; &:hover { - background-color: darken($blue, 3%); - border-color: darken($blue, 8%); + background-color: darken($violet, 3%); + border-color: darken($violet, 8%); color: #fff; } } diff --git a/tildes/scss/modules/_topic.scss b/tildes/scss/modules/_topic.scss index cd72e3a..9f142f4 100644 --- a/tildes/scss/modules/_topic.scss +++ b/tildes/scss/modules/_topic.scss @@ -139,7 +139,15 @@ } &.btn-used { + background-color: darken($violet, 3%); + border-color: darken($violet, 8%); border-style: solid; + color: #fff; + + &:hover { + background-color: darken($blue, 3%); + border-color: darken($blue, 8%); + } } }