From 0b81534ab4a5aeefb9eac3889580171385805fb2 Mon Sep 17 00:00:00 2001 From: Mike Conley Date: Thu, 8 Apr 2021 02:01:42 +0000 Subject: [PATCH] Bug 1686527 - Update some navigation toolbar icons. r=jaws Included in this set: * Back * Forward * Home * Library * AppMenu (normal, badged) * Pocket * Update badge icon * Overflow button icon Differential Revision: https://phabricator.services.mozilla.com/D110610 --- browser/themes/shared/customizableui/panelUI.inc.css | 11 +++++++++-- browser/themes/shared/icons/back.svg | 4 ++-- browser/themes/shared/icons/forward.svg | 4 ++-- browser/themes/shared/icons/home.svg | 4 ++-- browser/themes/shared/icons/library.svg | 7 +++++-- browser/themes/shared/icons/menu-badged.svg | 6 ++++-- browser/themes/shared/icons/menu.svg | 6 ++++-- browser/themes/shared/icons/pocket-outline.svg | 6 +++--- browser/themes/shared/update-badge.svg | 6 ++---- toolkit/themes/shared/icons/chevron.svg | 5 +++-- toolkit/themes/shared/icons/pocket.svg | 4 ++-- 11 files changed, 38 insertions(+), 25 deletions(-) diff --git a/browser/themes/shared/customizableui/panelUI.inc.css b/browser/themes/shared/customizableui/panelUI.inc.css index 63f37d9bdf343..dbacc4887580c 100644 --- a/browser/themes/shared/customizableui/panelUI.inc.css +++ b/browser/themes/shared/customizableui/panelUI.inc.css @@ -132,10 +132,12 @@ #PanelUI-menu-button[badge-status="update-other-instance"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-restart"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { background: #74BF43 url(chrome://browser/skin/update-badge.svg) no-repeat center; + background-size: 10px; } #PanelUI-menu-button[badge-status="update-unsupported"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { background: #FFE900 url(chrome://browser/skin/update-badge.svg) no-repeat center; + background-size: 10px; } @media (-moz-proton) { @@ -146,8 +148,9 @@ .panel-banner-item[notificationid="update-restart"] > .toolbarbutton-icon { background: var(--panel-banner-item-update-supported-bgcolor) url(chrome://browser/skin/update-badge.svg) no-repeat center; border-radius: 50%; - -moz-context-properties: stroke; - stroke: var(--arrowpanel-background); + background-size: 10px; + -moz-context-properties: fill; + fill: var(--arrowpanel-background); } .panel-banner-item[notificationid="update-unsupported"] > .toolbarbutton-icon { @@ -166,11 +169,15 @@ .panel-banner-item[notificationid="update-restart"]::after { background: var(--panel-banner-item-update-supported-bgcolor) url(chrome://browser/skin/update-badge.svg) no-repeat center; border-radius: 50%; + background-size: 10px; + -moz-context-properties: fill; + fill: #fff; } .panel-banner-item[notificationid="update-unsupported"]::after { background: var(--panel-banner-item-warning-icon-bgcolor) url(chrome://browser/skin/update-badge.svg) no-repeat center; border-radius: 50%; + background-size: 10px; } .panel-banner-item[notificationid^=update] { list-style-image: url(chrome://branding/content/icon16.png); diff --git a/browser/themes/shared/icons/back.svg b/browser/themes/shared/icons/back.svg index b0d920d993a2c..b52c06b776e81 100644 --- a/browser/themes/shared/icons/back.svg +++ b/browser/themes/shared/icons/back.svg @@ -1,6 +1,6 @@ - - + + diff --git a/browser/themes/shared/icons/forward.svg b/browser/themes/shared/icons/forward.svg index 334b42503a051..2eac6f3ed7cdb 100644 --- a/browser/themes/shared/icons/forward.svg +++ b/browser/themes/shared/icons/forward.svg @@ -1,6 +1,6 @@ - - + + diff --git a/browser/themes/shared/icons/home.svg b/browser/themes/shared/icons/home.svg index a605303c2d5ea..a9c2ced8e8b18 100644 --- a/browser/themes/shared/icons/home.svg +++ b/browser/themes/shared/icons/home.svg @@ -1,6 +1,6 @@ - - + + diff --git a/browser/themes/shared/icons/library.svg b/browser/themes/shared/icons/library.svg index 4c23e7ec94398..26bf1ef985c02 100644 --- a/browser/themes/shared/icons/library.svg +++ b/browser/themes/shared/icons/library.svg @@ -1,6 +1,9 @@ - - + + + + + diff --git a/browser/themes/shared/icons/menu-badged.svg b/browser/themes/shared/icons/menu-badged.svg index 3fcd9aa8cdb6a..bbfce72776377 100644 --- a/browser/themes/shared/icons/menu-badged.svg +++ b/browser/themes/shared/icons/menu-badged.svg @@ -1,6 +1,8 @@ - - + + + + diff --git a/browser/themes/shared/icons/menu.svg b/browser/themes/shared/icons/menu.svg index 86f38be5e4daa..39628990ce318 100644 --- a/browser/themes/shared/icons/menu.svg +++ b/browser/themes/shared/icons/menu.svg @@ -1,6 +1,8 @@ - - + + + + diff --git a/browser/themes/shared/icons/pocket-outline.svg b/browser/themes/shared/icons/pocket-outline.svg index c75d6e19d50bc..8cb42204cd02f 100644 --- a/browser/themes/shared/icons/pocket-outline.svg +++ b/browser/themes/shared/icons/pocket-outline.svg @@ -1,7 +1,7 @@ - - - + + + diff --git a/browser/themes/shared/update-badge.svg b/browser/themes/shared/update-badge.svg index 0960f1c6610a9..e0ddfbda94cfc 100644 --- a/browser/themes/shared/update-badge.svg +++ b/browser/themes/shared/update-badge.svg @@ -1,8 +1,6 @@ - - - - + + diff --git a/toolkit/themes/shared/icons/chevron.svg b/toolkit/themes/shared/icons/chevron.svg index 10ae82b08806b..bd0efccc684fb 100644 --- a/toolkit/themes/shared/icons/chevron.svg +++ b/toolkit/themes/shared/icons/chevron.svg @@ -1,6 +1,7 @@ - - + + + diff --git a/toolkit/themes/shared/icons/pocket.svg b/toolkit/themes/shared/icons/pocket.svg index 1e70ecc9c6795..e086af6990be5 100644 --- a/toolkit/themes/shared/icons/pocket.svg +++ b/toolkit/themes/shared/icons/pocket.svg @@ -1,6 +1,6 @@ - - + +