From b9cedf5b0b5638bb1b751135922a38ff66c118ec Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Fri, 26 Oct 2018 15:00:13 +0000 Subject: [PATCH] Bug 1494894 - sidebar CSS: use color instead of opacity for unselectable items;r=ladybenko Depends on D9652 This allows the Connect button to no longer look disabled. However we could maybe mutualize colors a bit more, either with a --color-disabled variable or with a class. Differential Revision: https://phabricator.services.mozilla.com/D9653 --HG-- extra : moz-landing-system : lando --- .../aboutdebugging-new/src/components/sidebar/SidebarItem.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css b/devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css index 22db786abfda..07d9ed08152d 100644 --- a/devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css +++ b/devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css @@ -18,7 +18,7 @@ } .sidebar-item:not(.sidebar-item--selectable) { - opacity: 0.5; + color: var(--grey-40); } .sidebar-item--selectable:hover {