From 8d8b9044392bb31df3bf7b8bc6f9d684903f4cef Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Wed, 28 Aug 2019 15:36:43 +0000 Subject: [PATCH] Bug 1542529 - Fix and unify delete icons. r=jaws Differential Revision: https://phabricator.services.mozilla.com/D43732 --HG-- extra : moz-landing-system : lando --- .../aboutlogins/content/components/login-item.css | 2 +- browser/components/aboutlogins/content/icons/delete.svg | 6 ------ browser/components/aboutlogins/jar.mn | 1 - toolkit/themes/shared/icons/delete.svg | 5 +++-- 4 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 browser/components/aboutlogins/content/icons/delete.svg diff --git a/browser/components/aboutlogins/content/components/login-item.css b/browser/components/aboutlogins/content/components/login-item.css index 642f82b80636..5a64f7f12cca 100644 --- a/browser/components/aboutlogins/content/components/login-item.css +++ b/browser/components/aboutlogins/content/components/login-item.css @@ -78,7 +78,7 @@ input[type="url"][readOnly] { } .delete-button { - background-image: url("chrome://browser/content/aboutlogins/icons/delete.svg"); + background-image: url("chrome://global/skin/icons/delete.svg"); padding-inline-start: 30px; /* 8px on each side, and 14px for icon width */ } diff --git a/browser/components/aboutlogins/content/icons/delete.svg b/browser/components/aboutlogins/content/icons/delete.svg deleted file mode 100644 index b2c3ec2493ec..000000000000 --- a/browser/components/aboutlogins/content/icons/delete.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/browser/components/aboutlogins/jar.mn b/browser/components/aboutlogins/jar.mn index 770a4f495099..0eb9ced3d126 100644 --- a/browser/components/aboutlogins/jar.mn +++ b/browser/components/aboutlogins/jar.mn @@ -22,7 +22,6 @@ browser.jar: content/browser/aboutlogins/components/login-list-item.js (content/components/login-list-item.js) content/browser/aboutlogins/components/menu-button.css (content/components/menu-button.css) content/browser/aboutlogins/components/menu-button.js (content/components/menu-button.js) - content/browser/aboutlogins/icons/delete.svg (content/icons/delete.svg) content/browser/aboutlogins/icons/edit.svg (content/icons/edit.svg) content/browser/aboutlogins/icons/favicon.svg (content/icons/favicon.svg) content/browser/aboutlogins/icons/hide-password.svg (content/icons/hide-password.svg) diff --git a/toolkit/themes/shared/icons/delete.svg b/toolkit/themes/shared/icons/delete.svg index 1575bb2d9211..6740822218cf 100644 --- a/toolkit/themes/shared/icons/delete.svg +++ b/toolkit/themes/shared/icons/delete.svg @@ -1,6 +1,7 @@ - - + + +