Bug 1457320 - Port bug 1445671 to TB: Stop using -moz-font-smoothing-background-color for the selected tab when using a lightweight theme. r=jorgk a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Fri, 27 Apr 2018 00:22:07 +0200
changeset 31439 aa4d68e63413f951bd0b3f70752edee2c3aed612
parent 31438 6608de4c84bea0a698a408cd1f98ecdb4166b46c
child 31440 7d57bd47deff7b7e96b9a8417bea2e5cba931d6c
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersjorgk, jorgk
bugs1457320, 1445671
Bug 1457320 - Port bug 1445671 to TB: Stop using -moz-font-smoothing-background-color for the selected tab when using a lightweight theme. r=jorgk a=jorgk
mail/themes/osx/mail/compacttheme.css
mail/themes/osx/mail/tabmail.css
--- a/mail/themes/osx/mail/compacttheme.css
+++ b/mail/themes/osx/mail/compacttheme.css
@@ -17,16 +17,20 @@
   text-shadow: none;
 }
 
 #tabs-toolbar:-moz-lwtheme-darktext {
   -moz-appearance: -moz-mac-vibrant-titlebar-light;
   -moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-light;
 }
 
+.tabmail-tab[selected="true"] {
+  -moz-font-smoothing-background-color: var(--toolbar-bgcolor);
+}
+
 #headers-box {
   -moz-appearance: none;
 }
 
 #FormatToolbar {
   background-image: none;
   background-color: transparent !important;
 }
--- a/mail/themes/osx/mail/tabmail.css
+++ b/mail/themes/osx/mail/tabmail.css
@@ -62,17 +62,17 @@
 }
 
 /* override the selected tab toolkit color/text-shadow */
 .tabmail-tab[selected="true"]:not(:-moz-lwtheme) {
   color: #333;
   text-shadow: 0 1px rgba(255, 255, 255, 0.4);
 }
 
-.tabmail-tab[selected="true"] {
+.tabmail-tab[selected="true"]:not(:-moz-lwtheme) {
   -moz-font-smoothing-background-color: var(--toolbar-bgcolor);
 }
 
 .tabmail-tab:focus > .tab-stack > .tab-content > .tab-label-container {
   box-shadow: var(--focus-ring-box-shadow);
 }
 
 #tabmail-tabs {