From 527c430307f11ae66d4fc58190baad96a94073d3 Mon Sep 17 00:00:00 2001 From: nztqa Date: Wed, 4 Oct 2017 17:18:12 +0900 Subject: Add toggle switch-style for board color change events --- client/components/boards/boardColors.styl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'client') diff --git a/client/components/boards/boardColors.styl b/client/components/boards/boardColors.styl index 8e28fcfa..57a121a2 100644 --- a/client/components/boards/boardColors.styl +++ b/client/components/boards/boardColors.styl @@ -51,6 +51,17 @@ setBoardColor(color) &:not(.is-checked) + .minicard:hover:not(.minicard-composer) background: lighten(color, 97%) + .toggle-label + + &:after + background-color: darken(color, 20%) + + .toggle-switch:checked ~ .toggle-label + background-color: lighten(color, 20%) + + &:after + background-color: darken(color, 20%) + @media screen and (max-width: 800px) &.pop-over .header background: color -- cgit v1.2.3-1-g7c22