Add toggle switch-style for board color change events

This commit is contained in:
nztqa 2017-10-04 17:18:12 +09:00
parent de4ae2dc74
commit 527c430307

View file

@ -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