Bug 1414797 - Fix up Mac-specific back button styling after bug 1413499. r?nhnt11 draft
authorDão Gottwald <dao@mozilla.com>
Mon, 06 Nov 2017 13:40:50 +0100
changeset 693528 236ec432449cdfc3e9b634657df10aec33e0acd5
parent 693522 994eed4f81d34e491f43d696a3716351818c7d3d
child 739063 9f81d5c078d6c3c700ada595722834a73fdee4c9
push id87837
push userdgottwald@mozilla.com
push dateMon, 06 Nov 2017 12:41:11 +0000
reviewersnhnt11
bugs1414797, 1413499
milestone58.0a1
Bug 1414797 - Fix up Mac-specific back button styling after bug 1413499. r?nhnt11 MozReview-Commit-ID: FvPKUj0oPfk
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -224,19 +224,18 @@
 .findbar-button {
   background: none;
   box-shadow: none;
   border: none;
 }
 
 /* On Mac, native buttons keep their full opacity when they become disabled
  * and only the glyph or text on top of them becomes less opaque. */
-#main-window:not([customizing]) #back-button[disabled="true"] > .toolbarbutton-icon {
+:root:not([customizing]) #back-button[disabled="true"] {
   opacity: 1 !important;
-  -moz-context-properties: fill, fill-opacity;
   /* Disabled toolbar buttons get an opacity of 0.4 which multiplies
    * their fill-opacity of 0.7. calc() doesn't work here - we'd need
    * to multiply two unitless numbers and that's invalid in CSS, so
    * we need to hard code the value for now. */
   fill-opacity: 0.28;
 }
 
 /* Inactive elements are faded out on OSX */