* more icon and string patches

master
Dominika Liberda 2021-10-12 16:04:37 +02:00
parent 8e79ff8340
commit 841e6dc516
8 changed files with 221 additions and 0 deletions

View File

@ -549,3 +549,114 @@ diff --git a/browser/themes/shared/urlbarView.inc.css b/browser/themes/shared/ur
fill: var(--toolbarbutton-icon-fill-attention);
fill-opacity: 1;
-moz-context-properties: fill, fill-opacity;
--- a/browser/base/content/browser.css 2021-09-28 01:17:27.000000000 +0200
+++ b/browser/base/content/browser.css 2021-10-12 15:48:21.482190973 +0200
@@ -1642,3 +1642,11 @@
/**
* End Dialogs
*/
+
+.bookmark-item {
+ margin: 0px !important;
+ padding: 0px !important;
+}
+#PlacesToolbar {
+ height: 27px !important;
+}
--- a/browser/themes/shared/tabs.inc.css 2021-09-28 00:46:31.000000000 +0200
+++ b/browser/themes/shared/tabs.inc.css 2021-10-12 15:55:22.390190531 +0200
@@ -278,7 +278,7 @@
}
.tab-icon-image {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
@@ -752,7 +752,7 @@
}
.all-tabs-button {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
}
.all-tabs-secondary-button > label {
--- a/browser/themes/shared/aboutSessionRestore.css 2021-09-28 01:17:27.000000000 +0200
+++ b/browser/themes/shared/aboutSessionRestore.css 2021-10-12 15:56:47.191190442 +0200
@@ -63,7 +63,7 @@
}
treechildren::-moz-tree-image(noicon) {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
--- a/browser/themes/shared/customizableui/panelUI.inc.css 2021-09-28 01:17:27.000000000 +0200
+++ b/browser/themes/shared/customizableui/panelUI.inc.css 2021-10-12 15:58:32.361190332 +0200
@@ -1394,7 +1394,7 @@
.PanelUI-remotetabs-clientcontainer > toolbarbutton[itemtype="tab"],
#PanelUI-historyItems > toolbarbutton {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
--- a/browser/themes/shared/searchbar.inc.css 2021-09-28 00:46:32.000000000 +0200
+++ b/browser/themes/shared/searchbar.inc.css 2021-10-12 15:59:11.861190291 +0200
@@ -5,7 +5,7 @@
.searchbar-engine-image {
width: 16px;
height: 16px;
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
--- a/browser/themes/shared/places/tree-icons.css 2021-09-28 00:46:32.000000000 +0200
+++ b/browser/themes/shared/places/tree-icons.css 2021-10-12 16:00:05.215190235 +0200
@@ -8,7 +8,7 @@
}
treechildren::-moz-tree-image(title) {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
padding-inline-end: 2px;
margin: 0 2px;
width: 16px;
--- a/browser/themes/shared/syncedtabs/sidebar.inc.css 2021-09-28 00:46:26.000000000 +0200
+++ b/browser/themes/shared/syncedtabs/sidebar.inc.css 2021-10-12 16:01:03.318190174 +0200
@@ -132,7 +132,7 @@
}
.item.tab > .item-title-container > .item-icon-container {
- background-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ background-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
--- a/browser/themes/shared/aboutWelcomeBack.css 2021-09-28 00:46:32.000000000 +0200
+++ b/browser/themes/shared/aboutWelcomeBack.css 2021-10-12 16:01:43.595190132 +0200
@@ -22,7 +22,7 @@
}
treechildren::-moz-tree-image(noicon) {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}
--- a/browser/themes/shared/toolbarbutton-icons.inc.css 2021-09-28 00:46:32.000000000 +0200
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css 2021-10-12 16:02:37.571190075 +0200
@@ -429,7 +429,7 @@
/* ----- BOOKMARK BUTTONS ----- */
.bookmark-item {
- list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg");
+ list-style-image: url("chrome://browser/skin/defaultFavicon.png");
-moz-context-properties: fill;
fill: currentColor;
}

View File

@ -30,6 +30,9 @@ diff --git a/browser/themes/shared/jar.inc.mn b/browser/themes/shared/jar.inc.mn
+ skin/classic/browser/tab-close.png (../shared/icons/tab-close.png)
+ skin/classic/browser/tab-close_hover.png (../shared/icons/tab-close_hover.png)
+ skin/classic/browser/tab-close_inactive.png (../shared/icons/tab-close_inactive.png)
+ skin/classic/browser/fox_happy.png (../shared/icons/fox_happy.png)
+ skin/classic/browser/fox_sad.png (../shared/icons/fox_sad.png)
+ skin/classic/browser/defaultFavicon.png (../shared/icons/defaultFavicon.png)
#ifndef MOZ_WIDGET_GTK
skin/classic/browser/import-export.svg (../shared/icons/import-export.svg)
#endif

20
patches/smile.patch Normal file
View File

@ -0,0 +1,20 @@
--- a/browser/themes/shared/preferences/preferences.inc.css 2021-09-28 01:17:27.000000000 +0200
+++ b/browser/themes/shared/preferences/preferences.inc.css 2021-10-12 15:18:19.065192862 +0200
@@ -908,7 +908,7 @@
}
.face-sad {
- list-style-image: url("chrome://browser/skin/preferences/face-sad.svg");
+ list-style-image: url("chrome://browser/skin/fox-crying.png");
width: 20px;
height: 20px;
margin-block: 5px;
@@ -916,7 +916,7 @@
}
.face-smile {
- list-style-image: url("chrome://browser/skin/preferences/face-smile.svg");
+ list-style-image: url("chrome://browser/skin/fox-happy.png");
width: 20px;
height: 20px;
margin-block: 5px;

35
patches/strings.patch Normal file
View File

@ -0,0 +1,35 @@
--- a/browser/locales/en-US/browser/browserContext.ftl 2021-09-28 00:46:32.000000000 +0200
+++ b/browser/locales/en-US/browser/browserContext.ftl 2021-10-12 15:37:50.134191634 +0200
@@ -256,11 +256,11 @@
.accesskey = R
main-context-menu-image-view-new-tab =
- .label = Open Image in New Tab
+ .label = View Image
.accesskey = I
main-context-menu-video-view-new-tab =
- .label = Open Video in New Tab
+ .label = View Video
.accesskey = i
main-context-menu-image-copy =
@@ -425,6 +425,9 @@
.label = View Page Source
.accesskey = V
+main-context-menu-view-page-info =
+ .label = View Page Info
+
main-context-menu-bidi-switch-text =
.label = Switch Text Direction
.accesskey = w
@@ -434,7 +437,7 @@
.accesskey = D
main-context-menu-inspect =
- .label = Inspect
+ .label = Inspect Element
.accesskey = Q
main-context-menu-inspect-a11y-properties =

View File

@ -0,0 +1,52 @@
--- firefox-93.0/browser/base/content/browser-context.inc 2021-09-28 00:46:26.000000000 +0200
+++ firefox-93.0_patched/browser/base/content/browser-context.inc 2021-10-12 15:41:48.608191384 +0200
@@ -253,13 +253,6 @@
<menuitem id="context-savepage"
data-l10n-id="main-context-menu-page-save"
oncommand="gContextMenu.savePageAs();"/>
- <menuitem id="context-pocket"
- data-l10n-id="main-context-menu-save-to-pocket"
- oncommand="Pocket.savePage(gContextMenu.browser, gContextMenu.browser.currentURI.spec, gContextMenu.browser.contentTitle);"/>
- <menu id="context-sendpagetodevice"
- class="sync-ui-item"
- data-l10n-id="main-context-menu-send-to-device"
- hidden="true">
<menupopup id="context-sendpagetodevice-popup"
onpopupshowing="(() => { gSync.populateSendTabToDevicesMenu(event.target, gBrowser.currentURI.spec, gBrowser.contentTitle); })()"/>
</menu>
@@ -375,29 +368,28 @@
oncommand="gContextMenu.addDictionaries();"/>
</menupopup>
</menu>
- <menuseparator hidden="true" id="context-sep-bidi"/>
+ <menuseparator id="context-sep-bidi"/>
<menuitem hidden="true" id="context-bidi-text-direction-toggle"
data-l10n-id="main-context-menu-bidi-switch-text"
command="cmd_switchTextDirection"/>
<menuitem hidden="true" id="context-bidi-page-direction-toggle"
data-l10n-id="main-context-menu-bidi-switch-page"
oncommand="gContextMenu.switchPageDirection();"/>
- <menuseparator id="inspect-separator" hidden="true"/>
+ <menuseparator id="inspect-separator"/>
<menuitem id="context-viewpartialsource-selection"
data-l10n-id="main-context-menu-view-selection-source"
oncommand="gContextMenu.viewPartialSource();"/>
<menuitem id="context-viewsource"
data-l10n-id="main-context-menu-view-page-source"
oncommand="BrowserViewSource(gContextMenu.browser);"/>
- <menuitem id="context-inspect-a11y"
- hidden="true"
- data-l10n-id="main-context-menu-inspect-a11y-properties"
- oncommand="gContextMenu.inspectA11Y();"/>
+ <menuitem id="context-viewpageinfo"
+ data-l10n-id="main-context-menu-view-page-info"
+ oncommand="gIdentityHandler.handleMoreInfoClick();"/>
<menuitem id="context-inspect"
hidden="true"
data-l10n-id="main-context-menu-inspect"
oncommand="gContextMenu.inspectNode();"/>
- <menuseparator id="context-media-eme-separator" hidden="true"/>
+ <menuseparator id="context-media-eme-separator"/>
<menuitem id="context-media-eme-learnmore"
class="menuitem-iconic"
hidden="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB