fix(youtube): video player contextmenu checkbox color (#309)

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
winstonandIsabel authored and GitHub committed 2023-11-14 17:56:01 +00:00
1 parent f3f4ba3c32
commit e59dd129ac
1 file changed
+3 -5
+3 -5
View File
@@ -2,7 +2,7 @@
@name YouTube Catppuccin
@namespace github.com/catppuccin/userstyles/styles/youtube
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube
@version 3.1.6
@version 3.1.7
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/youtube/catppuccin.user.css
@description Soothing pastel theme for YouTube
@author Catppuccin
@@ -485,10 +485,8 @@
/* menu items */
/* checkbox subitem */
.ytp-menuitem[aria-checked="true"] .ytp-menuitem-toggle-checkbox {
background: @accent-color !important;
&::after {
background: @overlay1 !important;
}
@tmp: escape(@accent-color);
background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%3E%3Cpath%20d%3D%22M9%2016.2L4.8%2012l-1.4%201.4L9%2019%2021%207l-1.4-1.4L9%2016.2z%22%20fill%3D%22@{tmp}%22/%3E%3C/svg%3E");
}
.ytp-menuitem:not([aria-disabled="true"]):hover {
background: @surface1 !important;