From f4ed17583837e425dc7df7b851bc95afb9591312 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 25 Dec 2024 06:46:15 +0900 Subject: [PATCH] Fix: Icons - Protection icon #1047 But not works at `.toolbarbutton-icon` --- css/leptonChrome.css | 8 ++++++++ css/leptonChromeESR.css | 4 ++++ src/icons/_1.25px_stroke.scss | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index b33081b7..eb412a78 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -13846,6 +13846,10 @@ { content: url("../icons/developer.svg") !important; } + .tabbrowser-tab:is([image="chrome://browser/skin/controlcenter/dashboard.svg"]) .tab-icon-image + { + content: url("../icons/dashboard.svg") !important; + } } /** Icons for fork browsers ***************************************************/ /*= Waterfox =================================================================*/ @@ -29792,6 +29796,10 @@ { content: url("../icons/developer.svg") !important; } + .tabbrowser-tab:is([image="chrome://browser/skin/controlcenter/dashboard.svg"]) .tab-icon-image + { + content: url("../icons/dashboard.svg") !important; + } } @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.panel") { #appMenu-restart-button { diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 061d81da..2c97af55 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -14478,6 +14478,10 @@ { content: url("../icons/developer.svg") !important; } + .tabbrowser-tab:is([image="chrome://browser/skin/controlcenter/dashboard.svg"]) .tab-icon-image + { + content: url("../icons/dashboard.svg") !important; + } } /** Icons for fork browsers ***************************************************/ /*= Waterfox =================================================================*/ diff --git a/src/icons/_1.25px_stroke.scss b/src/icons/_1.25px_stroke.scss index ac472446..8b3a7d5e 100644 --- a/src/icons/_1.25px_stroke.scss +++ b/src/icons/_1.25px_stroke.scss @@ -20,3 +20,9 @@ ) .tab-icon-image { content: url("../icons/developer.svg") !important; } + +.tabbrowser-tab:is( + [image="chrome://browser/skin/controlcenter/dashboard.svg"] +) .tab-icon-image { + content: url("../icons/dashboard.svg") !important; +}