diff --git a/css/leptonContent.css b/css/leptonContent.css index 49e5e9b1..f8d133a2 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -3292,7 +3292,7 @@ /** Menu - Icons Layout *******************************************************/ @supports not -moz-bool-pref("userChrome.icon.disabled") { @supports -moz-bool-pref("userChrome.icon.menu") { - @-moz-document url-prefix("about:"), regexp("^(((jar:)?file:///)|(chrome://)).*/$") + @-moz-document url-prefix("about:"), url-prefix("chrome://"), regexp("^((jar:)?file:///).*/$") { :root { --uc-folder-icon: url("chrome://global/skin/icons/folder.svg"); @@ -7130,7 +7130,7 @@ } /** Menu - Icons Layout *******************************************************/ @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") { - @-moz-document url-prefix("about:"), regexp("^(((jar:)?file:///)|(chrome://)).*/$") + @-moz-document url-prefix("about:"), url-prefix("chrome://"), regexp("^((jar:)?file:///).*/$") { :root { --uc-folder-icon: url("chrome://global/skin/icons/folder.svg"); diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index b984d3a9..847673e2 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -3295,7 +3295,7 @@ /** Menu - Icons Layout *******************************************************/ @supports not -moz-bool-pref("userChrome.icon.disabled") { @supports -moz-bool-pref("userChrome.icon.menu") { - @-moz-document url-prefix("about:"), regexp("^(((jar:)?file:///)|(chrome://)).*/$") + @-moz-document url-prefix("about:"), url-prefix("chrome://"), regexp("^((jar:)?file:///).*/$") { :root { --uc-folder-icon: url("chrome://global/skin/icons/folder.svg"); diff --git a/src/contents/_context_menu.scss b/src/contents/_context_menu.scss index c505af79..c4a2e7ed 100644 --- a/src/contents/_context_menu.scss +++ b/src/contents/_context_menu.scss @@ -2,7 +2,8 @@ @include moz-document( url-prefix "about:", - regexp "^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$" + url-prefix "chrome://", + regexp "^((jar:)?file:\/\/\/).*\/$" ) { :root { @include initIcons;