Merge pull request #4730 from matrix-org/joriks/hide-checkbox-tick

Hide checkbox tick on dark backgrounds
This commit is contained in:
Jorik Schellekens 2020-06-10 14:12:06 +01:00 committed by GitHub
commit 8a0e4a4954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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