From 9ef18545160423be918dd79504977ed21d2c9d25 Mon Sep 17 00:00:00 2001
From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com>
Date: Fri, 24 Nov 2023 14:30:44 +0800
Subject: [PATCH] Add new icons
Adds translate and Firefox View icons. Also replaces the small arrow
seen in the context menus.
---
chrome/global/popup.css | 2 +-
chrome/icons/arrow-filled-right.svg | 3 +++
chrome/icons/firefox-view.svg | 3 +++
chrome/icons/icons.css | 13 ++++++++++++-
chrome/icons/translate.svg | 3 +++
5 files changed, 22 insertions(+), 2 deletions(-)
create mode 100644 chrome/icons/arrow-filled-right.svg
create mode 100644 chrome/icons/firefox-view.svg
create mode 100644 chrome/icons/translate.svg
diff --git a/chrome/global/popup.css b/chrome/global/popup.css
index b7b9dd0..49d949b 100644
--- a/chrome/global/popup.css
+++ b/chrome/global/popup.css
@@ -566,7 +566,7 @@ panelview .toolbarbutton-1,
menulist>menupopup>menuitem:is([checked="true"], [selected="true"])::before,
menupopup>menuitem::before,
- menupopup>menuitem::after {
+ menupopup>menuitem::after {
display: none !important;
}
diff --git a/chrome/icons/arrow-filled-right.svg b/chrome/icons/arrow-filled-right.svg
new file mode 100644
index 0000000..2f65f5e
--- /dev/null
+++ b/chrome/icons/arrow-filled-right.svg
@@ -0,0 +1,3 @@
+
diff --git a/chrome/icons/firefox-view.svg b/chrome/icons/firefox-view.svg
new file mode 100644
index 0000000..6288a1e
--- /dev/null
+++ b/chrome/icons/firefox-view.svg
@@ -0,0 +1,3 @@
+
diff --git a/chrome/icons/icons.css b/chrome/icons/icons.css
index 00e2f5e..a6c20a7 100644
--- a/chrome/icons/icons.css
+++ b/chrome/icons/icons.css
@@ -133,6 +133,10 @@ and 11 so applied to both) */
list-style-image: url("new-tab.svg") !important;
}
+#firefox-view-button {
+ list-style-image: url("firefox-view.svg") !important;
+}
+
#sync-button,
.urlbarView-row[source="tabs"]>.urlbarView-row-inner>.urlbarView-no-wrap>.urlbarView-favicon,
#urlbar-engine-one-off-item-tabs {
@@ -168,6 +172,11 @@ and 11 so applied to both) */
list-style-image: url("search-page.svg") !important;
}
+#appMenu-translate-button,
+#translations-button-icon {
+ list-style-image: url("translate.svg") !important;
+}
+
#open-file-button {
list-style-image: url("open.svg") !important;
}
@@ -361,7 +370,9 @@ and 11 so applied to both) */
.widget-overflow-list .subviewbutton-nav::after,
.PanelUI-subView .subviewbutton-nav::after,
.menu-right {
- content: url("arrow-right.svg") !important;
+ content: url("arrow-filled-right.svg") !important;
+ opacity: 0.6 !important;
+ scale: 0.75 !important;
}
#PlacesChevron,
diff --git a/chrome/icons/translate.svg b/chrome/icons/translate.svg
new file mode 100644
index 0000000..58e8c43
--- /dev/null
+++ b/chrome/icons/translate.svg
@@ -0,0 +1,3 @@
+