create custom_menupopup_check_icons.css

This commit is contained in:
MrOtherGuy 2020-12-06 10:14:41 +02:00
parent 3c075b52d6
commit fb987ad073
3 changed files with 22 additions and 1 deletions

View file

@ -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
}

View file

@ -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"]
}

View file

@ -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

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
109 curved_tabs.css,tabs,tab
110 theme_aware_modal_prompts.css,effect,dark-mode,colors,popup
111 centered_top_statuspanel.css,status
112 custom_menupopup_check_icons.css,icon,menu,minimal,popup