Bug 1178193 - [Rule View] Tweak add rule button to only have a hover opacity when button is not disabled r=pbrosset
authorGabriel Luong <gabriel.luong@gmail.com>
Mon, 29 Jun 2015 01:25:29 -0700
changeset 268503 5eb1de369f21a81a49f5555034f2065f10955474
parent 268502 c20a42932a752eee6ea21b9e0ecb10b9d9fb6586
child 268504 2b04d25fd77a1603946f926ff19eb29c2203ad89
child 268638 434fdc7730ef5977851f03e20e94c487b545ffeb
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-esr52@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbrosset
bugs1178193
milestone41.0a1
Bug 1178193 - [Rule View] Tweak add rule button to only have a hover opacity when button is not disabled r=pbrosset
browser/themes/shared/devtools/ruleview.css
--- a/browser/themes/shared/devtools/ruleview.css
+++ b/browser/themes/shared/devtools/ruleview.css
@@ -287,17 +287,17 @@
  * These buttons are using opacity instead of background color to indicate
  * the state
  */
 #ruleview-add-rule-button,
 #pseudo-class-panel-toggle {
   opacity: 0.8;
 }
 
-#ruleview-add-rule-button:hover,
+#ruleview-add-rule-button:not([disabled]):hover,
 #pseudo-class-panel-toggle:hover,
 #pseudo-class-panel-toggle[checked] {
   opacity: 1;
 }
 
 #ruleview-add-rule-button,
 #pseudo-class-panel-toggle,
 #pseudo-class-panel-toggle:hover,