Bug 1439789 - Menu bar light/dark themes should have glass text-shadow on Windows 7. r=dao draft
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 21 Feb 2018 20:41:26 +0000
changeset 758044 4398326fc3c02f6dc890933139529db19995ee42
parent 757463 29569f02015d1f85d91417c5b9283cd0a5eb87c9
push id99932
push userbmo:ntim.bugs@gmail.com
push dateWed, 21 Feb 2018 20:41:52 +0000
reviewersdao
bugs1439789
milestone60.0a1
Bug 1439789 - Menu bar light/dark themes should have glass text-shadow on Windows 7. r=dao MozReview-Commit-ID: 42CvhqjPrMD
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -56,16 +56,21 @@
 }
 
 @media (-moz-windows-glass) {
   /* Set to full fill-opacity to improve visibility of toolbar buttons on aero glass. */
   #TabsToolbar {
     --toolbarbutton-icon-fill-opacity: 1;
   }
 
+  /* Make the menubar text readable on aero glass (copied from browser-aero.css). */
+  #toolbar-menubar {
+    text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4);
+  }
+
   #main-menubar:not(:-moz-window-inactive) {
     background-color: rgba(255,255,255,.5);
     color: black;
     border-radius: 4px;
   }
 }
 
 @media (-moz-os-version: windows-win7),