From ca910089c599416752e3b532ffd6bc92961e8b9d Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 4 Oct 2019 00:50:27 +0200 Subject: [PATCH] Removed duplicate styling rules --- src/components/ui/SeasonedButton.vue | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/components/ui/SeasonedButton.vue b/src/components/ui/SeasonedButton.vue index fa4e951..0d925b1 100644 --- a/src/components/ui/SeasonedButton.vue +++ b/src/components/ui/SeasonedButton.vue @@ -45,18 +45,10 @@ export default { font-size: 12px; padding: 6px 20px 5px 20px; } - &:active, &:hover{ - background: $c-dark; - color: $c-white; - } - body:not(.touch) &:hover, &:focus{ - background: $c-dark; - color: $c-white; - } - &.active { - @extend .button; + + body:not(.touch) &:hover, &:focus, &:active, &.active { background: $c-dark; color: $c-white; } } - \ No newline at end of file +