mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Merge pull request #4730 from matrix-org/joriks/hide-checkbox-tick
Hide checkbox tick on dark backgrounds
This commit is contained in:
commit
8a0e4a4954
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user