iconized context menus: hide original menuitem checkmark

pull/394/head
MrOtherGuy 3 months ago
parent 42bd801b7a
commit f435ea134a

@ -25,6 +25,9 @@ See the above repository for updates as well as full license text. */
#contentAreaContextMenu > menuitem[type="checkbox"]::before{
content: url("chrome://devtools/skin/images/checkbox.svg");
}
#contentAreaContextMenu > menuitem[type="checkbox"] > .menu-iconic-left{
display: none;
}
#contentAreaContextMenu > menuitem[type="checkbox"][_moz-menuactive]::before,
#contentAreaContextMenu > menuitem[type="checkbox"][checked="true"]::before{
background: no-repeat center left url("chrome://global/skin/icons/check.svg");

@ -26,6 +26,9 @@ See the above repository for updates as well as full license text. */
#placesContext > menuitem[type="checkbox"]::before{
content: url("chrome://devtools/skin/images/checkbox.svg");
}
#placesContext > menuitem[type="checkbox"] > .menu-iconic-left{
display: none;
}
#placesContext > menuitem[type="checkbox"][_moz-menuactive]::before,
#placesContext > menuitem[type="checkbox"][checked="true"]::before{
background: no-repeat center left url("chrome://global/skin/icons/check.svg");

Loading…
Cancel
Save