Bug 1263432 - Set the correct color on brighttext chat- and calendar toolbars. r=mkmelin a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sun, 10 Apr 2016 12:18:40 +0200
changeset 26982 8e60b3615a59e22a766c2538c250381e13449619
parent 26981 0779f555eb353639bca45751f0b82b434babda5c
child 26983 0c811baa5191033bd9c07a72c357449e108563ea
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, jorgk
bugs1263432
Bug 1263432 - Set the correct color on brighttext chat- and calendar toolbars. r=mkmelin a=jorgk
mail/themes/linux/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -18,33 +18,34 @@
 
   --toolbarbutton-active-background: rgba(154, 154, 154, .5) linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .4));
   --toolbarbutton-active-bordercolor: rgba(0, 0, 0, .3);
   --toolbarbutton-active-boxshadow: 0 1px 1px rgba(0, 0, 0, .1) inset, 0 0 1px rgba(0, 0, 0, .3) inset;
 
   --toolbarbutton-checkedhover-backgroundcolor: rgba(200, 200, 200, .5);
 }
 
+#header-view-toolbar[brighttext],
 #ab-toolbox > toolbar[brighttext],
-#mail-toolbox > toolbar[brighttext],
+.mail-toolbox > toolbar[brighttext],
 #event-toolbox > toolbar[brighttext],
 #compose-toolbox > toolbar[brighttext] {
   --toolbarbutton-text-color: #fff;
   --toolbarbutton-hover-background: rgba(255, 255, 255, .25);
   --toolbarbutton-hover-bordercolor: rgba(255, 255, 255, .5);
 
   --toolbarbutton-active-background: rgba(255, 255, 255, .4);
   --toolbarbutton-active-bordercolor: rgba(255, 255, 255, .7);
   --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(255, 255, 255, .4) inset;
 
   --toolbarbutton-checkedhover-backgroundcolor: rgba(255, 255, 255, .5);
 }
 
 #ab-toolbox > toolbar:-moz-lwtheme,
-#mail-toolbox > toolbar:-moz-lwtheme,
+.mail-toolbox > toolbar:-moz-lwtheme,
 #compose-toolbox > toolbar:-moz-lwtheme {
   --toolbarbutton-text-color: currentColor;
   --toolbarbutton-hover-background: rgba(255, 255, 255, .25);
   --toolbarbutton-hover-bordercolor: rgba(0, 0, 0, .2);
 
   --toolbarbutton-active-background: rgba(70%, 70%, 70%, .25);
   --toolbarbutton-active-bordercolor: rgba(0, 0, 0, .3);
   --toolbarbutton-active-boxshadow: 0 0 2px rgba(0, 0, 0, .6) inset;
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -226,32 +226,33 @@ button[type="menu-button"] > button {
 
     --toolbarbutton-active-background: rgba(0, 0, 0, .15);
     --toolbarbutton-active-bordercolor: rgba(0, 0, 0, .15);
     --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(0, 0, 0, .15) inset;
 
     --toolbarbutton-checkedhover-backgroundcolor: rgba(0, 0, 0, .2);
   }
 
+  #header-view-toolbar[brighttext],
   #ab-toolbox > toolbar[brighttext],
-  #mail-toolbox > toolbar[brighttext],
+  .mail-toolbox > toolbar[brighttext],
   #event-toolbox > toolbar[brighttext],
   #compose-toolbox > toolbar[brighttext] {
     --toolbarbutton-hover-background: rgba(255, 255, 255, .25);
     --toolbarbutton-hover-bordercolor: rgba(255, 255, 255, .5);
 
     --toolbarbutton-active-background: rgba(255, 255, 255, .4);
     --toolbarbutton-active-bordercolor: rgba(255, 255, 255, .7);
     --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(255, 255, 255, .4) inset;
 
     --toolbarbutton-checkedhover-backgroundcolor: rgba(255, 255, 255, .5);
   }
 
   #ab-toolbox > toolbar:-moz-lwtheme,
-  #mail-toolbox > toolbar:-moz-lwtheme,
+  .mail-toolbox > toolbar:-moz-lwtheme,
   #compose-toolbox > toolbar:-moz-lwtheme {
     --toolbarbutton-hover-background: rgba(255, 255, 255, .25);
     --toolbarbutton-hover-bordercolor: rgba(0, 0, 0, .2);
 
     --toolbarbutton-active-background: rgba(70%, 70%, 70%, .25);
     --toolbarbutton-active-bordercolor: rgba(0, 0, 0, .3);
     --toolbarbutton-active-boxshadow: 0 0 2px rgba(0, 0, 0, .6) inset;