Bug 1384898 - Don't bother setting default fill colors for the downloads indicator. r?paolo
toolbarbutton-icons.inc.css takes care of this.
MozReview-Commit-ID: IdwxiC7ZkHG
--- a/browser/themes/shared/downloads/indicator.inc.css
+++ b/browser/themes/shared/downloads/indicator.inc.css
@@ -16,33 +16,25 @@
min-width: 16px;
min-height: 16px;
}
#downloads-indicator-progress-outer {
width: 16px;
height: 16px;
background-size: 16px;
- fill: var(--toolbarbutton-icon-fill);
-moz-context-properties: fill;
%ifdef MOZ_PHOTON_ANIMATIONS
background: url("chrome://browser/skin/downloads/download-icons.svg#default-bar") center no-repeat;
%else
background: var(--downloads-indicator-image) center no-repeat;
%endif
}
%ifdef MOZ_PHOTON_ANIMATIONS
-toolbar[brighttext] #downloads-button:not([attention="success"]) > #downloads-indicator-anchor > #downloads-indicator-icon,
-%endif
-toolbar[brighttext] #downloads-button:not([attention="success"]) > #downloads-indicator-anchor > #downloads-indicator-progress-outer {
- fill: var(--toolbarbutton-icon-fill-inverted);
-}
-
-%ifdef MOZ_PHOTON_ANIMATIONS
#downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon,
%endif
#downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-outer {
fill: var(--toolbarbutton-icon-fill-attention);
}
%ifdef MOZ_PHOTON_ANIMATIONS
#downloads-button[progress] > #downloads-indicator-anchor > #downloads-indicator-progress-outer {
background: url("chrome://browser/skin/downloads/download-icons.svg#progress-bar-bg") center no-repeat;