Bug 1509321 - Use default --toolbarbutton-icon-fill-opacity when overriding --lwt-toolbarbutton-icon-fill in the titlebar. r=ntim
authorDão Gottwald <dao@mozilla.com>
Thu, 22 Nov 2018 14:41:54 +0000
changeset 504134 fd8847c43e0d193513451e4a68e343cb915bdd2a
parent 504133 ded1106572c695a81e47007474e096b507c18679
child 504135 e786fe6c9aa153a5889ba2a46138620cb5927de2
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1509321
milestone65.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 1509321 - Use default --toolbarbutton-icon-fill-opacity when overriding --lwt-toolbarbutton-icon-fill in the titlebar. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D12663
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -6,16 +6,17 @@
 
 @media (-moz-windows-accent-color-in-titlebar) {
   :root[tabsintitlebar]:not(:-moz-window-inactive) {
     background-color: -moz-win-accentcolor;
     color: -moz-win-accentcolortext;
   }
   :root[tabsintitlebar] #titlebar {
     --lwt-toolbarbutton-icon-fill: currentColor;
+    --toolbarbutton-icon-fill-opacity: .7;
   }
 }
 
 /* The window background is white due to no accentcolor in the lightweight
    theme. It can't be changed to transparent when there is no compositor
    (Win 7 in classic / basic theme), or else dragging and focus become
    broken. So instead just show the normal titlebar in that case, and override
    the window color as transparent when the compositor is available. */