fix(youtube): loop checkbox in context menu (#1592)

This commit is contained in:
Ashish Kumar authored and GitHub committed 2025-01-25 09:47:21 -05:00
1 parent c9bc550c03
commit 146c75a7fd
1 file changed
+4 -8
+4 -8
View File
@@ -883,15 +883,11 @@
background-image: url("data:image/svg+xml,@{svg}");
}
.ytp-menuitem-toggle-checkbox {
background-color: @surface2;
&::after {
background-color: @subtext0;
}
}
.ytp-menuitem[aria-checked="true"] .ytp-menuitem-toggle-checkbox {
background: @accent;
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" version="1.1"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="@{text}"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}
.ytp-menuitem {