Bug 1580172 - Fix Fxa CAD button in dark mode theme r=markh
authorVijay Budhram <vbudhram@mozilla.com>
Tue, 08 Oct 2019 00:02:47 +0000
changeset 496762 74f222c707654e731b7458c6f89698f1321b34af
parent 496761 9a16c53ed5c313681b657961a6ae7c6ecf1dfc49
child 496763 998a92b4905ba1cda08b7c8dc223aabd1c576cee
push id97426
push uservbudhram@mozilla.com
push dateTue, 08 Oct 2019 13:10:53 +0000
treeherderautoland@74f222c70765 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh
bugs1580172
milestone71.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 1580172 - Fix Fxa CAD button in dark mode theme r=markh Differential Revision: https://phabricator.services.mozilla.com/D48438
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -779,17 +779,17 @@ toolbarbutton[constrain-size="true"][cui
 #PanelUI-fxa-menu-monitor-button {
   list-style-image: url(chrome://browser/skin/fxa/monitor.svg);
 }
 
 #PanelUI-fxa-menu-connect-device-button {
   list-style-image: url(chrome://browser/skin/fxa/add-device.svg);
 }
 
-#PanelUI-fxa-menu-connect-device-button[disabled="true"] {
+:root:not([fxastatus="signedin"]) #PanelUI-fxa-menu-connect-device-button {
   color: var(--panel-disabled-color);
 }
 
 /* From the FxA menu -> remote tabs, we don't need to clutter the view with
    redundant buttons because these are accessible from the main menu */
 panelmultiview[mainViewId="PanelUI-fxa"] #PanelUI-remotetabs-syncnow {
   display: none;
 }