summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-10-04 17:18:12 +0900
committernztqa <nztqa@users.noreply.github.com>2017-10-04 17:18:12 +0900
commit527c430307f11ae66d4fc58190baad96a94073d3 (patch)
tree33ce672e96b34979d7701fd006040c57d1f74f6f /client
parentde4ae2dc747eead201da9ea40795d18527f485a8 (diff)
downloadwekan-527c430307f11ae66d4fc58190baad96a94073d3.tar.gz
wekan-527c430307f11ae66d4fc58190baad96a94073d3.tar.bz2
wekan-527c430307f11ae66d4fc58190baad96a94073d3.zip
Add toggle switch-style for board color change events
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardColors.styl11
1 files changed, 11 insertions, 0 deletions
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