Hide checkbox on dark backgrounds

pull/21833/head
Jorik Schellekens 2020-06-08 17:38:07 +01:00
parent d6a532040e
commit bd58f6ea7b
1 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,8 @@ limitations under the License.
border-radius: $border-radius; border-radius: $border-radius;
img { img {
display: none;
height: 100%; height: 100%;
width: 100%; width: 100%;
filter: invert(100%); filter: invert(100%);
@ -57,6 +59,10 @@ limitations under the License.
&:checked + label > .mx_Checkbox_background { &:checked + label > .mx_Checkbox_background {
background: $accent-color; background: $accent-color;
border-color: $accent-color; border-color: $accent-color;
img {
display: block;
}
} }
& + label > *:not(.mx_Checkbox_background) { & + label > *:not(.mx_Checkbox_background) {