diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index bf3140b6b6d..9f46e3ee7ba 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -101,6 +101,9 @@
--color-code-bg: #ffffff;
--color-markdown-code-block: #00000010;
--color-secondary-bg: #f4f4f4;
+ /* backgrounds */
+ --checkbox-mask-checked: url('data:image/svg+xml;utf8,');
+ --checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,');
}
:root:lang(ja) {
diff --git a/web_src/less/_markdown.less b/web_src/less/_markdown.less
index f931106d950..6bb0bf4328a 100644
--- a/web_src/less/_markdown.less
+++ b/web_src/less/_markdown.less
@@ -203,16 +203,19 @@
pointer-events: none;
background: var(--color-text);
mask-size: cover;
+ -webkit-mask-size: cover;
}
input[type="checkbox"]:checked::after {
content: "";
- mask-image: url('data:image/svg+xml;utf8,');
+ mask-image: var(--checkbox-mask-checked);
+ -webkit-mask-image: var(--checkbox-mask-checked);
}
input[type="checkbox"]:indeterminate::after {
content: "";
- mask-image: url('data:image/svg+xml;utf8,');
+ mask-image: var(--checkbox-mask-indeterminate);
+ -webkit-mask-image: var(--checkbox-mask-indeterminate);
}
ul ul,