Skip to content

Commit

Permalink
Merge pull request #836 from surapunoyousei/floorp-pwa
Browse files Browse the repository at this point in the history
Replace Floorp PWA icons
  • Loading branch information
black7375 authored Dec 7, 2023
2 parents 431d32e + b5f5fed commit 8aadccb
Show file tree
Hide file tree
Showing 3 changed files with 46 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.

18 changes: 13 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("../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/install-ssb.svg");
list-style-image: url("../icons/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("../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/install-ssb.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/install-ssb.svg");
list-style-image: url("../icons/pwa-launch.svg");
}
}
}
Expand Down Expand Up @@ -85,4 +85,12 @@
#deleteWebpanelMenu {
--menuitem-image: url("chrome://global/skin/icons/delete.svg");
}

// PWA Context Menu
#run-ssb-contextmenu {
--menuitem-image: url("../icons/pwa-launch.svg");
}
#uninstall-ssb-contextmenu {
--menuitem-image: url("../icons/pwa-remove.svg");
}
}

0 comments on commit 8aadccb

Please sign in to comment.