From 60862bb779498eb51e2bf085c9846b1de0cd85e4 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Wed, 9 Jan 2019 09:54:11 +0000 Subject: [PATCH] style submission swithcer buttons --- .../src/sass/apply/components/_button.scss | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/opentech/static_src/src/sass/apply/components/_button.scss b/opentech/static_src/src/sass/apply/components/_button.scss index 32efcfb5d..a099b58f0 100644 --- a/opentech/static_src/src/sass/apply/components/_button.scss +++ b/opentech/static_src/src/sass/apply/components/_button.scss @@ -208,4 +208,27 @@ fill: $color--white; } } + + &--switcher { + fill: transparentize($color--white, .5); + transition: fill $transition; + + &:hover, + &:focus { + fill: transparentize($color--white, .25); + } + + &:first-child { + margin-right: 10px; + } + + &.is-active { + fill: $color--white; + } + + svg { + width: 45px; + height: 45px; + } + } } -- GitLab