Bug 1641092 - Use a photon icon for the correspondents arrow. r=aleca
authorRichard Marti <richard.marti@gmail.com>
Sat, 30 May 2020 10:57:54 +0300
changeset 39280 7b9c7c1b0f4c798f899f92ff0bc4bd2a546c9488
parent 39279 cfaf20a2e4288a3c73376e98843864f5cf4776f8
child 39281 37b8335f94dc8ffef42d8278819270a5ea916bb9
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersaleca
bugs1641092
Bug 1641092 - Use a photon icon for the correspondents arrow. r=aleca
mail/themes/shared/mail/icons/correspondents-rtl.svg
mail/themes/shared/mail/icons/correspondents.svg
mail/themes/shared/mail/messageIcons.css
--- a/mail/themes/shared/mail/icons/correspondents-rtl.svg
+++ b/mail/themes/shared/mail/icons/correspondents-rtl.svg
@@ -1,7 +1,6 @@
-<?xml version="1.0" encoding="utf-8"?>
 <!-- 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 16 16" height="16" width="16">
-  <path fill="context-fill" fill-opacity="context-fill-opacity" stroke="context-stroke" stroke-opacity="context-stroke-opacity" d="m 13.5,6.5 -7,0 0,-3.5 -5,5 5,5 0,-3.5 7,0 z"/>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity" viewBox="0 0 16 16">
+  <path d="M13 7H5.41l2.3-2.3c.9-.94-.47-2.32-1.42-1.4l-4 4a1 1 0 000 1.4l4 4.01c.95.91 2.33-.47 1.42-1.42L5.4 9H13c1.33 0 1.33-2 0-2z"/>
 </svg>
--- a/mail/themes/shared/mail/icons/correspondents.svg
+++ b/mail/themes/shared/mail/icons/correspondents.svg
@@ -1,7 +1,6 @@
-<?xml version="1.0" encoding="utf-8"?>
 <!-- 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 16 16" height="16" width="16">
-  <path fill="context-fill" fill-opacity="context-fill-opacity" stroke="context-stroke" stroke-opacity="context-stroke-opacity" d="m 2.5,6.5 7,0 0,-3.5 5,5 -5,5 0,-3.5 -7,0 z"/>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity" viewBox="0 0 16 16">
+  <path d="M13.71 7.3l-4-4c-.95-.92-2.33.47-1.42 1.4L10.6 7H3C1.67 7 1.67 9 3 9h7.59l-2.3 2.29c-.97.95.48 2.39 1.42 1.42l4-4a1 1 0 000-1.42z"/>
 </svg>
--- a/mail/themes/shared/mail/messageIcons.css
+++ b/mail/themes/shared/mail/messageIcons.css
@@ -205,36 +205,32 @@ treechildren::-moz-tree-image(junkStatus
 /* ..... correspondent column ..... */
 
 treechildren::-moz-tree-cell-text(subjectCol) {
   padding-inline-start: 0;
 }
 
 treechildren::-moz-tree-image(correspondentCol) {
   list-style-image: url("chrome://messenger/skin/icons/correspondents.svg");
-  -moz-context-properties: fill, fill-opacity, stroke, stroke-opacity;
+  -moz-context-properties: fill, fill-opacity;
   fill: currentColor;
   fill-opacity: 0;
-  stroke: currentColor;
-  stroke-opacity: 0;
 }
 
 treechildren::-moz-tree-image(correspondentCol, outgoing) {
-  fill-opacity: 0.5;
-  stroke-opacity: 0.7;
+  fill-opacity: 0.3;
 }
 
 #threadTree:-moz-locale-dir(rtl) > treechildren::-moz-tree-image(correspondentCol, outgoing) {
   list-style-image: url("chrome://messenger/skin/icons/correspondents-rtl.svg");
 }
 
 treechildren::-moz-tree-image(correspondentCol, outgoing, focus, selected) {
   fill: var(--select-focus-text-color);
-  fill-opacity: 0.7;
-  stroke: var(--select-focus-text-color);
+  fill-opacity: 0.5;
 }
 
 /* ..... subject column ..... */
 
 treechildren::-moz-tree-image(subjectCol) {
   margin-inline-end: 2px;
   -moz-context-properties: fill, stroke;
   width: 16px;