Bug 1441866 - Make app menu disabled icons more opaque. r=dao draft
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 28 Feb 2018 16:42:42 +0000
changeset 762954 30cf0740994e7469f2240f26a3752bd4ba1c3b53
parent 762953 f2968c766ed43deb324d3ee3f5bc09d14fed655b
push id101291
push userbmo:ntim.bugs@gmail.com
push dateSun, 04 Mar 2018 01:19:12 +0000
reviewersdao
bugs1441866
milestone60.0a1
Bug 1441866 - Make app menu disabled icons more opaque. r=dao MozReview-Commit-ID: KxbodSteWdd
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1174,16 +1174,21 @@ toolbarpaletteitem[place="palette"] > #s
 }
 
 /* In customize mode, extend the buttons *only* in the panel, just to make them not look stupid */
 toolbarpaletteitem[place="menu-panel"] > .toolbaritem-combined-buttons > toolbarbutton {
   min-width: calc(@menuPanelButtonWidth@ - 1px);
   max-width: calc(@menuPanelButtonWidth@ - 1px);
 }
 
+.toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton[disabled] {
+  /* Override toolbarbutton.css which sets the color to GrayText */
+  color: inherit;
+}
+
 #main-window:not([customizing]) .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton[disabled] > .toolbarbutton-icon {
   opacity: .25;
 }
 
 #zoom-controls[cui-areatype="toolbar"] > #zoom-reset-button > .toolbarbutton-text {
 %ifdef XP_MACOSX
   min-width: 6ch;
 %else