From f435ea134aa76bcab750507feae51848e6afa6a3 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 3 Aug 2024 09:22:23 +0300 Subject: [PATCH] iconized context menus: hide original menuitem checkmark --- chrome/iconized_content_context_menu.css | 3 +++ chrome/iconized_places_context_menu.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/chrome/iconized_content_context_menu.css b/chrome/iconized_content_context_menu.css index d51474f..1a5753a 100644 --- a/chrome/iconized_content_context_menu.css +++ b/chrome/iconized_content_context_menu.css @@ -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"); diff --git a/chrome/iconized_places_context_menu.css b/chrome/iconized_places_context_menu.css index 31ba4b7..e945351 100644 --- a/chrome/iconized_places_context_menu.css +++ b/chrome/iconized_places_context_menu.css @@ -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");