mirror of
https://github.com/wekan/wekan.git
synced 2026-01-05 17:18:49 +01:00
Add toggle switch-style for board color change events
This commit is contained in:
parent
de4ae2dc74
commit
527c430307
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue