Bug 1500163 - Force the .toolbarbutton-1 color after the change to load the toolkit toolbarbutton.css as document stylesheet. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 18 Oct 2018 18:15:23 +0200
changeset 33403 1c5d8e0a6c27debe071f9bb7cd2e5b8a2084dce5
parent 33402 9d49d405053c69bb9e10b3f32189bf205ab118cb
child 33404 4e6b66d1a7e326d1764ef1f5b2d061e910a3c917
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1500163
Bug 1500163 - Force the .toolbarbutton-1 color after the change to load the toolkit toolbarbutton.css as document stylesheet. r=jorgk
mail/themes/osx/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -326,17 +326,17 @@ toolbox[labelalign="end"] toolbarpalette
   margin: 5px 2px;
   -moz-context-properties: fill, fill-opacity;
   fill: var(--lwt-toolbarbutton-icon-fill, currentColor);
   fill-opacity: var(--toolbarbutton-icon-fill-opacity);
 }
 
 .toolbarbutton-1,
 .toolbarbutton-menubutton-button {
-  color: inherit;
+  color: inherit !important;
 }
 
 .toolbarbutton-1:-moz-lwtheme {
   text-shadow: inherit;
 }
 
 .toolbarbutton-1[open],
 .toolbarbutton-1[open] > .toolbarbutton-menubutton-button {
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -198,17 +198,17 @@ toolbarpaletteitem[place="toolbar"] > to
 toolbox[labelalign="end"] .toolbarbutton-1,
 toolbox[labelalign="end"] .toolbarbutton-1[type="menu-button"]
   > .toolbarbutton-menubutton-button {
   -moz-box-orient: horizontal;
 }
 
 .toolbarbutton-1,
 .toolbarbutton-menubutton-button {
-  color: inherit;
+  color: inherit !important;
   padding-top: 5px;
   padding-bottom: 6px;
   padding-inline-start: 4px;
   padding-inline-end: 5px;
 }
 
 .toolbarbutton-1:hover:active:not([disabled]),
 .toolbarbutton-1[open="true"],