Bug 1414797 - Fix up Mac-specific back button styling after
bug 1413499. r?nhnt11
MozReview-Commit-ID: FvPKUj0oPfk
--- 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 */