Skip to content

Commit

Permalink
Replace Floorp PWA icons
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei committed Dec 6, 2023
1 parent 431d32e commit a04f700
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 20 deletions.
32 changes: 22 additions & 10 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions src/icons/fork_browsers/_floorp.scss
Original file line number Diff line number Diff line change
@@ -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");
}
}

Expand All @@ -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");
}
}
}
Expand Down Expand Up @@ -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");
}
}

0 comments on commit a04f700

Please sign in to comment.