Bug 984979 - Fix back button :active state on Windows 8, r=gijs
authorTim Nguyen <ntim007@gmail.com>
Sat, 22 Mar 2014 12:56:00 +0000
changeset 175122 77802de7e21392939144506dddfe11b0c788acc8
parent 175121 3c45dcaa5b4fcb663059c2dcf2393a575d03ce39
child 175123 d8ee9252fc1ffa533bf77efaa0933261f58aa012
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersgijs
bugs984979
milestone31.0a1
Bug 984979 - Fix back button :active state on Windows 8, r=gijs
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -887,16 +887,17 @@ toolbarbutton[sdk-button="true"][cui-are
   transition-duration: 250ms !important;
 }
 
 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
   background-color: hsla(210,4%,10%,.08) !important;
   box-shadow: none !important;
 }
 
+#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
 #back-button[open="true"] > .toolbarbutton-icon {
   background-color: hsla(210,4%,10%,.12) !important;
   box-shadow: 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;
 }
 
 %ifdef WINDOWS_AERO
 @media (-moz-os-version: windows-vista),
        (-moz-os-version: windows-win7) {