Bug 1414693 - Fix findbar buttons hover feedback when using a dark lightweight theme. r=jaws,dao a=jcristau
authorBogdan Pozderca <bogdan@pozderca.com>
Tue, 13 Mar 2018 18:49:35 -0400
changeset 780115 02c4132c8e08507ce7e9e293e24a4cb83de66749
parent 780114 72527d3cec7c5068bc27728aadae7c0eb14ed9da
child 780116 8a0377c0d8602deeae0371630ad7065508daf667
push id105964
push userbmo:ntim.bugs@gmail.com
push dateWed, 11 Apr 2018 07:37:32 +0000
reviewersjaws, dao, jcristau
bugs1414693
milestone60.0
Bug 1414693 - Fix findbar buttons hover feedback when using a dark lightweight theme. r=jaws,dao a=jcristau
browser/themes/shared/toolbarbuttons.inc.css
--- a/browser/themes/shared/toolbarbuttons.inc.css
+++ b/browser/themes/shared/toolbarbuttons.inc.css
@@ -38,18 +38,18 @@
 :root:-moz-lwtheme-darktext,
 toolbar:not([brighttext]) {
   --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(240,5%,5%,.1));
   --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(240,5%,5%,.15));
 }
 
 :root:-moz-lwtheme-brighttext,
 toolbar[brighttext] {
-  --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0,0%,100%,.2));
-  --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0,0%,100%,.3));
+  --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0,0%,70%,.4));
+  --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0,0%,70%,.6));
 
   --backbutton-background: var(--toolbarbutton-hover-background);
   --backbutton-hover-background: var(--toolbarbutton-active-background);
   --backbutton-active-background: hsla(0,0%,100%,.4);
 }
 
 /* ::::: primary toolbar buttons ::::: */