Bug 1288888 - Followup: fix rule filter icon to be visible on all themes. r=me
authorTim Nguyen <ntim.bugs@gmail.com>
Sat, 30 Jul 2016 06:59:45 -0700
changeset 332547 c7f33a87d95972f63f4462844b8d991186ab4765
parent 332546 ebdc7c4a449fe716707bfeaedc29a411085a3f2c
child 332548 87246096377cd5dfaa87965fea0fa5cfd74c3d15
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1288888
milestone50.0a1
Bug 1288888 - Followup: fix rule filter icon to be visible on all themes. r=me MozReview-Commit-ID: GpXdjJC16KC
devtools/client/themes/rules.css
--- a/devtools/client/themes/rules.css
+++ b/devtools/client/themes/rules.css
@@ -1,26 +1,23 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* CSS Variables specific to this panel that aren't defined by the themes */
 .theme-light {
   --rule-highlight-background-color: #ffee99;
-  --rule-filter-icon: url(images/filter.svg);
 }
 
 .theme-dark {
   --rule-highlight-background-color: #594724;
-  --rule-filter-icon: url(images/filter.svg);
 }
 
 .theme-firebug {
   --rule-highlight-background-color: #ffee99;
-  --rule-filter-icon: url(images/filter.svg);
   --rule-property-name: darkgreen;
   --rule-property-value: darkblue;
 }
 
 /* Rule View Tabpanel */
 
 .theme-firebug .ruleview {
   font-family: monospace;
@@ -291,17 +288,17 @@
 
 @media (min-resolution: 1.1dppx) {
   .ruleview-warning {
     background-image: url(images/alerticon-warning@2x.png);
   }
 }
 
 .ruleview-overridden-rule-filter {
-  background-image: var(--rule-filter-icon);
+  background-image: url(images/filter.svg#filterinput);
   background-size: 11px 11px;
   margin-inline-start: 5px;
   display: inline-block;
   width: 11px;
   height: 11px;
 }
 
 .ruleview-ruleopen {