Bug 1484160 - Remove tagbg.png and use a linear-gradient instead. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 16 Aug 2018 16:05:11 +0200
changeset 24503 e604cdcec085b32a5fce1a021ef047cc18d30133
parent 24502 e96c399d61336437a63432f2ce0d4e804b3bb70f
child 24504 749cb8eaaea27559c1f67e7280a54e926a69f7fd
push id14750
push usermozilla@jorgk.com
push dateFri, 17 Aug 2018 22:20:45 +0000
treeherdercomm-central@6307e1b793f2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1484160
Bug 1484160 - Remove tagbg.png and use a linear-gradient instead. r=jorgk
mail/base/content/glodaFacetView.css
mail/base/content/multimessageview.css
mail/themes/linux/jar.mn
mail/themes/linux/mail/tagbg.png
mail/themes/osx/jar.mn
mail/themes/osx/mail/tagbg.png
mail/themes/shared/mail/messageHeader.css
mail/themes/windows/jar.mn
mail/themes/windows/mail/tagbg.png
--- a/mail/base/content/glodaFacetView.css
+++ b/mail/base/content/glodaFacetView.css
@@ -651,17 +651,18 @@ html[dir="rtl"] .message-attachment-icon
   font-size: small;
 }
 
 .message-tag {
   display: inline-block; /* to avoid splitting 'To' and 'Do' e.g. */
   margin-inline-start: 0;
   margin-inline-end: 3px;
   padding: 0 0.5ex;
-  background-image: url("chrome://messenger/skin/tagbg.png");
+  background-image: linear-gradient(rgba(255,255,255,0.35),
+                                    rgba(255,255,255,0.35));
   border-radius: var(--borderRadius);
   border-style: outset;
   border-width: 0.5px;
   text-shadow: 0 1px 0 rgba(238,238,236,0.4); /* Tango Alumninum 1 */
 }
 
 .show-more {
   display: none; /* $('.show-more').show() is run if there are results */
--- a/mail/base/content/multimessageview.css
+++ b/mail/base/content/multimessageview.css
@@ -104,17 +104,18 @@
   margin-inline-start: 1ch;
 }
 
 .tag {
   display: inline-block; /* to avoid splitting 'To' and 'Do' e.g. */
   margin-inline-start: 0;
   margin-inline-end: 3px;
   padding: 0 0.5ex;
-  background-image: url("chrome://messenger/skin/tagbg.png");
+  background-image: linear-gradient(rgba(255,255,255,0.35),
+                                    rgba(255,255,255,0.35));
   border-radius: 3px;
   border-style: outset;
   border-width: 0.5px;
   text-shadow: 0 1px 0 rgba(238,238,236,0.4); /* Tango Alumninum 1 */
   color: #111;
 }
 
 .snippet {
--- a/mail/themes/linux/jar.mn
+++ b/mail/themes/linux/jar.mn
@@ -176,17 +176,16 @@ classic.jar:
   skin/classic/messenger/icons/arrow/arrow-up.png             (mail/icons/arrow/arrow-up.png)
   skin/classic/messenger/icons/arrow/arrow-down.png           (mail/icons/arrow/arrow-down.png)
   skin/classic/messenger/icons/arrow/arrow-left-dim.png       (mail/icons/arrow/arrow-left-dim.png)
   skin/classic/messenger/icons/arrow/arrow-right-dim.png      (mail/icons/arrow/arrow-right-dim.png)
   skin/classic/messenger/icons/arrow/arrow-up-dim.png         (mail/icons/arrow/arrow-up-dim.png)
   skin/classic/messenger/icons/arrow/arrow-down-dim.png       (mail/icons/arrow/arrow-down-dim.png)
   skin/classic/messenger/icons/connecting.png                 (mail/icons/connecting.png)
   skin/classic/messenger/icons/notloading.png                 (mail/icons/notloading.png)
-  skin/classic/messenger/tagbg.png                            (mail/tagbg.png)
   skin/classic/messenger/newmailaccount/accountProvisioner.css (mail/newmailaccount/accountProvisioner.css)
   skin/classic/messenger/newmailaccount/search.gif            (mail/newmailaccount/search.gif)
   skin/classic/messenger/newmailaccount/spinner.gif           (mail/newmailaccount/spinner.gif)
   skin/classic/messenger/newmailaccount/success-addons.png    (mail/newmailaccount/success-addons.png)
   skin/classic/messenger/newmailaccount/success-border.png    (mail/newmailaccount/success-border.png)
   skin/classic/messenger/newmailaccount/success-compose.png   (mail/newmailaccount/success-compose.png)
   skin/classic/messenger/newmailaccount/success-signature.png (mail/newmailaccount/success-signature.png)
   skin/classic/messenger/newmailaccount/search.png            (mail/newmailaccount/search.png)
deleted file mode 100644
index c491df6319f3397c9611ba90896ec06b24121a9a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/mail/themes/osx/jar.mn
+++ b/mail/themes/osx/jar.mn
@@ -228,17 +228,16 @@ classic.jar:
   skin/classic/messenger/icons/arrow/arrow-left.png              (mail/icons/arrow/arrow-left.png)
   skin/classic/messenger/icons/arrow/arrow-right.png             (mail/icons/arrow/arrow-right.png)
   skin/classic/messenger/icons/arrow/arrow-up.png                (mail/icons/arrow/arrow-up.png)
   skin/classic/messenger/icons/arrow/arrow-down.png              (mail/icons/arrow/arrow-down.png)
   skin/classic/messenger/icons/arrow/arrow-left-dim.png          (mail/icons/arrow/arrow-left-dim.png)
   skin/classic/messenger/icons/arrow/arrow-right-dim.png         (mail/icons/arrow/arrow-right-dim.png)
   skin/classic/messenger/icons/arrow/arrow-up-dim.png            (mail/icons/arrow/arrow-up-dim.png)
   skin/classic/messenger/icons/arrow/arrow-down-dim.png          (mail/icons/arrow/arrow-down-dim.png)
-  skin/classic/messenger/tagbg.png                               (mail/tagbg.png)
   skin/classic/messenger/newmailaccount/accountProvisioner.css   (mail/newmailaccount/accountProvisioner.css)
   skin/classic/messenger/newmailaccount/search.gif               (mail/newmailaccount/search.gif)
   skin/classic/messenger/newmailaccount/spinner.gif              (mail/newmailaccount/spinner.gif)
   skin/classic/messenger/newmailaccount/success-addons.png       (mail/newmailaccount/success-addons.png)
   skin/classic/messenger/newmailaccount/success-border.png       (mail/newmailaccount/success-border.png)
   skin/classic/messenger/newmailaccount/success-compose.png      (mail/newmailaccount/success-compose.png)
   skin/classic/messenger/newmailaccount/success-signature.png    (mail/newmailaccount/success-signature.png)
   skin/classic/messenger/newmailaccount/search.png               (mail/newmailaccount/search.png)
deleted file mode 100644
index c491df6319f3397c9611ba90896ec06b24121a9a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/mail/themes/shared/mail/messageHeader.css
+++ b/mail/themes/shared/mail/messageHeader.css
@@ -119,18 +119,19 @@ toolbarpaletteitem #hdrDummyReplyButton 
 
 .moreIndicator:hover {
   text-decoration: underline;
   color: darkred;
 }
 
 .tagvalue {
   padding: 0 0.5ex;
-  margin-inline-start: 0px;
-  background-image: url("chrome://messenger/skin/tagbg.png");
+  margin-inline-start: 0;
+  background-image: linear-gradient(rgba(255,255,255,0.35),
+                                    rgba(255,255,255,0.35));
   border-radius: 3px;
   border-width: 0.5px;
   border-style: outset;
   text-shadow: 0 1px 0 rgba(238, 238, 236, 0.4); /* Tango Alumninum 1 */
   color: #111111;
 }
 
 /* ::::: msg header email addresses ::::: */
--- a/mail/themes/windows/jar.mn
+++ b/mail/themes/windows/jar.mn
@@ -191,17 +191,16 @@ classic.jar:
   skin/classic/messenger/icons/arrow/arrow-right.png          (mail/icons/arrow/arrow-right.png)
   skin/classic/messenger/icons/arrow/arrow-up.png             (mail/icons/arrow/arrow-up.png)
   skin/classic/messenger/icons/arrow/arrow-down.png           (mail/icons/arrow/arrow-down.png)
   skin/classic/messenger/icons/arrow/arrow-left-dim.png       (mail/icons/arrow/arrow-left-dim.png)
   skin/classic/messenger/icons/arrow/arrow-right-dim.png      (mail/icons/arrow/arrow-right-dim.png)
   skin/classic/messenger/icons/arrow/arrow-up-dim.png         (mail/icons/arrow/arrow-up-dim.png)
   skin/classic/messenger/icons/arrow/arrow-down-dim.png       (mail/icons/arrow/arrow-down-dim.png)
   skin/classic/messenger/icons/empty-search-results.png       (mail/icons/empty-search-results.png)
-  skin/classic/messenger/tagbg.png                            (mail/tagbg.png)
 % skin messenger-newsblog classic/1.0 %skin/classic/messenger-newsblog/
   skin/classic/messenger-newsblog/feed-subscriptions.css      (mail/newsblog/feed-subscriptions.css)
   skin/classic/messenger-newsblog/icons/rss-feed.png          (mail/newsblog/rss-feed.png)
   skin/classic/messenger-newsblog/icons/server-rss.png        (mail/newsblog/server-rss.png)
   skin/classic/messenger/newmailaccount/accountProvisioner.css (mail/newmailaccount/accountProvisioner.css)
   skin/classic/messenger/newmailaccount/search.gif            (mail/newmailaccount/search.gif)
   skin/classic/messenger/newmailaccount/spinner.gif           (mail/newmailaccount/spinner.gif)
   skin/classic/messenger/newmailaccount/success-addons.png    (mail/newmailaccount/success-addons.png)
deleted file mode 100644
index c491df6319f3397c9611ba90896ec06b24121a9a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001