Bug 1707190, update warning and notification icons for app menu badges r=sfoster
authorEmma Malysz <emalysz@mozilla.com>
Mon, 10 May 2021 17:09:54 +0000
changeset 579276 4d24540ca38d21b37793b925e52127a8d0abe369
parent 579275 9c92eba1dfa08544829d8564525604a0784ee589
child 579277 d2c2f139c3de0a99dd7d274ae3b8c24d5f70c9d3
push id142884
push useremalysz@mozilla.com
push dateMon, 10 May 2021 17:12:17 +0000
treeherderautoland@4d24540ca38d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfoster
bugs1707190
milestone90.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1707190, update warning and notification icons for app menu badges r=sfoster Also updated margins for mac badges Differential Revision: https://phabricator.services.mozilla.com/D114554
browser/themes/shared/icons/notification-fill-12.svg
browser/themes/shared/toolbarbutton-icons.inc.css
toolkit/themes/osx/global/toolbarbutton.css
toolkit/themes/shared/icons/warning-fill-12.svg
--- a/browser/themes/shared/icons/notification-fill-12.svg
+++ b/browser/themes/shared/icons/notification-fill-12.svg
@@ -1,7 +1,7 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12" fill-opacity="context-fill-opacity">
-  <circle fill="context-stroke" cx="5.5" cy="6.5" r="3.5"/>
-  <circle fill="context-fill" cx="5.5" cy="6.5" r="2.5"/>
+  <circle fill="context-stroke" cx="6" cy="6" r="4"/>
+  <circle fill="context-fill" cx="6" cy="6" r="3"/>
 </svg>
--- a/browser/themes/shared/toolbarbutton-icons.inc.css
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css
@@ -278,17 +278,18 @@ toolbar[brighttext] {
   list-style-image: url("chrome://browser/skin/menu.svg");
 }
 
 #PanelUI-menu-button[badge-status="update-available"],
 #PanelUI-menu-button[badge-status="update-downloading"],
 #PanelUI-menu-button[badge-status="update-manual"],
 #PanelUI-menu-button[badge-status="update-other-instance"],
 #PanelUI-menu-button[badge-status="update-restart"],
-#PanelUI-menu-button[badge-status="update-unsupported"] {
+#PanelUI-menu-button[badge-status="update-unsupported"],
+#PanelUI-menu-button[badge-status="addon-alert"] {
   list-style-image: url("chrome://browser/skin/menu-badged.svg");
 }
 
 #cut-button {
   list-style-image: url("chrome://browser/skin/edit-cut.svg");
 }
 
 #copy-button {
--- a/toolkit/themes/osx/global/toolbarbutton.css
+++ b/toolkit/themes/osx/global/toolbarbutton.css
@@ -42,18 +42,18 @@ toolbarbutton[disabled="true"] {
   font-size: 9px;
   padding: 1px 2px;
   color: #fff;
   text-shadow: none;
   border-radius: 2px;
   box-shadow: 0 1px 0 hsla(0, 100%, 100%, .2) inset,
               0 -1px 0 hsla(0, 0%, 0%, .1) inset,
               0 1px 0 hsla(206, 50%, 10%, .2);
-  margin: -6px 0 0 !important;
-  margin-inline-end: -6px !important;
+  margin: -5px 0 0 !important;
+  margin-inline-end: -4px !important;
   min-width: 14px;
   max-width: 24px;
   line-height: 10px;
   text-align: center;
   align-self: start;
   justify-self: end;
 }
 
--- a/toolkit/themes/shared/icons/warning-fill-12.svg
+++ b/toolkit/themes/shared/icons/warning-fill-12.svg
@@ -1,7 +1,7 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12" fill-opacity="context-fill-opacity">
-  <path fill="context-stroke" d="M10.76 8.336 6.97 1.729c-.651-1.135-2.288-1.135-2.939 0L.241 8.336c-.686 1.196.177 2.686 1.556 2.686l7.407 0c1.378 0 2.241-1.49 1.556-2.686z"/>
-  <path fill="context-fill" d="M9.846 8.266 6.534 2.493c-.454-.791-1.615-.791-2.069 0L1.154 8.266C.709 9.041 1.281 10 2.189 10l6.623 0c.907 0 1.479-.959 1.034-1.734zM6.125 6.375a.625.625 0 0 1-1.25 0l0-1.75a.625.625 0 0 1 1.25 0l0 1.75zM5.5 8.95a.625.625 0 1 1-.001-1.25.625.625 0 0 1 .001 1.25z"/>
+  <path fill="context-stroke" d="M6 1.7c-.7 0-1.3.4-1.7 1L1.8 7.2c-.3.6-.3 1.3 0 1.9.3.6 1 1 1.7 1l5.2 0c.7 0 1.3-.4 1.7-1 .3-.6.3-1.3 0-1.9L7.7 2.7c-.4-.6-1-1-1.7-1z"/>
+  <path fill="context-fill" d="M9.4 7.7 6.8 3.2c-.4-.6-1.3-.6-1.6 0L2.6 7.7c-.3.6.1 1.3.8 1.3l5.2 0c.7 0 1.1-.7.8-1.3z"/>
 </svg>