Fix: Contents - icon scope rule #938

This commit is contained in:
alstjr7375 2024-09-23 19:33:52 +09:00
parent f7718ed326
commit 0277495c0e
3 changed files with 5 additions and 4 deletions

4
css/leptonContent.css generated
View file

@ -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");

View file

@ -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");

View file

@ -2,7 +2,8 @@
@include moz-document(
url-prefix "about:",
regexp "^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$"
url-prefix "chrome://",
regexp "^((jar:)?file:\/\/\/).*\/$"
) {
:root {
@include initIcons;