Bug 1501101 - Fix text contrast on buttons in multimessageview's header. r=Paenglab a=jorgk
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 24 Oct 2018 22:17:07 +1300
changeset 33472 3c5eda93d317847dffb2b0daee44fccb0a8f6cd3
parent 33471 b0c69e12622b6e770a2b48cedf6808f2161d8289
child 33473 d8eadcb6eb3207b5b03aa89e6adb3ea2a447b8f3
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersPaenglab, jorgk
bugs1501101
Bug 1501101 - Fix text contrast on buttons in multimessageview's header. r=Paenglab a=jorgk
mail/themes/linux/mail/multimessageview.css
mail/themes/osx/mail/multimessageview.css
mail/themes/windows/mail/multimessageview.css
--- a/mail/themes/linux/mail/multimessageview.css
+++ b/mail/themes/linux/mail/multimessageview.css
@@ -33,17 +33,17 @@
 }
 
 .starred .star {
   background-image: url("chrome://messenger/skin/icons/flag-col.png");
 }
 
 .toolbarbutton-1.msgHeaderView-button {
   background: -moz-Dialog;
-  color: -moz-DialogText;
+  color: -moz-DialogText !important;
 }
 
 .toolbarbutton-1.msgHeaderView-button:not([disabled=true]):not([checked=true]):not([open]):not(:active):hover {
   background: -moz-dialog linear-gradient(rgba(255, 255, 255, .5), transparent);
 }
 
 .toolbarbutton-1.msgHeaderView-button:not([disabled=true]):not([checked=true]):not([open]):not(:active):hover {
   background: rgb(154, 154, 154) linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .4));
--- a/mail/themes/osx/mail/multimessageview.css
+++ b/mail/themes/osx/mail/multimessageview.css
@@ -24,15 +24,15 @@
   color: GrayText;
 }
 
 #header-view-toolbox {
   font: message-box;
 }
 
 .toolbarbutton-1.msgHeaderView-button {
-  color: -moz-DialogText;
+  color: -moz-DialogText !important;
   background-color: white;
 }
 
 .toolbarbutton-1.msgHeaderView-button:hover {
   background-color: rgb(230, 230, 230) !important;
 }
--- a/mail/themes/windows/mail/multimessageview.css
+++ b/mail/themes/windows/mail/multimessageview.css
@@ -29,17 +29,17 @@
   margin-right: 0.5em;
 }
 
 .starred .star {
   background-image: url("chrome://messenger/skin/icons/flag-col.png");
 }
 
 .toolbarbutton-1.msgHeaderView-button {
-  color: -moz-dialogtext;
+  color: -moz-DialogText !important;
 }
 
 @media (-moz-windows-default-theme) {
   .toolbarbutton-1.msgHeaderView-button {
     background-image: linear-gradient(-moz-dialog, -moz-dialog);
   }
 
   .toolbarbutton-1.msgHeaderView-button:not([disabled=true]):not([checked=true]):not([open]):not(:active):hover {