Bug 1368500 - Remove pre-Photon --toolbarbutton-hover-background and --toolbarbutton-active-background variable values specific to Windows 7. r=nhnt11
authorDão Gottwald <dao@mozilla.com>
Mon, 29 May 2017 17:29:24 +0200
changeset 409232 f07b54ffb49281d181851b219983f03612bb5a34
parent 409231 0344daf0fe0cd3903aa872b22f6820e8c40b1b56
child 409233 3e84fda34fa7e538bb0a443695a72ba1c30bce97
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1368500
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
@@ -470,17 +470,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);
 
@@ -490,16 +490,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) {