Bug 1092939 - Fix disabled back button active state. r=ttaubert
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Jul 2015 16:45:49 +0100
changeset 251465 f62e3832904428bc8586cd2eca15697fa3ed0487
parent 251464 596c8c950cc772d97c31c5507842a2fc79220499
child 251466 8135d886c5ed5d9c0297f33178f413409cbba9a2
push id13870
push userryanvm@gmail.com
push dateMon, 06 Jul 2015 18:37:52 +0000
treeherderfx-team@8135d886c5ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs1092939
milestone42.0a1
Bug 1092939 - Fix disabled back button active state. r=ttaubert
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);