diff --git a/chrome/custom_menupopup_check_icons.css b/chrome/custom_menupopup_check_icons.css new file mode 100644 index 0000000..3a77d16 --- /dev/null +++ b/chrome/custom_menupopup_check_icons.css @@ -0,0 +1,19 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/custom_menupopup_check_icons.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + + menuitem:is([type="checkbox"],[type="radio"]) .menu-iconic-left{ + -moz-appearance: none !important; + height: 14px; + margin-block: 4px; + margin-inline: 3px 8px !important; + background-repeat: no-repeat; + background-size: contain; + background-position: center; + -moz-context-properties: fill; + fill: currentColor; + } + + menuitem[checked] .menu-iconic-left{ + background-image: url("chrome://global/skin/icons/check.svg"); + background-color: transparent + } \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index 845d6b8..a8eb969 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -109,5 +109,6 @@ "round_ui_items.css":["buttons","icon","menu","tabs","toolbars","bookmarks"], "curved_tabs.css":["tabs","tab"], "theme_aware_modal_prompts.css":["effect","dark-mode","colors","popup"], -"centered_top_statuspanel.css":["status"] +"centered_top_statuspanel.css":["status"], +"custom_menupopup_check_icons.css":["icon","menu","minimal","popup"] } diff --git a/tags.csv b/tags.csv index 23370e2..81a4316 100644 --- a/tags.csv +++ b/tags.csv @@ -109,3 +109,4 @@ round_ui_items.css,buttons,icon,menu,tabs,toolbars,bookmarks curved_tabs.css,tabs,tab theme_aware_modal_prompts.css,effect,dark-mode,colors,popup centered_top_statuspanel.css,status +custom_menupopup_check_icons.css,icon,menu,minimal,popup