From a04f700332eefd98592bedd69ac480b022cf05e0 Mon Sep 17 00:00:00 2001 From: Ryosuke Asano Date: Thu, 7 Dec 2023 00:17:21 +0900 Subject: [PATCH] Replace Floorp PWA icons --- css/leptonChrome.css | 32 +++++++++++++++++++--------- css/leptonChromeESR.css | 16 +++++++++----- src/icons/fork_browsers/_floorp.scss | 19 ++++++++++++----- 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 19cde4a1..39870ad4 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -13177,10 +13177,10 @@ } /*= Floorp Browser ===========================================================*/ #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/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/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } @supports -moz-bool-pref("userChrome.icon.menu") { @@ -13245,6 +13245,12 @@ #deleteWebpanelMenu { --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } + #run-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + } + #uninstall-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + } } } /*@ NIGHTLY @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ @@ -28292,10 +28298,10 @@ } @media not (-moz-bool-pref: "userChrome.icon.disabled") { #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.panel") { @@ -28306,13 +28312,13 @@ list-style-image: var(--uc-folder-icon); } #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") { @@ -28361,4 +28367,10 @@ #deleteWebpanelMenu { --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } + #run-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + } + #uninstall-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + } } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 542aa601..681ad9a9 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -13786,10 +13786,10 @@ } /*= Floorp Browser ===========================================================*/ #ssbPageAction-image { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #ssbPageAction-image[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/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/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-manage.svg"); } #appMenu-install-or-open-ssb-current-page-button { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); } #appMenu-install-or-open-ssb-current-page-button[open-ssb="true"] { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } @supports -moz-bool-pref("userChrome.icon.menu") { @@ -13854,5 +13854,11 @@ #deleteWebpanelMenu { --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } + #run-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + } + #uninstall-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + } } } diff --git a/src/icons/fork_browsers/_floorp.scss b/src/icons/fork_browsers/_floorp.scss index e9986f03..48c2da0d 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/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/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/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } @@ -18,15 +18,15 @@ // Panel UI top button #appMenu-ssb-button { - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/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/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-install.svg"); &[open-ssb="true"] { // Panel UI subView button for open ssb window - list-style-image: url("chrome://browser/skin/install-ssb.svg"); + list-style-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); } } } @@ -85,4 +85,13 @@ #deleteWebpanelMenu { --menuitem-image: url("chrome://global/skin/icons/delete.svg"); } + + // PWA Context Menu + #run-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-launch.svg"); + } + + #uninstall-ssb-contextmenu { + --menuitem-image: url("chrome://browser/skin/lepton/pwa-remove.svg"); + } }