Bug 1368500 - Remove pre-Photon --toolbarbutton-hover-background and --toolbarbutton-active-background variable values specific to Windows 7. r?nhnt11 draft
authorDão Gottwald <dao@mozilla.com>
Mon, 29 May 2017 17:29:24 +0200
changeset 586044 b0b9465b716892f0fd08fec5040fd0822c8d6bbf
parent 585921 cce4d83d2b99ffedbd67a2f40ce26e53e9ae27ab
child 630861 ccd43ae69f09ff9e59ed88c53a7e229cc39d544c
push id61265
push userdgottwald@mozilla.com
push dateMon, 29 May 2017 15:29:56 +0000
reviewersnhnt11
bugs1368500
milestone55.0a1
Bug 1368500 - Remove pre-Photon --toolbarbutton-hover-background and --toolbarbutton-active-background variable values specific to Windows 7. r?nhnt11 MozReview-Commit-ID: BkhQdszHmBW
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -465,17 +465,17 @@ menuitem.bookmark-item {
   opacity: 0.7;
 }
 
 
 %include ../shared/bookmarked-notification.inc.css
 %include ../shared/toolbarbuttons.inc.css
 %include ../shared/toolbarbutton-icons.inc.css
 %include ../shared/menupanel.inc.css
-
+%ifndef MOZ_PHOTON_THEME
 @media (-moz-os-version: windows-win7) {
   :root {
     --toolbarbutton-hover-background: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
     --toolbarbutton-hover-bordercolor: hsla(210,54%,20%,.15) hsla(210,54%,20%,.2) hsla(210,54%,20%,.25);
     --toolbarbutton-hover-boxshadow: 0 1px hsla(0,0%,100%,.3) inset,
                                      0 1px hsla(210,54%,20%,.03),
                                      0 0 2px hsla(210,54%,20%,.1);
 
@@ -485,16 +485,17 @@ menuitem.bookmark-item {
                                       0 0 1px hsla(210,54%,20%,.2) inset,
 /* allows keyhole-forward-clip-path to be used for non-hover as well as hover: */
                                       0 1px 0 hsla(210,54%,20%,0),
                                       0 0 2px hsla(210,54%,20%,0);
 
     --toolbarbutton-checkedhover-backgroundcolor: rgba(90%,90%,90%,.4);
   }
 }
+%endif
 
 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
   list-style-image: url("chrome://browser/skin/menu-back.png") !important;
 }
 
 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {