Bug 1377302 - Support fill='context-fill' for WebExtension browser-actions. r=dao, r=mattw, a=lizzard
authorJared Wein <jwein@mozilla.com>
Thu, 06 Jul 2017 17:18:52 -0400
changeset 411941 f37efe938cd4
parent 411940 4a2dd6e45c4c
child 411942 e537bfdef7c9
push id7505
push userryanvm@gmail.com
push dateThu, 13 Jul 2017 01:30:25 +0000
treeherdermozilla-beta@4cd92600443e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, mattw, lizzard
bugs1377302
milestone55.0
Bug 1377302 - Support fill='context-fill' for WebExtension browser-actions. r=dao, r=mattw, a=lizzard 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