Bug 1377302 - Support fill='context-fill' for WebExtension browser-actions. r?dao draft
authorJared Wein <jwein@mozilla.com>
Thu, 06 Jul 2017 17:18:52 -0400
changeset 604979 30930d0a9236
parent 604975 1c907ce579da
child 636363 fbfae72cc0ba
push id67266
push userbmo:jaws@mozilla.com
push dateThu, 06 Jul 2017 21:28:02 +0000
reviewersdao
bugs1377302
milestone56.0a1
Bug 1377302 - Support fill='context-fill' for WebExtension browser-actions. r?dao MozReview-Commit-ID: 5qZxCkWUOlc
browser/themes/shared/toolbarbutton-icons.inc.css
--- a/browser/themes/shared/toolbarbutton-icons.inc.css
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css
@@ -1,20 +1,20 @@
 :root {
   --toolbarbutton-icon-fill: #4c4c4c;
   --toolbarbutton-icon-fill-inverted: #fff;
   --toolbarbutton-icon-fill-attention: #177ee5;
 }
 
-:-moz-any(@primaryToolbarButtons@) {
+.toolbarbutton-1 {
   -moz-context-properties: fill;
   fill: var(--toolbarbutton-icon-fill);
 }
 
-toolbar[brighttext] :-moz-any(@primaryToolbarButtons@) {
+toolbar[brighttext] .toolbarbutton-1 {
   fill: var(--toolbarbutton-icon-fill-inverted);
 }
 
 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 %ifdef MOZ_PHOTON_THEME
 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 #reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 %endif