From b5f5fed7bb8dabfbb536baec4a956db6b3abdcba Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 8 Dec 2023 01:17:58 +0900 Subject: [PATCH] Clean: Icons - Consistent path --- css/leptonChrome.css | 28 ++++++++++++++-------------- css/leptonChromeESR.css | 14 +++++++------- src/icons/fork_browsers/_floorp.scss | 15 +++++++-------- 3 files changed, 28 insertions(+), 29 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 39870ad4..10e551a3 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -13177,10 +13177,10 @@ } /*= Floorp Browser ===========================================================*/ #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } @supports -moz-bool-pref("userChrome.icon.panel") { #rebootappmenu { @@ -13190,13 +13190,13 @@ list-style-image: var(--uc-folder-icon); } #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); + list-style-image: url("../icons/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } @supports -moz-bool-pref("userChrome.icon.menu") { @@ -13246,10 +13246,10 @@ --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } #run-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + --menuitem-image: url("../icons/pwa-launch.svg"); } #uninstall-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + --menuitem-image: url("../icons/pwa-remove.svg"); } } } @@ -28298,10 +28298,10 @@ } @media not (-moz-bool-pref: "userChrome.icon.disabled") { #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.panel") { @@ -28312,13 +28312,13 @@ list-style-image: var(--uc-folder-icon); } #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); + list-style-image: url("../icons/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") { @@ -28368,9 +28368,9 @@ --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } #run-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + --menuitem-image: url("../icons/pwa-launch.svg"); } #uninstall-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + --menuitem-image: url("../icons/pwa-remove.svg"); } } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 681ad9a9..1650ab85 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -13786,10 +13786,10 @@ } /*= Floorp Browser ===========================================================*/ #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } @supports -moz-bool-pref("userChrome.icon.panel") { #rebootappmenu { @@ -13799,13 +13799,13 @@ list-style-image: var(--uc-folder-icon); } #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); + list-style-image: url("../icons/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } @supports -moz-bool-pref("userChrome.icon.menu") { @@ -13855,10 +13855,10 @@ --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } #run-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + --menuitem-image: url("../icons/pwa-launch.svg"); } #uninstall-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + --menuitem-image: url("../icons/pwa-remove.svg"); } } } diff --git a/src/icons/fork_browsers/_floorp.scss b/src/icons/fork_browsers/_floorp.scss index 48c2da0d..67c39475 100644 --- a/src/icons/fork_browsers/_floorp.scss +++ b/src/icons/fork_browsers/_floorp.scss @@ -1,9 +1,9 @@ // Page Action button. Not always visible #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); &[open-ssb="true"] { // Page Action button. If page has been already installed or can be install PWA - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } @@ -18,15 +18,15 @@ // Panel UI top button #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); + list-style-image: url("../icons/pwa-manage.svg"); } // Panel UI subView button for install ssb #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); + list-style-image: url("../icons/pwa-install.svg"); &[open-ssb="true"] { // Panel UI subView button for open ssb window - list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + list-style-image: url("../icons/pwa-launch.svg"); } } } @@ -88,10 +88,9 @@ // PWA Context Menu #run-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + --menuitem-image: url("../icons/pwa-launch.svg"); } - #uninstall-ssb-contextmenu { - --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + --menuitem-image: url("../icons/pwa-remove.svg"); } }