Bug 1092939 - Fix disabled back button active state. r=ttaubert, a=lmandel
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Jul 2015 16:45:49 +0100
changeset 270160 5731fd65d78cb54d9cb4b5544e17702fb5ef36c0
parent 270159 4d659b6e1c679c26994018af7450655e10ecc2a6
child 270161 51a6e938a306e5487afe9bf9306d97fc0f29a717
push id8179
push userryanvm@gmail.com
push dateWed, 08 Jul 2015 17:48:12 +0000
treeherdermozilla-aurora@e796c66eb475 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert, lmandel
bugs1092939
milestone41.0a2
Bug 1092939 - Fix disabled back button active state. r=ttaubert, a=lmandel
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1328,17 +1328,17 @@ toolbarbutton[constrain-size="true"][cui
   #forward-button:not(:-moz-lwtheme) {
     box-shadow: 0 1px 0 0 rgba(0,0,0,0.2);
     border: 0 none;
     border-right: 1px solid rgba(0,0,0,0.3);
   }
 
   /* Active styling: transparent white over toolbar colors */
   #forward-button:hover:active:not(:-moz-lwtheme),
-  #back-button:hover:active:not(:-moz-lwtheme) {
+  #back-button:not([disabled="true"]):hover:active:not(:-moz-lwtheme) {
     background-image: linear-gradient(to bottom, rgba(255,255,255, 0.3), rgba(255,255,255, 0.4));
     background-color: transparent;
     box-shadow: none;
   }
 
   /* Add white detail on top of forward button only when active */
   #forward-button:hover:active:not(:-moz-lwtheme) {
     box-shadow: inset 0 1px 0 #f1f1f1, 0 1px 0 0 rgba(0,0,0,0.2);